diff --git a/project/sass/apps/grid/AppGridBlock/components/add.vue b/project/sass/apps/grid/AppGridBlock/components/add.vue index 6edd2760..0f56b13d 100644 --- a/project/sass/apps/grid/AppGridBlock/components/add.vue +++ b/project/sass/apps/grid/AppGridBlock/components/add.vue @@ -50,7 +50,9 @@ - 地图标绘 + + 地图标绘 + @@ -65,9 +67,6 @@ - - - @@ -89,9 +88,7 @@ export default { girdMemberManageList: [], girdMemberList: [] }, - showMap: false, options: [], - path: [], parentGirdInfo: {}, }; }, @@ -160,10 +157,6 @@ export default { } }); }, - surePotting() { - this.forms.points = JSON.parse(JSON.stringify(this.path)); - this.showMap = false; - }, save() { this.$refs["rules"].validate((valid) => { if (valid) { @@ -222,10 +215,6 @@ export default { } }); }, - handlePlotting() { - if (this.forms.points?.length > 0) this.path = JSON.parse(JSON.stringify(this.forms.points)) - this.showMap = true - } }, }; @@ -235,37 +224,6 @@ export default { width: 100%; height: 100%; - ::v-deep .amap-copyright { - display: none !important; - } - - ::v-deep .amap-logo { - display: none !important; - } - - ::v-deep.fullscreenMap { - .el-dialog { - display: flex; - flex-direction: column; - - .el-dialog__body { - padding: 0; - flex: 1; - min-height: 0; - - .ai-dialog__content { - max-height: unset !important; - padding-bottom: 0; - height: 100%; - - .ai-dialog__content--wrapper { - padding-right: 0 !important; - } - } - } - } - } - .footer-btn { width: 92px; } diff --git a/project/sass/apps/grid/AppGridBlock/components/list.vue b/project/sass/apps/grid/AppGridBlock/components/list.vue index f34c728a..b3b9b1ae 100644 --- a/project/sass/apps/grid/AppGridBlock/components/list.vue +++ b/project/sass/apps/grid/AppGridBlock/components/list.vue @@ -7,14 +7,14 @@ - - - - 0) this.path = JSON.parse(JSON.stringify(this.editRow.points)) - this.editRow = {...row}; - }, showEdit(id) { this.$router.push({hash: "#add", query: {id}}) }, //map搜索 - confirm() { - this.editRow.points = JSON.parse(JSON.stringify(this.path)); - let {girdMemberNames} = this.editRow - this.instance.post(`/app/appgirdinfo/addOrUpdate`, { - ...this.editRow, - girdMemberNames: girdMemberNames?.toString() - }).then((res) => { + confirm(row, points) { + this.instance.post(`/app/appgirdinfo/addOrUpdate`, {...row, points}).then((res) => { if (res.code == 0) { + this.$message.success("提交成功!") this.getList(); - this.showMap = false; } }); }, @@ -425,7 +401,8 @@ export default { } .is-current > .el-tree-node__content { - color: #fff!important; + color: #fff !important; + &:hover { background: #2266FF; color: #fff; @@ -480,6 +457,7 @@ export default { } } } + ::v-deep .treePanel { display: flex; flex-direction: column; diff --git a/project/sass/apps/grid/AppGridBlock/components/mapPlotting.vue b/project/sass/apps/grid/AppGridBlock/components/mapPlotting.vue index 4e26acaa..2b7e57fb 100644 --- a/project/sass/apps/grid/AppGridBlock/components/mapPlotting.vue +++ b/project/sass/apps/grid/AppGridBlock/components/mapPlotting.vue @@ -1,34 +1,49 @@