From 7f1971310aa80bc2bdeaf11a0d2bcfd725b30f39 Mon Sep 17 00:00:00 2001
From: fujunling <2984387807@qq.com>
Date: 星期四, 08 六月 2023 15:26:25 +0800
Subject: [PATCH] fjl

---
 Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue  |    6 +-----
 Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue |    2 +-
 Source/UBCS-WEB/src/components/FormTemplate/index.vue         |    1 +
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue b/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue
index 396fd4d..407a36d 100644
--- a/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue
+++ b/Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue
@@ -563,9 +563,6 @@
             value:'',
             text:''
           }:{},
-          change: () => {
-            this.changeFun(formItem.displayExtension, formItem.prop);
-          },
           span: formItem.type === "textarea" ? 24 : this.trendsSpan,
           rules: [
             {
@@ -700,8 +697,7 @@
     // 鑾峰彇琛ㄥ崟璇︽儏鏁版嵁
     getFormDetail() {
       if (this.type === 'add') return
-      if (this.type === "add") return;
-      getFormDetail({ templateOid: this.templateOid, oid: '213D13D5-76D3-6B42-0932-705693F6B6E4' }).then(
+      getFormDetail({ templateOid: this.templateOid, oid: this.rowOid }).then(
         (res) => {
           this.form = Object.assign(this.form, res.obj)
           console.log(res, "res");
diff --git a/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue b/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue
index 3891fc5..da90c5c 100644
--- a/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue
+++ b/Source/UBCS-WEB/src/components/FormTemplate/ResembleQuery.vue
@@ -144,7 +144,7 @@
     openFormTemlpate(row) {
       this.resembleTemplateOid = row.codetemplateoid
       this.resembleCodeClassifyOid = row.codeClassifyOid
-      this.rowOid = row.iod
+      this.rowOid = row.oid
       this.formTemplateVisible = true;
     },
     getDefaultValueAndFormValues(form) {
diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue
index 3977502..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"

--
Gitblit v1.9.3