提交回答修改接口
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user