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
9e81860c
authored
2025-07-31 17:29:26 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据定价对接计算接口
1 parent
6ab4698d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
src/api/modules/dataPricing.ts
src/views/data_pricing/calculateConfig.vue
src/api/modules/dataPricing.ts
View file @
9e81860
...
...
@@ -242,6 +242,15 @@ export const getPriceResult = (params) => {
});
};
// 计算数据定价
export
const
calculatPrice
=
(
params
)
=>
{
return
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/pricing-data/calculate-price`
,
method
:
"post"
,
data
:
params
,
});
};
// 删除数据定价
export
const
deletePrice
=
(
params
)
=>
{
return
request
({
...
...
src/views/data_pricing/calculateConfig.vue
View file @
9e81860
...
...
@@ -21,7 +21,8 @@ import {
savePrice
,
getModelDemand
,
getPriceResult
,
exportModelScore
exportModelScore
,
calculatPrice
}
from
'@/api/modules/dataPricing'
;
import
{
changeNum
}
from
"@/utils/common"
;
...
...
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