|
@@ -228,7 +228,7 @@
|
|
|
// '0':'未完成',
|
|
|
// '1':'完成'
|
|
|
// },
|
|
|
- coordination:true,
|
|
|
+ coordination: true,
|
|
|
};
|
|
|
},
|
|
|
watch:{
|
|
@@ -291,7 +291,8 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- })
|
|
|
+ })
|
|
|
+
|
|
|
// }else{
|
|
|
// setTimeout(() => {
|
|
|
// if(item.taskStatus == 1){
|
|
@@ -301,7 +302,7 @@
|
|
|
// }
|
|
|
// }, 500)
|
|
|
// }
|
|
|
- })
|
|
|
+ })
|
|
|
}else{
|
|
|
this.tableData = data.data.records
|
|
|
this.total = data.data.total
|
|
@@ -319,7 +320,20 @@
|
|
|
|
|
|
// }
|
|
|
// })
|
|
|
- },
|
|
|
+ },
|
|
|
+ // 超时提醒
|
|
|
+ // remind({ row, column, rowIndex, columnIndex }) {
|
|
|
+ // if (this.tableData[rowIndex].endTime==undefined) {
|
|
|
+
|
|
|
+ // }
|
|
|
+ // let b = Date.parse(new Date)
|
|
|
+ // let a = Date.parse(this.tableData[rowIndex].endTime)
|
|
|
+ // console.log(a,b,this.tableData[rowIndex].endTime);
|
|
|
+ // if ((a - b) < 8.64e7) {
|
|
|
+ // console.log("超时",a,b);
|
|
|
+ // return 'red'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
|
|
|
//切换按钮
|
|
|
onChangeFamily(key) {
|
|
@@ -469,4 +483,7 @@
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+.el-table .red{
|
|
|
+ background: #df543e;
|
|
|
+ }
|
|
|
</style>
|