上报地址
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 @@
网格人员
-
-

+
+
+
![]()
+

+
-
-

+
+
+
![]()
+

+
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 @@
{{e.name}}
-
-
+
+
@@ -126,7 +124,6 @@ export default {
},
isGirdUser() {
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
- // console.log(res);
if (res.code == 0) {
this.userGird = res.data.checkType
// if (res.data.checkType) {
@@ -180,6 +177,10 @@ export default {
return idNumber
},
showUserType(item) {
+ this.type = item.dictValue
+ this.current = 1
+ this.userList = []
+ this.getUserList()
// if(this.userList[index].check) {
// this.userList[index].check = false
// }else {
@@ -188,12 +189,6 @@ export default {
// })
// this.userList[index].check = true
// }
- console.log(item);
- this.type = item.dictValue
- this.current = 1
- this.userList = []
- this.getUserList()
-
},
toEdit(row,index) {
uni.navigateTo({
@@ -204,8 +199,6 @@ export default {
var delUrl = ['/app/appspecialdisabled/delete','/app/appspecialmental/delete',
'/app/appspecialadjustment/delete','/app/appspecialdrug/delete','/app/appspecialprison/delete'
]
- // var idUrl='app/appspecialdisabled/delete'
- // var id='c24aaff664a94fdd908a85c0237583bd'
this.$confirm('确定删除该数据?').then(() => {
uni.showLoading()
this.$http.post(delUrl[indexs],null, {params: {ids: row.id}}).then((res) => {
@@ -284,26 +277,13 @@ export default {
}
}
.search-input{
-
width: 100%;
height: 64px;
background: #F5F5F5;
border-radius: 32px;
- padding: 14px 32px 14px 64px;
box-sizing: border-box;
position: relative;
- img{
- width: 32px;
- height: 32px;
- margin-right: 12px;
- position: absolute;
- top: 18px;
- left: 24px;
- }
- ::v-deep .u-input{
- width: 100%;
- font-size: 26px;
- }
+ line-height: 64px;
}
}
}
diff --git a/src/saas/AppWalkask/AppWalkask.vue b/src/saas/AppWalkask/AppWalkask.vue
index 8eb2c43c..f6ef1f10 100644
--- a/src/saas/AppWalkask/AppWalkask.vue
+++ b/src/saas/AppWalkask/AppWalkask.vue
@@ -115,6 +115,11 @@ export default {
},
mounted() {},
methods: {
+ getListInit() {
+ this.data = []
+ this.current = 1
+ this.getList()
+ },
getList() {
this.$http
.post('/app/appvisitvondolence/list', null, {
@@ -140,17 +145,14 @@ export default {
areaSelect(e) {
this.data = []
this.areaId = e
- this.current = 1
- this.getList()
+ this.getListInit()
},
change(index) {
- this.data = []
this.areaId = this.user.areaId
this.keyword = ''
this.currentTabs = index
- this.current = 1
- this.getList()
+ this.getListInit()
},
goDetail(item, hint) {
@@ -183,21 +185,19 @@ export default {
this.$http.post(`/app/appvisitvondolence/delete?ids=${this.deletId}`).then((res) => {
if (res.code == 0) {
this.$u.toast('删除成功!')
- this.getList()
+ this.getListInit()
}
})
},
handerSearch(e) {
this.keyword = e
- this.current = 1
- this.getList()
+ this.getListInit()
},
handerClear() {
this.keyword = ''
- this.current = 1
- this.getList()
+ this.getListInit()
},
previewImage(images, img) {