bug
This commit is contained in:
@@ -77,7 +77,9 @@ export default {
|
|||||||
showType: false,
|
showType: false,
|
||||||
listType: [],
|
listType: [],
|
||||||
eventStatus: '',
|
eventStatus: '',
|
||||||
eventStatusText: '办件状态'
|
eventStatusText: '办件状态',
|
||||||
|
listTypeHistory: [],
|
||||||
|
listTypeAll: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -102,14 +104,11 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.$dict.load('clapEventStatus').then(() => {
|
this.$dict.load('clapEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory').then(() => {
|
||||||
this.getList()
|
this.getList()
|
||||||
this.listType = this.$dict.getDict('clapEventStatus')
|
this.listTypeAll = this.$dict.getDict('clapEventStatusAll')
|
||||||
var all = {
|
this.listTypeHistory = this.$dict.getDict('clapEventStatusHistory')
|
||||||
dictValue: '',
|
this.listType = this.listTypeAll
|
||||||
dictName: '全部'
|
|
||||||
}
|
|
||||||
this.listType.unshift(all)
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -177,6 +176,11 @@ export default {
|
|||||||
this.girdNameText = '所属网格'
|
this.girdNameText = '所属网格'
|
||||||
this.eventStatusText = '办件状态'
|
this.eventStatusText = '办件状态'
|
||||||
this.currentTabs = index
|
this.currentTabs = index
|
||||||
|
if(index == 0) {
|
||||||
|
this.listType = this.listTypeAll
|
||||||
|
}else {
|
||||||
|
this.listType = this.listTypeHistory
|
||||||
|
}
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user