浏览代码

Merge branch '长阳分支中职' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 长阳分支中职

怀来职教中心中职
ndbs 1年前
父节点
当前提交
f01b295fdc
共有 2 个文件被更改,包括 25 次插入8 次删除
  1. +25
    -8
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/sign.vue
  2. 二进制
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/logo.dc7ee5a9.png

+ 25
- 8
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/sign.vue 查看文件

@@ -60,12 +60,12 @@
<l-modal v-model="modal" @close="reviewer = ''" title="指派审核人">
<l-checkbox-picker @input="(e)=>{reviewer = e}" :value="reviewer" :readonly="false" :range="reviewerList"
required title="审核人" />
<l-button @click="userAssign" color="blue" class="block" block>确定指派</l-button>
<l-button @click="userAssign" :disabled="userAssignDisable" color="blue" class="block" block>确定指派</l-button>
<l-button @click="()=>{modal = false;reviewer = ''}" line="blue" class="block margin-top-sm" block>取消</l-button>
</l-modal>

<view class="padding margin-top bg-white">
<l-button @click="submit" class="block" size="lg" color="green" block>提交流程{{ typeText }}</l-button>
<l-button @click="submit" :disabled="submitDisable" class="block" size="lg" color="green" block>提交流程{{ typeText }}</l-button>
</view>
<view class="pswd-uni-mask" v-if="passshow">
@@ -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
}


二进制
Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/logo.dc7ee5a9.png 查看文件

之前 之后
宽度: 108  |  高度: 108  |  大小: 20 KiB 宽度: 1771  |  高度: 1771  |  大小: 1.2 MiB

正在加载...
取消
保存