解决合并冲突

This commit is contained in:
2025-12-10 14:20:24 +08:00
parent e1385cb3e6
commit 18f6a845e6
804 changed files with 61881 additions and 13577 deletions

View File

@@ -18,6 +18,33 @@ export function advicePrint(data) {
})
}
// 获取全部科室列表
export function getOrgList(data) {
return request({
url:'/app-common/department-list',
method: 'get',
params: data,
})
}
// 获取全部病区列表
export function getWardList(data) {
return request({
url:'/app-common/ward-list',
method: 'get',
params: data,
})
}
// 获取全部供应商列表
export function getSupplierList(data) {
return request({
url:'/app-common/supplier',
method: 'get',
params: data,
})
}
import axios from 'axios';
const env = import.meta.env.MODE;
@@ -27,7 +54,7 @@ if(env == 'development'){
return axios.create(
{
// axios中请求配置有baseURL选项表示请求URL公共部分
baseURL: '',//ybplugin
baseURL: '/ybplugin',//ybplugin
// 超时
timeout: 60000
}
@@ -43,4 +70,4 @@ if(env == 'development'){
}
).post('http://localhost:5000/api/data/', data);
}
}
}