ffe5da2f by lxs

数据定价对接计算接口

1 parent 8dd504ae
...@@ -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({
......
...@@ -1095,6 +1095,7 @@ const open = (msg, type, target) => { ...@@ -1095,6 +1095,7 @@ const open = (msg, type, target) => {
1095 } 1095 }
1096 }); 1096 });
1097 }; 1097 };
1098
1098 const drawerBtnClick = async (btn, info) => { 1099 const drawerBtnClick = async (btn, info) => {
1099 if (btn.value == "submit") { 1100 if (btn.value == "submit") {
1100 let params = { ...info }; 1101 let params = { ...info };
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!