角色审核
This commit is contained in:
@@ -14,12 +14,12 @@
|
||||
<div class="header-item-label">离线设备</div>
|
||||
</div>
|
||||
</div>
|
||||
<view style="padding:20rpx 20rpx 0">
|
||||
<!-- <view style="padding:20rpx 20rpx 0">
|
||||
<Cn-grid title="常用功能">
|
||||
<Cn-grid-item src="/static/device2.png" text="设备注册" @click="registerDevice"></Cn-grid-item>
|
||||
<Cn-grid-item src="/static/gateway2.png" text="网关注册" @click="registerGateway"></Cn-grid-item>
|
||||
</Cn-grid>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="nav">
|
||||
<picker @change="projectNameChange" :value="select.projectNameIndex" :range="projectList" range-key="text">
|
||||
<view class="nav-menu" :class="{ 'nav-menu-active': select.projectName }">{{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<view class="index-zhuanzhi">
|
||||
<div class="header">
|
||||
<div class="header-item">
|
||||
<div class="header-item-value">3</div>
|
||||
<div class="header-item-value">8</div>
|
||||
<div class="header-item-label">设备总数</div>
|
||||
</div>
|
||||
<div class="header-item">
|
||||
@@ -10,7 +10,7 @@
|
||||
<div class="header-item-label">正常设备</div>
|
||||
</div>
|
||||
<div class="header-item" @click="projectWarning">
|
||||
<div class="header-item-value">0</div>
|
||||
<div class="header-item-value">4</div>
|
||||
<div class="header-item-label">报警设备</div>
|
||||
</div>
|
||||
<div class="header-item">
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="header-item-label">离线设备</div>
|
||||
</div>
|
||||
<div class="header-item">
|
||||
<div class="header-item-value">1</div>
|
||||
<div class="header-item-value">4</div>
|
||||
<div class="header-item-label">告警数量</div>
|
||||
</div>
|
||||
<div class="header-item">
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<view class="mine-nav-label">角色升级</view>
|
||||
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
|
||||
</view>
|
||||
<view class="mine-nav" @click="jump('audit')" v-if="userInfo.role == 2">
|
||||
<view class="mine-nav" @click="jump('audit')" v-if="userInfo.role == 4">
|
||||
<image mode="aspectFill" class="mine-nav-icon" src="/static/server.png" />
|
||||
<view class="mine-nav-label">角色审核</view>
|
||||
<uni-icons type="forward" color="#aaa" size="20"></uni-icons>
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
<view slot='body'>
|
||||
<view class='index'>
|
||||
<uni-list>
|
||||
<uni-list-item title="张三申请成为主用户" note="2023-02-10 14:55" thumb="/static/head.png" thumb-size="lg">
|
||||
<uni-list-item title="张三申请成为您的子用户" note="2023-02-10 14:55" thumb="/static/head.png" thumb-size="lg">
|
||||
<template v-slot:footer>
|
||||
<view class="footer-btn mt20" style="background:#e47470" @click="del">拒绝</view>
|
||||
<view class="footer-btn mt20 ml10" @click="jump">通过</view>
|
||||
</template>
|
||||
</uni-list-item>
|
||||
<uni-list-item title="李四申请成为子用户" note="2023-02-10 14:55" thumb="/static/head.png" thumb-size="lg">
|
||||
<uni-list-item title="李四申请成为您的子用户" note="2023-02-10 14:55" thumb="/static/head.png" thumb-size="lg">
|
||||
<template v-slot:footer>
|
||||
<view class="footer-btn mt20" style="background:#e47470" @click="del">拒绝</view>
|
||||
<view class="footer-btn mt20 ml10" @click="jump">通过</view>
|
||||
|
||||
Reference in New Issue
Block a user