From 37bf1881da02c75b7276716edf4337cd1e3cd134 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 21 Mar 2022 17:23:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=8C=BA=E7=BB=84=E4=BB=B6=E5=AE=8C?= =?UTF-8?q?=E5=85=A8=E9=87=8D=E6=9E=84=E5=85=BC=E5=AE=B9=E8=8B=B9=E6=9E=9C?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppCountryAlbum/AppCountryAlbum.vue | 18 +- .../AppEpidemicSituation/BackUserList.vue | 8 +- src/apps/AppEpidemicSituation/Health.vue | 1 - src/apps/AppPeopleList/ExamineList.vue | 1 - src/apps/AppPovertyAlleviation/MonitorAdd.vue | 1 - .../AppVideoSurveillance.vue | 6 +- .../AppVillageDiscuss/AppVillageDiscuss.vue | 3 - src/components/AiAreaPicker.vue | 317 ++-------------- src/components/AiMore.vue | 6 +- src/components/pages/selectArea.vue | 344 ++++++++++++++++++ .../AppIntelligentSecurity.vue | 6 +- src/saas/AppAskForm/AddForm.vue | 2 +- .../AppConflictMediation/PercentageDetail.vue | 4 - 13 files changed, 399 insertions(+), 318 deletions(-) create mode 100644 src/components/pages/selectArea.vue diff --git a/src/apps/AppCountryAlbum/AppCountryAlbum.vue b/src/apps/AppCountryAlbum/AppCountryAlbum.vue index aed10621..3bc74647 100644 --- a/src/apps/AppCountryAlbum/AppCountryAlbum.vue +++ b/src/apps/AppCountryAlbum/AppCountryAlbum.vue @@ -3,11 +3,11 @@
- - - {{ areaName }} - 请选择 - + +
+ + +
@@ -38,18 +38,16 @@ export default { } }, computed: {...mapState(['user'])}, - onShow() { + created() { this.areaId = this.user.areaId this.areaName = this.user.areaName + }, + onShow() { this.getList() this.cdn = this.$cdn.replace("/dvcp/h5", ""); document.title = '乡村相册' }, methods: { - areaSelect(e) { - this.areaId = e - this.getList() - }, getList() { this.$http.post(`/app/appvillagepicturealbum/queryAlbumMenu`, null, { params: { diff --git a/src/apps/AppEpidemicSituation/BackUserList.vue b/src/apps/AppEpidemicSituation/BackUserList.vue index 949e9c1b..180aaff8 100644 --- a/src/apps/AppEpidemicSituation/BackUserList.vue +++ b/src/apps/AppEpidemicSituation/BackUserList.vue @@ -64,9 +64,11 @@ export default { } }, computed: { ...mapState(['user']) }, - onShow() { + created() { this.areaId = this.user.areaId this.areaName = this.user.areaName + }, + onShow() { document.title = '返乡登记' this.getList() this.getTotal() @@ -134,7 +136,7 @@ export default { .tab-item{ flex: 1; text-align: center; - + h2{ font-size: 52px; font-family: DINAlternate-Bold, DINAlternate; @@ -244,7 +246,7 @@ export default { .placeholder { .content { padding: 0 !important; - + } } .fixed { diff --git a/src/apps/AppEpidemicSituation/Health.vue b/src/apps/AppEpidemicSituation/Health.vue index feb3f1d4..1098b825 100644 --- a/src/apps/AppEpidemicSituation/Health.vue +++ b/src/apps/AppEpidemicSituation/Health.vue @@ -123,7 +123,6 @@ export default { }) }, onShow() { - this.areaId = this.user.areaId document.title = '健康上报' }, methods: { diff --git a/src/apps/AppPeopleList/ExamineList.vue b/src/apps/AppPeopleList/ExamineList.vue index ca513448..1266b12c 100644 --- a/src/apps/AppPeopleList/ExamineList.vue +++ b/src/apps/AppPeopleList/ExamineList.vue @@ -76,7 +76,6 @@ export default { ...mapState(['user']), }, onLoad() { - console.log(this.user) this.areaId = this.user.areaId this.areaName = this.user.areaName this.$dict.load('householdRelation', 'auditStatus').then(() => { diff --git a/src/apps/AppPovertyAlleviation/MonitorAdd.vue b/src/apps/AppPovertyAlleviation/MonitorAdd.vue index e639f4a0..a507ab65 100644 --- a/src/apps/AppPovertyAlleviation/MonitorAdd.vue +++ b/src/apps/AppPovertyAlleviation/MonitorAdd.vue @@ -128,7 +128,6 @@ export default { }, created() { - this.$areaId = this.$store.state.user.areaId this.areaName = this.$store.state.user.areaFullName this.$dict.load(['fpType', 'fpYesOrNo']) }, diff --git a/src/apps/AppVideoSurveillance/AppVideoSurveillance.vue b/src/apps/AppVideoSurveillance/AppVideoSurveillance.vue index 82ee640e..1c6245db 100644 --- a/src/apps/AppVideoSurveillance/AppVideoSurveillance.vue +++ b/src/apps/AppVideoSurveillance/AppVideoSurveillance.vue @@ -170,10 +170,12 @@ export default { option && this.Echart.setOption(option) }, }, - onShow() { - document.title = '视频监控' + created() { this.areaId = this.user.areaId this.areaName = this.user.areaName + }, + onShow() { + document.title = '视频监控' this.getList() }, mounted() { diff --git a/src/apps/AppVillageDiscuss/AppVillageDiscuss.vue b/src/apps/AppVillageDiscuss/AppVillageDiscuss.vue index 5798b109..b9de0a48 100644 --- a/src/apps/AppVillageDiscuss/AppVillageDiscuss.vue +++ b/src/apps/AppVillageDiscuss/AppVillageDiscuss.vue @@ -95,11 +95,8 @@ export default { }, }, onLoad(o) { - console.log(this.user) this.moduleId = o.moduleId this.listName = o.listName - - this.$areaId = this.user.areaName this.areaName = this.user.areaName this.areaId = this.user.areaId diff --git a/src/components/AiAreaPicker.vue b/src/components/AiAreaPicker.vue index 528be162..7ee19580 100644 --- a/src/components/AiAreaPicker.vue +++ b/src/components/AiAreaPicker.vue @@ -1,60 +1,26 @@ diff --git a/src/project/shandong10086/AppIntelligentSecurity/AppIntelligentSecurity.vue b/src/project/shandong10086/AppIntelligentSecurity/AppIntelligentSecurity.vue index e29b11a9..ddd48928 100644 --- a/src/project/shandong10086/AppIntelligentSecurity/AppIntelligentSecurity.vue +++ b/src/project/shandong10086/AppIntelligentSecurity/AppIntelligentSecurity.vue @@ -170,10 +170,12 @@ export default { option && this.Echart.setOption(option) }, }, - onShow() { - document.title = '智慧安防' + created() { this.areaId = this.user.areaId this.areaName = this.user.areaName + }, + onShow() { + document.title = '智慧安防' this.getList() }, mounted() { diff --git a/src/saas/AppAskForm/AddForm.vue b/src/saas/AppAskForm/AddForm.vue index 9f13ef53..5fdea15d 100644 --- a/src/saas/AppAskForm/AddForm.vue +++ b/src/saas/AppAskForm/AddForm.vue @@ -197,7 +197,7 @@ export default { }) }, - onShow () { + onShow() { document.title = !this.id ? '新建表单' : '编辑表单' }, methods: { diff --git a/src/saas/AppConflictMediation/PercentageDetail.vue b/src/saas/AppConflictMediation/PercentageDetail.vue index dfd5e63d..f7e76dbc 100644 --- a/src/saas/AppConflictMediation/PercentageDetail.vue +++ b/src/saas/AppConflictMediation/PercentageDetail.vue @@ -61,10 +61,6 @@ export default { ] } }, - onLoad() { - - }, - onShow() {}, methods: { getList() { this.$http