Commit 2630810e by liuyong

修改bug

1 parent f9197d99
...@@ -495,3 +495,28 @@ export function queryViewManageQingDan(params) { ...@@ -495,3 +495,28 @@ export function queryViewManageQingDan(params) {
export function archiIntelligenceSearchTree(params) { export function archiIntelligenceSearchTree(params) {
return post('/network/archi-asset-view/assetTree', 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 { ...@@ -455,6 +455,7 @@ export default {
state: 1, state: 1,
archiBelongId: this.graphGroup, archiBelongId: this.graphGroup,
assetConstant: this.assetConstant, assetConstant: this.assetConstant,
archiViewId: this.viewId
} }
queryArchiGraph(params).then(res => { queryArchiGraph(params).then(res => {
if(res.code == 200) { if(res.code == 200) {
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
class="filter-tree" class="filter-tree"
:data="treeData" :data="treeData"
:highlight-current="true" :highlight-current="true"
:props="{ children: 'subList', label: 'assetName', id: 'assetId' }"
default-expand-all default-expand-all
node-key="viewId" node-key="assetId"
@node-click="treeClick" @check="treeCheckChange"
:props="{ children: 'subList', label: 'viewName', id: 'viewId' }"
ref="tree"> ref="tree">
</el-tree> </el-tree>
<div class="right_container"> <div class="right_container">
...@@ -18,8 +18,7 @@ ...@@ -18,8 +18,7 @@
<script> <script>
import { import {
getJiShuZhengCeGuanLianShiYongTable, archiIntelligenceSearchTree,
getDianXingAnLiSelectData
} from '@/api/index.js'; } from '@/api/index.js';
import { MessageBox, Message } from 'element-ui'; import { MessageBox, Message } from 'element-ui';
import $ from 'jquery'; import $ from 'jquery';
...@@ -36,9 +35,21 @@ export default { ...@@ -36,9 +35,21 @@ export default {
}; };
}, },
mounted(){ mounted(){
this.getTreeData();
}, },
methods: { methods: {
getTreeData() {//查询左侧树
const params = {
"assetName": null,
"versionId": null
}
archiIntelligenceSearchTree(params).then(res => {
if(res.code == 200) {
this.treeData = res.data;
}
});
},
treeClick(data, node, e) {//树点击的时候 treeClick(data, node, e) {//树点击的时候
} }
...@@ -61,4 +72,7 @@ export default { ...@@ -61,4 +72,7 @@ export default {
width: calc(100% - 300px); width: calc(100% - 300px);
height: 100%; height: 100%;
} }
/deep/ .is-leaf {
background-color: #fff !important;
}
</style> </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!