|
@@ -1,26 +1,27 @@
|
|
|
// 物业管理员
|
|
|
-import http from "@/apis/axios";
|
|
|
-const api = "admin/";
|
|
|
+import http from '@/apis/axios'
|
|
|
+const api = 'admin/'
|
|
|
export default {
|
|
|
// 添加
|
|
|
- add: (data, params) => http(api + "aftercreate", data, "post", params),
|
|
|
+ add: (data, params) => http(api + 'aftercreate', data, 'post', params),
|
|
|
// 删除
|
|
|
- delete: (data, params) => http(api + "delete", data, "post", params),
|
|
|
+ delete: (data, params) => http(api + 'delete', data, 'post', params),
|
|
|
// 分页查询
|
|
|
- list: (data, params) => http(api + "afterlist", data, "post", params),
|
|
|
+ list: (data, params) => http(api + 'afterlist', data, 'post', params),
|
|
|
// 详情
|
|
|
- detail: (data, params) => http(api + "afterinfo", data, "post", params),
|
|
|
+ detail: (data, params) => http(api + 'afterinfo', data, 'post', params),
|
|
|
// 更新
|
|
|
- update: (data, params) => http(api + "update", data, "post", params),
|
|
|
+ update: (data, params) => http(api + 'update', data, 'post', params),
|
|
|
// 修改状态
|
|
|
- status: (data, params) => http(api + "afterstatus", data, "post", params),
|
|
|
+ status: (data, params) => http(api + 'afterstatus', data, 'post', params),
|
|
|
// 异常原因接口
|
|
|
- reasonList: (data, params) => http(api + "resultlist", data, "post", params),
|
|
|
+ reasonList: (data, params) => http(api + 'resultlist', data, 'post', params),
|
|
|
// 设置退回仓库
|
|
|
- aftersetwsm: (data, params) => http(api + "aftersetwsm", data, "post", params),
|
|
|
-
|
|
|
- // 售后快递录入
|
|
|
- afterPost : (data, params) => http(api + "afterpost ", data, "post", params),
|
|
|
+ aftersetwsm: (data, params) => http(api + 'aftersetwsm', data, 'post', params),
|
|
|
+
|
|
|
+ // 售后快递录入
|
|
|
+ afterPost: (data, params) => http(api + 'afterpost ', data, 'post', params),
|
|
|
+ express: (data, params) => http(api + 'setdelivery ', data, 'post', params)
|
|
|
+
|
|
|
+}
|
|
|
|
|
|
-};
|
|
|
-
|