修改禅道已知bug
This commit is contained in:
@@ -296,6 +296,12 @@
|
|||||||
if (dataList[i].evaluationMethods && dataList[i].evaluationMethods instanceof Array) {
|
if (dataList[i].evaluationMethods && dataList[i].evaluationMethods instanceof Array) {
|
||||||
dataList[i].evaluationMethods = dataList[i].evaluationMethods.join(',')
|
dataList[i].evaluationMethods = dataList[i].evaluationMethods.join(',')
|
||||||
}
|
}
|
||||||
|
Object.keys(dataList[i]).forEach(res=>{
|
||||||
|
if (dataList[i][res] && typeof dataList[i][res] == 'string') {
|
||||||
|
dataList[i][res] = dataList[i][res].replace(/\"/g, '“')
|
||||||
|
dataList[i][res] = dataList[i][res].replace(/\'/g, '‘')
|
||||||
|
}
|
||||||
|
})
|
||||||
dataList[i].lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId || this.getUUID
|
dataList[i].lawsTechnologyEvaluationId = this.$route.query.lawsTechnologyEvaluationId || this.getUUID
|
||||||
if (!dataList[i].evaluatorIds) {
|
if (!dataList[i].evaluatorIds) {
|
||||||
this.$message.warning(this.$t('pleaseCompleteTheEvaluationMethodorEvaluator'))
|
this.$message.warning(this.$t('pleaseCompleteTheEvaluationMethodorEvaluator'))
|
||||||
|
|||||||
@@ -345,6 +345,12 @@
|
|||||||
this.$message.warning(this.$t('PleaseCompleteList'))
|
this.$message.warning(this.$t('PleaseCompleteList'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Object.keys(this.dataSource[i]).forEach(res=>{
|
||||||
|
if (this.dataSource[i][res] && typeof this.dataSource[i][res] == 'string') {
|
||||||
|
this.dataSource[i][res] = this.dataSource[i][res].replace(/\"/g, '“')
|
||||||
|
this.dataSource[i][res] = this.dataSource[i][res].replace(/\'/g, '‘')
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
if (this.$route.query.taskDefinitionKey == 'pgrqr'){
|
if (this.$route.query.taskDefinitionKey == 'pgrqr'){
|
||||||
let feedbackTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
let feedbackTime = moment(new Date()).format('YYYY-MM-DD HH:mm:ss')
|
||||||
|
|||||||
@@ -348,6 +348,7 @@
|
|||||||
this.getNameList()
|
this.getNameList()
|
||||||
this.formInline.studioEngineerName = this.userInfo().username
|
this.formInline.studioEngineerName = this.userInfo().username
|
||||||
this.formInline.studioEngineer = this.userInfo().id
|
this.formInline.studioEngineer = this.userInfo().id
|
||||||
|
this.formInline = {...this.formInline}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.ruleForm.clearValidate()
|
this.$refs.ruleForm.clearValidate()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user