parent
043dcd1144
commit
7822519a44
@ -1,28 +1,44 @@
|
||||
import _axios from '@/utils/_axios';
|
||||
import _axios from "@/utils/_axios";
|
||||
import axios from "axios";
|
||||
|
||||
// 获取动态表格列头
|
||||
export const getDynamicTableHeader = data => {
|
||||
export const getDynamicTableHeader = (data) => {
|
||||
return _axios({
|
||||
url: '/api/DoctorMicroservice/DictReportDataSource/QueryPageList',
|
||||
url: "/api/DoctorMicroservice/DictReportDataSource/QueryPageList",
|
||||
params: data,
|
||||
});
|
||||
};
|
||||
|
||||
// 获取动态表格数据
|
||||
export const getDynamicTableList = data => {
|
||||
export const getDynamicTableList = (data) => {
|
||||
return _axios({
|
||||
method: 'post',
|
||||
url: '/api/DoctorMicroservice/DictReportDataSource/GetHistoryAllData',
|
||||
method: "post",
|
||||
url: "/api/DoctorMicroservice/DictReportDataSource/GetHistoryAllData",
|
||||
data,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
// 获取全局变量
|
||||
export const getGlobeConfig = params => {
|
||||
export const getGlobeConfig = (params) => {
|
||||
return _axios({
|
||||
method: 'get',
|
||||
url: '/api/identity/configs/PageList',
|
||||
method: "get",
|
||||
url: "/api/identity/configs/PageList",
|
||||
params,
|
||||
});
|
||||
};
|
||||
|
||||
// 获取音频数据
|
||||
export const getAudio = (data) => {
|
||||
return axios.post(
|
||||
`${window.audioUrl.baseURL}/synthesize`,
|
||||
{
|
||||
...data,
|
||||
},
|
||||
{
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
responseType: "blob",
|
||||
}
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in new issue