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 dd5dfc48
authored
Jan 12, 2024
by
Thews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20240112wangwansu
1 parent
50270694
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
45 deletions
src/router/index.js
src/views/Main/index.vue
src/views/archi-asset-manage/index.vue
src/views/comCenterServeList/index.vue
src/router/index.js
View file @
dd5dfc4
...
@@ -130,6 +130,11 @@ const routes = [
...
@@ -130,6 +130,11 @@ const routes = [
name
:
'archiAssetManage'
,
name
:
'archiAssetManage'
,
component
:
()
=>
import
(
'@/views/archi-asset-manage/index.vue'
),
component
:
()
=>
import
(
'@/views/archi-asset-manage/index.vue'
),
},
},
{
path
:
'/main/comCenterServeList/'
,
//企业中台服务清单
name
:
'comCenterServeList'
,
component
:
()
=>
import
(
'@/views/comCenterServeList/index.vue'
),
},
]
]
}
}
]
]
...
...
src/views/Main/index.vue
View file @
dd5dfc4
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
<img
src=
"@/assets/main/3img.png"
alt=
""
>
<img
src=
"@/assets/main/3img.png"
alt=
""
>
<span
style=
"margin-left: 5px;"
>
总体架构资产管理
</span>
<span
style=
"margin-left: 5px;"
>
总体架构资产管理
</span>
</div>
</div>
<div
class=
"menu_1_item_subtitle"
>
<div
class=
"menu_1_item_subtitle"
@
click=
"jumpPage('总体架构资产设计与维护', '总体架构资产维护', '企业中台服务清单')"
>
<img
src=
"@/assets/main/3img.png"
alt=
""
>
<img
src=
"@/assets/main/3img.png"
alt=
""
>
<span
style=
"margin-left: 5px;"
>
企业中台服务清单
</span>
<span
style=
"margin-left: 5px;"
>
企业中台服务清单
</span>
</div>
</div>
...
@@ -587,6 +587,10 @@
...
@@ -587,6 +587,10 @@
this
.
$router
.
push
(
'/main/archiAssetManage'
,
()
=>
{},
()
=>
{}
);
this
.
$router
.
push
(
'/main/archiAssetManage'
,
()
=>
{},
()
=>
{}
);
this
.
visible1
=
false
;
this
.
visible1
=
false
;
break
;
break
;
case
'企业中台服务清单'
:
this
.
$router
.
push
(
'/main/comCenterServeList'
,
()
=>
{},
()
=>
{}
);
this
.
visible1
=
false
;
break
;
}
}
}
}
}
}
...
...
src/views/archi-asset-manage/index.vue
View file @
dd5dfc4
...
@@ -32,7 +32,11 @@
...
@@ -32,7 +32,11 @@
<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=
"assetName"
label=
"业务组件名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"assetName"
label=
"业务组件名称"
align=
"center"
></el-table-column>
<el-table-column
prop=
"assetType"
label=
"业务组件类型"
align=
"center"
></el-table-column>
<el-table-column
prop=
"assetType"
label=
"业务组件类型"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span
>
{{
dicObj
.
eleLtId
[
scope
.
row
.
assetType
]
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"parentAssetName"
label=
"上级业务组件"
align=
"center"
></el-table-column>
<el-table-column
prop=
"parentAssetName"
label=
"上级业务组件"
align=
"center"
></el-table-column>
<el-table-column
prop=
"createMan"
label=
"创建人"
align=
"center"
></el-table-column>
<el-table-column
prop=
"createMan"
label=
"创建人"
align=
"center"
></el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建时间"
align=
"center"
></el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建时间"
align=
"center"
></el-table-column>
...
@@ -115,6 +119,8 @@ import {
...
@@ -115,6 +119,8 @@ import {
getArchiAssetManageList
,
getArchiAssetManageList
,
getArchiAssetManageAdd
,
getArchiAssetManageAdd
,
getArchiAssetManageUpdate
,
getArchiAssetManageUpdate
,
getEleList
,
getDianXingAnLiSelectData
,
getDianXingAnLiSelectData
,
getTypicalExampleList
,
getTypicalExampleList
,
getTypicalExampleAdd
,
getTypicalExampleAdd
,
...
@@ -217,6 +223,7 @@ export default {
...
@@ -217,6 +223,7 @@ export default {
prjType
:
{},
prjType
:
{},
problemType
:
{},
problemType
:
{},
problemLevel
:
{},
problemLevel
:
{},
eleLtId
:
{},
},
},
};
};
},
},
...
@@ -226,15 +233,12 @@ export default {
...
@@ -226,15 +233,12 @@ export default {
})
})
this
.
set_table_height
();
this
.
set_table_height
();
// 获取元素列表
this
.
getYuansuList
();
// 初始化查询列表
// 初始化查询列表
this
.
getList
();
this
.
getList
();
// 获取元素列表
// this.get_an_li_lei_xing_select();
// this.get_wen_ti_lei_xing_select();
// this.get_xiang_mu_lei_xing_select();
// this.get_wen_ti_deng_ji_select();
},
},
methods
:
{
methods
:
{
// 查询列表
// 查询列表
...
@@ -369,45 +373,17 @@ export default {
...
@@ -369,45 +373,17 @@ export default {
})
})
},
},
get_an_li_lei_xing_select
()
{
//案例类型下拉
// 获取元素列表
const
params
=
{
getYuansuList
()
{
key
:
"kl_case_type"
getEleList
().
then
(
res
=>
{
}
if
(
res
.
code
==
200
)
{
getDianXingAnLiSelectData
(
params
).
then
(
res
=>
{
this
.
eleList
=
res
.
data
;
if
(
res
.
code
==
200
)
{
this
.
eleList
.
forEach
(
item
=>
{
this
.
selectData1
=
res
.
data
;
this
.
dicObj
.
eleLtId
[
item
.
elementId
]
=
item
.
elementName
;
}
})
},
get_wen_ti_lei_xing_select
()
{
//问题类型下拉
const
params
=
{
key
:
"kl_question_type"
}
getDianXingAnLiSelectData
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
selectData2
=
res
.
data
;
}
})
},
get_xiang_mu_lei_xing_select
()
{
//项目类型下拉
const
params
=
{
key
:
"kl_project_type"
}
getDianXingAnLiSelectData
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
selectData3
=
res
.
data
;
}
})
})
},
console
.
log
(
this
.
dicObj
.
eleLtId
);
get_wen_ti_deng_ji_select
()
{
//问题等级下拉
const
params
=
{
key
:
"kl_question_level"
}
}
getDianXingAnLiSelectData
(
params
).
then
(
res
=>
{
});
if
(
res
.
code
==
200
)
{
this
.
selectData4
=
res
.
data
;
}
})
},
},
set_table_height
()
{
//动态设置表格高度
set_table_height
()
{
//动态设置表格高度
...
...
src/views/comCenterServeList/index.vue
0 → 100644
View file @
dd5dfc4
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