diff --git a/src/saas/AppBuilding/components/searchMap.vue b/src/saas/AppBuilding/components/searchMap.vue index e9284658..2f2b066c 100644 --- a/src/saas/AppBuilding/components/searchMap.vue +++ b/src/saas/AppBuilding/components/searchMap.vue @@ -32,7 +32,7 @@ @@ -88,14 +89,19 @@
网格管理员 - + + + , + +
楼栋长 {{ building.managerName || '' }}  {{ building.managerPhone || '' }} + class="value">{{ building.managerName || '' }} +
@@ -167,6 +173,10 @@ export default { }, getMarkerCluster(points, count = 0) { let {lib: TMap, map} = this + console.log(points) + if(!points.length) { + return + } if (map) { // map.setCenter(this.config.latlng) let MarkerCluster = new TMap.MarkerCluster({ @@ -253,6 +263,7 @@ export default { overlay.on('click', () => { this.buildPopup = true this.building = item.geometries?.[0]?.properties || {} + this.building.girdMemberNames = this.building.girdMemberNames.split(',') }) markers.push(overlay) } @@ -304,14 +315,19 @@ export default { if (res.code == 0 && res.data.length) { this.show = true this.buildList = res.data - const points = res.data.map(item => { - return { - lnglat: [item.lng, item.lat], - id: item.id, - corpId: item.corpId, - areaName: item.areaName, - buildingNumber: item.name || item.buildingNumber, - communityName: item.name || item.communityName, + const points = [] + res.data.map(item => { + if(item.lng && item.lat) { + points.push( + { + lnglat: [item.lng, item.lat], + id: item.id, + corpId: item.corpId, + areaName: item.areaName, + buildingNumber: item.name || item.buildingNumber, + communityName: item.name || item.communityName, + } + ) } }) this.getMarkerCluster(points) diff --git a/src/saas/AppGridManagement/AppGridManagement.vue b/src/saas/AppGridManagement/AppGridManagement.vue index 1c29f4c6..ffc0819d 100644 --- a/src/saas/AppGridManagement/AppGridManagement.vue +++ b/src/saas/AppGridManagement/AppGridManagement.vue @@ -4,7 +4,7 @@
-
+
网格配置 @@ -139,6 +139,15 @@ export default { border-radius: 16px; margin: 0 30px 32px; box-sizing: border-box; + .gird-name{ + display: inline-block; + max-width: calc(100% - 108px); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + vertical-align: middle; + margin: 0 16px; + } img { width: 32px; @@ -146,30 +155,6 @@ export default { vertical-align: middle; } - .gird-name-div { - display: inline-block; - padding: 0 20px; - box-sizing: border-box; - font-size: 32px; - font-family: PingFangSC-Medium, PingFang SC; - font-weight: 500; - color: #333; - line-height: 48px; - - img { - margin-left: 8px; - } - - .gird-name{ - display: inline-block; - max-width: calc(100% - 50px); - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - vertical-align: middle; - } - } - span { display: inline-block; width: 112px; diff --git a/src/saas/AppGridManagement/Map.vue b/src/saas/AppGridManagement/Map.vue index f8b74442..6cec3582 100644 --- a/src/saas/AppGridManagement/Map.vue +++ b/src/saas/AppGridManagement/Map.vue @@ -384,6 +384,9 @@ ai-tree-picker { vertical-align: sub; margin-left: 16px; } + div{ + display: inline-block; + } } } } diff --git a/src/saas/AppHealthUp/OtherUser.vue b/src/saas/AppHealthUp/OtherUser.vue index da504a50..9055ec6a 100644 --- a/src/saas/AppHealthUp/OtherUser.vue +++ b/src/saas/AppHealthUp/OtherUser.vue @@ -8,7 +8,7 @@
- +
{{item.status == 1 ? '今日已上报' : '今日未上报'}} diff --git a/src/saas/AppResidentDocument/Add.vue b/src/saas/AppResidentDocument/Add.vue index 0c602f5d..720f9770 100644 --- a/src/saas/AppResidentDocument/Add.vue +++ b/src/saas/AppResidentDocument/Add.vue @@ -159,6 +159,7 @@ export default { householdAreaId: '', householdAreaName: '', householdAddress: '', + type: '' }, showSelect: false, formName: '', @@ -172,6 +173,7 @@ export default { this.getDetail() }else { document.title = '新增居民' + this.form.type = option.type } this.$dict.load('yesOrNo', 'sex', 'householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType') }, diff --git a/src/saas/AppResidentDocument/AppResidentDocument.vue b/src/saas/AppResidentDocument/AppResidentDocument.vue index c2f4d2c7..a53f87c7 100644 --- a/src/saas/AppResidentDocument/AppResidentDocument.vue +++ b/src/saas/AppResidentDocument/AppResidentDocument.vue @@ -147,7 +147,7 @@ export default { this.getList() }, edit(id) { - uni.navigateTo({url: `./Add?id=${id}`}) + uni.navigateTo({url: `./Add?id=${id}&type=${this.currentTabs}`}) }, del(id) { this.$confirm('确定删除该数据?').then(() => { diff --git a/src/saas/AppWalkask/detail.vue b/src/saas/AppWalkask/detail.vue index 38e03288..167cf8cd 100644 --- a/src/saas/AppWalkask/detail.vue +++ b/src/saas/AppWalkask/detail.vue @@ -7,7 +7,7 @@ 走访对象: {{ data.name }} - {{ data.menuLevel3Name }} + {{ $dict.getLabel('appSpecialTypeFive', data.applicationId) }}
@@ -54,7 +54,7 @@ export default { computed: {}, onLoad(o) { this.id = o.id - this.$dict.load('realityStatus').then(() => { + this.$dict.load('realityStatus', 'appSpecialTypeFive').then(() => { this.getDetail() }) },