From 81bb118e00f8d5ee081795d142e539de50953518 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期一, 15 四月 2024 17:27:25 +0800 Subject: [PATCH] 列表查询 --- Source/ProjectWeb/src/views/base/UIContentViewerInDialog.vue | 63 ++++++++++++++++++++++++------- 1 files changed, 48 insertions(+), 15 deletions(-) diff --git a/Source/ProjectWeb/src/views/base/UIContentViewerInDialog.vue b/Source/ProjectWeb/src/views/base/UIContentViewerInDialog.vue index 21f47a6..6942d23 100644 --- a/Source/ProjectWeb/src/views/base/UIContentViewerInDialog.vue +++ b/Source/ProjectWeb/src/views/base/UIContentViewerInDialog.vue @@ -2,10 +2,15 @@ <!--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.northAreaInDialog.data" + :paramVOS="paramVOS" :inDialog="inDialog" :sourceData="sourceData" + :sourceBtmType="btmType" areas-name="northArea" @setDataStore="setDataStore"> </UIContentArea> @@ -15,10 +20,15 @@ <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.westAreaInDialog.data" + :paramVOS="paramVOS" :inDialog="inDialog" :sourceData="sourceData" + :sourceBtmType="btmType" areas-name="westArea" cradStyle="" @setDataStore="setDataStore"> @@ -26,10 +36,15 @@ </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.centerAreaInDialog.data" + :paramVOS="paramVOS" :inDialog="inDialog" - :sourceData="checkedData.westArea[checkedData.westArea.length-1]" + :sourceData="checkedData.westAreaInDialog.data[checkedData.westAreaInDialog.data.length-1]" + :sourceBtmType="checkedData.westAreaInDialog.DefineVOBtmType" areas-name="centerArea" cradStyle="" @setDataStore="setDataStore"> @@ -37,10 +52,15 @@ </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.southAreaInDialog.data" + :paramVOS="paramVOS" :inDialog="inDialog" - :sourceData="checkedData.centerArea[checkedData.centerArea.length-1]" + :sourceData="checkedData.centerAreaInDialog.data[checkedData.centerAreaInDialog.data.length-1]" + :sourceBtmType="checkedData.centerAreaInDialog.DefineVOBtmType" areas-name="southArea" cradStyle="" @setDataStore="setDataStore"> @@ -89,10 +109,22 @@ return { checkedData:{ //鍚勫尯鍩熼�変腑鏁版嵁 - northAreaInDialog:[{}], - westAreaInDialog:[{}], - centerAreaInDialog:[{}], - southAreaInDialog:[{}] + northAreaInDialog:{ + DefineVOBtmType:'', + data:[{}] + }, + westAreaInDialog:{ + DefineVOBtmType:'', + data:[{}] + }, + centerAreaInDialog:{ + DefineVOBtmType:'', + data:[{}] + }, + southAreaInDialog:{ + DefineVOBtmType:'', + data:[{}] + } }, uiDefineVO: {}, centerHeight:'100%' @@ -134,7 +166,8 @@ } }, setDataStore(value) { - this.checkedData[value.area] = value.dataStore; + this.checkedData[value.area].DefineVOBtmType = value.btmType; + this.checkedData[value.area].data = value.dataStore; } } } -- Gitblit v1.9.3