fix:全屏 显示两个弹出层的问题

This commit is contained in:
zhangyu
2021-11-01 14:27:10 +08:00
parent 18d89a0917
commit 03621ed884

View File

@@ -63,6 +63,7 @@
:height="'calc(100% - 46px)'"
:customTableTitle="tableTitle"
:tableId="''"
:detailList="false"
:projectAlertId="'tableContainer'+chartIndex"
@tableDataSort="tableDataSort"
@del="deleteMessage"
@@ -86,8 +87,9 @@
<!-- <span class="float-right dialog-tool" @click="screenRefreshChart"><i class="global-active-color nz-icon nz-icon-refresh"/></span>-->
</div>
<alertMessageTable
:id="'tableContainer'+chartIndex"
:id="'tableContainerScreen'+chartIndex"
:tableData="storedScreanTableData"
:detailList="false"
:loading="loadingTable"
:height="'calc(100% - 20px)'"
:customTableTitle="tableTitle"
@@ -96,7 +98,7 @@
@tableDataSort="tableDataSort"
@del="deleteMessage"
@messageDetail="messageDetail"
ref="alertListTable"
ref="alertListScreenTable"
:form="'chartList'"
:fromPath="'/alertList'"
style="height: calc(100% - 50px)"
@@ -426,7 +428,7 @@ export default {
screenDialogClose () {
this.screenModal = false
this.deleteBox.ids = []
this.$refs.alertListScreenTable.$refs.alertListTable.clearSelection()
this.$refs.alertListScreenTable.$refs.dataTable.clearSelection()
},
selectChange (s) {
const ids = []
@@ -894,10 +896,12 @@ export default {
// 全屏查看
showAllScreen () {
this.dropdownMenuShow = false
this.storedScreanTableData = this.storedTableData
// this.storedScreanTableData = this.storedTableData
this.storedScreanTableData = JSON.parse(JSON.stringify(this.storedTableData))
this.screenModal = true
this.deleteBox.ids = []
this.$refs.alertListTable.$refs.alertListTable.clearSelection()
// this.$refs.alertListTable.$refs.alertListTable.clearSelection()
// this.$refs.alertListScreenTable.$refs.dataTable.clearSelection()
this.screenPageObj = { ...this.pageObj }
},
// 设置数据, filter区分