From 3bf0e1e45acfb85fb6054dc55d1c1204a6750998 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期二, 24 九月 2024 23:53:53 +0800
Subject: [PATCH] 通用增删改模态窗口更新,工单维护更新

---
 src/views/tigerprojects/system/lowcode/high/edit/editdtl.vue |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/views/tigerprojects/system/lowcode/high/edit/editdtl.vue b/src/views/tigerprojects/system/lowcode/high/edit/editdtl.vue
index 55fde73..ff9bca1 100644
--- a/src/views/tigerprojects/system/lowcode/high/edit/editdtl.vue
+++ b/src/views/tigerprojects/system/lowcode/high/edit/editdtl.vue
@@ -212,9 +212,7 @@
     }
   }
 
-  const imgList = [
-    'http://localhost:8800/files/Template/10浣嶆壒娆℃潯鐮�.png',
-  ];
+  const imgList = ['http://localhost:8800/files/Template/10浣嶆壒娆℃潯鐮�.png'];
   function openImg() {
     const onImgLoad = ({ index, url, dom }) => {
       console.log(`绗�${index + 1}寮犲浘鐗囧凡鍔犺浇锛孶RL涓猴細${url}`, dom);
@@ -232,7 +230,7 @@
     const params = {
       record,
       isUpdate: true,
-      ifSave: true,
+      ifSave: objParams.value['ifSave'],
       entityName: props.entityName,
       formJson: [], //getFormSchema(`${entityName.value}_Crud`),
       cType,
@@ -296,7 +294,7 @@
       }
       useDrawers[index][item['name']][1].openDrawer(true, {
         isUpdate: false,
-        ifSave: true,
+        ifSave: objParams.value['ifSave'],
         entityName: item['name'], //props.entityName,
         // formJson: GetCrudForm(item, data), //鑾峰彇澧炲垹鏀硅〃鍗曞瓧娈�
         crudColSlots: props.crudColSlots,

--
Gitblit v1.9.3