From 084c1ece24e1083a6aa96bf9aac36f0c9270749a Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Mon, 15 Aug 2022 09:48:38 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/scss/modules/visual/command.scss | 2 +- src/views/modules/visual/command/index.vue | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/assets/scss/modules/visual/command.scss b/src/assets/scss/modules/visual/command.scss index d905e5ed1..ee0138343 100644 --- a/src/assets/scss/modules/visual/command.scss +++ b/src/assets/scss/modules/visual/command.scss @@ -63,7 +63,7 @@ .m-search { position: absolute; - z-index: 200; + z-index: 4; left: 0; right: 0; top: 30px; diff --git a/src/views/modules/visual/command/index.vue b/src/views/modules/visual/command/index.vue index bf861c991..ce4427adf 100644 --- a/src/views/modules/visual/command/index.vue +++ b/src/views/modules/visual/command/index.vue @@ -18,7 +18,7 @@ -
+
- +
@@ -482,8 +484,11 @@ export default { }; } } else if (type == "watch-resi") { - this.toSubAgency("people", info.icResiUserId); + // this.toSubAgency("people", info.icResiUserId); this.icResiUserId = info.icResiUserId; + this.$router.push({ + path: `/main-shuju/visual-basicinfo-people/${info.icResiUserId}`, + }); // 查看居民详情 } else if (type == "watch-event") { // 查看事件 @@ -550,7 +555,7 @@ export default { this.categoryKeys2 = [obj.categoryKey]; this.placeType2 = obj.placeType; this.categoryNames2 = [obj.categoryName]; - console.log(obj) + console.log(obj); }, handleChangeMenu(list) { From 1e737993aa751e41a9486df103c009edd9f10f3f Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Mon, 15 Aug 2022 09:51:41 +0800 Subject: [PATCH 2/7] 0 --- src/views/modules/visual/command/index.vue | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/views/modules/visual/command/index.vue b/src/views/modules/visual/command/index.vue index ce4427adf..56017d830 100644 --- a/src/views/modules/visual/command/index.vue +++ b/src/views/modules/visual/command/index.vue @@ -16,8 +16,6 @@
- -
- -
From acff3a6edda93171d1719df9826c29f53f9d0f64 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Mon, 15 Aug 2022 13:39:52 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=8B=89=E5=8F=96?= =?UTF-8?q?=E5=88=86=E6=94=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../worklog/icworklog-add-or-update.vue | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/src/views/modules/worklog/icworklog-add-or-update.vue b/src/views/modules/worklog/icworklog-add-or-update.vue index 0b28978eb..c0af91597 100644 --- a/src/views/modules/worklog/icworklog-add-or-update.vue +++ b/src/views/modules/worklog/icworklog-add-or-update.vue @@ -13,6 +13,7 @@ :key="item.value" :label="item.label" :value="item.value" + :disabled="item.disabled" > @@ -69,7 +70,6 @@ --> { this.$refs['dataForm'].resetFields() this.dataForm.fileList = [] @@ -171,6 +166,15 @@ export default { ...this.dataForm, ...res.data } + + const grid = this.optionsG.filter(item => item.value === res.data.gridId) + if (grid.length < 1) { + this.gridState = false + this.optionsG.push({label:res.data.gridName, value:res.data.gridId, disabled: true}) + } else { + this.gridState = true + } + const { id } = this.$store.state.user if (this.dataForm.createdBy == id) { // 是本人可以修改 this.formType = 'update' @@ -197,9 +201,9 @@ export default { } }, getGridList() { - const { user } = this.$store.state + this.optionsG = [] this.$http - .post('/gov/org/customergrid/gridoption', { agencyId: user.agencyId, purpose: 'query' }) + .post('/gov/mine/agency/getmygrids') .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) @@ -327,6 +331,11 @@ export default { }, // 表单提交 dataFormSubmitHandle: debounce(function () { + if (!this.gridState) { + this.dataForm.gridId = '' + this.gridState = true + return this.$message.error("请重新选择网格") + } if (this.dataForm.content.length < 70) { return this.$message.error("内容不能少于70字") } From 3678f109e149dd335584d1d280ac353b9cec5ab2 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Mon, 15 Aug 2022 13:53:16 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E5=90=8D=E7=A7=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/worklog/icworklog-add-or-update.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/modules/worklog/icworklog-add-or-update.vue b/src/views/modules/worklog/icworklog-add-or-update.vue index c0af91597..be6427e3f 100644 --- a/src/views/modules/worklog/icworklog-add-or-update.vue +++ b/src/views/modules/worklog/icworklog-add-or-update.vue @@ -10,9 +10,9 @@ > @@ -170,7 +170,7 @@ export default { const grid = this.optionsG.filter(item => item.value === res.data.gridId) if (grid.length < 1) { this.gridState = false - this.optionsG.push({label:res.data.gridName, value:res.data.gridId, disabled: true}) + this.optionsG.push({gridName:res.data.gridName, gridId:res.data.gridId, disabled: true}) } else { this.gridState = true } From e96196bd170c2163f438ee825dea8bafb9c6b9e5 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Mon, 15 Aug 2022 15:51:44 +0800 Subject: [PATCH 5/7] bug --- src/views/modules/worklog/icworklog-add-or-update.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/modules/worklog/icworklog-add-or-update.vue b/src/views/modules/worklog/icworklog-add-or-update.vue index be6427e3f..bacf3a21e 100644 --- a/src/views/modules/worklog/icworklog-add-or-update.vue +++ b/src/views/modules/worklog/icworklog-add-or-update.vue @@ -167,8 +167,8 @@ export default { ...res.data } - const grid = this.optionsG.filter(item => item.value === res.data.gridId) - if (grid.length < 1) { + const grid = this.optionsG.filter(item => item.gridId === res.data.gridId) + if (grid.length < 1 && res.data.gridId !== '') { this.gridState = false this.optionsG.push({gridName:res.data.gridName, gridId:res.data.gridId, disabled: true}) } else { @@ -201,7 +201,6 @@ export default { } }, getGridList() { - this.optionsG = [] this.$http .post('/gov/mine/agency/getmygrids') .then(({ data: res }) => { From ea614acb75af9e1680565089052b0155e6632505 Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Tue, 16 Aug 2022 13:53:56 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E7=BB=9F=E8=AE=A1=E9=A1=B5=E9=9D=A2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/visual/cpts/map/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/modules/visual/cpts/map/index.vue b/src/views/modules/visual/cpts/map/index.vue index 0c8bae15c..80110912b 100644 --- a/src/views/modules/visual/cpts/map/index.vue +++ b/src/views/modules/visual/cpts/map/index.vue @@ -29,6 +29,7 @@ let posLayer; let circleLayer; let dotLayer; let dotBgLayer; +let dotLayer2; export default { name: "l7", From 90f1ba7d68ae2c319abd396d11807206836a866d Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Tue, 16 Aug 2022 16:40:22 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E6=97=A5=E5=8E=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../communityParty/calendar/cpts/calendar.vue | 167 ++++++++++++++++++ .../modules/communityParty/calendar/index.vue | 45 +++++ 2 files changed, 212 insertions(+) create mode 100644 src/views/modules/communityParty/calendar/cpts/calendar.vue create mode 100644 src/views/modules/communityParty/calendar/index.vue diff --git a/src/views/modules/communityParty/calendar/cpts/calendar.vue b/src/views/modules/communityParty/calendar/cpts/calendar.vue new file mode 100644 index 000000000..f8a71faf6 --- /dev/null +++ b/src/views/modules/communityParty/calendar/cpts/calendar.vue @@ -0,0 +1,167 @@ + + + + + diff --git a/src/views/modules/communityParty/calendar/index.vue b/src/views/modules/communityParty/calendar/index.vue new file mode 100644 index 000000000..61ec69266 --- /dev/null +++ b/src/views/modules/communityParty/calendar/index.vue @@ -0,0 +1,45 @@ + + + + +