This commit is contained in:
zhutianqi
2021-12-31 15:44:33 +08:00
parent f83f5e3589
commit f0c9163df1
2 changed files with 5 additions and 5 deletions
@@ -335,7 +335,7 @@
page: 1, page: 1,
pageSize: this.$store.getters.userInfo.configContent, pageSize: this.$store.getters.userInfo.configContent,
total: 0, total: 0,
standType: 'ALL', standType: 'INLAND',
quoteIdList: '', quoteIdList: '',
validFlag: '0' validFlag: '0'
} }
@@ -562,6 +562,7 @@
let _formData = new FormData(); let _formData = new FormData();
let json = this.form let json = this.form
json.data = this.data json.data = this.data
json.onlyKey = this.onlyKey
_formData.append("id", this.bpnId || ""); _formData.append("id", this.bpnId || "");
_formData.append("prcType", "3"); _formData.append("prcType", "3");
_formData.append("taskIds", this.taskIds); _formData.append("taskIds", this.taskIds);
@@ -635,10 +636,11 @@
else { else {
this.isSubmit = true this.isSubmit = true
var json = this.json var json = this.json
json.commentText = this.commentText json.commentText = this.commentText3
json.info = this.data json.info = this.data
json.form = this.form json.form = this.form
json.department = this.$store.getters.userInfo.orgName json.department = this.$store.getters.userInfo.orgName
json.onlyKey = this.onlyKey
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json), json: JSON.stringify(json),
taskId: this.taskIds, taskId: this.taskIds,
@@ -662,7 +664,6 @@
}, {}, res => { }, {}, res => {
if (res.ok) { if (res.ok) {
this.options = res.data.list this.options = res.data.list
console.log(res);
} }
}, e => { }, e => {
}) })
@@ -696,10 +697,9 @@
this.form.endTime = data.endTime || data.form.endTime this.form.endTime = data.endTime || data.form.endTime
this.todoId = res.id this.todoId = res.id
this.json = data this.json = data
this.onlyKey = data.form ? data.form.onlyKey : data.onlyKey
this.getItemList(data.standId,data.textType) this.getItemList(data.standId,data.textType)
this.data = data.info || data.data || data.form.data || [] this.data = data.info || data.data || data.form.data || []
this.onlyKey = data.onlyKey
console.log(data);
}).catch(e => { }).catch(e => {
}) })
}) })