diff --git a/project/xumu/AppDeathManage/AppDeathManage.vue b/project/xumu/AppDeathManage/AppDeathManage.vue index 19df0ebb..49d76f3e 100644 --- a/project/xumu/AppDeathManage/AppDeathManage.vue +++ b/project/xumu/AppDeathManage/AppDeathManage.vue @@ -12,19 +12,19 @@ export default { }, computed: { currentPage() { - let {hash} = this.$route + let { hash } = this.$route return hash == "#add" ? add : list } }, - data() { - return {} + created() { + this.dict.load("yesOrNo", "category", "variety", "deathReason", "auditStatus") } } diff --git a/project/xumu/AppDeathManage/add.vue b/project/xumu/AppDeathManage/add.vue index 3e38fc93..9ad5d609 100644 --- a/project/xumu/AppDeathManage/add.vue +++ b/project/xumu/AppDeathManage/add.vue @@ -74,7 +74,6 @@ export default { } }, created() { - this.dict.load("yesOrNo", "category", "variety", "deathReason") this.getDetail(this.$route.query.id) } } @@ -122,13 +121,13 @@ export default {
- + - + - + diff --git a/project/xumu/AppDeathManage/list.vue b/project/xumu/AppDeathManage/list.vue index 15b0d7e5..c67c9289 100644 --- a/project/xumu/AppDeathManage/list.vue +++ b/project/xumu/AppDeathManage/list.vue @@ -79,7 +79,6 @@ export default { } }, created() { - this.dict.load("auditStatus", "category", "variety") this.getTableData() } }