|
|
@@ -118,7 +118,12 @@ export default { |
|
|
|
this.submitPostData.auditors = JSON.stringify({[this.reviewerListId]:this.reviewer.toString()}) |
|
|
|
delete this.submitPostData.formreq |
|
|
|
// this.submitPostData.auditors[this.reviewerListId] = this.reviewer |
|
|
|
console.log(this.submitPostData) |
|
|
|
// console.log(this.submitPostData) |
|
|
|
|
|
|
|
uni.showLoading({ |
|
|
|
title: '提交中...' |
|
|
|
}); |
|
|
|
|
|
|
|
const success = await this.HTTP_POST( |
|
|
|
this.type === 'sign' ? 'learun/adms/newwf/sign' : 'learun/adms/newwf/auditors', |
|
|
|
this.submitPostData, |
|
|
@@ -126,11 +131,13 @@ export default { |
|
|
|
) |
|
|
|
|
|
|
|
if (!success) { |
|
|
|
return |
|
|
|
uni.hideLoading(); |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
this.EMIT('task-list-change') |
|
|
|
this.NAV_BACK(2) |
|
|
|
uni.hideLoading(); |
|
|
|
this.TOAST(`已成功提交${this.typeText}`, 'success') |
|
|
|
|
|
|
|
}, |
|
|
|