diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/sign.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/sign.vue index b4add5cb9..82caf3356 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/sign.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/sign.vue @@ -60,12 +60,12 @@ - 确定指派 + 确定指派 取消 - 提交流程{{ typeText }} + 提交流程{{ typeText }} @@ -136,7 +136,10 @@ export default { canvasW:'', canvasH:'', signshow:false, - ConfirmSign:'' + ConfirmSign:'', + + submitDisable:false, + userAssignDisable:false, } }, @@ -266,8 +269,14 @@ export default { } // let formdata = new FormData() // formdata.append("data",this.taskParam.formreq) + this.userAssignDisable = true + uni.showLoading({ + title: '提交中...' + }); const res = await this.HTTP_POST('learun/adms/newwf/instance', this.taskParam.formreq, `指派审核人时发生错误`) if(!res){ + this.userAssignDisable = false + uni.hideLoading(); return } @@ -281,9 +290,11 @@ export default { ) if (!success) { + this.userAssignDisable = false + uni.hideLoading(); return } - + uni.hideLoading(); this.EMIT('task-list-change') this.NAV_BACK(2) this.TOAST(`已成功提交${this.typeText}`, 'success') @@ -302,6 +313,11 @@ export default { return false; } + this.submitDisable = true + uni.showLoading({ + title: '提交中...' + }); + const postData = { operationCode: this.taskParam.code, operationName: this.taskParam.name, @@ -392,6 +408,8 @@ export default { ) if (!success) { + this.submitDisable = false + uni.hideLoading(); return } @@ -409,15 +427,13 @@ export default { }) this.submitPostData = postData if(this.reviewerList.length>1){ + this.submitDisable = false + uni.hideLoading(); this.modal = true return } } - - uni.showLoading({ - title: '提交中...' - }); @@ -428,6 +444,7 @@ export default { ) if (!success) { + this.submitDisable = false uni.hideLoading(); return } diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/logo.dc7ee5a9.png b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/logo.dc7ee5a9.png index 08baaa4b9..dbb04f173 100644 Binary files a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/logo.dc7ee5a9.png and b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/logo.dc7ee5a9.png differ