Bläddra i källkod

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

怀来职教中心中职
ndbs 1 år sedan
förälder
incheckning
f01b295fdc
2 ändrade filer med 25 tillägg och 8 borttagningar
  1. +25
    -8
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/myflow/sign.vue
  2. Binär
      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 Visa fil

@@ -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
}


Binär
Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/logo.dc7ee5a9.png Visa fil

Före Efter
Bredd: 108  |  Höjd: 108  |  Storlek: 20 KiB Bredd: 1771  |  Höjd: 1771  |  Storlek: 1.2 MiB

Laddar…
Avbryt
Spara