数据定价对接计算接口
Showing
3 changed files
with
10 additions
and
0 deletions
| ... | @@ -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({ | ... | ... |
This diff is collapsed.
Click to expand it.
| ... | @@ -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 }; | ... | ... |
-
Please register or sign in to post a comment