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
4b6216c9
authored
2025-01-14 10:34:56 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
9fbd7335
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
4 deletions
src/api/modules/dataProduct.ts
src/views/data_product/productListing.vue
src/views/data_product/productListingDetail.vue
src/api/modules/dataProduct.ts
View file @
4b6216c
...
...
@@ -10,6 +10,15 @@ export const getProductList = (params) => request({
method
:
'get'
,
params
})
/** 获取数交所产品
* @param {Object} params
* path: /dam-catalog-table/data-exchange/get-table-select
*/
export
const
getDataExchangeProductList
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/dam-catalog-table/data-exchange/get-table-select`
,
method
:
'get'
,
params
})
/** 获取已添加的数据产品列表 */
export
const
getAddedProductList
=
(
params
)
=>
request
({
...
...
src/views/data_product/productListing.vue
View file @
4b6216c
...
...
@@ -500,8 +500,17 @@ const demandListData: any = ref([
{
companyName
:
'深数所'
,
listedNum
:
16
,
processNum
:
1235
},
{
companyName
:
'苏数所'
,
listedNum
:
16
,
processNum
:
1235
},
]);
const
btnClick
=
(
btn
)
=>
{
console
.
log
(
btn
)
const
btnClick
=
(
item
)
=>
{
console
.
log
(
item
)
router
.
push
({
name
:
"productListingDetail"
,
query
:
{
exchangeGuid
:
item
.
exchangeGuid
,
exchangeName
:
item
.
exchangeName
,
type
:
'add'
,
groundingPick
:
'登记得数交所'
,
},
});
}
...
...
@@ -578,15 +587,16 @@ const btnClick = (btn) => {
.list-content
{
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
flex-start
;
flex-wrap
:
wrap
;
margin-bottom
:
8px
;
padding
:
0
8px
;
.card-content
{
width
:
calc
(
33.33%
-
10px
)
;
width
:
300px
;
padding
:
16px
;
box-shadow
:
0
0
0
1px
#d9d9d9
;
margin-right
:
12px
;
.header
{
display
:
flex
;
...
...
src/views/data_product/productListingDetail.vue
View file @
4b6216c
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