From 2805495cbbdd999e0a887156e15540ce3740fb1e Mon Sep 17 00:00:00 2001
From: wang1 <844966816@qq.com>
Date: 星期四, 31 八月 2023 18:05:43 +0800
Subject: [PATCH] mdm流程,添加流转条件为空的验证
---
Source/UBCS-WEB/src/components/refer/vciWebRefer.vue | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue b/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue
index 0324f5c..a421c47 100644
--- a/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue
+++ b/Source/UBCS-WEB/src/components/refer/vciWebRefer.vue
@@ -19,12 +19,19 @@
return {
refertype: this.referConfig.options.type,
emitData:{},
- title:''
+ title:'',
+ display:this.display || true,
+ disabled:this.disabled || false
};
},
- created() {},
+ created() {
+ if (!this.referConfig.options) {
+ this.referConfig.options = {
+ isMuti: false
+ }
+ }
+ },
mounted() {
- console.log(this.referConfig.options);
var title = this.referConfig.title || '';
title = title.replace(":", "");
title = title ? ('涓恒��' + title + '銆戦�夊彇鍊�') : ('涓恒��' + this.referConfig.showField + '銆戦�夊彇鍊�');
@@ -41,8 +48,10 @@
deep: true,
immediate: true,
handler(newV) {
+ this.text=newV.text;
+ this.value=newV.value;
this.$emit("setReferValue", newV);
- },
+ }
}
}
}
--
Gitblit v1.10.0