wangting
2024-05-27 a9bbbe822377536e6f3374b05e2b64b12b2f188c
Source/ProjectWeb/src/views/base/UIContentViewerInDialog.vue
@@ -10,6 +10,7 @@
                     :paramVOS="paramVOS"
                     :inDialog="inDialog"
                     :canEdit="canEdit"
                     :actionType="actionType"
                     :sourceData="sourceData"
                     :sourceBtmType="btmType"
                     areas-name="northAreaInDialog"
@@ -30,6 +31,7 @@
                       :paramVOS="paramVOS"
                       :inDialog="inDialog"
                       :canEdit="canEdit"
                       :actionType="actionType"
                       :sourceData="sourceData"
                       :sourceBtmType="btmType"
                       areas-name="westAreaInDialog"
@@ -48,8 +50,9 @@
                         :paramVOS="paramVOS"
                         :inDialog="inDialog"
                         :canEdit="canEdit"
                         :sourceData="checkedData.westAreaInDialog.data[checkedData.westAreaInDialog.data.length-1]"
                         :sourceBtmType="checkedData.westAreaInDialog.DefineVOBtmType"
                         :actionType="actionType"
                         :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"
@@ -66,6 +69,7 @@
                         :paramVOS="paramVOS"
                         :inDialog="inDialog"
                         :canEdit="canEdit"
                         :actionType="actionType"
                         :sourceData="checkedData.centerAreaInDialog.data[checkedData.centerAreaInDialog.data.length-1]"
                         :sourceBtmType="checkedData.centerAreaInDialog.DefineVOBtmType"
                         areas-name="southAreaInDialog"
@@ -102,6 +106,10 @@
      //内容是否可编辑
      type:Boolean,
      default:false
    },
    actionType:{
      //按钮操作类型
      default:"add"
    },
    sourceData:{
      //所属区域的上一区域选中数据
@@ -143,22 +151,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
        }
      },
@@ -200,9 +208,16 @@
      } else {
        this.centerHeight = '100%';
      }
      if(this.uiDefineVO.westAreas && this.uiDefineVO.westAreas.length>0){
        this.checkedData.westAreaInDialog.data=this.dataStore;
      }else if(this.uiDefineVO.centerAreas && this.uiDefineVO.centerAreas.length>0){
        this.checkedData.centerAreaInDialog.data=this.dataStore;
      }else {
        this.checkedData.southAreaInDialog.data=this.dataStore;
      }
    },
    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;
    },