网格
@@ -74,6 +74,7 @@ export default {
|
||||
methods: {
|
||||
areaSelect() {
|
||||
this.getListInit()
|
||||
this.getTotal()
|
||||
},
|
||||
tabClick(index) {
|
||||
this.tabIndex = index
|
||||
|
||||
@@ -27,20 +27,20 @@ export default {
|
||||
tabIndex: 0,
|
||||
tabs: [
|
||||
{
|
||||
img: require('./components/img/handle-icon.png'),
|
||||
activeImg: require('./components/img/handle-icon-active.png'),
|
||||
img: require('./components/img/statistics-icon.png'),
|
||||
activeImg: require('./components/img/statistics-icon-active.png'),
|
||||
text: '统计',
|
||||
component: 'Statistics',
|
||||
},
|
||||
{
|
||||
img: require('./components/img/statistics-icon.png'),
|
||||
activeImg: require('./components/img/statistics-icon-active.png'),
|
||||
img: require('./components/img/org-icon.png'),
|
||||
activeImg: require('./components/img/org-icon-active.png'),
|
||||
text: '组织',
|
||||
component: 'Organization',
|
||||
},
|
||||
{
|
||||
img: require('./components/img/set-icon.png'),
|
||||
activeImg: require('./components/img/set-icon-active.png'),
|
||||
img: require('./components/img/map-icon.png'),
|
||||
activeImg: require('./components/img/map-icon-active.png'),
|
||||
text: '地图',
|
||||
component: 'Map'
|
||||
}
|
||||
|
||||
@@ -9,22 +9,22 @@
|
||||
<span @click="linkTo('./SetGird')">网格配置</span>
|
||||
</div>
|
||||
<div class="title">网格人员</div>
|
||||
<div class="user-content">
|
||||
<img src="./components/img/user-img.png" alt="">
|
||||
<div class="user-content" v-for="(item, index) in dataInfo.parentGirdMembers" :key="index">
|
||||
<img src="./components/img/big-user.png" alt="">
|
||||
<div class="right">
|
||||
<div class="name">侯敬兰</div>
|
||||
<div class="gird">一级网格长</div>
|
||||
<p>南湖街道一级网格</p>
|
||||
<div class="name">{{item.name}}</div>
|
||||
<div class="gird">{{item.checkType == 2 ? '网格长' : '网格员'}}</div>
|
||||
<p>{{item.girdName}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="user-content user-item">
|
||||
<div class="user-content user-item" v-for="(item, index) in dataInfo.girdMembers" :key="index">
|
||||
<img src="./components/img/user-img.png" alt="">
|
||||
<div class="right">
|
||||
<div class="name">侯敬兰
|
||||
<span class="gird">一级网格长</span>
|
||||
<div class="name">{{item.name}}
|
||||
<span class="gird">{{item.checkType == 2 ? '网格长' : '网格员'}}</span>
|
||||
<span class="family-btn" @click="linkTo('./FamilyList')">责任家庭 ></span>
|
||||
</div>
|
||||
<p>南湖街道一级网格</p>
|
||||
<p>{{item.girdName}} </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -34,7 +34,8 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
userGird: {}
|
||||
userGird: {},
|
||||
dataInfo: {}
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
@@ -49,12 +50,20 @@ export default {
|
||||
if (res.code == 0) {
|
||||
if (res.data.checkType) {
|
||||
this.userGird = res.data.appGirdInfo
|
||||
this.getGirdUserList()
|
||||
} else {
|
||||
this.$u.toast('当前人员不是网格员或网格管理员')
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
getGirdUserList() {
|
||||
this.$http.post(`/app/appgirdmemberinfo/listGirdMemberByGirdId?girdId=${this.userGird.id}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.dataInfo = res.data
|
||||
}
|
||||
})
|
||||
},
|
||||
linkTo(url) {
|
||||
uni.navigateTo({url})
|
||||
}
|
||||
|
||||
BIN
src/apps/AppGridManagement/components/img/big-user.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
BIN
src/apps/AppGridManagement/components/img/map-icon-active.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/apps/AppGridManagement/components/img/map-icon.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/apps/AppGridManagement/components/img/org-icon-active.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
src/apps/AppGridManagement/components/img/org-icon.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |