|
|
@@ -415,18 +415,26 @@ export default { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
uni.showLoading({ |
|
|
|
title: '提交中...' |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const success = await this.HTTP_POST( |
|
|
|
this.type === 'sign' ? 'learun/adms/newwf/sign' : 'learun/adms/newwf/audit', |
|
|
|
postData, |
|
|
|
`提交[${this.typeText}]时发生错误` |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
if (!success) { |
|
|
|
uni.hideLoading(); |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
this.EMIT('task-list-change') |
|
|
|
this.NAV_BACK(2) |
|
|
|
uni.hideLoading(); |
|
|
|
this.TOAST(`已成功提交${this.typeText}`, 'success') |
|
|
|
}, |
|
|
|
|
|
|
|