| | |
| | | :areasData="uiDefineVO.northAreas" |
| | | :inDialog="inDialog" |
| | | :sourceData="sourceData" |
| | | :dataStore="dataStore" |
| | | :paramVOS="paramVOS"> |
| | | :dataStore="checkedData.northArea[0]" |
| | | :paramVOS="paramVOS" |
| | | @setDataStore="setDataStore"> |
| | | </UIContentArea> |
| | | </el-header> |
| | | <el-container :style="'height: '+(uiDefineVO.northAreas && uiDefineVO.northAreas.length>0?'calc(100% - 70px)':'100%')"> |
| | |
| | | :areasData="uiDefineVO.westAreas" |
| | | :inDialog="inDialog" |
| | | :sourceData="sourceData" |
| | | :dataStore="dataStore" |
| | | :paramVOS="paramVOS"> |
| | | :dataStore="checkedData.westArea[0]" |
| | | :paramVOS="paramVOS" |
| | | @setDataStore="setDataStore"> |
| | | </UIContentArea> |
| | | </el-aside> |
| | | <el-container style="height: 100%"> |
| | |
| | | cradStyle="" |
| | | :areasData="uiDefineVO.centerAreas" |
| | | :inDialog="inDialog" |
| | | :sourceData="checkedData.westAreas[0]" |
| | | :dataStore="checkedData.centerAreas[0]" |
| | | :paramVOS="paramVOS"> |
| | | :sourceData="checkedData.westArea[0]" |
| | | :dataStore="checkedData.centerArea[0]" |
| | | :paramVOS="paramVOS" |
| | | @setDataStore="setDataStore"> |
| | | </UIContentArea> |
| | | </el-main> |
| | | <el-footer v-if="uiDefineVO.southAreas && uiDefineVO.southAreas.length>0" height="35%" style="max-height: 300px"> |
| | |
| | | cradStyle="" |
| | | :areasData="uiDefineVO.southAreas" |
| | | :inDialog="inDialog" |
| | | :sourceData="checkedData.centerAreas[0]" |
| | | :dataStore="checkedData.southAreas[0]" |
| | | :paramVOS="paramVOS"> |
| | | :sourceData="checkedData.centerArea[0]" |
| | | :dataStore="checkedData.southArea[0]" |
| | | :paramVOS="paramVOS" |
| | | @setDataStore="setDataStore"> |
| | | </UIContentArea> |
| | | </el-footer> |
| | | </el-container> |
| | |
| | | type:Object, |
| | | default: {} |
| | | }, |
| | | dataStore:{ |
| | | //弹窗时按钮所属区域选中数据 |
| | | type:Array, |
| | | default: [] |
| | | }, |
| | | paramVOS:{ |
| | | type:Object, |
| | | default: {} |
| | |
| | | content:'',//UI上下文的名称 |
| | | checkedData:{ |
| | | //各区域选中数据 |
| | | westAreas:[], |
| | | centerAreas:[], |
| | | southAreas:[] |
| | | northArea:[], |
| | | westArea:[], |
| | | centerArea:[], |
| | | southArea:[] |
| | | }, |
| | | uiDefineVO: uiDefineVOData, |
| | | centerHeight:'100%' |
| | |
| | | initContent(){ |
| | | |
| | | }, |
| | | setDataStore(value) { |
| | | this.checkedData[value.area] = value.dataStore; |
| | | } |
| | | } |
| | | } |
| | | </script> |