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
8e1a655e
authored
2025-11-27 15:35:19 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去掉产品上架的审批和数交所相关代码
1 parent
064ac55f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
26 deletions
src/views/data_product/productListing.vue
src/views/data_product/productListingDetail.vue
src/views/data_product/productListing.vue
View file @
8e1a655
...
...
@@ -112,16 +112,16 @@ const tableInfo = ref({
return
scope
.
row
.
listingStatus
==
'Y'
?
'已上架'
:
'未上架'
;
}
},
{
label
:
"主平台审批状态"
,
field
:
"crossPlatformApproveState"
,
type
:
"approveTagBtn"
,
width
:
150
,
align
:
'center'
,
btn
:
{
label
:
'查看'
,
visible
:
(
scope
)
=>
{
return
scope
.
row
.
crossPlatformApproveState
!=
null
;
},
click
:
(
scope
)
=>
{
systemApproveCurrentRowInfo
.
value
=
scope
.
row
;
approvalDialogVisible
.
value
=
true
;
}
}
},
//
{
//
label: "主平台审批状态", field: "crossPlatformApproveState", type: "approveTagBtn", width: 150, align: 'center', btn: {
//
label: '查看', visible: (scope) => {
//
return scope.row.crossPlatformApproveState != null;
//
}, click: (scope) => {
//
systemApproveCurrentRowInfo.value = scope.row;
//
approvalDialogVisible.value = true;
//
}
//
}
//
},
{
label
:
"修改时间"
,
field
:
"updateTime"
,
width
:
TableColumnWidth
.
DATETIME
},
],
loading
:
false
,
...
...
@@ -137,28 +137,34 @@ const tableInfo = ref({
width
:
170
,
btns
:
(
scope
)
=>
{
const
{
row
}
=
scope
;
const
approveVO
=
row
.
approveVO
||
{};
const
currentStaffGuid
=
userData
.
staffGuid
const
bizApproveState
=
row
.
approveState
;
const
approveState
=
approveVO
.
approveState
||
null
;
const
approveStaffGuids
=
approveVO
.
approveStaffGuids
||
[];
const
staffGuid
=
approveVO
.
staffGuid
||
''
;
let
isShowCancel
=
false
;
let
flowState
;
let
list
:
any
=
[];
if
(
approveState
==
'N'
)
{
if
(
bizApproveState
==
'N'
)
{
flowState
=
1
;
}
if
(
approveState
==
'A'
&&
approveStaffGuids
.
indexOf
(
currentStaffGuid
)
>
-
1
)
{
flowState
=
2
;
const
currentStaffGuid
=
userData
.
staffGuid
// const bizApproveState = row.approveState;
// const approveState = approveVO.approveState || null;
// const approveStaffGuids = approveVO.approveStaffGuids || [];
const
staffGuid
=
row
.
createUserId
||
''
;
let
isShowCancel
=
false
;
// let flowState;
let
list
:
any
=
[];
if
(
bizApproveState
==
'N'
)
{
flowState
=
1
;
}
if
((
bizApproveState
==
'D'
||
approveState
==
'C'
||
approveState
==
'R'
||
row
.
crossPlatformApproveState
==
'E'
||
row
.
crossPlatformApproveState
==
'R'
)
&&
staffGuid
==
currentStaffGuid
)
{
// // 审批中包含。
// if (approveState == 'A' && approveStaffGuids.indexOf(currentStaffGuid) > -1) {
// flowState = 2;
// }
if
((
bizApproveState
==
'D'
||
bizApproveState
==
'C'
||
bizApproveState
==
'R'
||
bizApproveState
==
'E'
||
bizApproveState
==
'R'
)
&&
staffGuid
==
currentStaffGuid
)
{
flowState
=
3
;
}
if
(
approveVO
&&
approveVO
.
a
pproveState
==
'A'
&&
staffGuid
==
currentStaffGuid
)
{
if
(
bizA
pproveState
==
'A'
&&
staffGuid
==
currentStaffGuid
)
{
isShowCancel
=
true
;
}
if
((
bizApproveState
===
'Y'
||
row
.
crossPlatformApproveState
==
'Y'
)
&&
staffGuid
==
currentStaffGuid
)
{
if
((
bizApproveState
===
'Y'
)
&&
staffGuid
==
currentStaffGuid
)
{
if
(
row
.
listingStatus
==
'Y'
)
{
list
.
push
({
label
:
"下架"
,
value
:
"down"
});
}
else
{
...
...
@@ -168,9 +174,9 @@ const tableInfo = ref({
if
(
flowState
===
1
)
{
list
=
[{
label
:
"编辑"
,
value
:
"edit"
},
{
label
:
"删除"
,
value
:
"del"
}]
}
if
(
flowState
===
2
)
{
list
=
[{
label
:
"通过"
,
value
:
"pass"
},
{
label
:
"驳回"
,
value
:
"reject"
}]
}
//
if (flowState === 2) {
//
list = [{ label: "通过", value: "pass" }, { label: "驳回", value: "reject" }]
//
}
if
(
flowState
===
3
)
{
list
.
push
({
label
:
"删除"
,
value
:
"del"
})
}
...
...
src/views/data_product/productListingDetail.vue
View file @
8e1a655
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