调整app页面图标样式
This commit is contained in:
@@ -159,6 +159,7 @@ export default {
|
||||
domLoading: true,
|
||||
loading: true,
|
||||
deviceInfo: {},
|
||||
device: {},
|
||||
navMenuActive: 0,
|
||||
navHeight: 0,
|
||||
img: '',
|
||||
@@ -185,8 +186,8 @@ export default {
|
||||
],
|
||||
content: [
|
||||
{
|
||||
iconPath: '/static/report.png',
|
||||
text: '详情',
|
||||
iconPath: '/static/tongji.png',
|
||||
text: '事件',
|
||||
},
|
||||
// {
|
||||
// iconPath: '/static/record.png',
|
||||
@@ -243,8 +244,22 @@ export default {
|
||||
this.$util.toast('下载成功')
|
||||
} else if (e.text === '记录') {
|
||||
uni.navigateTo({ url: '/pages/device/APF/record' })
|
||||
} else if (e.text === '详情') {
|
||||
uni.navigateTo({ url: '/pages/device/APF/report?id=' + this.devId })
|
||||
} else if (e.text === '事件') {
|
||||
// uni.navigateTo({ url: '/pages/device/APF/report?id=' + this.devId })
|
||||
uni.setStorageSync('messageParams', {
|
||||
engineeringName: this.device.engineeringName,
|
||||
engineeringId: this.device.engineeringId, //工程ID
|
||||
projectName: this.device.projectName,
|
||||
projectId: this.device.projectId, //項目ID
|
||||
deviceName: this.device.equipmentName,
|
||||
deviceId: this.device.equipmentId, //设备ID
|
||||
lineName: '',
|
||||
lineId: '', //测点ID
|
||||
type: 0,
|
||||
})
|
||||
uni.switchTab({
|
||||
url: '/pages/index/message1',
|
||||
})
|
||||
} else if (e.text === '关于') {
|
||||
uni.navigateTo({ url: '/pages/device/APF/about?id=' + this.devId })
|
||||
} else if (e.text === '移交') {
|
||||
@@ -526,6 +541,8 @@ export default {
|
||||
|
||||
onLoad(options) {
|
||||
this.pageOptions = options
|
||||
this.device = JSON.parse(options.device)
|
||||
console.log('🚀 ~ options:', options)
|
||||
this.userInfo = uni.getStorageSync(this.$cacheKey.userInfo)
|
||||
this.devId = options.id
|
||||
this.isPrimaryUser = options.isPrimaryUser
|
||||
|
||||
Reference in New Issue
Block a user