This commit is contained in:
花有清香月有阴
2021-12-23 14:34:01 +08:00
parent f424d67650
commit a983da61ac
2 changed files with 3 additions and 12 deletions

View File

@@ -15,7 +15,7 @@ export default {
{ {
name: '居民信息管理', name: '居民信息管理',
icon: require('./img/jmxxgl.png'), icon: require('./img/jmxxgl.png'),
url: '../AppResidentFile/AppResidentFile?tabIndex=0' url: '../AppResidentFile/AppResidentFile'
}, },
// { // {
// name: '居民群管理', // name: '居民群管理',
@@ -25,7 +25,7 @@ export default {
{ {
name: '居民档案', name: '居民档案',
icon: require('./img/jmda.png'), icon: require('./img/jmda.png'),
url: '../AppResidentFile/AppResidentFile?tabIndex=1' url: '../AppResidentDocument/AppResidentDocument'
} }
] ]
} }

View File

@@ -136,7 +136,6 @@ export default {
props: {}, props: {},
data() { data() {
return { return {
indexBar: '',
lists: [ lists: [
{ {
iconPath: 'home', iconPath: 'home',
@@ -199,16 +198,8 @@ export default {
...mapState(['user', 'global']), ...mapState(['user', 'global']),
}, },
watch: {}, watch: {},
onLoad(o) { onLoad() {
if (o.tabIndex) {
this.indexBar = o.tabIndex
}
this.getEchart1() this.getEchart1()
this.getEchart2()
this.getList()
this.getList2()
this.currentTabBar = this.indexBar
this.areaId = this.user.areaId this.areaId = this.user.areaId
}, },
mounted() { mounted() {