用户分享列表
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<template v-for="(item,index) in IOData">
|
||||
<view class="item">{{ item.clDid }}</view>
|
||||
<view class="item">
|
||||
<view style="width: 30rpx"> {{ item.value || '-'}}</view>
|
||||
<view style="width: 30rpx"> {{ item.value || '-' }}</view>
|
||||
<view v-if="item.value"> °C</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -225,7 +225,7 @@ export default {
|
||||
} else if (e.item.text === '反馈') {
|
||||
uni.navigateTo({url: '/pages/device/feedback'})
|
||||
} else if (e.item.text === '用户') {
|
||||
uni.navigateTo({url: '/pages/device/user'})
|
||||
uni.navigateTo({url: '/pages/device/user?id=' + this.devId + '&isPrimaryUser=' + this.isPrimaryUser})
|
||||
} else if (e.item.text === '报表') {
|
||||
this.$util.toast('效果是直接打开报表')
|
||||
} else if (e.item.text === '版本') {
|
||||
@@ -426,6 +426,13 @@ export default {
|
||||
text: '分享',
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
if (this.userInfo.authorities !== 'tourist') {
|
||||
this.content.splice(0, 0, {
|
||||
iconPath: '/static/subordinate.png',
|
||||
text: '用户',
|
||||
})
|
||||
}
|
||||
this.init()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user