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
1362ca26
authored
2025-02-13 11:06:04 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' of
http://117.78.60.236:8000/csbr-daop/fe-data-asset-management
into develop
2 parents
da139e24
53538f6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
7 deletions
src/views/data_product/productListing.vue
src/views/data_product/productListing.vue
View file @
1362ca2
...
...
@@ -20,7 +20,6 @@ import {
changeNum
,
}
from
"@/utils/common"
;
import
{
passFlowData
,
rejectFlowData
,
revokeFlowData
}
from
"@/api/modules/workFlowService"
;
import
{
content
}
from
"html2canvas/dist/types/css/property-descriptors/content"
;
const
{
proxy
}
=
getCurrentInstance
()
as
any
;
const
router
=
useRouter
();
...
...
@@ -216,6 +215,7 @@ const toSearch = (val: any, clear: boolean = false) => {
if
(
clear
)
{
searchItemList
.
value
.
map
((
item
)
=>
(
item
.
default
=
""
));
searchItemValue
.
value
=
{};
currExchangeGuid
.
value
=
''
;
}
else
{
searchItemValue
.
value
=
Object
.
keys
(
val
).
length
?
{
...
val
}
:
{};
}
...
...
@@ -790,8 +790,11 @@ const btnClick = (item) => {
}
}
const
currExchangeGuid
=
ref
(
''
);
const
cardBtnClick
=
(
item
)
=>
{
console
.
log
(
item
,
'------------------'
)
currExchangeGuid
.
value
=
item
.
exchangeGuid
;
getTableData
(
item
.
exchangeGuid
);
}
...
...
@@ -920,22 +923,23 @@ 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"
@
click=
"cardBtnClick(item)"
>
<div
class=
"card-content"
v-for=
"item in demandListData"
:key=
"item.guid"
@
click=
"cardBtnClick(item)"
:class=
"
{ active: currExchangeGuid == item.exchangeGuid }"
>
<div
class=
"header"
>
<div
class=
"header-top"
>
<img
class=
"left-img"
:src=
"(item.picUrl && typeof item.picUrl == 'string') ? item.picUrl : defaultItemLogo"
alt=
""
/>
<div
class=
"title"
>
{{
item
.
exchangeName
??
'--'
}}
</div>
<div
class=
"title"
>
<ellipsis-tooltip
:content=
"item.exchangeName ?? '--'"
class-name=
"w100f"
:refName=
"'tooltipOver'"
></ellipsis-tooltip></div>
</div>
<div
class=
"right-main"
>
<div
class=
"count-group"
>
<div
class=
"count-item"
>
<div
class=
"item-label"
>
已上架产品数
</div>
<div
class=
"item-num"
>
{{
item
.
listingNum
||
'--'
}}
</div>
<div
class=
"item-num"
>
{{
changeNum
(
item
.
listingNum
||
0
)
}}
</div>
</div>
<div
class=
"count-item"
>
<div
class=
"item-label"
>
审批中产品数
</div>
<div
class=
"item-num"
>
{{
item
.
underReviewNum
||
'--'
}}
</div>
<div
class=
"item-num"
>
{{
changeNum
(
item
.
underReviewNum
||
0
)
}}
</div>
</div>
</div>
</div>
...
...
@@ -1000,15 +1004,27 @@ const formInfo = ref<any>({
display
:
flex
;
flex-wrap
:
wrap
;
padding
:
0
8px
;
padding
:
0
0px
0px
8px
;
.card-content
{
width
:
30
0px
;
width
:
29
0px
;
//
box-shadow
:
0
0
0
1px
#d9d9d9
;
border
:
1px
solid
#d9d9d9
;
border-radius
:
3px
;
margin-right
:
12px
;
margin-bottom
:
12px
;
cursor
:
pointer
;
&:hover
{
border
:
1px
solid
var
(
--el-color-primary
);
}
&
.active
{
border
:
1px
solid
var
(
--el-color-primary
);
.header
{
background-color
:
#ebf6f7
;
}
}
.header
{
display
:
flex
;
...
...
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