|
@@ -224,6 +224,7 @@
|
|
this.inputForm.klgBaseReplyDTOList.forEach((item, index) => {
|
|
this.inputForm.klgBaseReplyDTOList.forEach((item, index) => {
|
|
if (this.commonJS.isNotEmpty(item.content)) {
|
|
if (this.commonJS.isNotEmpty(item.content)) {
|
|
this.$refs.contentEditorList[index].init(item.content)
|
|
this.$refs.contentEditorList[index].init(item.content)
|
|
|
|
+ this.$refs.contentEditorList[index].disable()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
@@ -292,9 +293,8 @@
|
|
// 审核同意
|
|
// 审核同意
|
|
if (this.inputForm.status === '2') {
|
|
if (this.inputForm.status === '2') {
|
|
this.inputForm.status = '5'
|
|
this.inputForm.status = '5'
|
|
- }
|
|
|
|
- if (this.inputForm.status === '5') {
|
|
|
|
- this.inputForm.status = '9'
|
|
|
|
|
|
+ } else if (this.inputForm.status === '5') {
|
|
|
|
+ this.inputForm.status = '6'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
this.$refs['inputForm'].validate((valid) => {
|
|
this.$refs['inputForm'].validate((valid) => {
|
|
@@ -320,7 +320,9 @@
|
|
this.inputForm.klgBaseDisposeDTOList = []
|
|
this.inputForm.klgBaseDisposeDTOList = []
|
|
}
|
|
}
|
|
this.klgBaseQuestionsService.saveForm(this.inputForm).then(({data}) => {
|
|
this.klgBaseQuestionsService.saveForm(this.inputForm).then(({data}) => {
|
|
- this.inputForm.assignee = this.inputForm.disposeBy
|
|
|
|
|
|
+ if (this.inputForm.status === '2') {
|
|
|
|
+ this.inputForm.assignee = this.inputForm.disposeBy
|
|
|
|
+ }
|
|
callback(data.businessTable, data.businessId, this.inputForm)
|
|
callback(data.businessTable, data.businessId, this.inputForm)
|
|
this.loading = false
|
|
this.loading = false
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
@@ -370,8 +372,10 @@
|
|
this.inputForm.klgBaseReplyDTOList.splice(index, 1)
|
|
this.inputForm.klgBaseReplyDTOList.splice(index, 1)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- if (this.inputForm.status === '5') {
|
|
|
|
- this.inputForm.status = '6'
|
|
|
|
|
|
+ if (this.inputForm.status === '2') {
|
|
|
|
+ this.inputForm.status = '4'
|
|
|
|
+ } else if (this.inputForm.status === '5') {
|
|
|
|
+ this.inputForm.status = '2'
|
|
}
|
|
}
|
|
this.klgBaseQuestionsService.saveForm(this.inputForm).then(({data}) => {
|
|
this.klgBaseQuestionsService.saveForm(this.inputForm).then(({data}) => {
|
|
this.inputForm.assignee = this.inputForm.disposeBy
|
|
this.inputForm.assignee = this.inputForm.disposeBy
|
|
@@ -384,14 +388,8 @@
|
|
}
|
|
}
|
|
if (type === 'reback') {
|
|
if (type === 'reback') {
|
|
// 撤回
|
|
// 撤回
|
|
- if (this.inputForm.status === '2') {
|
|
|
|
- let param = {status: '3', id: this.inputForm.id}
|
|
|
|
- this.klgBaseQuestionsService.updateStatusById(param)
|
|
|
|
- }
|
|
|
|
- if (this.inputForm.status === '6') {
|
|
|
|
- let param = {status: '7', id: this.inputForm.id}
|
|
|
|
- this.klgBaseQuestionsService.updateStatusById(param)
|
|
|
|
- }
|
|
|
|
|
|
+ let param = {status: '3', id: this.inputForm.id}
|
|
|
|
+ this.klgBaseQuestionsService.updateStatusById(param)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|