From 0503db82345547e24dc5dc19fcf39a30b2c9a6bc Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 23 八月 2023 15:37:57 +0800
Subject: [PATCH] 首页
---
src/api/standardLibrary.js | 38 +++++++++++++++++++++++++++++---------
1 files changed, 29 insertions(+), 9 deletions(-)
diff --git a/src/api/standardLibrary.js b/src/api/standardLibrary.js
index 3a8ca84..a3fedfb 100644
--- a/src/api/standardLibrary.js
+++ b/src/api/standardLibrary.js
@@ -4,7 +4,9 @@
return request({
url: '/material/list',
method: 'get',
- params
+ params: {
+ specificationName: params
+ }
})
}
@@ -17,14 +19,14 @@
})
}
-// 鑾峰彇鎵�鏈夌埗椤圭洰瀵瑰簲鐨勫瓙椤圭洰
-export function getProductSonList(params) {
- return request({
- url: '/product/father',
- method: 'get',
- params
- })
-}
+// // 鑾峰彇鎵�鏈夌埗椤圭洰瀵瑰簲鐨勫瓙椤圭洰
+// export function getProductSonList(params) {
+// return request({
+// url: '/product/father',
+// method: 'get',
+// params
+// })
+// }
// 娣诲姞鐗╂枡
export function addMaterial(data) {
@@ -52,3 +54,21 @@
data
})
}
+
+// 鎵归噺鍒犻櫎
+export function deleteListApi(ids) {
+ return request({
+ url: '/product/deleteList',
+ method: 'delete',
+ params: {ids: ids.toString()}
+ })
+}
+
+// 澶卞幓鐒︾偣鏇存柊
+export function blurUpdateApi(obj) {
+ return request({
+ url: '/product/write',
+ method: 'post',
+ params: obj
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3