From f076107b1adc84c80522b4320a41e7cf0a1c9c5f Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 06 三月 2025 10:05:28 +0800
Subject: [PATCH] 场所或设施+实验室资质搬迁
---
src/api/system/customer.js | 21 ++++++++++++++-------
1 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/src/api/system/customer.js b/src/api/system/customer.js
index 90f7330..7f0cde1 100644
--- a/src/api/system/customer.js
+++ b/src/api/system/customer.js
@@ -4,7 +4,7 @@
// 鏌ヨ瀹㈡埛鍒楄〃
export function selectCustomPageList(query) {
return request({
- url: "/system/user/selectCustomPageList",
+ url: "/system/custom/selectCustomPageList",
method: "get",
params: query,
});
@@ -12,24 +12,31 @@
// 鏂板瀹㈡埛
export function addCustom(query) {
return request({
- url: "/system/user/addCustom",
+ url: "/system/custom/addCustom",
method: "post",
- params: query,
+ data: query,
});
}
// 淇敼瀹㈡埛
export function upCustom(query) {
return request({
- url: "/system/user/upCustom",
+ url: "/system/custom/upCustom",
method: "post",
- params: query,
+ data: query,
});
}
// 鍒犻櫎瀹㈡埛
export function delCustomById(query) {
return request({
- url: "/system/user/delCustomById",
+ url: "/system/custom/delCustomById",
method: "post",
- params: query,
+ data: query,
+ });
+}
+// 鑾峰彇鍗曚綅
+export function selectCustomEnum() {
+ return request({
+ url: "/system/custom/selectCustomEnum",
+ method: "get",
});
}
--
Gitblit v1.9.3