|
|
|
@ -3,7 +3,10 @@ |
|
|
|
<el-card class="resi-card"> |
|
|
|
<el-collapse v-if="openSearch" v-model="activeNames"> |
|
|
|
<el-collapse-item v-for="item in searchList" :key="item.itemGroupId" |
|
|
|
:title="item.groupName" :name="item.itemGroupId"> |
|
|
|
:name="item.itemGroupId"> |
|
|
|
<template slot="title"> |
|
|
|
<div class="collapse-title">{{ item.groupName }}</div> |
|
|
|
</template> |
|
|
|
<resi-search v-if="searchList.length > 0" |
|
|
|
:ref="'resiSearch' + item.itemGroupId" |
|
|
|
:form-list="item.queryItemList" |
|
|
|
@ -17,6 +20,7 @@ |
|
|
|
ref="resiSearch" |
|
|
|
:form-list="searchList[0].queryItemList" |
|
|
|
:column-name="defaultCategotyKey" |
|
|
|
:show-grid="true" |
|
|
|
:is-arrow="true" |
|
|
|
@search="handleSearch" /> |
|
|
|
</template> |
|
|
|
@ -59,14 +63,14 @@ |
|
|
|
:loading="importLoading">{{importBtnTitle}}</el-button> |
|
|
|
</el-upload> |
|
|
|
|
|
|
|
<el-button size="small" |
|
|
|
<!-- <el-button size="small" |
|
|
|
class="diy-button--reset" |
|
|
|
:loading="exportBtn" |
|
|
|
@click="handleExport">{{exportBtnTitle}}</el-button> |
|
|
|
@click="handleExport">{{exportBtnTitle}}</el-button> --> |
|
|
|
<el-button |
|
|
|
class="diy-button--add" |
|
|
|
class="diy-button--reset" |
|
|
|
size="small" |
|
|
|
@click="diyExport">自定义导出</el-button> |
|
|
|
@click="diyExport">导出</el-button> |
|
|
|
<el-button |
|
|
|
class="diy-button--add" |
|
|
|
size="small" |
|
|
|
@ -410,8 +414,8 @@ export default { |
|
|
|
computed: { |
|
|
|
...mapGetters(['clientHeight', 'iframeHeight']), |
|
|
|
tableHeight() { |
|
|
|
const h = this.clientHeight - this.searchH - 280 + this.iframeHeigh |
|
|
|
const _h = this.clientHeight - 280 - this.searchH |
|
|
|
const h = this.clientHeight - this.searchH - 310 + this.iframeHeigh |
|
|
|
const _h = this.clientHeight - 310 - this.searchH |
|
|
|
return this.$store.state.inIframe ? h : _h |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -1358,6 +1362,9 @@ export default { |
|
|
|
// border-right: 1px solid rgba(33, 149, 254, 1); |
|
|
|
} |
|
|
|
} |
|
|
|
.collapse-title { |
|
|
|
font-weight: bold; |
|
|
|
} |
|
|
|
.resi-table { |
|
|
|
::v-deep .el-button--text { |
|
|
|
text-decoration: underline; |
|
|
|
|