Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
555c7f5b
authored
2025-01-19 15:51:05 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
e2402a3a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
5 deletions
src/api/modules/securityMenu.ts
src/views/data_asset/registerCatalogDetail.vue
src/views/data_asset/registerDetail.vue
src/views/security_menu/index.vue
src/api/modules/securityMenu.ts
0 → 100644
View file @
555c7f5
import
request
from
"@/utils/request"
;
/**
*@description 获取数据产品目录合规信息分页
*@path /dam-catalog-table/compliance-info/page-list
*@method post
*/
export
const
getComplianceInfoPageList
=
(
params
)
=>
{
return
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/dam-catalog-table/compliance-info/page-list`
,
method
:
'post'
,
data
:
params
})
}
/**
* @description 修改数据产品目录合规信息
* @path /dam-catalog-table/compliance-info/update
* @method post
*/
export
const
updateComplianceInfo
=
(
params
)
=>
{
return
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/dam-catalog-table/compliance-info/update`
,
method
:
'post'
,
data
:
params
})
}
src/views/data_asset/registerCatalogDetail.vue
View file @
555c7f5
...
...
@@ -126,7 +126,6 @@ const getDetailInfo = () => {
if
(
res
.
code
==
proxy
.
$passCode
)
{
const
data
=
res
.
data
||
{};
costAssessDetail
.
value
=
data
;
console
.
log
(
'costAssessDetail'
,
costAssessDetail
.
value
);
evaDetailInfo
.
value
=
data
;
deploymentId
.
value
=
data
.
approveVO
.
camundaDeploymentId
;
processInstanceId
.
value
=
data
.
approveVO
?.
camundaInstanceId
;
...
...
@@ -973,8 +972,8 @@ const formattedAmount = computed(() => {
</div>
</ContentWrap>
<ContentWrap
id=
"id-qualityEvaluate"
v-if=
"
route.query.type == 'qualityEvaluate' && evaDetailInfo.qualityScore != null"
title=
"质量评价
"
description=
"资产质量评价信息"
style=
"margin: 16px 16px 16px"
>
v-if=
"
(route.query.type == 'qualityEvaluate' && evaDetailInfo.qualityScore != null) || (route.query.type == 'costAssess' && evaDetailInfo.qualityScore != null)
"
title=
"质量评价"
description=
"资产质量评价信息"
style=
"margin: 16px 16px 16px"
>
<div
class=
"list_panel"
>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
质量得分:
</span>
...
...
src/views/data_asset/registerDetail.vue
View file @
555c7f5
...
...
@@ -140,6 +140,27 @@ const getDetailInfo = () => {
tabsInfo
.
value
.
tabs
.
splice
(
3
,
1
);
}
}
if
(
data
.
qualityScore
)
{
// 确保"质量评价"标签存在于tabs中,并插入到"价值评估"前面
const
qualityTabIndex
=
tabsInfo
.
value
.
tabs
.
findIndex
(
tab
=>
tab
.
name
===
"qualityEvaluate"
);
const
costAssessTabIndex
=
tabsInfo
.
value
.
tabs
.
findIndex
(
tab
=>
tab
.
name
===
"costAssess"
);
if
(
qualityTabIndex
===
-
1
)
{
if
(
costAssessTabIndex
>
-
1
)
{
// 如果"价值评估"标签存在,插入"质量评价"在它之前
tabsInfo
.
value
.
tabs
.
splice
(
costAssessTabIndex
,
0
,
{
label
:
"质量评价"
,
name
:
"qualityEvaluate"
,
description
:
'质量评估相关信息'
});
}
else
{
// 如果没有"价值评估"标签,插入到最后
tabsInfo
.
value
.
tabs
.
push
({
label
:
"质量评价"
,
name
:
"qualityEvaluate"
,
description
:
'质量评估相关信息'
});
}
}
evaDetailInfo
.
value
.
qualityScore
=
data
.
qualityScore
;
evaDetailInfo
.
value
.
evaluationRangeStart
=
data
.
evaluationRangeStart
;
evaDetailInfo
.
value
.
evaluationRangeEnd
=
data
.
evaluationRangeEnd
;
evaDetailInfo
.
value
.
evaluationNote
=
data
.
evaluationNote
;
evaDetailInfo
.
value
.
evaluationFile
=
data
.
evaluationFile
;
}
if
(
fullPath
===
route
.
fullPath
)
{
document
.
title
=
`详情-
${
data
.
daName
}
`
;
}
...
...
@@ -1690,8 +1711,9 @@ const formattedDate = (dateVal) => {
<
/div
>
<
/div
>
<
/ContentWrap
>
<
ContentWrap
id
=
"id-qualityEvaluate"
v
-
if
=
"tabsInfo.tabs.find(t => t.name == 'qualityEvaluate')"
title
=
"质量评价"
description
=
"资产质量评价信息"
expandSwicth
style
=
"margin-top: 15px"
:
isExpand
=
"qualityEvaluateExpand"
<
ContentWrap
id
=
"id-qualityEvaluate"
v
-
if
=
"tabsInfo.tabs.find(t => t.name == 'qualityEvaluate') || (route.query.type == 'costAssess' && evaDetailInfo.qualityScore != null)"
title
=
"质量评价"
description
=
"资产质量评价信息"
expandSwicth
style
=
"margin-top: 15px"
:
isExpand
=
"qualityEvaluateExpand"
@
expand
=
"(v) => qualityEvaluateExpand = v"
>
<
div
class
=
"list_panel"
>
<
div
class
=
"list_item"
>
...
...
src/views/security_menu/index.vue
View file @
555c7f5
This diff is collapsed.
Click to expand it.
Write
Preview
Styling with
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