Browse Source

任务管理 客户现场修改 2022-10-09 sxm

master
[li_she] 3 years ago
parent
commit
dc89353e4a
  1. 1
      src/views/modules/taskmanage/alltasklist.vue
  2. 21
      src/views/modules/taskmanage/taskReport.vue
  3. 4
      src/views/modules/taskmanage/tasklist.vue

1
src/views/modules/taskmanage/alltasklist.vue

@ -102,6 +102,7 @@
width="130" width="130"
label="操作"> label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-link type="text" size="small" @click="chatHistoryDialog(scope.row.id)">沟通记录 |</el-link>
<el-link type="text" size="small" @click="annex(scope.row.id)">沟通附件 |</el-link> <el-link type="text" size="small" @click="annex(scope.row.id)">沟通附件 |</el-link>
<el-link type="text" size="small" @click="annex(scope.row.taskId)">任务附件 </el-link> <el-link type="text" size="small" @click="annex(scope.row.taskId)">任务附件 </el-link>
<!-- <el-link v-if="isAuth('taskmanage:tasklist:delete')" type="text" size="small"--> <!-- <el-link v-if="isAuth('taskmanage:tasklist:delete')" type="text" size="small"-->

21
src/views/modules/taskmanage/taskReport.vue

@ -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>

4
src/views/modules/taskmanage/tasklist.vue

@ -109,12 +109,12 @@
fixed="right" fixed="right"
header-align="center" header-align="center"
align="center" align="center"
width="80"
width="150"
label="操作"> label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <el-link type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">修改 |</el-link>--> <!-- <el-link type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">修改 |</el-link>-->
<!-- <el-link type="text" size="small" @click="updateStatusDialog(scope.row)">更改最终状态 |</el-link>--> <!-- <el-link type="text" size="small" @click="updateStatusDialog(scope.row)">更改最终状态 |</el-link>-->
<!-- <el-link type="text" size="small" @click="chatHistoryDialog(scope.row.id)">沟通 |</el-link>-->
<el-link type="text" size="small" @click="chatHistoryDialog(scope.row.id)">沟通记录 |</el-link>
<el-link type="text" size="small" @click="annex(scope.row.id)">附件</el-link> <el-link type="text" size="small" @click="annex(scope.row.id)">附件</el-link>
<!-- <el-link v-if="isAuth('taskmanage:tasklist:delete')" type="text" size="small"--> <!-- <el-link v-if="isAuth('taskmanage:tasklist:delete')" type="text" size="small"-->
<!-- @click="deleteHandle(scope.row.id)">删除--> <!-- @click="deleteHandle(scope.row.id)">删除-->

Loading…
Cancel
Save