From a51e8de5037524ef5e3eed8a3a3f207cb6aadb77 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 15 四月 2024 18:01:11 +0800
Subject: [PATCH] 车间管理删除之后刷新的问题修改+生丝标准设置 界面设计按钮增加点击范围+去掉编码管理模块

---
 src/api/systemSetting/dataDictionary.js |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/src/api/systemSetting/dataDictionary.js b/src/api/systemSetting/dataDictionary.js
index 1889e51..b6f7f61 100644
--- a/src/api/systemSetting/dataDictionary.js
+++ b/src/api/systemSetting/dataDictionary.js
@@ -3,7 +3,7 @@
 // 瀛楀吀鍒楄〃
 export function getDict(data) {
   return request({
-    url: "/api-jl/v1/system/dict?dictType="+data.dictType,
+    url: "/api-jl/v1/system/dict?dictType="+data.dictType+"&keyword="+data.keyword+"&page="+data.page+"&pageSize="+data.pageSize,
     method: "get",
     data
   })
@@ -17,3 +17,20 @@
     data
   })
 }
+
+// 缂栬緫瀛楀吀
+export function editDict(data) {
+  return request({
+    url: "/api-jl/v1/system/dict",
+    method: "put",
+    data
+  })
+}
+// 鍒犻櫎瀛楀吀
+export function deleteDict(data) {
+  return request({
+    url: "/api-jl/v1/system/dict/"+data.id,
+    method: "delete",
+    data
+  })
+}
\ No newline at end of file

--
Gitblit v1.8.0