From 5ec2f793898d4bbfd37f73b11688aeab9cc04cf2 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期二, 13 六月 2023 17:54:20 +0800 Subject: [PATCH] 1、以前一些表名是写固定的,现在调业务类型服务进行获取的表名 --- Source/UBCS-WEB/src/components/FormTemplate/index.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue index 6009b7e..a5e99a0 100644 --- a/Source/UBCS-WEB/src/components/FormTemplate/index.vue +++ b/Source/UBCS-WEB/src/components/FormTemplate/index.vue @@ -1,6 +1,7 @@ <template> <el-dialog :visible.sync="dialogVisible" + v-if="dialogVisible" v-dialogDrag top="0vh" :title="title" @@ -14,6 +15,7 @@ :visible="visible" :type="type" :rowOid="rowOid" + :templateOid="templateOid" ref="FormTempalte" @getFormData="getFormData" ></FormTempalte> @@ -160,7 +162,9 @@ methods: { openDialog() { this.getFormTemplate(); - this.getCodeRule(); + if (this.type === 'add') { + this.getCodeRule(); + } }, close() { this.dialogVisible = false; -- Gitblit v1.9.3