fix: 恢复project修改,修复overview/asset接口
This commit is contained in:
@@ -43,6 +43,7 @@ import nzBottomDataList from '@/components/common/bottomBox/nzBottomDataList'
|
|||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import bus from '@/libs/bus'
|
import bus from '@/libs/bus'
|
||||||
import alertMessageTable from '@/components/common/table/alert/alertMessageTable.vue'
|
import alertMessageTable from '@/components/common/table/alert/alertMessageTable.vue'
|
||||||
|
import { fromRoute } from '@/components/common/js/constants'
|
||||||
// import {getTime} from "@/components/common/js/tools";
|
// import {getTime} from "@/components/common/js/tools";
|
||||||
// import chartDataFormat from "@/components/charts/chartDataFormat";
|
// import chartDataFormat from "@/components/charts/chartDataFormat";
|
||||||
|
|
||||||
@@ -293,14 +294,16 @@ export default {
|
|||||||
delete this.searchLabel.endAt
|
delete this.searchLabel.endAt
|
||||||
}
|
}
|
||||||
this.tools.loading = true
|
this.tools.loading = true
|
||||||
if (this.targetTab === 'moduleAlertMessage') {
|
if (this.from === fromRoute.module) {
|
||||||
this.searchLabel.moduleIds = this.obj.id
|
this.searchLabel.moduleIds = this.obj.id
|
||||||
} else {
|
} else if (this.from === fromRoute.endpoint) {
|
||||||
this.searchLabel.endpointIds = this.obj.id
|
this.searchLabel.endpointIds = this.obj.id
|
||||||
|
} else if (this.from === fromRoute.asset) {
|
||||||
|
this.searchLabel.assetIds = this.obj.id
|
||||||
}
|
}
|
||||||
this.$get(this.url, this.searchLabel).then(response => {
|
this.$get(this.url, this.searchLabel).then(response => {
|
||||||
this.tools.loading = false
|
this.tools.loading = false
|
||||||
if (response.code == 200) {
|
if (response.code === 200) {
|
||||||
this.nowTime = this.utcTimeToTimezoneStr(response.time)
|
this.nowTime = this.utcTimeToTimezoneStr(response.time)
|
||||||
this.tableData = response.data.list
|
this.tableData = response.data.list
|
||||||
const axiosAll = []
|
const axiosAll = []
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ import subDataListMixin from '@/components/common/mixin/subDataList'
|
|||||||
import nzBottomDataList from '@/components/common/bottomBox/nzBottomDataList'
|
import nzBottomDataList from '@/components/common/bottomBox/nzBottomDataList'
|
||||||
import endpointTable from '@/components/common/table/settings/endpointTable'
|
import endpointTable from '@/components/common/table/settings/endpointTable'
|
||||||
import EditEndpointBoxNew from '@/components/common/rightBox/editEndpointBoxNew'
|
import EditEndpointBoxNew from '@/components/common/rightBox/editEndpointBoxNew'
|
||||||
|
import {fromRoute} from "@/components/common/js/constants";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'terminalLogTab',
|
name: 'terminalLogTab',
|
||||||
@@ -56,7 +57,6 @@ export default {
|
|||||||
obj: {
|
obj: {
|
||||||
immediate: true,
|
immediate: true,
|
||||||
handler (n) {
|
handler (n) {
|
||||||
console.log(n)
|
|
||||||
if (n) {
|
if (n) {
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
}
|
}
|
||||||
@@ -99,7 +99,11 @@ export default {
|
|||||||
pageNo: this.pageObj.pageNo,
|
pageNo: this.pageObj.pageNo,
|
||||||
pageSize: this.pageObj.pageSize
|
pageSize: this.pageObj.pageSize
|
||||||
}
|
}
|
||||||
|
if (this.from === fromRoute.module) {
|
||||||
params.moduleIds = this.obj.id
|
params.moduleIds = this.obj.id
|
||||||
|
} else if (this.from === fromRoute.asset) {
|
||||||
|
params.assetIds = this.obj.id
|
||||||
|
}
|
||||||
this.$get(this.url, params).then(response => {
|
this.$get(this.url, params).then(response => {
|
||||||
this.tools.loading = false
|
this.tools.loading = false
|
||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
</style>
|
</style>
|
||||||
<template>
|
<template>
|
||||||
<div class="project-box list-page" v-loading="topologyLoading" v-has="'topo_list'">
|
<div class="project-box list-page" v-loading="topologyLoading" v-has="'topo_list'">
|
||||||
<div class="main-list">
|
<!--project主要信息-->
|
||||||
<div class="main-container">
|
<div v-if="showTopTools&&!fromOverView" :style="{'background':editTopologyFlag?'#F6F6F6':'#ffffff','border-bottom':editTopologyFlag? '1px solid #F6F6F6':'' }" class="project-title">
|
||||||
<div v-if="editTopologyFlag" class="edit-topologyLine" style="padding-left: 20px;width: calc(100% - 20px);position: absolute;top: 9px;padding-right: 20px">
|
<div v-show="editTopologyFlag" class="edit-topologyLine" style="padding-left: 20px;width: calc(100% - 20px);position: absolute;top: 9px;padding-right: 20px">
|
||||||
<!--工具栏-->
|
<!--工具栏-->
|
||||||
<span class="project-topology-tool">
|
<span class="project-topology-tool">
|
||||||
<el-dropdown trigger="click" size="small" placement="bottom-start" v-has="'topo_icon_list'">
|
<el-dropdown trigger="click" size="small" placement="bottom-start" v-has="'topo_icon_list'">
|
||||||
@@ -110,9 +110,19 @@
|
|||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="!editTopologyFlag&&!fromOverView" class="top-tools">
|
<div v-if="!editTopologyFlag&&!fromOverView" class="top-tool-main-right top-tools" style="width: 100%;display: flex;justify-content: space-between;padding-left: 10px;padding-top: 10px">
|
||||||
<div>{{topologyInfo.name}}</div>
|
<div>{{topologyInfo.name}}</div>
|
||||||
<div v-if="!editTopologyFlag&&!fromPrev&&!fromOverView" class="top-tool-right">
|
<span v-show="!editTopologyFlag&&!fromPrev&&!fromOverView" class="edit-topologyLine" style="padding-top: 5px">
|
||||||
|
<button class="top-tool-btn float-right" style="border-right: 1px solid rgba(162,162,162,0.50);margin-right: 12px;"
|
||||||
|
type="button" @click="changeScreen"
|
||||||
|
>
|
||||||
|
<i :class="topoScreen?'nz-icon-exit-full-screen':'nz-icon-full-screen'" class="nz-icon"></i>
|
||||||
|
</button>
|
||||||
|
<button v-has="'project_topo_update'" class="top-tool-btn float-right"
|
||||||
|
style="border-right: 1px solid rgba(162,162,162,0.50);margin-right: 12px;" type="button" @click="editTopology"
|
||||||
|
>
|
||||||
|
<i :title="$t('project.topology.edit')" class="nz-icon nz-icon-edit"></i>
|
||||||
|
</button>
|
||||||
<pick-time
|
<pick-time
|
||||||
v-show="!editTopologyFlag"
|
v-show="!editTopologyFlag"
|
||||||
ref="pickTime"
|
ref="pickTime"
|
||||||
@@ -120,37 +130,10 @@
|
|||||||
:refresh-data-func="dateChange"
|
:refresh-data-func="dateChange"
|
||||||
:showTimePicker="false"
|
:showTimePicker="false"
|
||||||
:use-chart-unit="false"
|
:use-chart-unit="false"
|
||||||
class="pickTime margin-r-10">
|
class="float-right pickTime top-tool-btn-group">
|
||||||
</pick-time>
|
</pick-time>
|
||||||
<button v-has="'project_topo_update'" class="top-tool-btn margin-r-10" type="button" @click="editTopology">
|
|
||||||
<i :title="$t('project.topology.edit')" class="nz-icon nz-icon-edit"></i>
|
</span>
|
||||||
</button>
|
|
||||||
<button class="top-tool-btn" type="button" @click="changeScreen">
|
|
||||||
<i :class="topoScreen?'nz-icon-exit-full-screen':'nz-icon-full-screen'" class="nz-icon"></i>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="nz-table2">
|
|
||||||
<!--悬浮network部分-->
|
|
||||||
<div class="network-info">
|
|
||||||
<div v-if="popDataShow.main">
|
|
||||||
<popDataMain :moduleId="moduleId" :projectId="projectInfo.id"></popDataMain>
|
|
||||||
</div>
|
|
||||||
<div v-if="popDataShow.info">
|
|
||||||
<popDataInfo :moduleId="moduleId" :projectId="projectInfo.id"></popDataInfo>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!--endpoint-->
|
|
||||||
<transition name="right-box">
|
|
||||||
<endpointTable v-if="popDataShow.endpoint" :moduleId="moduleId" :projectId="projectInfo.id"
|
|
||||||
@close="popDataShowUpdate('',true)">endpoint
|
|
||||||
</endpointTable>
|
|
||||||
</transition>
|
|
||||||
<div v-if="!fromOverView&&!editTopologyFlag&&!fromPrev" class="right-bottom-zoom">
|
|
||||||
<div class="zoom-option" style="border-bottom: 1px solid #c5c8cb;" @click="zoomMap(0.25)"><span><i class="nz-icon nz-icon-enlarge"></i></span></div>
|
|
||||||
<div class="zoom-option" @click="zoomMap(-0.25)"><span><i class="nz-icon nz-icon-narrow"></i></span></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div :class="['page',fromOverView?'overview-page':'']" :style="{'border':fromOverView?'none':'1px solid #eeeeee'}">
|
<div :class="['page',fromOverView?'overview-page':'']" :style="{'border':fromOverView?'none':'1px solid #eeeeee'}">
|
||||||
@@ -233,6 +216,21 @@
|
|||||||
<!--<li>3.选中元素 按下Delete键或者Backspace可以删除元素</li>-->
|
<!--<li>3.选中元素 按下Delete键或者Backspace可以删除元素</li>-->
|
||||||
<!--</ul>-->
|
<!--</ul>-->
|
||||||
<!--</div>-->
|
<!--</div>-->
|
||||||
|
<!--悬浮network部分-->
|
||||||
|
<div class="network-info">
|
||||||
|
<div v-if="popDataShow.main">
|
||||||
|
<popDataMain :moduleId="moduleId" :projectId="projectInfo.id"></popDataMain>
|
||||||
|
</div>
|
||||||
|
<div v-if="popDataShow.info">
|
||||||
|
<popDataInfo :moduleId="moduleId" :projectId="projectInfo.id"></popDataInfo>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--endpoint-->
|
||||||
|
<transition name="right-box">
|
||||||
|
<endpointTable v-if="popDataShow.endpoint" :moduleId="moduleId" :projectId="projectInfo.id"
|
||||||
|
@close="popDataShowUpdate('',true)">endpoint
|
||||||
|
</endpointTable>
|
||||||
|
</transition>
|
||||||
<!--asset-->
|
<!--asset-->
|
||||||
<transition name="right-box">
|
<transition name="right-box">
|
||||||
<assetTable v-if="popDataShow.asset" :moduleId="moduleId" :projectId="projectInfo.id"
|
<assetTable v-if="popDataShow.asset" :moduleId="moduleId" :projectId="projectInfo.id"
|
||||||
@@ -324,6 +322,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<div v-if="!fromOverView&&!editTopologyFlag&&!fromPrev" class="right-bottom-zoom">
|
||||||
|
<div class="zoom-option" style="border-bottom: 1px solid #c5c8cb;" @click="zoomMap(0.25)"><span><i class="nz-icon nz-icon-enlarge"></i></span></div>
|
||||||
|
<div class="zoom-option" @click="zoomMap(-0.25)"><span><i class="nz-icon nz-icon-narrow"></i></span></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -1547,6 +1549,7 @@ export default {
|
|||||||
upload () {
|
upload () {
|
||||||
const form = new FormData()
|
const form = new FormData()
|
||||||
form.append('file', this.file)
|
form.append('file', this.file)
|
||||||
|
console.log(this.file)
|
||||||
if (this.uploadPic.name) {
|
if (this.uploadPic.name) {
|
||||||
form.append('name', this.uploadPic.name)
|
form.append('name', this.uploadPic.name)
|
||||||
} else {
|
} else {
|
||||||
@@ -1559,7 +1562,7 @@ export default {
|
|||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message({ duration: 2000, type: 'success', message: this.$t('tip.saveSuccess') })
|
this.$message({ duration: 2000, type: 'success', message: this.$t('tip.saveSuccess') })
|
||||||
this.uploadPicShow = false
|
this.uploadPicShow = false
|
||||||
this.dealImg(`monitor/project/topo/icon/${res.data.id}/1`).then((data,header) => {
|
this.dealImg(`monitor/project/topo/icon/${res.data.id}/0`).then((data,header) => {
|
||||||
const group = this.tools.find(tool => tool.group === this.uploadPic.unit)
|
const group = this.tools.find(tool => tool.group === this.uploadPic.unit)
|
||||||
if (group) {
|
if (group) {
|
||||||
group.children.push({
|
group.children.push({
|
||||||
@@ -1615,7 +1618,7 @@ export default {
|
|||||||
res.data.list.forEach((item, index) => {
|
res.data.list.forEach((item, index) => {
|
||||||
item.imageName = item.name
|
item.imageName = item.name
|
||||||
delete item.name
|
delete item.name
|
||||||
promiseArr.push(this.dealImg(`monitor/project/topo/icon/${item.id}/1`))
|
promiseArr.push(this.dealImg(`monitor/project/topo/icon/${item.id}/0`))
|
||||||
imgArr.push({ ...item })
|
imgArr.push({ ...item })
|
||||||
})
|
})
|
||||||
Promise.all(promiseArr).then((res2,header) => {
|
Promise.all(promiseArr).then((res2,header) => {
|
||||||
@@ -1659,7 +1662,7 @@ export default {
|
|||||||
const promiseArr = []
|
const promiseArr = []
|
||||||
imgidList.forEach((item, index) => {
|
imgidList.forEach((item, index) => {
|
||||||
if (item.data.imageId) {
|
if (item.data.imageId) {
|
||||||
promiseArr.push(this.dealImg(`monitor/project/topo/icon/${item.data.imageId}/1`))
|
promiseArr.push(this.dealImg(`monitor/project/topo/icon/${item.data.imageId}/0`))
|
||||||
} else {
|
} else {
|
||||||
promiseArr.push('')
|
promiseArr.push('')
|
||||||
}
|
}
|
||||||
@@ -1685,10 +1688,13 @@ export default {
|
|||||||
if (url) {
|
if (url) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.$axios
|
this.$axios
|
||||||
.get(url)
|
.get(url, {
|
||||||
.then((res) => {
|
responseType: 'arraybuffer'
|
||||||
|
})
|
||||||
|
.then((res, resHeader) => {
|
||||||
return {
|
return {
|
||||||
data: ('data:image/jpeg;base64,' + res.data),
|
data: ('data:image/jpeg;base64,' + btoa(new Uint8Array(res.data).reduce((data, byte) => data + String.fromCharCode(byte), ''))),
|
||||||
|
header: resHeader
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.then(data => {
|
.then(data => {
|
||||||
@@ -2468,6 +2474,8 @@ export default {
|
|||||||
|
|
||||||
.project-box {
|
.project-box {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: calc(100% - 20px);
|
||||||
|
margin-top: 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<div class="content-col-content-title">{{$t("overall.alert")}}</div>
|
<div class="content-col-content-title">{{$t("overall.alert")}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content-alert-num">{{$t("dashboard.overview.alert.ruleNum")}} : {{(alertRuleData ? alertRuleData.alertRuleTotal : "") | numberFormat}}</div>
|
<div class="content-alert-num">{{$t("dashboard.overview.alert.ruleNum")}} : {{(alertRuleData ? alertRuleData : "") | numberFormat}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -222,7 +222,7 @@ export default {
|
|||||||
endpointData: { num: 0 },
|
endpointData: { num: 0 },
|
||||||
alertMessageLoading: false,
|
alertMessageLoading: false,
|
||||||
alertMessageData: { num: 0 },
|
alertMessageData: { num: 0 },
|
||||||
alertRuleData: [],
|
alertRuleData: 0,
|
||||||
map: null,
|
map: null,
|
||||||
allProject: [],
|
allProject: [],
|
||||||
|
|
||||||
@@ -605,7 +605,9 @@ export default {
|
|||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
this.$get('stat/alertRule/total').then(response => {
|
this.$get('stat/alertRule/total').then(response => {
|
||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
this.alertRuleData = response.data
|
response.data.list.forEach(d => {
|
||||||
|
this.alertRuleData += d.num
|
||||||
|
})
|
||||||
}
|
}
|
||||||
resolve()
|
resolve()
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,17 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="endpoint-list" v-has="'endpoint_list'">
|
<div>
|
||||||
<nz-data-list
|
<nz-data-list
|
||||||
ref="dataList"
|
ref="dataList"
|
||||||
:api="url"
|
:api="url"
|
||||||
:tableId="tableId"
|
|
||||||
class="dataList"
|
|
||||||
:custom-table-title.sync="tools.customTableTitle"
|
:custom-table-title.sync="tools.customTableTitle"
|
||||||
:from="fromRoute.endpoint"
|
:from="fromRoute.endpoint"
|
||||||
:layout="['searchInput', 'elementSet']"
|
:layout="dataListLayout"
|
||||||
:hasSearch="true"
|
:search-msg="searchMsg"
|
||||||
@search="search"
|
@search="search"
|
||||||
:search-msg="searchMsg">
|
>
|
||||||
<template v-slot:top-tool-right>
|
<template v-slot:top-tool-right>
|
||||||
|
<button id="asset-filter" :class="{ 'is-focus': dataListLayout.indexOf('clickSearch') > -1 }" class="top-tool-btn margin-r-10" @click.stop="showClickSearch">
|
||||||
|
<i class="nz-icon nz-icon-funnel"></i>
|
||||||
|
</button>
|
||||||
<export-excel
|
<export-excel
|
||||||
id="expression-template-list"
|
id="expression-template-list"
|
||||||
v-has="''"
|
v-has="''"
|
||||||
@@ -24,7 +25,7 @@
|
|||||||
class="top-tool-export margin-r-10"
|
class="top-tool-export margin-r-10"
|
||||||
>
|
>
|
||||||
<template slot="optionZone">
|
<template slot="optionZone">
|
||||||
<button id="account-add" v-has="'monitor_endpoint_add'" class="top-tool-btn margin-l-20"
|
<button id="account-add" v-has="'monitor_endpoint_add'" class="top-tool-btn"
|
||||||
type="button" @click="add">
|
type="button" @click="add">
|
||||||
<i class="nz-icon-create-square nz-icon"></i>
|
<i class="nz-icon-create-square nz-icon"></i>
|
||||||
</button>
|
</button>
|
||||||
@@ -45,7 +46,7 @@
|
|||||||
v-loading="slotProps.loading"
|
v-loading="slotProps.loading"
|
||||||
:api="url"
|
:api="url"
|
||||||
:custom-table-title="tools.customTableTitle"
|
:custom-table-title="tools.customTableTitle"
|
||||||
:height="searchTableHeight"
|
:height="dataListLayout.indexOf('clickSearch') > -1 ? endpointTableHeight : mainTableHeight"
|
||||||
:table-data="tableData"
|
:table-data="tableData"
|
||||||
:tableId="tableId"
|
:tableId="tableId"
|
||||||
@del="del"
|
@del="del"
|
||||||
@@ -106,6 +107,8 @@ export default {
|
|||||||
blankObject: {}, // 新增/编辑的endpoint
|
blankObject: {}, // 新增/编辑的endpoint
|
||||||
tableId: 'endpointTable',
|
tableId: 'endpointTable',
|
||||||
queryPermission: 'account_view',
|
queryPermission: 'account_view',
|
||||||
|
endpointTableHeight: 'calc(100% - 193px)', // 主列表table高度
|
||||||
|
dataListLayout: ['searchInput', 'elementSet'],
|
||||||
searchMsg: { // 给搜索框子组件传递的信息
|
searchMsg: { // 给搜索框子组件传递的信息
|
||||||
zheze_none: true,
|
zheze_none: true,
|
||||||
searchLabelList: [{
|
searchLabelList: [{
|
||||||
@@ -354,7 +357,4 @@ export default {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
/deep/ .nz-btn-disabled {
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -7,7 +7,9 @@
|
|||||||
:custom-table-title.sync="tools.customTableTitle"
|
:custom-table-title.sync="tools.customTableTitle"
|
||||||
:from="fromRoute.module"
|
:from="fromRoute.module"
|
||||||
:layout="['searchInput', 'elementSet']"
|
:layout="['searchInput', 'elementSet']"
|
||||||
:search-msg="searchMsg">
|
:search-msg="searchMsg"
|
||||||
|
@search="search"
|
||||||
|
>
|
||||||
<template v-slot:top-tool-right>
|
<template v-slot:top-tool-right>
|
||||||
<export-excel
|
<export-excel
|
||||||
id="expression-template-list"
|
id="expression-template-list"
|
||||||
@@ -21,7 +23,7 @@
|
|||||||
class="top-tool-export margin-r-10"
|
class="top-tool-export margin-r-10"
|
||||||
>
|
>
|
||||||
<template slot="optionZone">
|
<template slot="optionZone">
|
||||||
<button id="account-add" v-has="'monitor_module_add'" :title="$t('overall.createUser')" class="top-tool-btn margin-l-20"
|
<button id="account-add" v-has="'monitor_module_add'" :title="$t('overall.createUser')" class="top-tool-btn"
|
||||||
type="button" @click="add">
|
type="button" @click="add">
|
||||||
<i class="nz-icon-create-square nz-icon"></i>
|
<i class="nz-icon-create-square nz-icon"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -25,9 +25,7 @@
|
|||||||
</style>
|
</style>
|
||||||
<template>
|
<template>
|
||||||
<div class="project">
|
<div class="project">
|
||||||
<template>
|
<topologyL5 v-if="reloadFacade" ref="facade" v-has="'topo_list'" :obj="currentProject" :topologyIndexF="topologyIndexF" targetTab.sync="panel" @changeTopologyIndexF="changeTopologyIndexF"/>
|
||||||
<topologyL5 :obj="currentProject" targetTab.sync="panel" ref="facade" :topologyIndexF="topologyIndexF" v-if="reloadFacade" @changeTopologyIndexF="changeTopologyIndexF" v-has="'topo_list'"/>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<transition name="el-zoom-in-bottom">
|
<transition name="el-zoom-in-bottom">
|
||||||
<bottom-box v-if="bottomBox.showSubList"
|
<bottom-box v-if="bottomBox.showSubList"
|
||||||
|
|||||||
@@ -7,9 +7,11 @@
|
|||||||
:custom-table-title.sync="tools.customTableTitle"
|
:custom-table-title.sync="tools.customTableTitle"
|
||||||
:from="fromRoute.project"
|
:from="fromRoute.project"
|
||||||
:layout="['searchInput', 'elementSet']"
|
:layout="['searchInput', 'elementSet']"
|
||||||
:search-msg="searchMsg">
|
:search-msg="searchMsg"
|
||||||
|
@search="search"
|
||||||
|
>
|
||||||
<template v-slot:top-tool-right>
|
<template v-slot:top-tool-right>
|
||||||
<button id="account-add" v-has="'project_add'" :title="$t('overall.createUser')" class="top-tool-btn margin-l-20 margin-r-10"
|
<button id="account-add" v-has="'project_add'" :title="$t('overall.createUser')" class="top-tool-btn margin-r-10"
|
||||||
type="button" @click="add">
|
type="button" @click="add">
|
||||||
<i class="nz-icon-create-square nz-icon"></i>
|
<i class="nz-icon-create-square nz-icon"></i>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user