From 23b4b0e764ba8d7bf73f9c7d999f4144427d31cd Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期五, 13 九月 2024 16:35:35 +0800
Subject: [PATCH] 新增可靠性框图自动排版功能

---
 web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue b/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue
index bfb24e0..dbaf9aa 100644
--- a/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue
+++ b/web/src/views/modules/sysPictureBase/SysPictureBase-AddOrUpdate.vue
@@ -13,6 +13,9 @@
       <zt-form-item label="妫�绱㈠叧閿瓧" prop="contentType">
         <el-input v-model="dataForm.contentType"></el-input>
       </zt-form-item>
+      <zt-form-item label="澶囨敞" prop="remark">
+        <el-input v-model="dataForm.remark"></el-input>
+      </zt-form-item>
       <input type="hidden" id="svgContentId" :value="dataForm.svgContent"/>
       <zt-form-item>
         <!--                <el-upload action="*" :on-change="uploadSvgContent">-->
@@ -56,12 +59,12 @@
       }
     },
     methods: {
-      async init() {
-        if (this.dataForm.id) {
-          let res = await this.$http.get(`/sysPictureBase/${this.dataForm.id}`)
+      async init(id,row) {
+        if (id) {
+          //let res = await this.$http.get(`/sysPictureBase/${this.dataForm.id}`)
           this.dataForm = {
             ...this.dataForm,
-            ...res.data
+            ...row
           }
           console.log(this.dataForm, 'this.dataForm this.dataForm')
         }

--
Gitblit v1.9.1