Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2630810e
authored
Mar 04, 2024
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
1 parent
f9197d99
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
6 deletions
src/api/index.js
src/views/archi-view-manage/index.vue
src/views/archiAssetVisualShow/index.vue
src/views/projectInfoManage/index.vue
src/views/systemInfoManage/index.vue
src/api/index.js
View file @
2630810
...
@@ -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
);
}
src/views/archi-view-manage/index.vue
View file @
2630810
...
@@ -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
)
{
...
...
src/views/archiAssetVisualShow/index.vue
View file @
2630810
...
@@ -4,10 +4,10 @@
...
@@ -4,10 +4,10 @@
class=
"filter-tree"
class=
"filter-tree"
:data=
"treeData"
:data=
"treeData"
:highlight-current=
"true"
:highlight-current=
"true"
default-expand-all
:props=
"
{ children: 'subList', label: 'assetName', id: 'assetId' }"
node-key=
"viewId"
default-expand-all
@
node-click=
"treeClick
"
node-key="assetId
"
:props=
"
{ children: 'subList', label: 'viewName', id: 'viewId' }
"
@check="treeCheckChange
"
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
src/views/projectInfoManage/index.vue
View file @
2630810
This diff is collapsed.
Click to expand it.
src/views/systemInfoManage/index.vue
View file @
2630810
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment