From 011a8921ba81682c9c468a9cc42ddefbb0790385 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 13 十一月 2023 16:12:51 +0800
Subject: [PATCH] 密码策略校验bug

---
 Source/UBCS-WEB/src/components/FormTemplate/index.vue |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue
index 858400a..6b59ceb 100644
--- a/Source/UBCS-WEB/src/components/FormTemplate/index.vue
+++ b/Source/UBCS-WEB/src/components/FormTemplate/index.vue
@@ -226,6 +226,13 @@
       },
     },
   },
+  watch:{
+    codeApplyForm:{
+      handler(newval,oldval){
+        // console.log('newval',newval)
+      }
+    }
+  },
   methods: {
     openDialog() {
       this.getFormTemplate();
@@ -325,6 +332,7 @@
           this.$refs.CodeApply.form[item.name] = undefined;
           item.readOnly=false;
           item.referConfig.extraParams.parentClassifyValueOid=data.value;
+          item.referConfig.reloadData = true;
           childItems.push(item)
         }
         return item;
@@ -355,7 +363,7 @@
       //   }
       // }
       let resembleQueryList = [];
-      if (this.$refs.resembleQueryRef) {
+      if (this.showResembleQuery && this.$refs.resembleQueryRef) {
         // 杩涜鐩镐技椤规煡璇�
         resembleQueryList = await this.$refs.resembleQueryRef.resembleQuery(
           this.form
@@ -413,6 +421,8 @@
       resForm.codeClassifyOid = this.codeClassifyOid;
       resForm.codeRuleOid = this.codeRuleOid;
       resForm.templateOid = this.templateOid;
+      // console.log('formValue',formValue)
+      // console.log('resForm',resForm)
       this.$emit("submit", resForm);
     },
     getDefaultValueAndFormValues(form) {

--
Gitblit v1.9.3