|
@@ -2,34 +2,20 @@
|
|
|
import http from "@/apis/axios";
|
|
|
const api = "admin/";
|
|
|
export default {
|
|
|
- // // 添加
|
|
|
- // add: (data, params) => http(api + "customeradd", data, "post", params),
|
|
|
- // // 删除
|
|
|
- // delete: (data, params) => http(api + "gooddel", data, "post", params),
|
|
|
- // // 分页查询
|
|
|
- // list: (data, params) => http(api + "customerlist", data, "post", params),
|
|
|
- // // 详情
|
|
|
- // detail: (data, params) => http(api + "customerinfo", data, "post", params),
|
|
|
- // // 更改
|
|
|
- // update: (data, params) => http(api + "customersave", data, "post", params),
|
|
|
- // // 更新状态
|
|
|
- // status: (data, params) => http(api + "customerstatus", data, "post", params),
|
|
|
- // // 提交审核申请
|
|
|
- // again: (data, params) => http(api + 'customeragain', data, 'post', params),
|
|
|
- // // 审核人提交审核结果
|
|
|
- // exam: (data, params) => http(api + 'customerexam', data, 'post', params),
|
|
|
- // // 获取全部企业
|
|
|
- // companyall: (data, params) => http(api + "companyall", data, "post", params),
|
|
|
// 新建
|
|
|
- add: (data, params) => http(api + "resultcreate", data, "post", params),
|
|
|
+ add: (data, params) => http(api + "customarcreate", data, "post", params),
|
|
|
// 删除
|
|
|
- delete: (data, params) => http(api + "resultdel", data, "post", params),
|
|
|
+ delete: (data, params) => http(api + "customardelete", data, "post", params),
|
|
|
// 列表
|
|
|
list: (data, params) => http(api + "customerlist", data, "post", params),
|
|
|
// 详情
|
|
|
- detail: (data, params) => http(api + "resultselect", data, "post", params),
|
|
|
+ detail: (data, params) => http(api + "customarinfo", data, "post", params),
|
|
|
// 更新
|
|
|
- update: (data, params) => http(api + "resultedit", data, "post", params),
|
|
|
+ update: (data, params) => http(api + "customaredit", data, "post", params),
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// 状态
|
|
|
status: (data, params) => http(api + "resultstatu", data, "post", params),
|
|
|
|