fix:修改topoList的层级

This commit is contained in:
zhangyu
2022-01-11 10:19:26 +08:00
parent d9c31596e2
commit 18cd4d8cfd
4 changed files with 4 additions and 4 deletions

View File

@@ -67,7 +67,7 @@
:width="155">
<div slot="header" class="table-operation-title">{{$t('overall.option')}}</div>
<div slot-scope="scope" class="table-operation-items">
<button class="table-operation-item" @click="changeProjectTopo(scope.row)"><i class="nz-icon nz-icon-view1"></i></button>
<button class="table-operation-item" @click="changeProjectTopo(scope.row)" v-has="'topo_list'"><i class="nz-icon nz-icon-view1"></i></button>
<el-dropdown size="medium" v-has="['project_edit','project_delete','alertSilence_add']" trigger="click" @command="tableOperation">
<div class="table-operation-item table-operation-item--more">
<i class="nz-icon nz-icon-more3"></i>

View File

@@ -1,7 +1,7 @@
<template>
<div class="main-list main-list--project">
<projectList ref="dataList" :class="showList?'projectList':'hide'"/>
<projectTopo :class="showList?'projectTopo':'projectTopo ml10'" />
<projectTopo :class="showList?'projectTopo':'projectTopo ml10'" v-has="'topo_list'"/>
</div>
</template>

View File

@@ -1,6 +1,6 @@
<template>
<div class="project">
<topologyL5 v-if="reloadFacade" ref="facade" v-has="'topo_list'" :obj="currentProject" :topologyIndexF="topologyIndexF" targetTab.sync="panel" @changeTopologyIndexF="changeTopologyIndexF"/>
<topologyL5 v-if="reloadFacade" ref="facade" :obj="currentProject" :topologyIndexF="topologyIndexF" targetTab.sync="panel" @changeTopologyIndexF="changeTopologyIndexF"/>
<transition name="el-zoom-in-bottom">
<bottom-box v-if="bottomBox.showSubList"

View File

@@ -5,7 +5,7 @@ import ElementUI from 'element-ui'
import Vue from 'vue'
import i18n, { loadI18n } from './components/common/i18n'
import VueResource from 'vue-resource'
import bus from "@/libs/bus";
import bus from '@/libs/bus'
Vue.use(VueResource)