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 d9cbf78a
authored
Mar 05, 2024
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
1 parent
77f9ec60
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
29 deletions
src/api/index.js
src/views/archi-asset-manage/index(旧).vue
src/views/archi-asset-manage/index.vue
src/views/archi-intelligence-search/index.vue
src/views/archiAssetVisualShow/index.vue
src/views/documentEdit/index.vue
src/views/projectInfoManage/index.vue
src/api/index.js
View file @
d9cbf78
...
@@ -429,7 +429,7 @@ export function getCurrentZiChanJiaGouTable(params) {
...
@@ -429,7 +429,7 @@ export function getCurrentZiChanJiaGouTable(params) {
}
}
// 系统资产架构,表格
// 系统资产架构,表格
export
function
getTotalZiChanJiaGouTable
(
params
)
{
export
function
getTotalZiChanJiaGouTable
(
params
)
{
return
post
(
'/network/arc-ast-
tot
/'
,
params
);
return
post
(
'/network/arc-ast-
sys
/'
,
params
);
}
}
// 思维导图
// 思维导图
export
function
queryMindData
(
params
)
{
export
function
queryMindData
(
params
)
{
...
@@ -491,9 +491,13 @@ export function dicyUpdateTableDelete(params) {
...
@@ -491,9 +491,13 @@ export function dicyUpdateTableDelete(params) {
export
function
queryViewManageQingDan
(
params
)
{
export
function
queryViewManageQingDan
(
params
)
{
return
post
(
'/network/ma-ml/asset-ele-list'
,
params
);
return
post
(
'/network/ma-ml/asset-ele-list'
,
params
);
}
}
// 总体架构资产可视化展示,左侧树
export
function
archiAssetShowTree
(
params
)
{
return
post
(
'/network/archi-asset-view/assetLevel'
,
params
);
}
// 总体架构资产智能搜索,左侧树
// 总体架构资产智能搜索,左侧树
export
function
archiIntelligenceSearchTree
(
params
)
{
export
function
archiIntelligenceSearchTree
(
params
)
{
return
post
(
'/network/archi-asset-view/asset
Level
'
,
params
);
return
post
(
'/network/archi-asset-view/asset
Tree
'
,
params
);
}
}
// 系统信息管理,表格
// 系统信息管理,表格
export
function
querysystemInfoManageTable
(
params
)
{
export
function
querysystemInfoManageTable
(
params
)
{
...
@@ -519,8 +523,32 @@ export function addProjectManageTable(params) {
...
@@ -519,8 +523,32 @@ export function addProjectManageTable(params) {
export
function
editDeleteProjectInfoManageTable
(
params
)
{
export
function
editDeleteProjectInfoManageTable
(
params
)
{
return
post
(
'/network/prj-info/upd'
,
params
);
return
post
(
'/network/prj-info/upd'
,
params
);
}
}
// 文档在线编辑,
编辑和删除
// 文档在线编辑,
查询目录树
export
function
queryDocumentCatalog
(
params
)
{
export
function
queryDocumentCatalog
(
params
)
{
return
post
(
'/kl-doc-parser/qryTitleTree'
,
params
);
return
post
(
'/kl-doc-parser/qryTitleTree'
,
params
);
}
}
// 文档在线编辑,查询文档详情
export
function
queryDocumentDetails
(
params
)
{
return
post
(
'/kl-doc-parser/qryById'
,
params
);
}
// 文档在线编辑,删除
export
function
deleteDocument
(
params
)
{
return
post
(
'/kl-doc-parser/delTtile'
,
params
);
}
// 文档在线编辑,新增或修改章节
export
function
addEditDocument
(
params
)
{
return
post
(
'/kl-doc-parser/savOrUptTitle'
,
params
);
}
// 系统资产架构,批量删除,删除
export
function
deleteSystemTable
(
params
)
{
return
post
(
'/network/arc-ast-sys/delBatch'
,
params
);
}
// 系统资产架构,新增
export
function
addSystemTable
(
params
)
{
return
post
(
'/network/arc-ast-sys/ad'
,
params
);
}
// 系统资产架构,编辑
export
function
editSystemTable
(
params
)
{
return
post
(
'/network/arc-ast-sys/upd'
,
params
);
}
src/views/archi-asset-manage/index(旧).vue
View file @
d9cbf78
<
temp
late
>
<
temp
late
>
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
<img
class=
"btn_icon"
src=
"@/assets/archi-ele-list/create.png"
alt=
""
/>
<img
class=
"btn_icon"
src=
"@/assets/archi-ele-list/create.png"
alt=
""
/>
<p>
新建
</p>
<p>
新建
</p>
</div>
-->
</div>
-->
<el-button
@
click=
"add"
type=
"primary"
size=
"medium"
icon=
"el-icon-document-add"
>
新建
</el-button>
<el-button
@
click=
"add
Item
"
type=
"primary"
size=
"medium"
icon=
"el-icon-document-add"
>
新建
</el-button>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-delete"
@
click=
"moreDelete"
>
删除
</el-button>
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-delete"
@
click=
"moreDelete"
>
删除
</el-button>
<!--
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
>
导入
</el-button>
-->
<!--
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
>
导入
</el-button>
-->
<div
class=
"import_btn"
@
click=
"importFile"
>
<div
class=
"import_btn"
@
click=
"importFile"
>
...
@@ -395,7 +395,6 @@
...
@@ -395,7 +395,6 @@
}
else
{
}
else
{
targetAsset
=
[{}];
targetAsset
=
[{}];
}
}
console
.
log
(
targetAsset
)
const
params
=
{
const
params
=
{
archiAssetState
:
this
.
searchParams
.
archiAssetState
,
archiAssetState
:
this
.
searchParams
.
archiAssetState
,
archiStage
:
this
.
searchParams
.
archiStage
,
archiStage
:
this
.
searchParams
.
archiStage
,
...
@@ -519,7 +518,7 @@
...
@@ -519,7 +518,7 @@
this
.
selectLabel2
=
''
;
this
.
selectLabel2
=
''
;
});
});
},
},
add
()
{
//新建
add
Item
()
{
//新建
this
.
addDialog
=
true
;
this
.
addDialog
=
true
;
this
.
is_add_edit
=
'add'
;
this
.
is_add_edit
=
'add'
;
this
.
getShangJiJieDianSelect
();
this
.
getShangJiJieDianSelect
();
...
...
src/views/archi-asset-manage/index.vue
View file @
d9cbf78
This diff is collapsed.
Click to expand it.
src/views/archi-intelligence-search/index.vue
View file @
d9cbf78
...
@@ -36,7 +36,6 @@ export default {
...
@@ -36,7 +36,6 @@ export default {
},
},
mounted
(){
mounted
(){
this
.
getTreeData
();
this
.
getTreeData
();
// this.echarts1();
},
},
methods
:
{
methods
:
{
echarts1
(
seriesData
,
linkData
)
{
echarts1
(
seriesData
,
linkData
)
{
...
@@ -71,7 +70,7 @@ export default {
...
@@ -71,7 +70,7 @@ export default {
}
}
},
},
force
:
{
force
:
{
repulsion
:
6
000
repulsion
:
3
000
},
},
// edgeSymbol: ['circle', 'arrow'],
// edgeSymbol: ['circle', 'arrow'],
data
:
seriesData
,
data
:
seriesData
,
...
@@ -82,12 +81,8 @@ export default {
...
@@ -82,12 +81,8 @@ export default {
this
.
myChart
.
setOption
(
option
);
this
.
myChart
.
setOption
(
option
);
},
},
getTreeData
()
{
//查询左侧树
getTreeData
(
type
)
{
//查询左侧树
const
params
=
{
archiIntelligenceSearchTree
({}).
then
(
res
=>
{
"assetName"
:
null
,
"versionId"
:
null
}
archiIntelligenceSearchTree
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
treeData
=
res
.
data
;
this
.
treeData
=
res
.
data
;
}
}
...
...
src/views/archiAssetVisualShow/index.vue
View file @
d9cbf78
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
class=
"filter-tree"
class=
"filter-tree"
:data=
"treeData"
:data=
"treeData"
:highlight-current=
"true"
:highlight-current=
"true"
:props=
"
{ children: '
subList', label: 'assetName', id: 'assetI
d' }"
:props=
"
{ children: '
children', label: 'name', id: 'i
d' }"
default-expand-all
default-expand-all
node-key="assetId"
node-key="assetId"
@node-click="treeClick"
@node-click="treeClick"
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<
script
>
<
script
>
import
{
import
{
archi
IntelligenceSearch
Tree
,
archi
AssetShow
Tree
,
}
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'
;
...
@@ -31,11 +31,11 @@ export default {
...
@@ -31,11 +31,11 @@ export default {
data
()
{
data
()
{
return
{
return
{
treeData
:
[
treeData
:
[
{
assetId
:
'BUSI'
,
assetName
:
'业务架构'
,
subList
:
[]
},
{
id
:
'BUSI'
,
name
:
'业务架构'
,
children
:
[]
},
{
assetId
:
'APP'
,
assetName
:
'应用架构'
,
subList
:
[]
},
{
id
:
'APP'
,
name
:
'应用架构'
,
children
:
[]
},
{
assetId
:
'DATA'
,
assetName
:
'数据架构'
,
subList
:
[]
},
{
id
:
'DATA'
,
name
:
'数据架构'
,
children
:
[]
},
{
assetId
:
'TECH'
,
assetName
:
'技术架构'
,
subList
:
[]
},
{
id
:
'TECH'
,
name
:
'技术架构'
,
children
:
[]
},
{
assetId
:
'SAFE'
,
assetName
:
'安全架构'
,
subList
:
[]
}
{
id
:
'SAFE'
,
name
:
'安全架构'
,
children
:
[]
}
]
]
};
};
},
},
...
@@ -47,11 +47,11 @@ export default {
...
@@ -47,11 +47,11 @@ export default {
const
params
=
{
const
params
=
{
"assetEnum"
:
type
"assetEnum"
:
type
}
}
archi
IntelligenceSearch
Tree
(
params
).
then
(
res
=>
{
archi
AssetShow
Tree
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
treeData
.
forEach
(
item
=>
{
this
.
treeData
.
forEach
(
item
=>
{
if
(
item
.
assetI
d
==
type
)
{
if
(
item
.
i
d
==
type
)
{
item
.
subList
=
res
.
data
;
item
.
children
=
res
.
data
;
}
}
})
})
}
}
...
@@ -60,8 +60,8 @@ export default {
...
@@ -60,8 +60,8 @@ export default {
treeClick
(
data
,
node
,
e
)
{
//树点击的时候
treeClick
(
data
,
node
,
e
)
{
//树点击的时候
// console.log(data.assetId);
// console.log(data.assetId);
const
type
=
[
'BUSI'
,
'APP'
,
'DATA'
,
'TECH'
,
'SAFE'
];
const
type
=
[
'BUSI'
,
'APP'
,
'DATA'
,
'TECH'
,
'SAFE'
];
if
(
type
.
includes
(
data
.
assetI
d
))
{
if
(
type
.
includes
(
data
.
i
d
))
{
this
.
getTreeData
(
data
.
assetI
d
);
this
.
getTreeData
(
data
.
i
d
);
}
}
}
}
}
}
...
...
src/views/documentEdit/index.vue
View file @
d9cbf78
This diff is collapsed.
Click to expand it.
src/views/projectInfoManage/index.vue
View file @
d9cbf78
...
@@ -45,8 +45,8 @@
...
@@ -45,8 +45,8 @@
<el-table-column
prop=
"appName"
label=
"系统名称"
align=
"center"
width=
"200"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"appName"
label=
"系统名称"
align=
"center"
width=
"200"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
label=
"建设类型"
align=
"center"
>
<el-table-column
label=
"建设类型"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.buildType == 1"
>
统推
</span>
<span
v-if=
"scope.row.buildType == 1"
>
新建
</span>
<span
v-else
>
自
建
</span>
<span
v-else
>
续
建
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"prjName"
label=
"项目名称"
align=
"center"
width=
"200"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"prjName"
label=
"项目名称"
align=
"center"
width=
"200"
:show-overflow-tooltip=
"true"
></el-table-column>
...
...
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