设备编辑
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view class="content" v-if="deviceInfo">
|
||||
<view v-if="navMenuActive == 0">
|
||||
<basic :deviceInfo="deviceInfo"></basic>
|
||||
</view>
|
||||
@@ -95,8 +95,8 @@
|
||||
@trigger="trigger"
|
||||
/>
|
||||
<uni-popup ref="share" type="share" :safe-area="false">
|
||||
<uni-popup-share title="分享到" ></uni-popup-share>
|
||||
<view style="height: 40rpx;background: #fff;"></view>
|
||||
<uni-popup-share title="分享到"></uni-popup-share>
|
||||
<view style="height: 40rpx; background: #fff"></view>
|
||||
</uni-popup>
|
||||
</view>
|
||||
</view>
|
||||
@@ -213,7 +213,7 @@ export default {
|
||||
} else if (e.item.text === '告警') {
|
||||
uni.navigateTo({ url: '/pages/device/APF/report' })
|
||||
} else if (e.item.text === '关于') {
|
||||
uni.navigateTo({ url: '/pages/device/APF/about' })
|
||||
uni.navigateTo({ url: '/pages/device/APF/about?id=' + this.devId })
|
||||
} else if (e.item.text === '移交') {
|
||||
uni.navigateTo({ url: '/pages/device/transfer?id=' + this.devId })
|
||||
} else if (e.item.text === '反馈') {
|
||||
@@ -226,6 +226,10 @@ export default {
|
||||
this.$util.toast('功能暂未开放')
|
||||
} else if (e.item.text === '模版') {
|
||||
this.$util.toast('效果是功能暂未开放直接打开报表')
|
||||
} else if (e.item.text === '编辑') {
|
||||
uni.navigateTo({
|
||||
url: '/pages/device/edit?deviceInfo=' + encodeURIComponent(JSON.stringify(this.deviceInfo)),
|
||||
})
|
||||
}
|
||||
this.$refs.fab.close()
|
||||
},
|
||||
@@ -388,6 +392,10 @@ export default {
|
||||
iconPath: '/static/delate.png',
|
||||
text: '删除',
|
||||
})
|
||||
this.content.splice(0, 0, {
|
||||
iconPath: '/static/feedback.png',
|
||||
text: '编辑',
|
||||
})
|
||||
this.content.splice(0, 0, {
|
||||
iconPath: '/static/transfer.png',
|
||||
text: '移交',
|
||||
|
||||
Reference in New Issue
Block a user