diff --git a/src/pages/personal/pages/my-questions/components/answerItem2.vue b/src/pages/personal/pages/my-questions/components/answerItem2.vue index 67ba1d4ad..32bbf7571 100644 --- a/src/pages/personal/pages/my-questions/components/answerItem2.vue +++ b/src/pages/personal/pages/my-questions/components/answerItem2.vue @@ -165,19 +165,27 @@ export default { _this: this }, res => { if(this.list.length === 0){ - this.deleteReplyToenNotice() - .then(res => { - this.$http.post("lawss/activiti/completeTask", { - json: JSON.stringify(this.form), - taskId: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { + this.$http.get('lawss/activiti/selectWenDan', { + taskId: this.$route.query.taskIds, + }, { + _this: this + }, res => { + this.form = Object.assign(this.form,res) + this.deleteReplyToenNotice() + .then(res => { + this.$http.post("lawss/activiti/completeTask", { + json: JSON.stringify(this.form), + taskId: this.$route.query.taskIds, + userId: this.$store.getters.userInfo.userId + }, {}, res => { - }); - this.form.reply = '' - this.fileList = [] - this.$emit('emitInsState',true) - }).catch(e => console.log(e)) + }); + this.form.reply = '' + this.fileList = [] + this.$emit('emitInsState',true) + }).catch(e => console.log(e)) + }, e => { + }) }else{ this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(this.form), diff --git a/src/pages/personal/pages/my-questions/components/questionItemInfo.vue b/src/pages/personal/pages/my-questions/components/questionItemInfo.vue index 5965c5d88..65eb68917 100644 --- a/src/pages/personal/pages/my-questions/components/questionItemInfo.vue +++ b/src/pages/personal/pages/my-questions/components/questionItemInfo.vue @@ -26,7 +26,8 @@