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
0cb70e4f
authored
2025-02-08 13:26:22 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
2ee7a970
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
8 deletions
src/views/data_asset/qualityEvaluate.vue
src/views/data_asset/valueEvaluate.vue
src/views/data_product/productListing.vue
src/views/security_menu/index.vue
src/views/data_asset/qualityEvaluate.vue
View file @
0cb70e4
...
...
@@ -363,6 +363,7 @@ const formItems = ref([{
visible
:
true
,
default
:
[],
field
:
'qualityEvaluationFile'
,
limit
:
1
,
}]);
const
formRules
=
ref
({
...
...
src/views/data_asset/valueEvaluate.vue
View file @
0cb70e4
...
...
@@ -338,7 +338,7 @@ const tableBtnClick = (scope, btn) => {
// dialogInfo.value.type = 'reSubmit';
// dialogInfo.value.visible = true;
// }
if
(
row
.
quality
Score
||
(
!
row
.
qualityScore
&&
!
row
.
qualityEvaluationGuid
)
)
{
if
(
row
.
quality
EvaluationGuid
)
{
formItems
.
value
[
2
].
visible
=
false
;
formItems
.
value
[
3
].
visible
=
false
;
formItems
.
value
[
4
].
visible
=
false
;
...
...
@@ -353,7 +353,7 @@ const tableBtnClick = (scope, btn) => {
dialogInfo
.
value
.
type
=
'reSubmit'
;
dialogInfo
.
value
.
visible
=
true
;
}
if
(
!
row
.
quality
Score
&&
row
.
quality
EvaluationGuid
)
{
if
(
!
row
.
qualityEvaluationGuid
)
{
formItems
.
value
[
2
].
visible
=
true
;
formItems
.
value
[
3
].
visible
=
true
;
formItems
.
value
[
4
].
visible
=
true
;
...
...
@@ -558,6 +558,7 @@ const formItems = ref<any>([
},
block
:
true
,
visible
:
true
,
limit
:
1
,
},
// 质量评分 type: input
{
...
...
src/views/data_product/productListing.vue
View file @
0cb70e4
...
...
@@ -152,7 +152,7 @@ const tableInfo = ref({
if
(
approveVO
&&
approveVO
.
approveState
==
'A'
&&
staffGuid
==
currentStaffGuid
)
{
isShowCancel
=
true
;
}
if
(
a
pproveState
===
'Y'
)
{
if
(
bizA
pproveState
===
'Y'
)
{
if
(
row
.
listingStatus
===
'Y'
)
{
list
.
push
({
label
:
"下架"
,
value
:
"down"
});
}
...
...
@@ -186,13 +186,14 @@ const tableInfo = ref({
const
getTableData
=
()
=>
{
const
getTableData
=
(
exchangeGuid
=
''
)
=>
{
tableInfo
.
value
.
loading
=
true
;
// flowDetailLoading.value = true;
getListingList
(
Object
.
assign
({},
searchItemValue
.
value
,
{
pageIndex
:
page
.
value
.
curr
,
pageSize
:
page
.
value
.
limit
,
exchangeGuid
:
exchangeGuid
})
)
.
then
((
res
:
any
)
=>
{
...
...
@@ -788,6 +789,11 @@ const btnClick = (item) => {
}
}
const
cardBtnClick
=
(
item
)
=>
{
console
.
log
(
item
,
'------------------'
)
getTableData
(
item
.
exchangeGuid
);
}
const
formInfo
=
ref
<
any
>
({
id
:
'check-form'
,
col
:
'col2'
,
...
...
@@ -913,7 +919,7 @@ const formInfo = ref<any>({
</div>
<div
v-loading=
"flowDetailLoading"
>
<div
class=
"list-content"
v-if=
"demandListData.length > 0"
>
<div
class=
"card-content"
v-for=
"item in demandListData"
:key=
"item.guid"
>
<div
class=
"card-content"
v-for=
"item in demandListData"
:key=
"item.guid"
@
click=
"cardBtnClick(item)"
>
<div
class=
"header"
>
<div
class=
"header-top"
>
<img
class=
"left-img"
...
...
@@ -933,7 +939,7 @@ const formInfo = ref<any>({
</div>
</div>
</div>
<div
class=
"operator-btn"
@
click=
"btnClick(item)"
>
<div
class=
"operator-btn"
@
click
.
stop
=
"btnClick(item)"
>
<!--
<div
class=
"left-btn"
>
更新模板
</div>
-->
<div
class=
"right-btn"
>
产品上架
</div>
</div>
...
...
src/views/security_menu/index.vue
View file @
0cb70e4
...
...
@@ -49,9 +49,32 @@ const tableInfo = ref({
}
},
{
label
:
"状态"
,
field
:
"updateTime"
,
width
:
100
,
getName
:
(
scope
)
=>
{
label
:
"状态"
,
field
:
"updateTime"
,
width
:
TableColumnWidth
.
STATE
,
align
:
'center'
,
type
:
"tag"
,
getName
:
(
scope
)
=>
{
//状态(1:待上传 2:部分上传 3:全部上传 )
return
statusList
.
find
((
item
)
=>
item
.
value
==
scope
.
row
.
state
)?.
label
||
'待上传'
;
// return statusList.find((item) => item.value == scope.row.state)?.label || '待上传';
const
state
=
statusList
.
find
((
item
)
=>
item
.
value
==
scope
.
row
.
state
)?.
label
||
'待上传'
;
switch
(
state
)
{
case
'待上传'
:
return
'待上传'
;
case
'部分上传'
:
return
'部分上传'
;
case
'全部上传'
:
return
'全部上传'
;
default
:
return
'待上传'
;
}
},
tagType
:
(
scope
)
=>
{
const
state1
=
scope
.
row
.
state
;
switch
(
state1
)
{
case
'1'
:
return
'warning'
;
case
'2'
:
return
'warning'
;
case
'3'
:
return
'success'
;
default
:
return
'info'
;
}
}
},
{
...
...
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