提交回答修改接口

This commit is contained in:
zyn
2023-04-12 10:36:42 +08:00
parent ebf998ae77
commit 18cbebf949
@@ -144,12 +144,26 @@ export default {
this.$http.postData('lawss/Reply/insertReply',{ ...this.form },{
_this: this
}, 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/questionsAndAnswers', {
askId: asdId,
answerer: this.$store.getters.userInfo.userId
}, {
_this: this,
}, res => {
if(res && res.data){
const taskId = res.data.taskId
const json = res.data.mesg
this.$http.post("lawss/activiti/completeTask", {
// json: JSON.stringify(this.form),
// taskId: this.$route.query.taskIds,
json,
taskId,
userId: this.$store.getters.userInfo.userId
}, {}, res => {
});
}
}, e => {})
if(res.respCode === '200'){
this.form.reply = ''
this.fileList = []