From ded3890236e8d2371afc44c48631bb0fb9101d76 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期二, 07 五月 2024 18:34:37 +0800
Subject: [PATCH] 表单展示

---
 Source/ProjectWeb/src/views/base/UIContentViewerInDialog.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Source/ProjectWeb/src/views/base/UIContentViewerInDialog.vue b/Source/ProjectWeb/src/views/base/UIContentViewerInDialog.vue
index 0bd27af..e213ef3 100644
--- a/Source/ProjectWeb/src/views/base/UIContentViewerInDialog.vue
+++ b/Source/ProjectWeb/src/views/base/UIContentViewerInDialog.vue
@@ -48,8 +48,8 @@
                          :paramVOS="paramVOS"
                          :inDialog="inDialog"
                          :canEdit="canEdit"
-                         :sourceData="checkedData.westAreaInDialog.data[checkedData.westAreaInDialog.data.length-1]"
-                         :sourceBtmType="checkedData.westAreaInDialog.DefineVOBtmType"
+                         :sourceData="(uiDefineVO.westAreas && uiDefineVO.westAreas.length>0)?checkedData.westAreaInDialog.data[checkedData.westAreaInDialog.data.length-1]:sourceData"
+                         :sourceBtmType="(uiDefineVO.westAreas && uiDefineVO.westAreas.length>0)?checkedData.westAreaInDialog.DefineVOBtmType:btmType"
                          areas-name="centerAreaInDialog"
                          cradStyle=""
                          @setData="setData"
@@ -143,22 +143,22 @@
       data:{
         northAreaInDialog:{
           type:'',
-          btmType:'',
+          DefineVO:null,
           data:null
         },
         westAreaInDialog:{
           type:'',
-          btmType:'',
+          DefineVO:null,
           data:null
         },
         centerAreaInDialog:{
           type:'',
-          btmType:'',
+          DefineVO:null,
           data:null
         },
         southAreaInDialog:{
           type:'',
-          btmType:'',
+          DefineVO:null,
           data:null
         }
       },
@@ -202,7 +202,7 @@
       }
     },
     setData(value) {
-      this.data[value.area].btmType = value.btmType;
+      this.data[value.area].DefineVO = value.currentDefineVO;
       this.data[value.area].data = value.data;
       this.data[value.area].type = value.type;
     },

--
Gitblit v1.9.3