From 7e9e0bff3ef15366693648f25810723ec557ed62 Mon Sep 17 00:00:00 2001 From: chengxiangling <291105840@qq.com> Date: 星期二, 13 五月 2025 08:52:11 +0800 Subject: [PATCH] 提交修改查询样式,工单计划管理等 --- src/api/system/dict/type.js | 57 ++++++++++++++++++++++++++++++++------------------------- 1 files changed, 32 insertions(+), 25 deletions(-) diff --git a/src/api/system/dict/type.js b/src/api/system/dict/type.js index a0254ba..7d263b7 100644 --- a/src/api/system/dict/type.js +++ b/src/api/system/dict/type.js @@ -1,60 +1,67 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 鏌ヨ瀛楀吀绫诲瀷鍒楄〃 export function listType(query) { return request({ - url: '/system/dict/type/list', - method: 'get', - params: query - }) + url: "/system/dict/type/list", + method: "get", + params: query, + }); } // 鏌ヨ瀛楀吀绫诲瀷璇︾粏 export function getType(dictId) { return request({ - url: '/system/dict/type/' + dictId, - method: 'get' - }) + url: "/system/dict/type/" + dictId, + method: "get", + }); } // 鏂板瀛楀吀绫诲瀷 export function addType(data) { return request({ - url: '/system/dict/type', - method: 'post', - data: data - }) + url: "/system/dict/type", + method: "post", + data: data, + }); } // 淇敼瀛楀吀绫诲瀷 export function updateType(data) { return request({ - url: '/system/dict/type', - method: 'put', - data: data - }) + url: "/system/dict/type", + method: "put", + data: data, + }); } // 鍒犻櫎瀛楀吀绫诲瀷 export function delType(dictId) { return request({ - url: '/system/dict/type/' + dictId, - method: 'delete' - }) + url: "/system/dict/type/" + dictId, + method: "delete", + }); } // 鍒锋柊瀛楀吀缂撳瓨 export function refreshCache() { return request({ - url: '/system/dict/type/refreshCache', - method: 'delete' - }) + url: "/system/dict/type/refreshCache", + method: "delete", + }); } // 鑾峰彇瀛楀吀閫夋嫨妗嗗垪琛� export function optionselect() { return request({ - url: '/system/dict/type/optionselect', - method: 'get' - }) + url: "/system/dict/type/optionselect", + method: "get", + }); +} +// 鏇存柊鎺掍骇鍖哄煙 /system/dict/data/apsArea +export function refreshApsArea() { + return request({ + url: "/system/dict/data/apsArea", + method: "post", + }); } -- Gitblit v1.9.3