清理未用字典和字段
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
<AiEmpty v-if="!datas.length"></AiEmpty>
|
<AiEmpty v-if="!datas.length"></AiEmpty>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<u-select v-model="showGird" :list="$dict.getDict('clapEventStatusAll')" label-name="dictName" value-name="dictValue" @confirm="changeType"/>
|
<u-select v-model="showGird" :list="$dict.getDict('conflictEventStatusAll')" label-name="dictName" value-name="dictValue" @confirm="changeType"/>
|
||||||
|
|
||||||
<div class="pad-b120" v-if="datas.length"></div>
|
<div class="pad-b120" v-if="datas.length"></div>
|
||||||
</div>
|
</div>
|
||||||
@@ -75,12 +75,9 @@ export default {
|
|||||||
groupName: '',
|
groupName: '',
|
||||||
girdNameText: '所属网格',
|
girdNameText: '所属网格',
|
||||||
showType: false,
|
showType: false,
|
||||||
listType: [],
|
|
||||||
status: '',
|
status: '',
|
||||||
eventStatus: '',
|
eventStatus: '',
|
||||||
eventStatusText: '办件状态',
|
eventStatusText: '办件状态',
|
||||||
listTypeHistory: [],
|
|
||||||
listTypeAll: [],
|
|
||||||
groupType: [],
|
groupType: [],
|
||||||
showGird: false,
|
showGird: false,
|
||||||
staticName: [
|
staticName: [
|
||||||
@@ -130,11 +127,7 @@ export default {
|
|||||||
this.getList(),
|
this.getList(),
|
||||||
this.getStaticList()
|
this.getStaticList()
|
||||||
]).finally(() => uni.hideLoading())
|
]).finally(() => uni.hideLoading())
|
||||||
this.$dict.load('conflictEventStatus', 'clapEventStatusAll', 'clapEventStatusHistory').then(() => {
|
this.$dict.load('conflictEventStatus', 'conflictEventStatusAll')
|
||||||
this.listTypeAll = this.$dict.getDict('clapEventStatusAll')
|
|
||||||
this.listTypeHistory = this.$dict.getDict('clapEventStatusHistory')
|
|
||||||
this.listType = this.listTypeAll
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
@@ -194,11 +187,6 @@ 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