| | |
| | | <!--UI上下文的展示器--> |
| | | <div style="height:calc(100% - 4px);min-width:1200px" > |
| | | <el-header v-if="uiDefineVO.northAreas && uiDefineVO.northAreas.length>0"> |
| | | <UIContentArea :key="'northArea-'+uiDefineVO.oid" :areasData="uiDefineVO.northAreas" |
| | | :dataStore="checkedData.northArea" |
| | | <UIContentArea :key="'northArea-'+uiDefineVO.oid" |
| | | :uiBtmType="btmType" |
| | | :uiContext="context" |
| | | :areasData="uiDefineVO.northAreas" |
| | | :dataStore="checkedData.northArea.data" |
| | | :inDialog="inDialog" |
| | | :sourceData="sourceData" |
| | | :sourceBtmType="btmType" |
| | | areas-name="northArea" |
| | | @setDataStore="setDataStore"> |
| | | </UIContentArea> |
| | |
| | | <el-aside v-if="uiDefineVO.westAreas && uiDefineVO.westAreas.length>0" |
| | | :width="uiDefineVO.westAreas[0].componentVOs[0].uiComponentType=='table' || uiDefineVO.westAreas[0].componentVOs[0].uiComponentType=='TreeTable'?'420px':'320px'" |
| | | height="100%"> |
| | | <UIContentArea :key="'westArea-'+uiDefineVO.oid" :areasData="uiDefineVO.westAreas" |
| | | :dataStore="checkedData.westArea" |
| | | <UIContentArea :key="'westArea-'+uiDefineVO.oid" |
| | | :uiBtmType="btmType" |
| | | :uiContext="context" |
| | | :areasData="uiDefineVO.westAreas" |
| | | :dataStore="checkedData.westArea.data" |
| | | :inDialog="inDialog" |
| | | :sourceData="sourceData" |
| | | :sourceBtmType="btmType" |
| | | areas-name="westArea" |
| | | cradStyle="" |
| | | @setDataStore="setDataStore"> |
| | |
| | | </el-aside> |
| | | <el-container style="height: 100%;display: block"> |
| | | <el-main v-if="uiDefineVO.centerAreas && uiDefineVO.centerAreas.length>0" :style="'min-height: 300px;height: '+centerHeight"> |
| | | <UIContentArea :key="'centerArea-'+uiDefineVO.oid" :areasData="uiDefineVO.centerAreas" |
| | | :dataStore="checkedData.centerArea" |
| | | <UIContentArea :key="'centerArea-'+uiDefineVO.oid" |
| | | :uiBtmType="btmType" |
| | | :uiContext="context" |
| | | :areasData="uiDefineVO.centerAreas" |
| | | :dataStore="checkedData.centerArea.data" |
| | | :inDialog="inDialog" |
| | | :sourceData="checkedData.westArea[checkedData.westArea.length-1]" |
| | | :sourceData="checkedData.westArea.data[checkedData.westArea.data.length-1]" |
| | | :sourceBtmType="checkedData.westArea.DefineVOBtmType" |
| | | areas-name="centerArea" |
| | | cradStyle="" |
| | | @setDataStore="setDataStore"> |
| | |
| | | </el-main> |
| | | <el-footer v-if="uiDefineVO.southAreas && uiDefineVO.southAreas.length>0" height="35%" |
| | | style="min-height: 150px;"> |
| | | <UIContentArea :key="'southArea-'+uiDefineVO.oid" :areasData="uiDefineVO.southAreas" |
| | | :dataStore="checkedData.southArea" |
| | | <UIContentArea :key="'southArea-'+uiDefineVO.oid" |
| | | :uiBtmType="btmType" |
| | | :uiContext="context" |
| | | :areasData="uiDefineVO.southAreas" |
| | | :dataStore="checkedData.southArea.data" |
| | | :inDialog="inDialog" |
| | | :sourceData="checkedData.centerArea[checkedData.centerArea.length-1]" |
| | | :sourceData="checkedData.centerArea.data[checkedData.centerArea.data.length-1]" |
| | | :sourceBtmType="checkedData.centerArea.DefineVOBtmType" |
| | | areas-name="southArea" |
| | | cradStyle="" |
| | | @setDataStore="setDataStore"> |
| | |
| | | context: '',//UI上下文的名称 |
| | | checkedData: { |
| | | //各区域选中数据 |
| | | northArea: [{}], |
| | | westArea: [{}], |
| | | centerArea: [{}], |
| | | southArea: [{}] |
| | | northArea: { |
| | | DefineVOBtmType:'', |
| | | data:[{}] |
| | | }, |
| | | westArea: { |
| | | DefineVOBtmType:'', |
| | | data:[{}] |
| | | }, |
| | | centerArea: { |
| | | DefineVOBtmType:'', |
| | | data:[{}] |
| | | }, |
| | | southArea: { |
| | | DefineVOBtmType:'', |
| | | data:[{}] |
| | | } |
| | | }, |
| | | uiDefineVO: {}, |
| | | centerHeight: '100%', |
| | |
| | | } |
| | | }, |
| | | setDataStore(value) { |
| | | this.checkedData[value.area] = value.dataStore; |
| | | this.checkedData[value.area].DefineVOBtmType = value.btmType; |
| | | this.checkedData[value.area].data = value.dataStore; |
| | | } |
| | | } |
| | | } |