提交app
This commit is contained in:
@@ -186,7 +186,7 @@ export default {
|
||||
content: [
|
||||
{
|
||||
iconPath: '/static/report.png',
|
||||
text: '告警',
|
||||
text: '详情',
|
||||
},
|
||||
// {
|
||||
// iconPath: '/static/record.png',
|
||||
@@ -196,10 +196,10 @@ export default {
|
||||
iconPath: '/static/about.png',
|
||||
text: '关于',
|
||||
},
|
||||
{
|
||||
iconPath: '/static/access.png',
|
||||
text: '接入',
|
||||
},
|
||||
// {
|
||||
// iconPath: '/static/access.png',
|
||||
// text: '接入',
|
||||
// },
|
||||
],
|
||||
client: null,
|
||||
timer: null,
|
||||
@@ -243,7 +243,7 @@ export default {
|
||||
this.$util.toast('下载成功')
|
||||
} else if (e.text === '记录') {
|
||||
uni.navigateTo({ url: '/pages/device/APF/record' })
|
||||
} else if (e.text === '告警') {
|
||||
} else if (e.text === '详情') {
|
||||
uni.navigateTo({ url: '/pages/device/APF/report?id=' + this.devId })
|
||||
} else if (e.text === '关于') {
|
||||
uni.navigateTo({ url: '/pages/device/APF/about?id=' + this.devId })
|
||||
@@ -353,7 +353,7 @@ export default {
|
||||
this.downloadImg()
|
||||
uni.setNavigationBarTitle({ title: this.deviceInfo.devName || '设备详情' })
|
||||
this.topolodyData = this.topolodyData.filter((item) => {
|
||||
let index = this.deviceInfo.appsLineTopologyDiagramPO.findIndex((element) => {
|
||||
let index = this.deviceInfo.appsLineTopologyDiagramPO?.findIndex((element) => {
|
||||
element.label = element.name
|
||||
item.label = element.name
|
||||
return element.linePostion === item.linePostion
|
||||
@@ -577,6 +577,12 @@ export default {
|
||||
text: '用户',
|
||||
})
|
||||
}
|
||||
if (this.userInfo.authorities === 'operation_manager') {
|
||||
this.content.push({
|
||||
iconPath: '/static/access.png',
|
||||
text: '接入',
|
||||
})
|
||||
}
|
||||
}
|
||||
this.$util.getDictData('Line_Position').then((res) => {
|
||||
this.topolodyData = res.map((item) => {
|
||||
|
||||
Reference in New Issue
Block a user