|
|
@ -1,9 +1,10 @@ |
|
|
|
<template> |
|
|
|
<div v-if="pageLoading" |
|
|
|
<div |
|
|
|
class="resi-container"> |
|
|
|
<resi-search v-if="searchList.length > 0" |
|
|
|
ref="resiSearch" |
|
|
|
:form-list="searchList" |
|
|
|
:column-name="defaultCategotyKey" |
|
|
|
@search="handleSearch" /> |
|
|
|
<el-card class="resi-card-table"> |
|
|
|
<div class="resi-row-btn"> |
|
|
@ -248,7 +249,10 @@ export default { |
|
|
|
await this.getSearchList() |
|
|
|
// await this.getFormList() |
|
|
|
await this.getTableHeader() |
|
|
|
this.getTableData() |
|
|
|
// console.log('this.$refs.resiSearch', this) |
|
|
|
this.$refs.resiSearch.handleSearch() |
|
|
|
// this.handleSearch() |
|
|
|
// this.getTableData() |
|
|
|
this.pageLoading = true |
|
|
|
console.log('storeoooo----0000', this.$store) |
|
|
|
}, |
|
|
@ -617,8 +621,8 @@ export default { |
|
|
|
}) |
|
|
|
this.btnLoading = false |
|
|
|
}, |
|
|
|
getTableHeader () { |
|
|
|
this.$http |
|
|
|
async getTableHeader () { |
|
|
|
await this.$http |
|
|
|
.post('/oper/customize/icform/tableheaders', { |
|
|
|
formCode: 'resi_base_info' |
|
|
|
}) |
|
|
@ -749,8 +753,8 @@ export default { |
|
|
|
}) |
|
|
|
return options |
|
|
|
}, |
|
|
|
getSearchList () { |
|
|
|
this.$http |
|
|
|
async getSearchList () { |
|
|
|
await this.$http |
|
|
|
.post('/oper/customize/icform/conditionlist', { |
|
|
|
formCode: 'resi_base_info', |
|
|
|
dynamic: true |
|
|
|