修改禅道已知bug
This commit is contained in:
+2
@@ -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'),
|
||||||
|
|||||||
Reference in New Issue
Block a user