9e81860c by lxs

数据定价对接计算接口

1 parent 6ab4698d
...@@ -242,6 +242,15 @@ export const getPriceResult = (params) => { ...@@ -242,6 +242,15 @@ export const getPriceResult = (params) => {
242 }); 242 });
243 }; 243 };
244 244
245 // 计算数据定价
246 export const calculatPrice = (params) => {
247 return request({
248 url: `${import.meta.env.VITE_API_NEW_PORTAL}/pricing-data/calculate-price`,
249 method: "post",
250 data: params,
251 });
252 };
253
245 // 删除数据定价 254 // 删除数据定价
246 export const deletePrice = (params) => { 255 export const deletePrice = (params) => {
247 return request({ 256 return request({
......
...@@ -21,7 +21,8 @@ import { ...@@ -21,7 +21,8 @@ import {
21 savePrice, 21 savePrice,
22 getModelDemand, 22 getModelDemand,
23 getPriceResult, 23 getPriceResult,
24 exportModelScore 24 exportModelScore,
25 calculatPrice
25 } from '@/api/modules/dataPricing'; 26 } from '@/api/modules/dataPricing';
26 import { changeNum } from "@/utils/common"; 27 import { changeNum } from "@/utils/common";
27 28
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!