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
01bfea00
authored
2025-03-07 18:28:25 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据资产登记更新
1 parent
7d9019de
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
src/views/data_asset/registerManagemant.vue
src/views/data_asset/registerStart.vue
src/views/data_asset/registerManagemant.vue
View file @
01bfea0
...
...
@@ -229,7 +229,7 @@ const btnClick = (btn) => {
if
(
type
==
'create'
)
{
router
.
push
({
name
:
'registerStart'
,
query
:
{
exchangeGuid
:
btn
.
exchangeGuid
,
isRestart
:
''
,
type
}
query
:
{
exchangeGuid
:
btn
.
exchangeGuid
,
type
}
});
}
else
if
(
type
==
'search'
)
{
exchangGuid
.
value
=
btn
.
exchangeGuid
;
...
...
@@ -246,7 +246,7 @@ const tableBtnClick = (scope, btn) => {
if
(
type
===
"edit"
)
{
//草稿中\已驳回\已撤销\已通过 状态,才可以编辑。
router
.
push
({
name
:
'registerStart'
,
query
:
{
guid
:
row
.
guid
,
exchangeGuid
:
row
.
exchangeGuid
,
name
:
row
.
daName
,
isRestart
:
btn
.
label
==
'重新提交'
?
'true'
:
''
,
tenantGuid
:
row
.
tenantGuid
,
type
}
query
:
{
guid
:
row
.
guid
,
exchangeGuid
:
row
.
exchangeGuid
,
name
:
row
.
daName
,
tenantGuid
:
row
.
tenantGuid
,
type
}
});
}
else
if
(
type
==
"delete"
)
{
delTableOpen
(
"此操作将永久删除该资产登记,是否继续?"
,
"warning"
);
...
...
src/views/data_asset/registerStart.vue
View file @
01bfea0
...
...
@@ -1891,7 +1891,6 @@ const save = () => {
fullscreenLoading
.
value
=
true
;
if
(
draftDetailInfo
.
value
.
guid
)
{
params
.
guid
=
draftDetailInfo
.
value
.
guid
;
params
.
isRestart
=
restart
.
value
;
registerUpdate
(
params
).
then
((
res
:
any
)
=>
{
fullscreenLoading
.
value
=
false
;
if
(
res
.
code
==
proxy
.
$passCode
)
{
...
...
@@ -1948,7 +1947,6 @@ onActivated(() => {
})
onBeforeMount
(()
=>
{
restart
.
value
=
localStorage
.
getItem
(
'isRestart'
)
?
true
:
false
;
if
(
guid
)
{
fullscreenLoading
.
value
=
true
;
getRegiaterDetail
({
guid
:
guid
}).
then
((
res
:
any
)
=>
{
...
...
@@ -1960,6 +1958,9 @@ onBeforeMount(() => {
if
(
approveVO
)
{
deploymentId
.
value
=
approveVO
.
camundaDeploymentId
;
processInstanceId
.
value
=
approveVO
.
camundaInstanceId
;
if
((
approveVO
.
approveState
==
'C'
||
approveVO
.
approveState
==
'R'
)
&&
approveVO
.
staffGuid
==
userData
.
staffGuid
&&
data
.
bizApproveState
!=
'D'
)
{
restart
.
value
=
true
;
}
}
else
{
getCamundaDeploymentId
(
'10017'
,
userData
.
tenantGuid
,
userData
.
staffGuid
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
...
...
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