Commit 83e0bb53 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化接口

parent 5ebb49ec
......@@ -49,6 +49,16 @@ export const getSampleformMatterList = (data) => {
});
};
// 查询事项详情
export const getSampleformMatterInfo = (params) => {
let baseUrl = local.getLocal("serverUrl");
return request({
url: `${baseUrl}basics_api/sampleform/matter/interinfo`,
method: "get",
params,
});
};
// 查询设备关联事项列表
export const getDeviceMatterList = (data) => {
let baseUrl = local.getLocal("serverUrl");
......@@ -83,7 +93,7 @@ export const getMaterialsList = (data) => {
export const getMatterFolderList = (data) => {
let baseUrl = local.getLocal("serverUrl");
return request({
url: `${baseUrl}sampleform/matter/category/list`,
url: `${baseUrl}basics_api/sampleform/matter/category/list`,
method: "post",
data,
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment