戴艳蓉 3 年 前
コミット
175ae74f10

+ 8 - 22
src/apis/service/client/business/index.js

@@ -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),
 

+ 6 - 26
src/apis/service/client/cproperty/index.js

@@ -1,35 +1,15 @@
-// 物业管理员
+// 客户属性管理
 import http from "@/apis/axios";
 const api = "admin/";
 export default {
   // 添加
   add: (data, params) => http(api + "attrcreate", data, "post", params),
-  // 删除
-  delete: (data, params) => http(api + "delete", data, "post", params),
+  // 更新
+  update: (data, params) => http(api + "attredit", data, "post", params),
   // 分页查询
   list: (data, params) => http(api + "attrlist", data, "post", params),
-  // 详情
-  detail: (data, params) => http(api + "companyinfo", data, "post", params),
-  // 更新
-  update: (data, params) => http(api + "companysave", data, "post", params),
   // 修改状态
-  status: (data, params) => http(api + 'companystatus', data, 'post', params),
-  // 提交审核申请
-  again: (data, params) => http(api + 'companyagain', data, 'post', params),
-  // 审核人提交审核结果
-  exam: (data, params) => http(api + 'companyexam', data, 'post', params),
-  // 企业财务信息
-  bank: (data, params) => http(api + 'companybank', data, 'post', params),
-  // 企业财务录入
-  attrAdd: (data, params) => http(api + 'companyattradd', data, 'post', params),
-  // 省级列表
-  pList: (data, params) => http('api/getprovince', data, 'post', params),
-  // 市级列表
-  cList: (data, params) => http('api/getcity', data, 'post', params),
-  // 县区列表
-  aList: (data, params) => http('api/getarea', data, 'post', params),
-  // 银行卡验证
-  getbank: (data, params) => http('api/getbank', data, 'post', params),
-  
-
+  status: (data, params) => http(api + 'attrstatus', data, 'post', params),
+  // 删除
+  delete: (data, params) => http(api + "attrdelete", data, "post", params),
 };

+ 2 - 8
src/apis/service/goodStore/brand/index.js

@@ -5,17 +5,11 @@ export default {
   // 添加
   add: (data, params) => http(api + "brandcreate", data, "post", params),
   // 删除
-  delete: (data, params) => http(api + "delete", data, "post", params),
+  delete: (data, params) => http(api + "branddel", data, "post", params),
   // 分页查询
   list: (data, params) => http(api + "brandlist", data, "post", params),
-  // 详情
-  detail: (data, params) => http(api + "brandinfo", data, "post", params),
   // 更新
-  update: (data, params) => http(api + "brandsave", data, "post", params),
+  update: (data, params) => http(api + "brandedit", data, "post", params),
   // 修改状态
   status: (data, params) => http(api + 'brandstatus', data, 'post', params),
-  // 提交审核申请
-  again: (data, params) => http(api + 'brandagain', data, 'post', params),
-  // 审核人提交审核结果
-  exam: (data, params) => http(api + 'brandexam', data, 'post', params),
 };

+ 1 - 9
src/apis/service/goodStore/goldPrice/index.js

@@ -15,15 +15,7 @@ export default {
 
 
 
-  // 详情
-  detail: (data, params) => http(api + "specinfo", data, "post", params),
+ 
   // 更新
   update: (data, params) => http(api + "specsave", data, "post", params),
-  // 审核
-  check: (data, params) => http(api + "specex", data, "post", params),
-
-  // 提交审核申请
-  again: (data, params) => http(api + 'specagain', data, 'post', params),
-  // 审核人提交审核结果
-  exam: (data, params) => http(api + 'specex', data, 'post', params),
 };

+ 3 - 2
src/apis/service/goodStore/goodsOnline/index.js

@@ -2,12 +2,13 @@
 import http from "@/apis/axios";
 const api = "admin/";
 export default {
+  // 分页查询
+  list: (data, params) => http(api + "gooduplist", data, "post", params),
   // 添加
   add: (data, params) => http(api + "goodadd", data, "post", params),
   // 删除
   delete: (data, params) => http(api + "gooddel", data, "post", params),
-  // 分页查询
-  list: (data, params) => http(api + "goodlist", data, "post", params),
+  
   // 详情
   detail: (data, params) => http(api + "goodinfo", data, "post", params),
   // 更改

+ 3 - 13
src/apis/service/goodStore/specs/index.js

@@ -8,18 +8,8 @@ export default {
   list: (data, params) => http(api + "specslist", data, "post", params),
   // 修改状态
   status: (data, params) => http(api + 'specsstatus', data, 'post', params),
-
-
-  // 删除
-  delete: (data, params) => http(api + "delete", data, "post", params),
-  // 详情
-  detail: (data, params) => http(api + "specinfo", data, "post", params),
   // 更新
-  update: (data, params) => http(api + "specsave", data, "post", params),
-  // 审核
-  check: (data, params) => http(api + "specex", data, "post", params),
-  // 提交审核申请
-  again: (data, params) => http(api + 'specagain', data, 'post', params),
-  // 审核人提交审核结果
-  exam: (data, params) => http(api + 'specex', data, 'post', params),
+  update: (data, params) => http(api + "specsedit", data, "post", params),
+  // 删除
+  delete: (data, params) => http(api + "specsdelete", data, "post", params),
 };

+ 6 - 14
src/apis/service/goodStore/unit/index.js

@@ -3,21 +3,13 @@ import http from "@/apis/axios";
 const api = "admin/";
 export default {
   // 添加
-  add: (data, params) => http(api + "specadd", data, "post", params),
-  // 删除
-  delete: (data, params) => http(api + "delete", data, "post", params),
+  add: (data, params) => http(api + "unitcreate", data, "post", params),
+  // 更新
+  update: (data, params) => http(api + "unitedit", data, "post", params),
   // 分页查询
   list: (data, params) => http(api + "speclist", data, "post", params),
-  // 详情
-  detail: (data, params) => http(api + "specinfo", data, "post", params),
-  // 更新
-  update: (data, params) => http(api + "specsave", data, "post", params),
-  // 审核
-  check: (data, params) => http(api + "specex", data, "post", params),
+  // 删除
+  delete: (data, params) => http(api + "unitdelete", data, "post", params),
   // 修改状态
-  status: (data, params) => http(api + 'specstatus', data, 'post', params),
-  // 提交审核申请
-  again: (data, params) => http(api + 'specagain', data, 'post', params),
-  // 审核人提交审核结果
-  exam: (data, params) => http(api + 'specex', data, 'post', params),
+  status: (data, params) => http(api + 'unitstatus', data, 'post', params),
 };

+ 2 - 2
src/apis/service/serviceParam/workCompany/index.js

@@ -1,12 +1,12 @@
 import http from "@/apis/axios";
 const api = "admin/";
 export default {
+  // 列表
+  list: (data, params) => http(api + "businesslist", data, "post", params),
   // 新建
   add: (data, params) => http(api + "businesscreate", data, "post", params),
   // 删除
   delete: (data, params) => http(api + "businessdel", data, "post", params),
-  // 列表
-  list: (data, params) => http(api + "businesslist", data, "post", params),
   // 详情
   detail: (data, params) => http(api + "businesssinfo", data, "post", params),
   // 更新