diff --git a/package.json b/package.json index 6c2f6f5a..1da2b34b 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,9 @@ "et:list": "gulp themes" }, "dependencies": { + "@antv/l7": "^2.9.14", + "@antv/l7-draw": "^3.0.5", + "@antv/l7-maps": "^2.9.14", "@riophae/vue-treeselect": "^0.4.0", "@tinymce/tinymce-vue": "^3.2.8", "async-validator": "^4.2.5", diff --git a/src/assets/img/shuju/grid/pos-green.png b/src/assets/img/shuju/grid/pos-green.png new file mode 100644 index 00000000..a4bf392e Binary files /dev/null and b/src/assets/img/shuju/grid/pos-green.png differ diff --git a/src/assets/img/shuju/grid/pos-green2.png b/src/assets/img/shuju/grid/pos-green2.png new file mode 100644 index 00000000..7162005f Binary files /dev/null and b/src/assets/img/shuju/grid/pos-green2.png differ diff --git a/src/assets/img/shuju/grid/pos-red.png b/src/assets/img/shuju/grid/pos-red.png new file mode 100644 index 00000000..f0ab3547 Binary files /dev/null and b/src/assets/img/shuju/grid/pos-red.png differ diff --git a/src/assets/img/shuju/grid/pos-red2.png b/src/assets/img/shuju/grid/pos-red2.png new file mode 100644 index 00000000..1f2faa80 Binary files /dev/null and b/src/assets/img/shuju/grid/pos-red2.png differ diff --git a/src/assets/img/shuju/grid/pos-yellow.png b/src/assets/img/shuju/grid/pos-yellow.png new file mode 100644 index 00000000..91ff243b Binary files /dev/null and b/src/assets/img/shuju/grid/pos-yellow.png differ diff --git a/src/assets/img/shuju/grid/pos-yellow2.png b/src/assets/img/shuju/grid/pos-yellow2.png new file mode 100644 index 00000000..7050f260 Binary files /dev/null and b/src/assets/img/shuju/grid/pos-yellow2.png differ diff --git a/src/utils/index.js b/src/utils/index.js index 1e6b6e6f..c129bea9 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -145,4 +145,13 @@ export function computedCard(idCard) { sex = '1'; return {age , sex, birth} } +// 将数组分成小块数组的集合 +export function spliceIntoChunks(arr, chunkSize) { + const res = []; + while (arr.length > 0) { + const chunk = arr.splice(0, chunkSize); + res.push(chunk); + } + return res; +} diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue index c61ba5f5..2d786fa2 100644 --- a/src/views/modules/base/organization/organization.vue +++ b/src/views/modules/base/organization/organization.vue @@ -2319,7 +2319,7 @@ export default { this.modifyGridFrom.agencyId = data.agencyId this.modifyGridFrom.gridType = data.gridType this.modifyGridFrom.manageDistrict = data.manageDistrict - this.modifyGridFrom.griId = data.griId + this.modifyGridFrom.griId = data.grid } else { this.$message.error(msg) } diff --git a/src/views/modules/cabaseinfo/caloudong.vue b/src/views/modules/cabaseinfo/caloudong.vue index 3a261a3a..4e14bafe 100644 --- a/src/views/modules/cabaseinfo/caloudong.vue +++ b/src/views/modules/cabaseinfo/caloudong.vue @@ -26,6 +26,13 @@ clearable > + + + {{ $t("query") }} @@ -176,7 +183,8 @@ export default { dataForm: { buildingName: "", communityName: "", - gridId:"" + gridId:"", + buildingAddr:"" }, caLouDongOptions:[], optionsG:[] diff --git a/src/views/modules/cabaseinfo/capingfang.vue b/src/views/modules/cabaseinfo/capingfang.vue index b461b473..4416b96c 100644 --- a/src/views/modules/cabaseinfo/capingfang.vue +++ b/src/views/modules/cabaseinfo/capingfang.vue @@ -26,6 +26,13 @@ clearable > + + + {{ $t("query") }} @@ -176,7 +183,8 @@ export default { dataForm: { buildingName: "", communityName: "", - gridId:"" + gridId:"", + buildingAddr:"" }, caLouDongOptions:[], optionsG:[] diff --git a/src/views/modules/cabaseinfo/carental.vue b/src/views/modules/cabaseinfo/carental.vue index bb8ed3c3..c22dee64 100644 --- a/src/views/modules/cabaseinfo/carental.vue +++ b/src/views/modules/cabaseinfo/carental.vue @@ -33,6 +33,13 @@ clearable > + + + {{ $t("query") }} @@ -177,7 +184,8 @@ export default { houseName: "", residentName: "", renterName: "", - gridId:"" + gridId:"", + houseAddress:"" }, caLouDongOptions:[], optionsG:[] diff --git a/src/views/modules/cabaseinfo/caresident.vue b/src/views/modules/cabaseinfo/caresident.vue index cc9c0f3b..b0b357e1 100644 --- a/src/views/modules/cabaseinfo/caresident.vue +++ b/src/views/modules/cabaseinfo/caresident.vue @@ -29,6 +29,13 @@ clearable > + + + {{ $t("query") }} @@ -189,7 +196,8 @@ export default { idCard: "", residentName: "", telephone: "", - gridId:"" + gridId:"", + curliveAddressDetail:"" }, caLouDongOptions:[], optionsG:[] diff --git a/src/views/modules/cabaseinfo/carotators.vue b/src/views/modules/cabaseinfo/carotators.vue index 8111a77b..eb4fe939 100644 --- a/src/views/modules/cabaseinfo/carotators.vue +++ b/src/views/modules/cabaseinfo/carotators.vue @@ -29,6 +29,13 @@ clearable > + + + {{ $t("query") }} @@ -165,7 +172,8 @@ export default { idCard: "", residentName: "", telephone: "", - gridId:"" + gridId:"", + curliveAddressDetail:"" }, caLouDongOptions:[], optionsG:[] diff --git a/src/views/modules/cabaseinfo/wghSjxxb.vue b/src/views/modules/cabaseinfo/wghSjxxb.vue new file mode 100644 index 00000000..cfbb60c3 --- /dev/null +++ b/src/views/modules/cabaseinfo/wghSjxxb.vue @@ -0,0 +1,301 @@ + + + + + + + + + + + + + + + {{ $t("query") }} + + + + + + + + + + + + + + + + + + 查看 + 去处置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 取 消 + + + + + + + diff --git a/src/views/modules/visual/basicinfo/basicInfoMain-备份.vue b/src/views/modules/visual/basicinfo/basicInfoMain-备份.vue new file mode 100644 index 00000000..c57aaef3 --- /dev/null +++ b/src/views/modules/visual/basicinfo/basicInfoMain-备份.vue @@ -0,0 +1,1017 @@ + + + + + + + + {{item.name}}> + + {{orgData.name}} + + + + + + + + + + + + + + + + + + + + + + + + {{item.name}} + + + + + + + + + + + + + + + + + + + + + + + 分类列表 + + + + 加载中 + + + + + + + + + {{colItem.label}} + {{colItem.count}} + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/modules/visual/basicinfo/basicInfoMain.vue b/src/views/modules/visual/basicinfo/basicInfoMain.vue index c57aaef3..3a0e2cce 100644 --- a/src/views/modules/visual/basicinfo/basicInfoMain.vue +++ b/src/views/modules/visual/basicinfo/basicInfoMain.vue @@ -1,271 +1,171 @@ - - {{item.name}}> - - {{orgData.name}} + {{ item.name }}> + + {{ orgData.name }} - - - - - - - - + + + + + + + - - - + + + - - - - - {{item.name}} - + + + + {{ item.name }} - + - - - - - + - + 分类列表 - + 加载中 - - + + - - + + - {{colItem.label}} - {{colItem.count}} + {{ colItem.label }} + {{ colItem.count }} - - + - - - - - + - \ No newline at end of file + diff --git a/src/views/modules/visual/basicinfo/cpts/grid-map.vue b/src/views/modules/visual/basicinfo/cpts/grid-map.vue new file mode 100644 index 00000000..b830be4c --- /dev/null +++ b/src/views/modules/visual/basicinfo/cpts/grid-map.vue @@ -0,0 +1,371 @@ + + + + + 切换深色模式 + + 切换浅色模式 + + + + + + diff --git a/src/views/modules/visual/test/l7.vue b/src/views/modules/visual/test/l7.vue new file mode 100644 index 00000000..951fd7b7 --- /dev/null +++ b/src/views/modules/visual/test/l7.vue @@ -0,0 +1,547 @@ + + + + + + + + + + + + +