You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
669 B
TypeScript
33 lines
669 B
TypeScript
11 months ago
|
import { http } from "@/utils/http";
|
||
|
|
||
|
/** 查询字典树 */
|
||
|
export const queryCommonDictTree = (data?: object) => {
|
||
|
return http.request(
|
||
|
"get",
|
||
|
"/virtual-patient-manage/commonDic/queryCommonDictTree",
|
||
|
{
|
||
|
params: data
|
||
|
}
|
||
|
);
|
||
|
};
|
||
|
/** 上传文件*/
|
||
|
|
||
|
export const uploadFile = (data?: object) => {
|
||
|
return http.request(
|
||
|
"post",
|
||
|
"/virtual-patient-manage/fileManage/uploadFile",
|
||
|
{ data },
|
||
|
{ headers: { "Content-Type": "multipart/form-data" } }
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export const loadFileBase64 = (data?: object) => {
|
||
|
return http.request(
|
||
|
"get",
|
||
|
"/virtual-patient-manage/fileManage/loadFileBase64",
|
||
|
{
|
||
|
params: data
|
||
|
}
|
||
|
);
|
||
|
};
|