|
|
@ -4,7 +4,6 @@ |
|
|
<el-col :span="24" style="display:flex"> |
|
|
<el-col :span="24" style="display:flex"> |
|
|
|
|
|
|
|
|
<div style=" margin: auto; width: 300px;height: 50px;display:flex"> |
|
|
<div style=" margin: auto; width: 300px;height: 50px;display:flex"> |
|
|
<img src="src/assets/img/avatar.png" height="55"> |
|
|
|
|
|
<h2>赫艾内部MES沟通系统</h2> |
|
|
<h2>赫艾内部MES沟通系统</h2> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
@ -55,7 +54,7 @@ |
|
|
return { |
|
|
return { |
|
|
height: 200, |
|
|
height: 200, |
|
|
dataForm: { |
|
|
dataForm: { |
|
|
site: this.$store.state.user.site?this.$store.state.user.site:1, |
|
|
|
|
|
|
|
|
site: this.$store.state.user.site ? this.$store.state.user.site : 1, |
|
|
customer: '', |
|
|
customer: '', |
|
|
taskHeader: '', |
|
|
taskHeader: '', |
|
|
project: '', |
|
|
project: '', |
|
|
@ -247,21 +246,21 @@ |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
tableRowClassName({row, rowIndex}) { |
|
|
tableRowClassName({row, rowIndex}) { |
|
|
|
|
|
if (row.status == '未受理' && this.dayjs(this.dayjs()).diff( row.createdDate,'minutes')/60>=12) { |
|
|
|
|
|
return 'finish' |
|
|
|
|
|
} |
|
|
if (row.status == '未受理') { |
|
|
if (row.status == '未受理') { |
|
|
return 'not-processing' |
|
|
return 'not-processing' |
|
|
} |
|
|
} |
|
|
if (row.status == '已受理') { |
|
|
if (row.status == '已受理') { |
|
|
return 'processing' |
|
|
return 'processing' |
|
|
} |
|
|
} |
|
|
if (row.status == '已结束') { |
|
|
|
|
|
return 'finish' |
|
|
|
|
|
} |
|
|
|
|
|
// return '' |
|
|
|
|
|
|
|
|
// return '' |
|
|
}, |
|
|
}, |
|
|
// 鼠标进入 |
|
|
// 鼠标进入 |
|
|
mouseEnter(time) { |
|
|
mouseEnter(time) { |
|
|
// 鼠标进入停止滚动和切换的定时任务 |
|
|
// 鼠标进入停止滚动和切换的定时任务 |
|
|
this.autoRoll(true) |
|
|
|
|
|
|
|
|
this.autoRoll(true) |
|
|
}, |
|
|
}, |
|
|
// 鼠标离开 |
|
|
// 鼠标离开 |
|
|
mouseLeave() { |
|
|
mouseLeave() { |
|
|
@ -306,15 +305,15 @@ |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
<style> |
|
|
<style> |
|
|
.mod-config .not-processing { |
|
|
|
|
|
|
|
|
.mod-config .not-processing { |
|
|
background-color: #ffff00; |
|
|
background-color: #ffff00; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.mod-config .processing { |
|
|
.mod-config .processing { |
|
|
background-color: #ffffff; |
|
|
|
|
|
|
|
|
// background-color: #5f0e3f; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.mod-config .finish{ |
|
|
|
|
|
background-color: #1bb61b; |
|
|
|
|
|
|
|
|
.mod-config .finish { |
|
|
|
|
|
background-color:orangered; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |