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/sup/userComany.js

55 lines
839 B
JavaScript

import request from "@/utils/request";
export function search(param) {
return request({
url: "/udi/auth/user/comapny/search",
method: "get",
params: param
});
}
export function searchCompanyStatus(param) {
return request({
url: "/udi/auth/user/comapny/status/filter",
method: "get",
params: param
});
}
export function updateCompanyConfig(param) {
return request({
url: "/admin/user/config/update",
method: "post",
data: param
});
}
//搬的未完善
export function getSupComapnys(query) {
return axios(
{
url: "/api/pur/getSupComapnys",
method: "get",
params: query
}
);
}
//搬的未完善
export function delSupComapnys(query) {
return axios(
{
url: "/api/pur/supCompany/delete",
method: "post",
data: query
}
);
}