BUG 29578

This commit is contained in:
aixianling
2022-05-12 18:42:30 +08:00
parent 7de09aa195
commit d6d2e7b909
2 changed files with 9 additions and 4 deletions

View File

@@ -59,11 +59,12 @@ export default {
}, },
getTabs() { getTabs() {
let {name, query, hash} = this.$route let {name, query, hash} = this.$route
let tab = this.tabs.find(e => e.name == this.currentTab) let tab = this.tabs.find(e => e.name == this.currentTab),
tabName = [name, query?.id, hash].join("")
if (tab) { if (tab) {
} else if (name) { } else if (tabName) {
let menu = this.apps.find(e => e.name == name) let menu = this.apps.find(e => e.name == name)
this.tabs.push({name, query, hash, label: menu?.label}) this.tabs.push({name: tabName, query, hash, label: menu?.label})
} }
}, },
}, },

View File

@@ -36,7 +36,7 @@
<el-table-column slot="resident"> <el-table-column slot="resident">
<template #header> <template #header>
<b v-text="`户主信息列表`"/> <b v-text="`户主信息列表`"/>
<el-input class="fill" v-model="list.con" size="small" placeholder="搜索姓名/身份证号" clearable <el-input class="fill searchbar" v-model="list.con" size="small" placeholder="搜索姓名/身份证号" clearable
@change="list.current=1,getResident()"/> @change="list.current=1,getResident()"/>
</template> </template>
<template slot-scope="{row}"> <template slot-scope="{row}">
@@ -220,5 +220,9 @@ export default {
} }
} }
} }
::v-deep.searchbar {
padding-right: 0;
}
} }
</style> </style>