修改禅道已知bug

This commit is contained in:
qq787203167
2022-08-11 15:42:32 +08:00
parent eb6bab4534
commit 5724ff4a23
3 changed files with 8 additions and 7 deletions
@@ -361,6 +361,8 @@
}) })
}, },
completeTask(value, taskId, isTrue) { completeTask(value, taskId, isTrue) {
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
value.operatorTime = handlingTime
Object.keys(value).forEach(res => { Object.keys(value).forEach(res => {
if (value[res] && value[res] instanceof String) { if (value[res] && value[res] instanceof String) {
value[res] = value[res].replace(/\"/g, '“') value[res] = value[res].replace(/\"/g, '“')
@@ -308,6 +308,8 @@
}, },
completeTask() { completeTask() {
let value = JSON.parse(JSON.stringify(this.queryProject)) let value = JSON.parse(JSON.stringify(this.queryProject))
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
value.operatorTime = handlingTime
Object.keys(value).forEach(res => { Object.keys(value).forEach(res => {
if (value[res] && value[res] instanceof String) { if (value[res] && value[res] instanceof String) {
value[res] = value[res].replace(/\"/g, '“') value[res] = value[res].replace(/\"/g, '“')
@@ -92,13 +92,10 @@
}, },
{ {
title: this.$t('createTime'), title: this.$t('createTime'),
dataIndex: 'createTime', dataIndex: 'creatTime',
align: 'center', align: 'center',
width: 180, width: 180,
ellipsis: true, ellipsis: true
customRender: function(t, r, index) {
return moment(t).format('YYYY-MM-DD HH:mm:ss')
}
}, },
{ {
title: this.$t('cutoffTime'), title: this.$t('cutoffTime'),