From bbbc478129f72b26e2ec4a2e981ed8698a96880c Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 22 十月 2026 00:28:18 +0800
Subject: [PATCH] 当service_type=6时,需要根据传入的入院还是离院病区(病区)去后端查询
---
src/api/system/config.js | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/api/system/config.js b/src/api/system/config.js
index a404d82..ed66326 100644
--- a/src/api/system/config.js
+++ b/src/api/system/config.js
@@ -28,7 +28,7 @@
// 鏂板鍙傛暟閰嶇疆
export function addConfig(data) {
return request({
- url: '/system/config',
+ url: '/system/config/add',
method: 'post',
data: data
})
@@ -37,8 +37,8 @@
// 淇敼鍙傛暟閰嶇疆
export function updateConfig(data) {
return request({
- url: '/system/config',
- method: 'put',
+ url: '/system/config/edit',
+ method: 'post',
data: data
})
}
@@ -46,15 +46,15 @@
// 鍒犻櫎鍙傛暟閰嶇疆
export function delConfig(configId) {
return request({
- url: '/system/config/' + configId,
- method: 'delete'
+ url: '/system/config/remove/' + configId,
+ method: 'get'
})
}
// 鍒锋柊鍙傛暟缂撳瓨
export function refreshCache() {
return request({
- url: '/system/config/refreshCache',
- method: 'delete'
+ url: '/system/config/refreshCache/remove',
+ method: 'get'
})
}
--
Gitblit v1.9.3