| | |
| | | :dataStore="checkedData.northAreaInDialog.data" |
| | | :paramVOS="paramVOS" |
| | | :inDialog="inDialog" |
| | | :canEdit="canEdit" |
| | | :actionType="actionType" |
| | | :sourceData="sourceData" |
| | | :sourceBtmType="btmType" |
| | | areas-name="northArea" |
| | | areas-name="northAreaInDialog" |
| | | @setData="setData" |
| | | @setDataStore="setDataStore"> |
| | | </UIContentArea> |
| | | </el-header> |
| | |
| | | :dataStore="checkedData.westAreaInDialog.data" |
| | | :paramVOS="paramVOS" |
| | | :inDialog="inDialog" |
| | | :canEdit="canEdit" |
| | | :actionType="actionType" |
| | | :sourceData="sourceData" |
| | | :sourceBtmType="btmType" |
| | | areas-name="westArea" |
| | | areas-name="westAreaInDialog" |
| | | cradStyle="" |
| | | @setData="setData" |
| | | @setDataStore="setDataStore"> |
| | | </UIContentArea> |
| | | </el-aside> |
| | |
| | | :dataStore="checkedData.centerAreaInDialog.data" |
| | | :paramVOS="paramVOS" |
| | | :inDialog="inDialog" |
| | | :sourceData="checkedData.westAreaInDialog.data[checkedData.westAreaInDialog.data.length-1]" |
| | | :sourceBtmType="checkedData.westAreaInDialog.DefineVOBtmType" |
| | | areas-name="centerArea" |
| | | :canEdit="canEdit" |
| | | :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" |
| | | @setDataStore="setDataStore"> |
| | | </UIContentArea> |
| | | </el-main> |
| | |
| | | :dataStore="checkedData.southAreaInDialog.data" |
| | | :paramVOS="paramVOS" |
| | | :inDialog="inDialog" |
| | | :canEdit="canEdit" |
| | | :actionType="actionType" |
| | | :sourceData="checkedData.centerAreaInDialog.data[checkedData.centerAreaInDialog.data.length-1]" |
| | | :sourceBtmType="checkedData.centerAreaInDialog.DefineVOBtmType" |
| | | areas-name="southArea" |
| | | areas-name="southAreaInDialog" |
| | | cradStyle="" |
| | | @setData="setData" |
| | | @setDataStore="setDataStore"> |
| | | </UIContentArea> |
| | | </el-footer> |
| | |
| | | type: Boolean, |
| | | default: false |
| | | }, |
| | | canEdit:{ |
| | | //内容是否可编辑 |
| | | type:Boolean, |
| | | default:false |
| | | }, |
| | | actionType:{ |
| | | //按钮操作类型 |
| | | default:"add" |
| | | }, |
| | | sourceData:{ |
| | | //所属区域的上一区域选中数据 |
| | | type:Object, |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | //各区域的选中数据 |
| | | checkedData:{ |
| | | //各区域选中数据 |
| | | northAreaInDialog:{ |
| | | DefineVOBtmType:'', |
| | | data:[{}] |
| | |
| | | southAreaInDialog:{ |
| | | DefineVOBtmType:'', |
| | | data:[{}] |
| | | } |
| | | }, |
| | | //各区域数据 |
| | | data:{ |
| | | northAreaInDialog:{ |
| | | type:'', |
| | | DefineVO:null, |
| | | data:null |
| | | }, |
| | | westAreaInDialog:{ |
| | | type:'', |
| | | DefineVO:null, |
| | | data:null |
| | | }, |
| | | centerAreaInDialog:{ |
| | | type:'', |
| | | DefineVO:null, |
| | | data:null |
| | | }, |
| | | southAreaInDialog:{ |
| | | type:'', |
| | | DefineVO:null, |
| | | data:null |
| | | } |
| | | }, |
| | | uiDefineVO: {}, |
| | |
| | | } 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].DefineVO = value.currentDefineVO; |
| | | this.data[value.area].data = value.data; |
| | | this.data[value.area].type = value.type; |
| | | }, |
| | | setDataStore(value) { |
| | | this.checkedData[value.area].DefineVOBtmType = value.btmType; |