From cece17f846dca06261e4b56fb2b9789dec380670 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 26 一月 2024 15:20:16 +0800
Subject: [PATCH] Mr.Shi

---
 company/src/components/business/OperaInsuranceApplyWindow.vue |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/company/src/components/business/OperaInsuranceApplyWindow.vue b/company/src/components/business/OperaInsuranceApplyWindow.vue
index b61ea73..c8095b8 100644
--- a/company/src/components/business/OperaInsuranceApplyWindow.vue
+++ b/company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -1,7 +1,7 @@
 <template>
     <GlobalWindow
         :title="title"
-        width="80%"
+        width="100%"
         :visible.sync="visible"
         :confirm-working="isWorking"
         @confirm="confirm"
@@ -410,6 +410,7 @@
                     user: '',
                     region: ''
                 },
+                value1: '',
                 visible1: false,
                 visible2: false,
                 visible3: false,
@@ -442,6 +443,24 @@
             })
         },
         methods: {
+            open (title, target) {
+                this.title = title
+                this.visible = true
+                // 鏂板缓
+                // if (target == null) {
+                //     this.$nextTick(() => {
+                //         this.$refs.form.resetFields()
+                //         this.form[this.configData['field.id']] = null
+                //     })
+                //     return
+                // }
+                // 缂栬緫
+                this.$nextTick(() => {
+                    for (const key in this.form) {
+                        this.form[key] = target[key]
+                    }
+                })
+            },
             handleRemove(file, fileList) {
                 console.log(file, fileList);
             },

--
Gitblit v1.9.3