|
@@ -1,53 +1,55 @@
|
|
|
// 物业管理员
|
|
|
-import http from "@/apis/axios";
|
|
|
-const api = "admin/";
|
|
|
+import http from '@/apis/axios'
|
|
|
+const api = 'admin/'
|
|
|
export default {
|
|
|
// 分页查询
|
|
|
- list: (data, params) => http(api + "goodlist", data, "post", params),
|
|
|
+ list: (data, params) => http(api + 'goodlist', data, 'post', params),
|
|
|
// 添加
|
|
|
- add: (data, params) => http(api + "gooduponline", data, "post", params),
|
|
|
+ add: (data, params) => http(api + 'gooduponline', data, 'post', params),
|
|
|
// 详情
|
|
|
- detail: (data, params) => http(api + "goodinfo", data, "post", params),
|
|
|
+ detail: (data, params) => http(api + 'goodinfo', data, 'post', params),
|
|
|
// 产品部门审核
|
|
|
- goodupexam: (data, params) => http(api + "goodupexam", data, "post", params),
|
|
|
+ goodupexam: (data, params) => http(api + 'goodupexam', data, 'post', params),
|
|
|
// 更新状态
|
|
|
- status: (data, params) => http(api + "goodupexam", data, "post", params),
|
|
|
+ status: (data, params) => http(api + 'goodupexam', data, 'post', params),
|
|
|
|
|
|
// 定价岗定价
|
|
|
ladderOne: (data, params) =>
|
|
|
- http(api + "goodupeditladder", data, "post", params),
|
|
|
+ http(api + 'goodupeditladder', data, 'post', params),
|
|
|
// 删除
|
|
|
- delete: (data, params) => http(api + "gooddel", data, "post", params),
|
|
|
+ delete: (data, params) => http(api + 'gooddel', data, 'post', params),
|
|
|
// 重新发起审核流程
|
|
|
againonline: (data, params) =>
|
|
|
- http(api + "againonline", data, "post", params),
|
|
|
+ http(api + 'againonline', data, 'post', params),
|
|
|
// 获取系统售价
|
|
|
goodupprice: (data, params) =>
|
|
|
- http(api + "goodupprice", data, "post", params),
|
|
|
+ http(api + 'goodupprice', data, 'post', params),
|
|
|
|
|
|
// 复制
|
|
|
- copy: (data, params) => http(api + "goodcopy", data, "post", params),
|
|
|
+ copy: (data, params) => http(api + 'goodcopy', data, 'post', params),
|
|
|
// 获取全部分类
|
|
|
- catAll: (data, params) => http(api + "catAll", data, "post", params),
|
|
|
+ catAll: (data, params) => http(api + 'catAll', data, 'post', params),
|
|
|
// 获取全部品牌
|
|
|
- brandAll: (data, params) => http(api + "brandall", data, "post", params),
|
|
|
+ brandAll: (data, params) => http(api + 'brandall', data, 'post', params),
|
|
|
// 获取全部供应商账号
|
|
|
supplierAll: (data, params) =>
|
|
|
- http(api + "supplierall", data, "post", params),
|
|
|
+ http(api + 'supplierall', data, 'post', params),
|
|
|
// 商品种类ID换取规格值
|
|
|
- specByCat: (data, params) => http(api + "SpecByCat", data, "post", params),
|
|
|
+ specByCat: (data, params) => http(api + 'SpecByCat', data, 'post', params),
|
|
|
// 规格属性值新建
|
|
|
specinfoadd: (data, params) =>
|
|
|
- http(api + "specinfoadd", data, "post", params),
|
|
|
+ http(api + 'specinfoadd', data, 'post', params),
|
|
|
|
|
|
- //导出线上商品
|
|
|
- exportgood: (data, params) => http(api + "exportgood", data, "post", params),
|
|
|
- //商品上线审核时、驳回重新审核
|
|
|
+ // 导出线上商品
|
|
|
+ exportgood: (data, params) => http(api + 'exportgood', data, 'post', params),
|
|
|
+ // 商品上线审核时、驳回重新审核
|
|
|
goodupreject: (data, params) =>
|
|
|
- http(api + "goodupreject", data, "post", params),
|
|
|
+ http(api + 'goodupreject', data, 'post', params),
|
|
|
// 异常原因列表
|
|
|
- resultlist: (data, params) => http(api + "resultlist", data, "post", params),
|
|
|
+ resultlist: (data, params) => http(api + 'resultlist', data, 'post', params),
|
|
|
// 获取某个商品编号下的所有审核备注列表
|
|
|
getgoodexamlist: (data, params) =>
|
|
|
- http(api + "getgoodexamlist", data, "post", params),
|
|
|
-};
|
|
|
+ http(api + 'getgoodexamlist', data, 'post', params),
|
|
|
+ goodcompliance: (data, params) =>
|
|
|
+ http(api + 'goodcompliance', data, 'post', params)
|
|
|
+}
|