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/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 @@ + + + + + diff --git a/src/views/modules/visual/command/index.vue b/src/views/modules/visual/command/index.vue index bf861c991..56017d830 100644 --- a/src/views/modules/visual/command/index.vue +++ b/src/views/modules/visual/command/index.vue @@ -16,9 +16,7 @@ - - -
+
- -
@@ -482,8 +476,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 +547,7 @@ export default { this.categoryKeys2 = [obj.categoryKey]; this.placeType2 = obj.placeType; this.categoryNames2 = [obj.categoryName]; - console.log(obj) + console.log(obj); }, handleChangeMenu(list) { 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", diff --git a/src/views/modules/worklog/icworklog-add-or-update.vue b/src/views/modules/worklog/icworklog-add-or-update.vue index 0b28978eb..bacf3a21e 100644 --- a/src/views/modules/worklog/icworklog-add-or-update.vue +++ b/src/views/modules/worklog/icworklog-add-or-update.vue @@ -10,9 +10,10 @@ > @@ -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.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 { + this.gridState = true + } + const { id } = this.$store.state.user if (this.dataForm.createdBy == id) { // 是本人可以修改 this.formType = 'update' @@ -197,9 +201,8 @@ export default { } }, getGridList() { - const { user } = this.$store.state 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 +330,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字") }