提交回答修改接口
This commit is contained in:
@@ -144,12 +144,26 @@ export default {
|
|||||||
this.$http.postData('lawss/Reply/insertReply',{ ...this.form },{
|
this.$http.postData('lawss/Reply/insertReply',{ ...this.form },{
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.get('lawss/activiti/questionsAndAnswers', {
|
||||||
json: JSON.stringify(this.form),
|
askId: asdId,
|
||||||
taskId: this.$route.query.taskIds,
|
answerer: this.$store.getters.userInfo.userId
|
||||||
userId: this.$store.getters.userInfo.userId
|
}, {
|
||||||
}, {}, res => {
|
_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'){
|
if(res.respCode === '200'){
|
||||||
this.form.reply = ''
|
this.form.reply = ''
|
||||||
this.fileList = []
|
this.fileList = []
|
||||||
|
|||||||
Reference in New Issue
Block a user