servicePage.js 631 B

123456789101112131415161718
  1. module.exports = `// 物业管理员
  2. import http from "@/apis/axios";
  3. const api = "admin/";
  4. export default {
  5. // 添加
  6. add: (data, params) => http(api + "add", data, "post", params),
  7. // 删除
  8. delete: (data, params) => http(api + "delete", data, "post", params),
  9. // 分页查询
  10. list: (data, params) => http(api + "list", data, "post", params),
  11. // 详情
  12. detail: (data, params) => http(api + "detail", data, "post", params),
  13. // 更新
  14. update: (data, params) => http(api + "update", data, "post", params),
  15. // 修改状态
  16. status: (data, params) => http(api + "accountstatus", data, "post", params),
  17. };
  18. `;