修改用户管理

This commit is contained in:
jsy_zjg 2024-12-19 12:52:31 +08:00
parent 09dd5b70c8
commit 299e2cf084

View File

@ -37,12 +37,12 @@
<view>{{ item.landAddress || "-" }}</view>
</view>
</view>
<view v-hasPermi="['device:control:list']">
<uni-row style="width: 100%">
<uni-col :span="8"style="float: right;">
<view v-hasPermi="['device:control:list']" >
<uni-row style="width: 100%" >
<uni-col :span="8"style="float: right;" v-if="userInfo.userType==1">
<u-button style="width: 150px; height: 30px; margin-right: 0px" type="success" text="其它设备权限" size="mini" @click="onClickOtherPermission(item)"></u-button>
</uni-col>
<uni-col :span="8" style="float: right;">
<uni-col :span="8" style="float: right;" >
<u-button style="width: 100px; height: 30px; margin-right: 0px" type="success" text="出水口权限" size="mini" @click="onClickPermission(item)"></u-button>
</uni-col>
</uni-row>
@ -75,6 +75,7 @@ export default {
},
onLoad(options){
this.userInfo = JSON.parse(decodeURIComponent(options.userInfo));
console.log(this.userInfo)
this.queryList();
},
onShow() {