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-cpt-vue/src/api/purchase/companyCert.js

80 lines
1.4 KiB
JavaScript

import axios from "@/utils/request";
export function filterCompanyCert(query) {
return axios(
{
// url: "/sup/company/cert/filterList",
url: "/sup/company/cert/filter",
method: "get",
params: query
}
)
}
//产品
export function filterCompanyCPCert(query) {
return axios(
{
url: "/reg/company/cert/filterList",
// url: "/sup/company/cert/filterList",
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 deleteCompanyCert(query) {
return axios(
{
url: "/sup/info/deleteCompanyCert",
method: "post",
data: query
}
);
}
export function revokeSupCert(query) {
return axios(
{
url: "/sale/sup/cert/revoke",
method: "post",
data: query
}
);
}