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
4c2c9627
authored
2026-04-02 13:32:56 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 空间审批问题
1 parent
3b595223
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
src/views/data_asset/productSpaceDetail.vue
src/views/data_asset/productSpaceManage.vue
src/views/data_asset/productSpaceManageList.vue
src/views/data_asset/productSpaceDetail.vue
View file @
4c2c962
...
...
@@ -144,6 +144,7 @@ const passDialogBtnClick = (btn, info) => {
passDialogInfo
.
value
.
visible
=
false
;
getDetail
();
updateDetailStatus
.
value
=
true
;
productSpaceStore
.
setIsRefresh
(
true
);
approvalProcessRef
.
value
?.
renderProcessNodes
();
}
else
{
proxy
.
$ElMessage
.
error
(
'审批失败'
);
...
...
@@ -272,6 +273,7 @@ const btnClick = (btn: any) => {
ElMessage
.
success
(
'该审批流程撤销成功!'
);
getDetail
();
updateDetailStatus
.
value
=
true
;
productSpaceStore
.
setIsRefresh
(
true
);
approvalProcessRef
.
value
?.
renderProcessNodes
();
}
else
{
ElMessage
.
error
(
'该审批流程撤销失败!'
);
...
...
src/views/data_asset/productSpaceManage.vue
View file @
4c2c962
...
...
@@ -140,7 +140,7 @@ const newCreate = () => {
const
handleDataClick
=
(
item
)
=>
{
let
approveState
=
item
.
bizApproveState
;
if
(
approveState
==
'A'
||
approveState
==
'Y'
)
{
//通过或审批中,点进去是详情
if
(
approveState
==
'A'
)
{
//审批中,点进去是详情;审批通过的也可以修改吧
router
.
push
({
name
:
'productSpaceDetail'
,
query
:
{
...
...
@@ -151,9 +151,9 @@ const handleDataClick = (item) => {
return
;
}
const
staffGuid
=
item
.
createUserId
||
''
;
let
currentStaffGuid
=
userData
.
tenant
Guid
;
let
currentStaffGuid
=
userData
.
user
Guid
;
// 如果是驳回等状态,是自己创建的可以编辑。
if
((
approveState
==
'C'
||
approveState
==
'E'
||
approveState
==
'R'
))
{
if
((
approveState
==
'C'
||
approveState
==
'E'
||
approveState
==
'R'
||
approveState
==
'Y'
))
{
router
.
push
({
name
:
staffGuid
==
currentStaffGuid
?
'productSpaceEdit'
:
'productSpaceDetail'
,
query
:
{
...
...
src/views/data_asset/productSpaceManageList.vue
View file @
4c2c962
...
...
@@ -157,6 +157,10 @@ const getTableBtns = (row) => {
btnsArr
.
push
({
label
:
"重新提交"
,
value
:
"edit"
})
}
}
/** 此处添加一下审批通过之后,可以重新编辑提交 */
if
(
approveState
==
'Y'
&&
bizApproveState
!=
'D'
&&
!
row
.
nodeId
&&
staffGuid
==
currentStaffGuid
)
{
btnsArr
.
push
({
label
:
"编辑"
,
value
:
"edit"
})
}
isShowCancel
&&
btnsArr
.
push
({
label
:
"撤销"
,
value
:
"revoke"
})
flowState
===
3
&&
btnsArr
.
push
({
label
:
"删除"
,
value
:
"delete"
})
}
...
...
@@ -259,7 +263,7 @@ const tableBtnClick = (scope, btn) => {
name
:
'productSpaceDetail'
,
query
:
{
guid
:
row
.
guid
,
name
:
row
.
connector
Name
name
:
row
.
space
Name
}
});
}
else
if
(
type
===
'pass'
)
{
...
...
@@ -454,4 +458,8 @@ const rejectDialogBtnClick = (btn, info) => {
.container_wrap
{
padding
:
0px
16px
;
}
.tools_btns
{
padding-bottom
:
8px
;
}
</
style
>
\ No newline at end of file
...
...
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