diff --git a/src/apps/AppGridManagement/AppGridManagement.vue b/src/apps/AppGridManagement/AppGridManagement.vue index 2e097333..ff9654d7 100644 --- a/src/apps/AppGridManagement/AppGridManagement.vue +++ b/src/apps/AppGridManagement/AppGridManagement.vue @@ -6,12 +6,11 @@
{{params.girdName}} - +
网格配置 -
@@ -115,7 +114,7 @@ export default { this.isGirdUser() uni.$on('goback', (res) => { this.params = res - }) + }) }, onReachBottom() { if(!this.tabIndex) { diff --git a/src/saas/AppBackUserList/AppBackUserList.vue b/src/saas/AppBackUserList/AppBackUserList.vue index 51818b0a..634226ce 100644 --- a/src/saas/AppBackUserList/AppBackUserList.vue +++ b/src/saas/AppBackUserList/AppBackUserList.vue @@ -3,9 +3,9 @@
- -
- {{girdName}} +
+ +
{{girdName}}
@@ -393,6 +393,19 @@ export default { color: #3F8DF5; line-height: 48px; } + .gird-name-div{ + display: inline-block; + width: 100%; + padding-left: 0; + } + .gird-name{ + display: inline-block; + max-width: calc(100% - 80px); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + vertical-align: middle; + } } .empty{ text-align: center; diff --git a/src/saas/AppBackUserList/ErrorInfo.vue b/src/saas/AppBackUserList/ErrorInfo.vue index c094efe0..11385e42 100644 --- a/src/saas/AppBackUserList/ErrorInfo.vue +++ b/src/saas/AppBackUserList/ErrorInfo.vue @@ -15,7 +15,7 @@

{{item.content}}

{{item.createTime}} - {{item.createUserName}} +
diff --git a/src/saas/AppBackUserList/UserInfo.vue b/src/saas/AppBackUserList/UserInfo.vue index 584e4ba1..47205017 100644 --- a/src/saas/AppBackUserList/UserInfo.vue +++ b/src/saas/AppBackUserList/UserInfo.vue @@ -109,7 +109,7 @@

{{item.content}}

{{item.createTime}} - 网格员: + 网格员:
diff --git a/src/saas/AppBuilding/list.vue b/src/saas/AppBuilding/list.vue index 6e4df7e4..843a8fb0 100644 --- a/src/saas/AppBuilding/list.vue +++ b/src/saas/AppBuilding/list.vue @@ -56,7 +56,6 @@ export default { params: { current: this.current, size: 10, - areaId: this.user.areaId, communityName: this.title } }).then(res => { diff --git a/src/saas/AppConflictMediation/add.vue b/src/saas/AppConflictMediation/add.vue index c798c681..4f82c016 100644 --- a/src/saas/AppConflictMediation/add.vue +++ b/src/saas/AppConflictMediation/add.vue @@ -10,6 +10,7 @@
+
{{ form.content.length }}/200
@@ -233,6 +234,9 @@ if (!this.form.groupId) { return this.$u.toast('请选择事件类型') } + if (!this.form.address) { + return this.$u.toast('请选择发生地点') + } if (!this.form.girdName) { return this.$u.toast('请选择上报网格') } @@ -277,6 +281,12 @@ background: #fff; } + .limit { + position: fixed; + right: 44px; + font-size: 16px; + } + .form-item { padding-left: 32px; @@ -300,6 +310,7 @@ align-items: center; font-size: 32px; + span { max-width: 400px; margin-right: 8px; diff --git a/src/saas/AppConflictMediation/detail.vue b/src/saas/AppConflictMediation/detail.vue index 21b71e44..97aa5e1e 100644 --- a/src/saas/AppConflictMediation/detail.vue +++ b/src/saas/AppConflictMediation/detail.vue @@ -25,13 +25,13 @@ {{ data.girdName }} -
+
上报地址 diff --git a/src/saas/AppGridManagement/AddGird.vue b/src/saas/AppGridManagement/AddGird.vue index cb198ee2..c0be8fa4 100644 --- a/src/saas/AppGridManagement/AddGird.vue +++ b/src/saas/AppGridManagement/AddGird.vue @@ -165,10 +165,9 @@ export default { color: #666; img { - width: 32px; - height: 32px; + width: 44px; + height: 44px; vertical-align: middle; - margin-left: 8px; } } diff --git a/src/saas/AppGridManagement/AppGridManagement.vue b/src/saas/AppGridManagement/AppGridManagement.vue index d91a0b8a..1c29f4c6 100644 --- a/src/saas/AppGridManagement/AppGridManagement.vue +++ b/src/saas/AppGridManagement/AppGridManagement.vue @@ -146,7 +146,7 @@ export default { vertical-align: middle; } - div { + .gird-name-div { display: inline-block; padding: 0 20px; box-sizing: border-box; @@ -159,6 +159,15 @@ export default { 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 { diff --git a/src/saas/AppGridManagement/FamilyList.vue b/src/saas/AppGridManagement/FamilyList.vue index 95212203..e4142320 100644 --- a/src/saas/AppGridManagement/FamilyList.vue +++ b/src/saas/AppGridManagement/FamilyList.vue @@ -57,6 +57,15 @@ export default { } }, methods: { + handerSearch() { + this.list = [] + this.current = 1 + this.getList() + }, + handerClear() { + this.keyword = '' + this.handerSearch() + }, getList(){ this.$http.post(`/app/appgirdmemberresident/listByGirdMember?current=${this.current}&girdMemberId=${this.userId}&girdId=${this.girdId}&name=${this.keyword}`).then((res) => { if (res.code == 0) { diff --git a/src/saas/AppGridManagement/Map.vue b/src/saas/AppGridManagement/Map.vue index e0c3014d..d970386d 100644 --- a/src/saas/AppGridManagement/Map.vue +++ b/src/saas/AppGridManagement/Map.vue @@ -63,7 +63,8 @@ export default { showSelect: false, editor: null, polygons: [], - labels: [] + labels: [], + latLngCenter: [], //中心点 } }, computed: {...mapState(['user', 'config'])}, @@ -73,11 +74,12 @@ export default { // this.getLeafNodes() uni.$on('goback', e => { if (e.girdLevel == '0') { - setTimeout(() => { - this.$u.toast('请选择二级或者三级网格') - }, 400) - return false + // setTimeout(() => { + // this.$u.toast('请选择二级或者三级网格') + // }, 400) + // return false } + this.form.girdName = e.girdName this.getGridList(e.id, true) }) }, @@ -114,14 +116,23 @@ export default { this.$http.post(`/app/appgirdinfo/queryChildGirdInfoByGirdId?girdId=${id}`).then((res) => { this.$hideLoading() if (res?.data) { - const arr = res.data.map(v => { - return { - id: v.id, - girdName: v.girdName, - points: v.points ? v.points.map(p => [p.lng, p.lat]) : [] + const arr = [] + res.data.map(v => { + if(v.points) { + arr.push( + { + id: v.id, + girdName: v.girdName, + points: v.points ? v.points.map(p => [p.lng, p.lat]) : [] + } + ) + if(this.latLngCenter.length) { + return + }else { + this.latLngCenter.push(v.points[0].lat, v.points[0].lng) + } } }) - this.renderGridMap(arr) } }).catch(() => { @@ -159,6 +170,10 @@ export default { console.log(paths) let {map, lib: TMap, $refs: {AiTMap: {fitBounds}}} = this if (TMap) { + if(this.latLngCenter.length) { + map.setCenter(this.latLngCenter) + this.map.setZoom(14) + } const colors = ["#A194F4", "#7CBDF3", "#F3A57D", "#62D063", "#58DBDA", "#F7D151"] if (this.polygons.length > 0) { this.polygons.forEach(e => e.destroy()) diff --git a/src/saas/AppGridManagement/Organization.vue b/src/saas/AppGridManagement/Organization.vue index d69c8eb7..97b2af20 100644 --- a/src/saas/AppGridManagement/Organization.vue +++ b/src/saas/AppGridManagement/Organization.vue @@ -2,8 +2,11 @@
网格人员
- - +
+ + + +
@@ -13,8 +16,11 @@
- - +
+ + + +
diff --git a/src/saas/AppHealthUp/OtherStatistics.vue b/src/saas/AppHealthUp/OtherStatistics.vue index 07ad2fc5..a9683c81 100644 --- a/src/saas/AppHealthUp/OtherStatistics.vue +++ b/src/saas/AppHealthUp/OtherStatistics.vue @@ -58,10 +58,10 @@
-
+
diff --git a/src/saas/AppHealthUp/OtherUser.vue b/src/saas/AppHealthUp/OtherUser.vue index cc341bbe..da504a50 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/AppSpecialPeople/add.vue b/src/saas/AppSpecialPeople/add.vue index d9fe3253..8b86f92d 100644 --- a/src/saas/AppSpecialPeople/add.vue +++ b/src/saas/AppSpecialPeople/add.vue @@ -408,7 +408,6 @@ export default { methods: { getDetail() { - console.log(111); if (!this.id) return var urlList = ['/app/appspecialdisabled/queryDetailById', '/app/appspecialmental/queryDetailById', '/app/appspecialadjustment/queryDetailById', '/app/appspecialdrug/queryDetailById', '/app/appspecialprison/queryDetailById'] @@ -559,6 +558,7 @@ export default { width: 60%; display: flex; justify-content: flex-end; + font-size: 32px !important; .u-icon { margin-left: 16px; } @@ -594,6 +594,7 @@ export default { .value { margin-left: 16px; + font-size: 32px; } } diff --git a/src/saas/AppSpecialPeople/detail.vue b/src/saas/AppSpecialPeople/detail.vue index 34e9d7e9..140f60b3 100644 --- a/src/saas/AppSpecialPeople/detail.vue +++ b/src/saas/AppSpecialPeople/detail.vue @@ -7,9 +7,7 @@
- - +
@@ -54,8 +52,8 @@