diff --git a/src/apps/AppBuilding/components/searchMap.vue b/src/apps/AppBuilding/components/searchMap.vue
index e66dbcf9..08b475e8 100644
--- a/src/apps/AppBuilding/components/searchMap.vue
+++ b/src/apps/AppBuilding/components/searchMap.vue
@@ -145,7 +145,7 @@ export default {
enableDefaultStyle: false, // 关闭默认样式
geometries: points?.map(e => ({
position: new TMap.LatLng(e.lat, e.lng),
- content: `${e.createAddress} | ${e.houseNum}`
+ content: `${e.createAddress} | ${e.houseNum}户`
})) || [],
zoomOnClick: true
})
diff --git a/src/apps/AppGridManagement/components/detail.vue b/src/apps/AppGridManagement/components/detail.vue
index 310569da..24725e10 100644
--- a/src/apps/AppGridManagement/components/detail.vue
+++ b/src/apps/AppGridManagement/components/detail.vue
@@ -23,12 +23,15 @@
网格层级
{{$dict.getLabel('girdLevel', form.girdLevel)}}
-
-
网格管理员
-
林珊珊 13782951281
-
-
+
+
+
网格管理员
+
{{item.name}} {{item.phone}}
+
+
+
+
@@ -56,22 +59,25 @@ export default {
}
},
computed: { ...mapState(['user']) },
- mounted() {
+ created() {
this.$dict.load('girdType', 'girdLevel')
this.areaId = this.user.areaId
this.getTreeList()
- this.map.setZoom(15)
},
methods: {
+ callPhone(phone) {
+ uni.makePhoneCall({ phoneNumber: phone })
+ },
handerSelect(e) {
console.log(e)
this.form = e
this.initMap(e.points)
},
initMap(points) {
- //初始化地图
- this.$nextTick(() =>{
+ if(points && points.length) {
+ //初始化地图
+ this.$nextTick(() =>{
let {lib: TMap, map} = this
var center = new TMap.LatLng(points[0].lat, points[0].lng)
map.setCenter(center)
@@ -114,7 +120,9 @@ export default {
});
})
-
+ }else {
+ return this.$u.toast('该网格未绘制')
+ }
},
getTreeList() {
this.$http.post(`/app/appgirdinfo/listAll`).then((res) => {
diff --git a/src/apps/AppMailList/components/add.vue b/src/apps/AppMailList/components/add.vue
index e9870888..556841db 100644
--- a/src/apps/AppMailList/components/add.vue
+++ b/src/apps/AppMailList/components/add.vue
@@ -29,7 +29,7 @@
*地区
-
+
{{ userInfo.areaName }}
请选择
@@ -69,7 +69,7 @@ export default {
}
},
computed: { ...mapState(['user']) },
- mounted() {
+ created() {
this.$dict.load('yesOrNo').then(() => {
if(this.params.id) {
console.log(122)
diff --git a/src/apps/AppMailList/components/list.vue b/src/apps/AppMailList/components/list.vue
index e2dad564..77258af3 100644
--- a/src/apps/AppMailList/components/list.vue
+++ b/src/apps/AppMailList/components/list.vue
@@ -14,6 +14,7 @@
+
@@ -44,8 +45,8 @@ export default {
},
methods: {
- idClick(id) {
- document.getElementById('#id'+id).scrollIntoView();
+ callPhone(phone) {
+ uni.makePhoneCall({phoneNumber: phone})
},
getList() {
this.$http.post(`/app/appconvenientaddressbook/list`, null, {
@@ -81,11 +82,14 @@ export default {
// font-weight: 600;
// color: #999;
// }
+ .item{
+ position: relative;
+ }
.phone-list{
background-color: #fff;
width: 100%;
.item-info{
- width: 100%;
+ width: 680px;
padding: 32px 48px;
box-sizing: border-box;
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.02);
@@ -97,12 +101,16 @@ export default {
line-height: 44px;
word-break: break-all;
margin-bottom: 8px;
+ width: 100%;
+ word-break: break-all;
}
.phone{
font-size: 26px;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
line-height: 36px;
+ width: 100%;
+ word-break: break-all;
span{
display: inline-block;
margin-right: 16px;
@@ -131,5 +139,13 @@ export default {
::v-deep .u-index-anchor {
top: 0!important;
}
+ .phone-icon{
+ width: 40px;
+ height: 40px;
+ vertical-align: sub;
+ position: absolute;
+ top: 60px;
+ right: 64px;
+ }
}
\ No newline at end of file