// 企业客户/供应商账号相关
import http from "@/apis/axios";
const api = "admin/";
export default {
    // 列表
    list: (data, params) => http(api + "customerlist", data, "post", params),
    // 组织新建
    zadd: (data, params) => http(api + "customercreate", data, "post", params),
    // 组织详情
    zdetail: (data, params) => http(api + "customerselect", data, "post", params),
    // 组织更新
    zupdate: (data, params) => http(api + "customerupdate", data, "post", params),
    // 组织删除
    zdelete: (data, params) => http(api + "customerdelect", data, "post", params),
    // 组织状态
    zstatus: (data, params) => http(api + "customerstatus", data, "post", params),


    // 企业新建
    qadd: (data, params) => http(api + "customarcreate", data, "post", params),
    // 企业更新
    qupdate: (data, params) => http(api + "customaredit", data, "post", params),
    // 企业详情
    qdetail: (data, params) => http(api + "customarinfo", data, "post", params),
    // 企业删除
    qdelete: (data, params) => http(api + "customardelete", data, "post", params),
    // 企业状态
    qstatus: (data, params) => http(api + "customarstatus", data, "post", params),

};
