From 8a5950c9be089f9f762f6f92b1f376e08f2c7a40 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 16 十一月 2023 16:40:56 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/components/FormTemplate/index.vue | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue index d129e12..f6a23b6 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/index.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/index.vue @@ -41,6 +41,7 @@ :selfColumnConfig="selfColumnConfig" ref="CodeApply" @getFormData="getCodeApplyFormData" + @attrList="attrListForm" @referConfigDataUpdate="referConfigDataUpdate" ></FormTemplate> </el-tab-pane> @@ -131,6 +132,7 @@ }, data() { return { + attrList:[], eventList:[], //鐮佸�肩殑绗簩绉嶅彧璇婚殣钘忔儏鍐� codeValueApplyStatus:'', @@ -318,6 +320,16 @@ }, getFormData(form) { this.form = form; + if (this.attrList) { + this.attrList.forEach(item => { + if (this.form.hasOwnProperty(item.referAttributeId)) { + this.codeApplyForm[item.oid] = this.form[item.referAttributeId] ; + } + }) + } + }, + attrListForm(attrListForm){ + this.attrList=attrListForm; }, getCodeApplyFormData(codeApplyForm) { this.codeApplyForm = codeApplyForm; -- Gitblit v1.9.3