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 50270694
authored
Jan 12, 2024
by
liuyong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.97.176.204:19000/wangwansu/iact_jiagou_drowio
2 parents
a96bb21c
0fdb53a9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
67 deletions
src/api/index.js
src/views/archi-asset-manage/index.vue
src/api/index.js
View file @
5027069
...
@@ -334,3 +334,18 @@ export function addBaoGaoMoBanGuanLianShiYong(params) {
...
@@ -334,3 +334,18 @@ export function addBaoGaoMoBanGuanLianShiYong(params) {
export
function
getMoBanMingCheng
(
params
)
{
export
function
getMoBanMingCheng
(
params
)
{
return
post
(
'/kl-report-temp/gtKlReportTemp'
,
params
);
return
post
(
'/kl-report-temp/gtKlReportTemp'
,
params
);
}
}
// 架构资产
// 获取列表
export
function
getArchiAssetManageList
(
params
)
{
return
post
(
'/network/arc-ast-bi/'
,
params
);
}
// 新增
export
function
getArchiAssetManageAdd
(
params
)
{
return
post
(
'/network/arc-ast-bi/ad'
,
params
);
}
// 修改
export
function
getArchiAssetManageUpdate
(
params
)
{
return
post
(
'/network/arc-ast-bi/upd'
,
params
);
}
src/views/archi-asset-manage/index.vue
View file @
5027069
...
@@ -5,24 +5,12 @@
...
@@ -5,24 +5,12 @@
<div
class=
"search_menu_item_container"
>
<div
class=
"search_menu_item_container"
>
<div
class=
"search_menu_item"
>
<div
class=
"search_menu_item"
>
<span
class=
"search_title"
>
业务组件名称
</span>
<span
class=
"search_title"
>
业务组件名称
</span>
<el-input
v-model=
"params.
tc
Name"
placeholder=
"请输入内容"
class=
"search_item"
></el-input>
<el-input
v-model=
"params.
asset
Name"
placeholder=
"请输入内容"
class=
"search_item"
></el-input>
</div>
</div>
<div
class=
"search_menu_item"
>
<div
class=
"search_menu_item"
>
<span
class=
"search_title"
>
创建人
</span>
<span
class=
"search_title"
>
创建人
</span>
<el-input
v-model=
"params.
tcName
"
placeholder=
"请输入内容"
class=
"search_item"
></el-input>
<el-input
v-model=
"params.
createMan
"
placeholder=
"请输入内容"
class=
"search_item"
></el-input>
</div>
</div>
<!--
<div
class=
"search_menu_item"
>
<span
class=
"search_title"
>
案例类型
</span>
<el-select
v-model=
"params.tcType"
placeholder=
"请选择"
class=
"search_item"
>
<el-option
v-for=
"item in selectData1"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</div>
<div
class=
"search_menu_item"
>
<span
class=
"search_title"
>
问题类型
</span>
<el-select
v-model=
"params.problemType"
placeholder=
"请选择"
class=
"search_item"
>
<el-option
v-for=
"item in selectData2"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</div>
-->
</div>
</div>
<div
class=
"search_menu_btn_container"
>
<div
class=
"search_menu_btn_container"
>
<div
class=
"query_btn"
@
click=
"getList"
>
<div
class=
"query_btn"
@
click=
"getList"
>
...
@@ -41,37 +29,13 @@
...
@@ -41,37 +29,13 @@
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
@
click=
"exportFile"
>
导出
</el-button>
-->
<el-button
type=
"primary"
size=
"medium"
icon=
"el-icon-plus"
@
click=
"exportFile"
>
导出
</el-button>
-->
</div>
</div>
<el-table
:height=
"tableHeight"
@
selection-change=
"handleSelectionChange"
v-loading=
"loading"
:data=
"tableData"
stripe
border
>
<el-table
:height=
"tableHeight"
@
selection-change=
"handleSelectionChange"
v-loading=
"loading"
:data=
"tableData"
stripe
border
>
<!--
<el-table-column
type=
"selection"
width=
"55"
:selectable=
"selectable"
></el-table-column>
-->
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
align=
"center"
></el-table-column>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
align=
"center"
></el-table-column>
<el-table-column
prop=
"tcName"
label=
"业务组件名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"assetName"
label=
"业务组件名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"tcName"
label=
"业务组件类型"
align=
"center"
></el-table-column>
<el-table-column
prop=
"assetType"
label=
"业务组件类型"
align=
"center"
></el-table-column>
<el-table-column
prop=
"tcName"
label=
"上级业务组件"
align=
"center"
></el-table-column>
<el-table-column
prop=
"parentAssetName"
label=
"上级业务组件"
align=
"center"
></el-table-column>
<el-table-column
prop=
"tcName"
label=
"创建人"
align=
"center"
></el-table-column>
<el-table-column
prop=
"createMan"
label=
"创建人"
align=
"center"
></el-table-column>
<el-table-column
prop=
"tcName"
label=
"创建时间"
align=
"center"
></el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建时间"
align=
"center"
></el-table-column>
<!--
<el-table-column
prop=
"tcType"
label=
"案例类型"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span
>
{{
dicObj
.
tcType
[
String
(
scope
.
row
.
tcType
)]
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"prjType"
label=
"项目类型"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
>
{{
dicObj
.
prjType
[
String
(
scope
.
row
.
prjType
)]
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"buildContent"
label=
"建设内容"
align=
"center"
></el-table-column>
<el-table-column
prop=
"archiDetail"
label=
"架构详情"
align=
"center"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"problemType"
label=
"问题类型"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
>
{{
dicObj
.
problemType
[
String
(
scope
.
row
.
problemType
)]
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"problemLevel"
label=
"问题等级"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
>
{{
dicObj
.
problemLevel
[
String
(
scope
.
row
.
problemLevel
)]
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"problemContent"
label=
"问题描述"
align=
"center"
:show-overflow-tooltip=
"true"
></el-table-column>
-->
<el-table-column
label=
"操作"
width=
"260"
align=
"center"
>
<el-table-column
label=
"操作"
width=
"260"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
style=
"display: flex;align-items: center;justify-content: center;"
>
<div
style=
"display: flex;align-items: center;justify-content: center;"
>
...
@@ -148,6 +112,9 @@
...
@@ -148,6 +112,9 @@
<
script
>
<
script
>
import
{
import
{
getArchiAssetManageList
,
getArchiAssetManageAdd
,
getArchiAssetManageUpdate
,
getDianXingAnLiSelectData
,
getDianXingAnLiSelectData
,
getTypicalExampleList
,
getTypicalExampleList
,
getTypicalExampleAdd
,
getTypicalExampleAdd
,
...
@@ -221,9 +188,8 @@ export default {
...
@@ -221,9 +188,8 @@ export default {
params
:
{
params
:
{
current
:
1
,
current
:
1
,
pageSize
:
10
,
pageSize
:
10
,
tcName
:
""
,
assetName
:
""
,
tcType
:
""
,
createMan
:
""
,
problemType
:
""
,
},
},
pager
:
{
pager
:
{
current
:
1
,
current
:
1
,
...
@@ -260,33 +226,20 @@ export default {
...
@@ -260,33 +226,20 @@ export default {
})
})
this
.
set_table_height
();
this
.
set_table_height
();
this
.
selectData1
.
forEach
(
item
=>
{
this
.
dicObj
.
tcType
[
item
.
value
]
=
item
.
label
;
});
this
.
selectData2
.
forEach
(
item
=>
{
this
.
dicObj
.
problemType
[
item
.
value
]
=
item
.
label
;
});
this
.
selectData3
.
forEach
(
item
=>
{
this
.
dicObj
.
prjType
[
item
.
value
]
=
item
.
label
;
});
this
.
selectData4
.
forEach
(
item
=>
{
this
.
dicObj
.
problemLevel
[
item
.
value
]
=
item
.
label
;
});
// 初始化查询列表
// 初始化查询列表
this
.
getList
();
this
.
getList
();
// 获取元素列表
// 获取元素列表
this
.
get_an_li_lei_xing_select
();
//
this.get_an_li_lei_xing_select();
this
.
get_wen_ti_lei_xing_select
();
//
this.get_wen_ti_lei_xing_select();
this
.
get_xiang_mu_lei_xing_select
();
//
this.get_xiang_mu_lei_xing_select();
this
.
get_wen_ti_deng_ji_select
();
//
this.get_wen_ti_deng_ji_select();
},
},
methods
:
{
methods
:
{
// 查询列表
// 查询列表
getList
()
{
getList
()
{
get
TypicalExampl
eList
(
this
.
params
).
then
(
res
=>
{
get
ArchiAssetManag
eList
(
this
.
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
pager
.
total
=
res
.
data
.
total
;
this
.
pager
.
total
=
res
.
data
.
total
;
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
=
res
.
data
.
records
;
...
@@ -298,9 +251,8 @@ export default {
...
@@ -298,9 +251,8 @@ export default {
this
.
params
=
{
this
.
params
=
{
current
:
1
,
current
:
1
,
pageSize
:
10
,
pageSize
:
10
,
tcName
:
""
,
assetName
:
""
,
tcType
:
""
,
createMan
:
""
,
problemType
:
""
,
}
}
},
},
// 所有操作
// 所有操作
...
...
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