修改禅道已知bug
This commit is contained in:
+2
-2
@@ -333,7 +333,7 @@
|
|||||||
value.id = this.getUUID()
|
value.id = this.getUUID()
|
||||||
value.currentUserName = this.userInfo().username
|
value.currentUserName = this.userInfo().username
|
||||||
Object.keys(value).forEach(res => {
|
Object.keys(value).forEach(res => {
|
||||||
if (value[res] && value[res] instanceof String) {
|
if (value[res] && typeof value[res] == 'string') {
|
||||||
value[res] = value[res].replace(/\"/g, '“')
|
value[res] = value[res].replace(/\"/g, '“')
|
||||||
value[res] = value[res].replace(/\'/g, '‘')
|
value[res] = value[res].replace(/\'/g, '‘')
|
||||||
}
|
}
|
||||||
@@ -364,7 +364,7 @@
|
|||||||
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||||
value.handlingTime = handlingTime
|
value.handlingTime = handlingTime
|
||||||
Object.keys(value).forEach(res => {
|
Object.keys(value).forEach(res => {
|
||||||
if (value[res] && value[res] instanceof String) {
|
if (value[res] && typeof value[res] == 'string') {
|
||||||
value[res] = value[res].replace(/\"/g, '“')
|
value[res] = value[res].replace(/\"/g, '“')
|
||||||
value[res] = value[res].replace(/\'/g, '‘')
|
value[res] = value[res].replace(/\'/g, '‘')
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -217,7 +217,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('feedbackTime'),
|
title: this.$t('feedbackTime'),
|
||||||
dataIndex: 'updateTime',
|
dataIndex: 'feedbackTime',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 160
|
width: 160
|
||||||
|
|||||||
+2
-2
@@ -537,7 +537,7 @@
|
|||||||
if (value[res] && value[res] instanceof Array) {
|
if (value[res] && value[res] instanceof Array) {
|
||||||
value[res] = value[res].join(',')
|
value[res] = value[res].join(',')
|
||||||
}
|
}
|
||||||
if (value[res] && value[res] instanceof String) {
|
if (value[res] && typeof value[res] == 'string') {
|
||||||
value[res] = value[res].replace(/\"/g, '“')
|
value[res] = value[res].replace(/\"/g, '“')
|
||||||
value[res] = value[res].replace(/\'/g, '‘')
|
value[res] = value[res].replace(/\'/g, '‘')
|
||||||
}
|
}
|
||||||
@@ -579,7 +579,7 @@
|
|||||||
},
|
},
|
||||||
completeTask(value, taskId) {
|
completeTask(value, taskId) {
|
||||||
Object.keys(value).forEach(res => {
|
Object.keys(value).forEach(res => {
|
||||||
if (value[res] && value[res] instanceof String) {
|
if (value[res] && typeof value[res] == 'string') {
|
||||||
value[res] = value[res].replace(/\"/g, '“')
|
value[res] = value[res].replace(/\"/g, '“')
|
||||||
value[res] = value[res].replace(/\'/g, '‘')
|
value[res] = value[res].replace(/\'/g, '‘')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -98,6 +98,7 @@
|
|||||||
import { getAction, postAction } from '@/api/manage'
|
import { getAction, postAction } from '@/api/manage'
|
||||||
import uploadFile from '@/components/uploadFile/file'
|
import uploadFile from '@/components/uploadFile/file'
|
||||||
import viewFileModel from '@/components/viewFileModel/index'
|
import viewFileModel from '@/components/viewFileModel/index'
|
||||||
|
import moment from 'moment'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'evaluatorFeedback',
|
name: 'evaluatorFeedback',
|
||||||
@@ -345,6 +346,12 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (this.$route.query.taskDefinitionKey == 'pgrqr'){
|
||||||
|
let feedbackTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||||
|
for (let i = 0; i < this.dataSource.length; i++) {
|
||||||
|
this.dataSource[i].feedbackTime = feedbackTime
|
||||||
|
}
|
||||||
|
}
|
||||||
callBack && callBack(this.dataSource)
|
callBack && callBack(this.dataSource)
|
||||||
},
|
},
|
||||||
preservationData(callBack) {
|
preservationData(callBack) {
|
||||||
|
|||||||
@@ -313,7 +313,7 @@
|
|||||||
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||||
value.handlingTime = handlingTime
|
value.handlingTime = handlingTime
|
||||||
Object.keys(value).forEach(res => {
|
Object.keys(value).forEach(res => {
|
||||||
if (value[res] && value[res] instanceof String) {
|
if (value[res] && typeof value[res] == 'string') {
|
||||||
value[res] = value[res].replace(/\"/g, '“')
|
value[res] = value[res].replace(/\"/g, '“')
|
||||||
value[res] = value[res].replace(/\'/g, '‘')
|
value[res] = value[res].replace(/\'/g, '‘')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -267,7 +267,7 @@
|
|||||||
let operatorTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
let operatorTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||||
value.operatorTime = operatorTime
|
value.operatorTime = operatorTime
|
||||||
Object.keys(value).forEach(res => {
|
Object.keys(value).forEach(res => {
|
||||||
if (value[res] && value[res] instanceof String) {
|
if (value[res] && typeof value[res] == 'string') {
|
||||||
value[res] = value[res].replace(/\"/g, '“')
|
value[res] = value[res].replace(/\"/g, '“')
|
||||||
value[res] = value[res].replace(/\'/g, '‘')
|
value[res] = value[res].replace(/\'/g, '‘')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -176,7 +176,7 @@
|
|||||||
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||||
value.handlingTime = handlingTime
|
value.handlingTime = handlingTime
|
||||||
Object.keys(value).forEach(res => {
|
Object.keys(value).forEach(res => {
|
||||||
if (value[res] && value[res] instanceof String) {
|
if (value[res] && typeof value[res] == 'string') {
|
||||||
value[res] = value[res].replace(/\"/g, '“')
|
value[res] = value[res].replace(/\"/g, '“')
|
||||||
value[res] = value[res].replace(/\'/g, '‘')
|
value[res] = value[res].replace(/\'/g, '‘')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -346,7 +346,7 @@
|
|||||||
let json = Object.assign(this.queryBy, value)
|
let json = Object.assign(this.queryBy, value)
|
||||||
let data = JSON.stringify(json).replace(/\"/g, '\'')
|
let data = JSON.stringify(json).replace(/\"/g, '\'')
|
||||||
Object.keys(value).forEach(res => {
|
Object.keys(value).forEach(res => {
|
||||||
if (value[res] && value[res] instanceof String) {
|
if (value[res] && typeof value[res] == 'string') {
|
||||||
value[res] = value[res].replace(/\"/g, '“')
|
value[res] = value[res].replace(/\"/g, '“')
|
||||||
value[res] = value[res].replace(/\'/g, '‘')
|
value[res] = value[res].replace(/\'/g, '‘')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1787,7 +1787,7 @@
|
|||||||
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
let handlingTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||||
value.handlingTime = handlingTime
|
value.handlingTime = handlingTime
|
||||||
Object.keys(value).forEach(res => {
|
Object.keys(value).forEach(res => {
|
||||||
if (value[res] && value[res] instanceof String) {
|
if (value[res] && typeof value[res] == 'string') {
|
||||||
value[res] = value[res].replace(/\"/g, '“')
|
value[res] = value[res].replace(/\"/g, '“')
|
||||||
value[res] = value[res].replace(/\'/g, '‘')
|
value[res] = value[res].replace(/\'/g, '‘')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user