1234567891011121314151617181920212223242526272829303132 |
- // 物业管理员
- import http from '@/apis/axios'
- const api = 'admin/'
- export default {
- // 添加
- add: (data, params) => http(api + 'supplercreate', data, 'post', params),
- // 删除
- delete: (data, params) => http(api + 'supplerdelete', data, 'post', params),
- // 分页查询
- list: (data, params) => http(api + 'supplerlist', data, 'post', params),
- // 更新
- update: (data, params) => http(api + 'suppleredit', data, 'post', params),
- // 修改状态
- status: (data, params) => http(api + 'supplerstatus', data, 'post', params),
- // 详情
- detail: (data, params) => http(api + 'supplerinfo', data, 'post', params),
- // 升级为业务公司
- inv_update: (data, params) => http(api + 'supplerUpgrade', data, 'post', params),
- // 添加
- kadd: (data, params) => http(api + 'keepbcreate', data, 'post', params),
- // 删除
- kdelete: (data, params) => http(api + 'keepbdelete', data, 'post', params),
- // 分页查询
- klist: (data, params) => http(api + 'keepblist', data, 'post', params),
- // 修改状态
- kstatus: (data, params) => http(api + 'keepbstatus', data, 'post', params),
- // 详情
- kdetail: (data, params) => http(api + 'keepbinfo', data, 'post', params),
- // 更新
- kupdate: (data, params) => http(api + 'keepbedit', data, 'post', params)
- }
|