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.
udi-spms-vue/src/api/sync/spsSyncDownload.js

38 lines
722 B
JavaScript

import axios from "@/utils/request";
export function filterLog(query) {
return axios({
url: "/spssync/download/basic/udiinfo/filter",
method: "get",
params: query
});
}
export function deleteLog(query) {
return axios({
url: "/spssync/download/basic/udiinfo/deleteByStatus",
method: "post",
data: query
});
}
export function findConfig(query) {
return axios({
url: "/system/param/syncData/config",
method: "get",
params: query
});
}
export function downloadFile(query) {
return axios({
url: "/sps/sync/download/info/file",
method: "get",
params: query,
responseType: 'blob'
});
}