From 7039f82c43d5367c21a715ed7e51cca75c14cf1a Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期六, 26 八月 2023 16:11:39 +0800
Subject: [PATCH] 8-26人员管理对接角色权限结束

---
 src/api/standardLibrary.js |   37 +++++++++++++++++++++++++++----------
 1 files changed, 27 insertions(+), 10 deletions(-)

diff --git a/src/api/standardLibrary.js b/src/api/standardLibrary.js
index 3a8ca84..09b57f9 100644
--- a/src/api/standardLibrary.js
+++ b/src/api/standardLibrary.js
@@ -1,10 +1,9 @@
 import request from '@/utils/request'
 
-export function getMaterialList(params) {
+export function getMaterialList() {
   return request({
     url: '/material/list',
     method: 'get',
-    params
   })
 }
 
@@ -17,14 +16,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 +51,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