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/FormTemplate.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue b/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue index f16ba65..eee1a97 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue @@ -160,6 +160,7 @@ immediate: true, handler(newV) { this.$emit("getFormData", newV); + // console.log("getFormData", newV) }, }, TreeValue:{ @@ -189,7 +190,11 @@ let dictKeys = []; let slotColumnList = []; formItemList.forEach((formItem) => { + console.log('formItem',formItem) formItem = this.resetFormConfig(formItem); + if(formItem.type === "datetime"){ + return; + } if (formItem.type === "line") { group.push({ label: formItem.text, @@ -252,7 +257,7 @@ append: this.preOrSufFixShow("text", formItem.suffix), prefixIcon: this.preOrSufFixShow("icon", formItem.prefix), suffixIcon: this.preOrSufFixShow("icon", formItem.suffix), - valueFormat:formItem.dateFormate, + valueFormat:formItem.dateFormate || "yyyy-MM-dd", format: formItem.dateFormate, keyAttr: formItem.keyAttr, value: (formItem.dicData && formItem.dicData.length > 0 && formItem.secType == "codefixedsec" ? formItem.dicData[0].id : null) || @@ -328,6 +333,7 @@ let that=this; items.forEach((item) => { let formItem = this.resetFormConfig(item); + if (formItem.field == "lcstatus") { formItem.field = formItem.field + "_text"; formItem.readOnly = true; -- Gitblit v1.9.3