APPbug反馈修改
This commit is contained in:
@@ -89,6 +89,7 @@
|
||||
vertical="bottom"
|
||||
:content="content"
|
||||
@trigger="trigger"
|
||||
v-if="content.length"
|
||||
/>
|
||||
<uni-popup ref="share" type="share" background-color="#fff">
|
||||
<uni-popup-share title="分享到"></uni-popup-share>
|
||||
@@ -116,7 +117,7 @@ export default {
|
||||
text: '设备',
|
||||
},
|
||||
{
|
||||
text: '子用户',
|
||||
text: '用户',
|
||||
},
|
||||
{
|
||||
text: '拓扑图',
|
||||
@@ -249,24 +250,33 @@ export default {
|
||||
},
|
||||
onLoad(option) {
|
||||
let userInfo = uni.getStorageSync('userInfo')
|
||||
this.content.push({
|
||||
iconPath: '/static/share.png',
|
||||
text: '编辑',
|
||||
})
|
||||
this.content.push({
|
||||
iconPath: '/static/delate.png',
|
||||
text: '删除',
|
||||
})
|
||||
this.content.push({
|
||||
iconPath: '/static/transfer.png',
|
||||
text: '移交',
|
||||
})
|
||||
this.content.push({
|
||||
iconPath: '/static/share.png',
|
||||
text: '分享',
|
||||
})
|
||||
if (userInfo.authorities == '3') {
|
||||
} else if (userInfo.authorities == '4') {
|
||||
// this.content.push({
|
||||
// iconPath: '/static/share.png',
|
||||
// text: '编辑',
|
||||
// })
|
||||
// this.content.push({
|
||||
// iconPath: '/static/delate.png',
|
||||
// text: '删除',
|
||||
// })
|
||||
// this.content.push({
|
||||
// iconPath: '/static/transfer.png',
|
||||
// text: '移交',
|
||||
// })
|
||||
// this.content.push({
|
||||
// iconPath: '/static/share.png',
|
||||
// text: '分享',
|
||||
// })
|
||||
if (userInfo.authorities == 'engineering_user' || userInfo.authorities == 'app_vip_user') {
|
||||
this.content.push(
|
||||
{
|
||||
iconPath: '/static/share.png',
|
||||
text: '编辑',
|
||||
},
|
||||
{
|
||||
iconPath: '/static/delate.png',
|
||||
text: '删除',
|
||||
},
|
||||
)
|
||||
}
|
||||
setTimeout(() => {
|
||||
// 获取nav高度
|
||||
|
||||
Reference in New Issue
Block a user