|
|
@@ -3,7 +3,7 @@
|
|
|
<van-form
|
|
|
ref="tabstoreVal"
|
|
|
class="QRCodeActivity"
|
|
|
- :readonly="approvalStatus == '1' || approvalStatus == '2'">
|
|
|
+ :disabled="approvalStatus == '1' || approvalStatus == '2'">
|
|
|
<div class="activityItem">
|
|
|
<span class="van-f-red">*</span>
|
|
|
<van-field
|
|
|
@@ -174,10 +174,12 @@ export default {
|
|
|
},
|
|
|
// 打开二维码
|
|
|
openQRCode(value) {
|
|
|
+ this.toastLoading(0, '加载中...', true);
|
|
|
// approvalStatus//1-待审批 2-审批通过 不支持修改,直接查看二维码
|
|
|
if (this.approvalStatus == '1' || this.approvalStatus == '2' || this.approvalStatus == '3') {
|
|
|
getSummaryQrCodeUUID({ qrUuid: this.qrUuid, userSummaryId: this.userSummaryId }).then(
|
|
|
(res) => {
|
|
|
+ this.toastLoading().clear();
|
|
|
this.QRCodeUrl = res.data.base64Png;
|
|
|
this.QRCodeBox = true;
|
|
|
}
|
|
|
@@ -187,7 +189,6 @@ export default {
|
|
|
.validate()
|
|
|
.then(() => {
|
|
|
// 验证通过
|
|
|
- this.toastLoading(0, '加载中...', true);
|
|
|
this.$emit('onSubmit', (res) => {
|
|
|
this.toastLoading().clear();
|
|
|
this.QRCodeBox = true;
|
|
|
@@ -196,6 +197,7 @@ export default {
|
|
|
});
|
|
|
})
|
|
|
.catch((errors) => {
|
|
|
+ this.toastLoading().clear();
|
|
|
//验证失败
|
|
|
window.scrollTo(0, 0);
|
|
|
});
|