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
d0f9b24a
authored
2025-03-05 17:26:42 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据资产登记更新
1 parent
8e4f7bc0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
src/views/data_asset/registerDetail.vue
src/views/data_asset/registerManagemant.vue
src/views/data_asset/registerDetail.vue
View file @
d0f9b24
...
...
@@ -943,7 +943,7 @@ const passDialogInfo = ref({
footer
:
{
btns
:
[
{
type
:
"default"
,
label
:
"取消"
,
value
:
"cancel"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
false
},
],
},
});
...
...
@@ -975,6 +975,7 @@ const passDialogBtnClick = (btn, info) => {
if
(
submitPromise
.
value
)
{
return
;
}
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
let
params
=
{
guid
:
detailInfo
.
value
.
approveVO
.
approveGuid
,
flowType
:
detailInfo
.
value
.
approveVO
.
flowType
,
...
...
@@ -983,6 +984,7 @@ const passDialogBtnClick = (btn, info) => {
}
submitPromise
.
value
=
passFlowData
(
params
,
tenantGuid
).
then
((
res
:
any
)
=>
{
submitPromise
.
value
=
null
;
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
ElMessage
.
success
(
'审批成功'
);
...
...
@@ -995,11 +997,14 @@ const passDialogBtnClick = (btn, info) => {
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
}).
catch
(()
=>
{
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
});
}
else
if
(
detailType
.
value
==
'qualityEvaluate'
)
{
if
(
submitPromise
.
value
)
{
return
;
}
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
submitPromise
.
value
=
qualityAllow
({
bizGuid
:
detailInfo
.
value
.
guid
,
flowType
:
detailInfo
.
value
.
approveVO
.
flowType
,
...
...
@@ -1017,6 +1022,7 @@ const passDialogBtnClick = (btn, info) => {
})
||
[],
},
tenantGuid
).
then
((
res
:
any
)
=>
{
submitPromise
.
value
=
null
;
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
ElMessage
.
success
(
'审批成功'
);
...
...
@@ -1034,6 +1040,7 @@ const passDialogBtnClick = (btn, info) => {
if
(
submitPromise
.
value
)
{
return
;
}
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
submitPromise
.
value
=
costAssessAllow
({
bizGuid
:
detailInfo
.
value
.
guid
,
flowType
:
detailInfo
.
value
.
approveVO
.
flowType
,
...
...
@@ -1050,6 +1057,7 @@ const passDialogBtnClick = (btn, info) => {
})
||
[]
},
tenantGuid
).
then
((
res
:
any
)
=>
{
submitPromise
.
value
=
null
;
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
if
(
res
.
data
)
{
ElMessage
.
success
(
'审批成功'
);
...
...
@@ -1067,6 +1075,7 @@ const passDialogBtnClick = (btn, info) => {
if
(
submitPromise
.
value
)
{
return
;
}
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
true
;
submitPromise
.
value
=
updateCertificate
({
guid
:
certificateGuid
.
value
,
tenantGuid
:
userData
.
tenantGuid
,
...
...
@@ -1075,6 +1084,7 @@ const passDialogBtnClick = (btn, info) => {
documentFile
:
info
.
documentFile
?.
map
(
f
=>
f
.
url
)
||
[]
}).
then
((
res
:
any
)
=>
{
submitPromise
.
value
=
null
;
passDialogInfo
.
value
.
footer
.
btns
[
1
].
loading
=
false
;
if
(
res
?.
code
==
proxy
.
$passCode
)
{
ElMessage
.
success
(
'该资产发证确认成功'
);
passDialogInfo
.
value
.
visible
=
false
;
...
...
@@ -1121,7 +1131,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
},
],
},
});
...
...
src/views/data_asset/registerManagemant.vue
View file @
d0f9b24
...
...
@@ -417,7 +417,7 @@ const passDialogInfo = ref({
footer
:
{
btns
:
[
{
type
:
"default"
,
label
:
"取消"
,
value
:
"cancel"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
},
{
type
:
"primary"
,
label
:
"确定"
,
value
:
"submit"
,
loading
:
false
},
],
},
});
...
...
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