|
|
@@ -151,13 +151,13 @@
|
|
|
>
|
|
|
<template slot-scope="scope">{{ scope.row.createBy | getUserName(userList)}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
+ <!-- <el-table-column
|
|
|
show-overflow-tooltip
|
|
|
label="提交人"
|
|
|
width="100"
|
|
|
>
|
|
|
<template slot-scope="scope">{{ getParenthesesStr(scope.row.subject)[2] }}</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
</template>
|
|
|
<el-table-column show-overflow-tooltip width="160" :key="Date.now() + Math.random()">
|
|
|
<template slot="header" slot-scope="scope">
|
|
|
@@ -166,7 +166,7 @@
|
|
|
</template>
|
|
|
<span>{{ item.time + '时间' }}</span>
|
|
|
</template>
|
|
|
- <template slot-scope="scope">{{ scope.row.createTime.slice(0, 16) }}</template>
|
|
|
+ <template slot-scope="scope">{{ scope.row[item.field] ? scope.row[item.field].slice(0, 16) : scope.row.createTime.slice(0, 16) }}</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
<div v-if="dataList.length">
|
|
|
@@ -215,25 +215,29 @@
|
|
|
label: '待办事宜',
|
|
|
key: 'wait',
|
|
|
icon: 'el-icon-edit',
|
|
|
- time: '提交'
|
|
|
+ time: '提交',
|
|
|
+ field: 'createTime'
|
|
|
},
|
|
|
{
|
|
|
label: '已办事宜',
|
|
|
key: 'over',
|
|
|
icon: 'el-icon-document-remove',
|
|
|
- time: '办理'
|
|
|
+ time: '办理',
|
|
|
+ field: 'updateTime'
|
|
|
},
|
|
|
{
|
|
|
label: '办结事宜',
|
|
|
key: 'finish',
|
|
|
icon: 'el-icon-paperclip',
|
|
|
- time: '结束'
|
|
|
+ time: '结束',
|
|
|
+ field: 'updateTime'
|
|
|
},
|
|
|
{
|
|
|
label: '暂存事宜',
|
|
|
key: 'save',
|
|
|
icon: 'el-icon-receiving',
|
|
|
- time: '暂存'
|
|
|
+ time: '暂存',
|
|
|
+ field: 'createTime'
|
|
|
}
|
|
|
]
|
|
|
const taskState = {
|