bug
This commit is contained in:
@@ -15,14 +15,14 @@
|
|||||||
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<span class="count" v-if="peopleList && peopleList['网格长']">{{ peopleList['网格长']}}</span>
|
<span class="count" v-if="peopleList && peopleList['网格长']">{{ peopleList['网格长'] }}</span>
|
||||||
<span class="count" v-else>0</span>
|
<span class="count" v-else>0</span>
|
||||||
<span class="girdCount">网格长</span>
|
<span class="girdCount">网格长</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<span class="count" v-if="peopleList && peopleList['网格员'] ">{{ peopleList['网格员']}}</span>
|
<span class="count" v-if="peopleList && peopleList['网格员']">{{ peopleList['网格员'] }}</span>
|
||||||
<span class="count" v-else>0</span>
|
<span class="count" v-else>0</span>
|
||||||
<span class="girdCount">网格员</span>
|
<span class="girdCount">网格员</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -77,15 +77,17 @@ export default {
|
|||||||
girdUser: [],
|
girdUser: [],
|
||||||
peopleList: {},
|
peopleList: {},
|
||||||
girdMsgList: {},
|
girdMsgList: {},
|
||||||
checkType: ''
|
checkType: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
watch: {},
|
watch: {},
|
||||||
onLoad() {},
|
onLoad() {},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$dict.load('girdType', 'girdLevel').then(() => {})
|
this.$dict.load('girdType', 'girdLevel').then(() => {
|
||||||
this.isGirdUser()
|
this.isGirdUser()
|
||||||
|
})
|
||||||
|
|
||||||
uni.$on('goback', (res) => {
|
uni.$on('goback', (res) => {
|
||||||
this.girdMsgList = res
|
this.girdMsgList = res
|
||||||
this.getList()
|
this.getList()
|
||||||
@@ -117,8 +119,8 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
linkTo(url) {
|
linkTo(url) {
|
||||||
uni.navigateTo({url})
|
uni.navigateTo({ url })
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<u-search v-model="keyword" :clearabled="true" placeholder="姓名/联系方式/身份证后6位" :show-action="false" bg-color="#F5F5F5" search-icon-color="#E2E8F1" color="#666" height="58" @search="handerSearch" @clear="handerClear"></u-search>
|
<u-search v-model="keyword" :clearabled="true" placeholder="姓名/联系方式/身份证后6位" :show-action="false" bg-color="#F5F5F5" search-icon-color="#E2E8F1" color="#666" height="58" @search="handerSearch" @clear="handerClear"></u-search>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="datas" v-if="datas.length > 0">
|
<div class="dataes" v-if="datas.length > 0">
|
||||||
<div class="datass" v-for="(item, iindex) in datas" :key="iindex" @click="toDetailCard(item)">
|
<div class="datass" v-for="(item, iindex) in datas" :key="iindex" @click="toDetailCard(item)">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<img :src="item.photo" alt="" v-if="item.photo" />
|
<img :src="item.photo" alt="" v-if="item.photo" />
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<AiEmpty v-else></AiEmpty>
|
<AiEmpty class="emptyWrap" v-else></AiEmpty>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ export default {
|
|||||||
],
|
],
|
||||||
currentTabs: 0,
|
currentTabs: 0,
|
||||||
areaId: '',
|
areaId: '',
|
||||||
areaName: ''
|
areaName: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -153,11 +153,13 @@ export default {
|
|||||||
height: 16px;
|
height: 16px;
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.seachObjs {
|
.seachObjs {
|
||||||
border-bottom: 2px solid #f5f5f5;
|
border-bottom: 2px solid #f5f5f5;
|
||||||
border-top: 2px solid #f5f5f5;
|
border-top: 2px solid #f5f5f5;
|
||||||
padding: 20px 32px;
|
padding: 20px 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .u-form {
|
::v-deep .u-form {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
.areaIds {
|
.areaIds {
|
||||||
@@ -186,7 +188,8 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.datas {
|
|
||||||
|
.dataes {
|
||||||
.datass {
|
.datass {
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: 24px 32px;
|
padding: 24px 32px;
|
||||||
@@ -215,5 +218,10 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.emptyWrap {
|
||||||
|
background: #f5f5f5;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user