以房找人权限

This commit is contained in:
liuye
2022-02-11 15:25:38 +08:00
parent 3b4184bfc6
commit d7cda1e0a8

View File

@@ -3,7 +3,7 @@
<search-map v-if="show && isAdmin"/>
<div v-if="!isAdmin" class="empty">
<img src="https://cdn.cunwuyun.cn/dvcp/h5/no-data.png" alt="">
<p>没有网格员/网格长权限<br/>无法查看楼栋信息哦~</p>
<p>没有网格员权限<br/>无法查看楼栋信息哦~</p>
</div>
</div>
</template>
@@ -35,7 +35,7 @@ export default {
this.isAdmin = false
this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
if (res.code == 0) {
if (res.data.checkType == '2') {
if (res.data.checkType != '0') {
this.isAdmin = true
}
}