|
|
|
|
@ -645,7 +645,7 @@
|
|
|
|
|
<div class="g_flex_row_start">
|
|
|
|
|
<div class="jobname">{{ item.jobName }}</div>
|
|
|
|
|
<div class="g_flex_column_end">
|
|
|
|
|
<div style="color: #a1a1a1;font-size: 14px;margin-left: 15px;">{{ item.updateTime }}</div>
|
|
|
|
|
<div style="color: #a1a1a1;font-size: 14px;margin-left: 15px;">{{ item.up_time }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
@ -694,10 +694,23 @@
|
|
|
|
|
<div class="updateTime" style="display: none">
|
|
|
|
|
<span>更新时间:{{ item.updateTime || "--" }} ( {{ item.diffTime || "--" }} )</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="topbox">
|
|
|
|
|
<div class="topbox" v-if="false">
|
|
|
|
|
<div>服务费</div>
|
|
|
|
|
<div>{{ item.servetype }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="fsa f12 pr4" style="background: linear-gradient(138deg,#fde0ad 22%, #fac474); border-radius:2px;color:#754300;line-height:24px;height: 24px;">
|
|
|
|
|
<div class>
|
|
|
|
|
<img class="mr4" style="width:24px;height:24px;display:block"
|
|
|
|
|
src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/fee.svg" lazy-load="false"></img>
|
|
|
|
|
</div>
|
|
|
|
|
<div class style="font-size:14px;font-weight: 400;">
|
|
|
|
|
<!-- {{agencyStatus == 1 ? (item.fuWuFei ? item.fuWuFei : '-') : '仅代理可见'}} -->
|
|
|
|
|
{{ item.servetype }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="bottombox1">
|
|
|
|
|
<!-- <a-popover title="" trigger="click" placement="bottomRight">
|
|
|
|
|
@ -1287,6 +1300,9 @@ export default {
|
|
|
|
|
this.isStop = false;
|
|
|
|
|
this.speed = 1;
|
|
|
|
|
}
|
|
|
|
|
data.data.recordList.forEach(item => {
|
|
|
|
|
item.up_time = this.timeShowXXX2(item.updateTime)
|
|
|
|
|
})
|
|
|
|
|
if(newdata.isScroll == 1){
|
|
|
|
|
this.jobMainList = this.jobMainList.concat(disposeJobListData(data.data.recordList)); // 追加数据
|
|
|
|
|
}else{
|
|
|
|
|
@ -1304,6 +1320,27 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.isspinning = false;
|
|
|
|
|
},
|
|
|
|
|
timeShowXXX2(val){
|
|
|
|
|
const now = Date.now();
|
|
|
|
|
const diff = now - val;
|
|
|
|
|
|
|
|
|
|
const seconds = Math.floor(diff / 1000);
|
|
|
|
|
const minutes = Math.floor(seconds / 60);
|
|
|
|
|
const hours = Math.floor(minutes / 60);
|
|
|
|
|
const days = Math.floor(hours / 24);
|
|
|
|
|
|
|
|
|
|
if (days < 2) {
|
|
|
|
|
if (hours > 0) {
|
|
|
|
|
return `${hours}小时前`;
|
|
|
|
|
} else if (minutes > 0) {
|
|
|
|
|
return `${minutes}分钟前`;
|
|
|
|
|
} else {
|
|
|
|
|
return `${seconds}秒前`;
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
return `${days}天前`;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
async getJobListYicai(newdata) {
|
|
|
|
|
// this.isspinning = true;
|
|
|
|
|
console.log(this.formvalue);
|
|
|
|
|
@ -2950,7 +2987,7 @@ export default {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: flex-end;
|
|
|
|
|
margin-top: -8px;
|
|
|
|
|
// margin-top: -8px;
|
|
|
|
|
}
|
|
|
|
|
.updateTime {
|
|
|
|
|
line-height: 1;
|
|
|
|
|
@ -3008,7 +3045,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
button {
|
|
|
|
|
min-width: 80px;
|
|
|
|
|
height: 28px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
// border: 1px solid rgba(77, 87, 94, 0.3);
|
|
|
|
|
// border-radius: 4px;
|
|
|
|
|
|