This commit is contained in:
yanran200730
2022-03-28 09:54:18 +08:00
parent 66826caf94
commit e37950d54b
6 changed files with 499 additions and 614 deletions

View File

@@ -1,6 +1,6 @@
<template>
<section class="AppMonitorManage">
<device-slider :show.sync="slider" :ins="instance" :dict="dict" @treeCommand="handleSliderOption" @select="handleSelectMonitor"
<device-slider :permissions="permissions" :show.sync="slider" :ins="instance" :dict="dict" @treeCommand="handleSliderOption" @select="handleSelectMonitor"
:render-item="renderTreeItem" ref="DeviceSlider"/>
<div class="monitorPane">
<div class="headerBar">

View File

@@ -32,7 +32,7 @@
:style="{top: menuInfo.y + 'px', left: menuInfo.x + 'px', position: 'fixed', zIndex: 2023}"
x-placement="top-end">
<li class="el-dropdown-menu__item" @click="handleTreeCommand('edit', menuInfo.node)">修改名称</li>
<li class="el-dropdown-menu__item" @click="handleTreeCommand('area', menuInfo.node)">行政地区</li>
<!-- <li class="el-dropdown-menu__item" @click="handleTreeCommand('area', menuInfo.node)">行政地区</li> -->
<li class="el-dropdown-menu__item" @click="handleTreeCommand('locate', menuInfo.node)">地图标绘</li>
</ul>
</div>
@@ -50,6 +50,7 @@ export default {
show: Boolean,
ins: Function,
dict: Object,
permissions: Function,
renderItem: Function
},
computed: {