|
|
|
@ -45,11 +45,11 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import {getTaskDetailList} from '@/api/taskmanage/tasklist.js' |
|
|
|
import {getTaskDetailList} from '@/api/taskmanage/tasklist.js' |
|
|
|
|
|
|
|
let domTimer = '' // 自动滚动的定时任务 |
|
|
|
let dataTimer = '' // 数据定时任务 |
|
|
|
export default { |
|
|
|
let domTimer = '' // 自动滚动的定时任务 |
|
|
|
let dataTimer = '' // 数据定时任务 |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
height: 200, |
|
|
|
@ -68,6 +68,7 @@ |
|
|
|
finishStartDate: '', |
|
|
|
finishEndDate: '', |
|
|
|
status: '', |
|
|
|
ipAddress: this.$route.query.ip |
|
|
|
}, |
|
|
|
// 展示列集 |
|
|
|
columnList: [ |
|
|
|
@ -228,7 +229,7 @@ |
|
|
|
}) |
|
|
|
}, |
|
|
|
tableRowClassName({row, rowIndex}) { |
|
|
|
if (row.status == '未受理' && this.dayjs(this.dayjs()).diff( row.createdDate,'minutes')/60>=12) { |
|
|
|
if (row.status == '未受理' && this.dayjs(this.dayjs()).diff(row.createdDate, 'minutes') / 60 >= 12) { |
|
|
|
return 'finish' |
|
|
|
} |
|
|
|
if (row.status == '未受理') { |
|
|
|
@ -284,18 +285,19 @@ |
|
|
|
clearInterval(dataTimer) |
|
|
|
clearInterval(domTimer) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
<style> |
|
|
|
.mod-config .not-processing { |
|
|
|
.mod-config .not-processing { |
|
|
|
background-color: #ffff00; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.mod-config .processing { |
|
|
|
// background-color: #5f0e3f; |
|
|
|
} |
|
|
|
.mod-config .processing { |
|
|
|
/ / background-color: #5f0e3f; |
|
|
|
} |
|
|
|
|
|
|
|
.mod-config .finish { |
|
|
|
background-color:orangered; |
|
|
|
} |
|
|
|
.mod-config .finish { |
|
|
|
background-color: orangered; |
|
|
|
color: #f2f6fc; |
|
|
|
} |
|
|
|
</style> |