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