From e20162f7ae414a5679a98de4546b63e7ff6926c5 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 23 四月 2024 17:38:25 +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