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/spsSyncStatus.js

55 lines
928 B
JavaScript

import axios from "@/utils/request";
export function filterLog(query) {
return axios({
url: "/spssync/basic/udiinfo/filter",
method: "get",
params: query
});
}
export function deleteLog(query) {
return axios({
url: "/spssync/basic/udiinfo/deleteByStatus",
method: "post",
data: query
});
}
export function createSchedule(query) {
return axios({
url: "/spssync/basic/schedule/create",
method: "post",
data: query
});
}
export function findConfig(query) {
return axios({
url: "/system/param/syncData/config",
method: "get",
params: query
});
}
export function updateConfig(query) {
return axios({
url: "/system/param/syncData/save",
method: "post",
data: query
});
}
export function infoByStatus(query) {
return axios({
url: "/spssync/basic/udiinfo/infoByStatus",
method: "post",
data: query,
responseType: 'blob'
});
}