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
cf7f3bbe
authored
2025-03-05 16:03:31 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复资产按钮加载
1 parent
d2c71d01
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
9 deletions
src/views/data_asset/registerCatalogDetail.vue
src/views/data_asset/registerDetail.vue
src/views/data_asset/valueEvaluate.vue
src/views/data_inventory/classifyGradeCatalogue.vue
src/views/data_product/productListing.vue
src/views/data_asset/registerCatalogDetail.vue
View file @
cf7f3bb
...
...
@@ -828,7 +828,7 @@ const passCommonDialogInfo = ref({
footer
:
{
btns
:
[
{
type
:
"default"
,
label
:
"取消"
,
value
:
"cancel"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
tru
e
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
fals
e
},
],
},
});
...
...
src/views/data_asset/registerDetail.vue
View file @
cf7f3bb
...
...
@@ -1121,7 +1121,7 @@ const rejectDialogInfo = ref({
footer
:
{
btns
:
[
{
type
:
"default"
,
label
:
"取消"
,
value
:
"cancel"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
tru
e
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
fals
e
},
],
},
});
...
...
@@ -1210,7 +1210,7 @@ const passCommonDialogInfo = ref({
footer
:
{
btns
:
[
{
type
:
"default"
,
label
:
"取消"
,
value
:
"cancel"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
tru
e
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
fals
e
},
],
},
});
...
...
src/views/data_asset/valueEvaluate.vue
View file @
cf7f3bb
...
...
@@ -22,6 +22,7 @@ import {
import
useUserStore
from
"@/store/modules/user"
;
import
useDataAssetStore
from
"@/store/modules/dataAsset"
;
import
{
getCamundaDeploymentId
,
getProcessNodesPromise
,
passFlowData
,
rejectFlowData
,
revokeFlowData
,
isMyFirstNode
}
from
'@/api/modules/workFlowService'
;
import
{
changeNum
}
from
'@/utils/common'
;
const
assetStore
=
useDataAssetStore
();
...
...
@@ -328,10 +329,10 @@ const tableBtnClick = (scope, btn) => {
formItems
.
value
[
0
].
visible
=
false
;
formItems
.
value
[
0
].
default
=
row
.
damGuid
;
formItems
.
value
[
1
].
default
=
row
.
costAssessmentFile
||
[];
formItems
.
value
[
2
].
default
=
row
.
qualityScore
;
//
formItems.value[2].default = row.qualityScore;
formItems
.
value
[
3
].
default
=
row
.
evaluationRangeStart
&&
row
.
evaluationRangeEnd
?
[
row
.
evaluationRangeStart
,
row
.
evaluationRangeEnd
]
:
''
;
formItems
.
value
[
4
].
default
=
row
.
evaluationNote
;
formItems
.
value
[
5
].
default
=
row
.
evaluationFile
||
[];
//
formItems.value[4].default = row.evaluationNote;
//
formItems.value[5].default = row.evaluationFile || [];
dialogInfo
.
value
.
type
=
'reSubmit'
;
dialogInfo
.
value
.
visible
=
true
;
}
...
...
@@ -343,6 +344,10 @@ const tableBtnClick = (scope, btn) => {
formItems
.
value
[
0
].
visible
=
false
;
formItems
.
value
[
0
].
default
=
row
.
damGuid
;
formItems
.
value
[
1
].
default
=
row
.
costAssessmentFile
||
[];
formItems
.
value
[
2
].
default
=
changeNum
(
row
.
qualityScore
||
0
,
2
);
formItems
.
value
[
3
].
default
=
row
.
evaluationRangeStart
&&
row
.
evaluationRangeEnd
?
[
row
.
evaluationRangeStart
,
row
.
evaluationRangeEnd
]
:
''
;
formItems
.
value
[
4
].
default
=
row
.
evaluationNote
;
formItems
.
value
[
5
].
default
=
row
.
evaluationFile
||
[];
dialogInfo
.
value
.
type
=
'reSubmit'
;
dialogInfo
.
value
.
visible
=
true
;
}
...
...
@@ -1060,7 +1065,7 @@ const passCommonDialogInfo = ref({
footer
:
{
btns
:
[
{
type
:
"default"
,
label
:
"取消"
,
value
:
"cancel"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
tru
e
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
fals
e
},
],
},
});
...
...
@@ -1097,7 +1102,7 @@ const rejectDialogInfo = ref({
footer
:
{
btns
:
[
{
type
:
"default"
,
label
:
"取消"
,
value
:
"cancel"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
tru
e
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
fals
e
},
],
},
});
...
...
@@ -1117,7 +1122,7 @@ const rejectDialogBtnClick = (btn, info) => {
approveStaffGuid
:
userData
.
staffGuid
}
rejectFlowData
(
params
,
currTableData
.
value
.
tenantGuid
).
then
((
res
:
any
)
=>
{
rejectDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
tru
e
;
rejectDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
fals
e
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
ElMessage
.
success
(
'驳回成功'
);
...
...
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
cf7f3bb
...
...
@@ -1906,6 +1906,9 @@ const selectChange = (val, row, info) => {
// 这里应该是onActivated 钩子,路由从configure-路由从configure-rules跳转过来要重新请求数据、
onActivated
(
async
()
=>
{
if
(
localStorage
.
getItem
(
'shouldReloadData'
)
===
'true'
)
{
if
(
activeName
.
value
==
'数据库目录'
)
{
getDataBaseTreeData
();
}
await
getDataBaseTableData
({
exexGuid
:
execGuidInfo
.
value
.
execGuid
});
...
...
src/views/data_product/productListing.vue
View file @
cf7f3bb
...
...
@@ -1069,6 +1069,7 @@ const rejectDialogBtnClick = (btn, info) => {
font-size
:
16px
;
color
:
#212121
;
font-weight
:
600
;
width
:
calc
(
100%
-
28px
);
}
}
...
...
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