refactor: 彻底清除所有openhis痕迹
- 重命名目录: openhis-server-new → healthlink-his-server - 重命名目录: openhis-ui-vue3 → healthlink-his-ui - 重命名Java类: OpenHisApplication → HealthLinkHisApplication - 重命名Java类: OpenHisMiniApp → HealthLinkHisMiniApp - 重命名组件目录: OpenHis → HealthLinkHis - 重命名样式文件: openhis.scss → healthlink-his.scss - 重命名配置: nginx-openhis.conf → nginx-healthlink-his.conf - 更新所有源码引用 (0个残留) - 更新所有文档/脚本/配置中的引用
This commit is contained in:
62
healthlink-his-ui/src/api/system/userConfig.js
Executable file
62
healthlink-his-ui/src/api/system/userConfig.js
Executable file
@@ -0,0 +1,62 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询用户配置列表
|
||||
export function listUserConfig(query) {
|
||||
return request({
|
||||
url: '/system/userConfig/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询用户配置详细
|
||||
export function getUserConfig(configId) {
|
||||
return request({
|
||||
url: '/system/userConfig/' + configId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增用户配置
|
||||
export function addUserConfig(data) {
|
||||
return request({
|
||||
url: '/system/userConfig',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改用户配置
|
||||
export function updateUserConfig(data) {
|
||||
return request({
|
||||
url: '/system/userConfig',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除用户配置
|
||||
export function delUserConfig(configId) {
|
||||
return request({
|
||||
url: '/system/userConfig/' + configId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取当前用户的指定配置
|
||||
export function getCurrentUserConfig(configKey) {
|
||||
return request({
|
||||
url: '/system/userConfig/currentUserConfig',
|
||||
method: 'get',
|
||||
params: { configKey }
|
||||
})
|
||||
}
|
||||
|
||||
// 保存当前用户的配置
|
||||
export function saveCurrentUserConfig(configKey, configValue) {
|
||||
return request({
|
||||
url: '/system/userConfig/saveCurrentUserConfig',
|
||||
method: 'post',
|
||||
params: { configKey, configValue }
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user