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/purchase/companyCert.js

73 lines
1.1 KiB
JavaScript

import axios from "@/utils/request";
export function filterCompanyCert(query) {
return axios(
{
url: "/sup/company/cert/filter",
method: "get",
params: query
}
)
}
export function insertCompanyCert(query) {
return axios(
{
url: "/sup/info/insertCompanyCert",
method: "post",
data: query
}
);
}
export function updateCompanyCert(query) {
return axios(
{
url: "/sup/info/updateCompanyCert",
method: "post",
data: query
}
);
}
export function auditSupCert(query) {
return axios(
{
url: "/sale/sup/cert/audit",
method: "post",
data: query
}
);
}
export function revokeSupCert(query) {
return axios(
{
url: "/sale/sup/cert/revoke",
method: "post",
data: query
}
);
}
export function deleteCompanyCert(query) {
return axios(
{
url: "/sup/info/deleteCompanyCert",
method: "post",
data: query
}
);
}