解决合并冲突
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user