Commit 2630810e by liuyong

修改bug

1 parent f9197d99
......@@ -495,3 +495,28 @@ export function queryViewManageQingDan(params) {
export function archiIntelligenceSearchTree(params) {
return post('/network/archi-asset-view/assetTree', params);
}
// 系统信息管理,表格
export function querysystemInfoManageTable(params) {
return post('/network/app-info/', params);
}
// 系统信息管理,新增
export function addasystemInfoManageTable(params) {
return post('/network/app-info/ad', params);
}
// 系统信息管理,编辑和删除
export function editDeleteSystemInfoManageTable(params) {
return post('/network/app-info/upd', params);
}
// 项目信息管理,表格
export function queryProjectInfoManageTable(params) {
return post('/network/prj-info/', params);
}
// 项目信息管理,新增
export function addProjectManageTable(params) {
return post('/network/prj-info/ad', params);
}
// 项目信息管理,编辑和删除
export function editDeleteProjectInfoManageTable(params) {
return post('/network/prj-info/upd', params);
}
......@@ -455,6 +455,7 @@ export default {
state: 1,
archiBelongId: this.graphGroup,
assetConstant: this.assetConstant,
archiViewId: this.viewId
}
queryArchiGraph(params).then(res => {
if(res.code == 200) {
......
......@@ -4,10 +4,10 @@
class="filter-tree"
:data="treeData"
:highlight-current="true"
:props="{ children: 'subList', label: 'assetName', id: 'assetId' }"
default-expand-all
node-key="viewId"
@node-click="treeClick"
:props="{ children: 'subList', label: 'viewName', id: 'viewId' }"
node-key="assetId"
@check="treeCheckChange"
ref="tree">
</el-tree>
<div class="right_container">
......@@ -18,8 +18,7 @@
<script>
import {
getJiShuZhengCeGuanLianShiYongTable,
getDianXingAnLiSelectData
archiIntelligenceSearchTree,
} from '@/api/index.js';
import { MessageBox, Message } from 'element-ui';
import $ from 'jquery';
......@@ -36,9 +35,21 @@ export default {
};
},
mounted(){
this.getTreeData();
},
methods: {
getTreeData() {//查询左侧树
const params = {
"assetName": null,
"versionId": null
}
archiIntelligenceSearchTree(params).then(res => {
if(res.code == 200) {
this.treeData = res.data;
}
});
},
treeClick(data, node, e) {//树点击的时候
}
......@@ -61,4 +72,7 @@ export default {
width: calc(100% - 300px);
height: 100%;
}
/deep/ .is-leaf {
background-color: #fff !important;
}
</style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!