From db10250ae6a2ea7b8f131561b7424f4c2bbed6b7 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Tue, 24 Dec 2024 15:06:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataShow/map.vue | 43 +++++++++++++++++++++------- src/views/lease/component/addLet.vue | 6 +++- 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/src/views/dataShow/map.vue b/src/views/dataShow/map.vue index 5938fb4..2f3516b 100644 --- a/src/views/dataShow/map.vue +++ b/src/views/dataShow/map.vue @@ -3,15 +3,19 @@
-
-
全集团
- -
-
-
本部
- -
-
+ + 全集团 + 本部 + + + + + + + + + +
@@ -53,6 +57,7 @@ export default { }, data() { return { + dataType: "1", infoHouse: [], areaName: "", wxAreas: ["宜兴市", "惠山区", "新吴区", "梁溪区", "江阴市", "滨湖区", "锡山区"], @@ -135,7 +140,7 @@ export default { } }, authChange (e) { - this.$store.commit('bigdata/SET_AUTH', e.target.value) + this.$store.commit('bigdata/SET_AUTH', e) this.$store.dispatch('bigdata/getAssets') }, initMap () { @@ -328,7 +333,25 @@ export default { align-items: center; border-radius: 40px; border: 2px solid #73f3df; + overflow: hidden; + ::v-deep .ivu-radio-group-item { + width: 160px; + height: 60px; + line-height: 60px; + text-align: center; + padding: 0; + font-size: 20px; + letter-spacing: 1px; + font-weight: bold; + color: #73f3df; + background: transparent; + border: none; + } + ::v-deep .ivu-radio-wrapper-checked { + background: #4fa497; + color: #fff; + } &__item { cursor: pointer; z-index: 2; diff --git a/src/views/lease/component/addLet.vue b/src/views/lease/component/addLet.vue index 683e487..b1166fd 100644 --- a/src/views/lease/component/addLet.vue +++ b/src/views/lease/component/addLet.vue @@ -774,7 +774,11 @@ export default { if (i.edit_input === "file") { } if (i.edit_input === "files") { - this.file[i.field] = res[`${i.field}_upload_details`]; + this.file[i.field] = res[`${i.field}_upload_details`] ? res[`${i.field}_upload_details`].map(i => ({ + name: i.original_name, + url: i.url, + response: i + })) : [] } }); this.form = Object.assign({}, this.form);