// 物业管理员
import http from '@/apis/axios'
const api = 'admin/'
export default {
  // 添加
  add: (data, params) => http(api + 'combindadd', data, 'post', params),
  // 删除
  delete: (data, params) => http(api + 'Consultdel', data, 'post', params),
  // 分页查询
  list: (data, params) => http(api + 'combindlist', data, 'post', params),
  // 详情
  detail: (data, params) => http(api + 'combindinfo', data, 'post', params),
  // 更新
  update: (data, params) => http(api + 'update', data, 'post', params),
  // 修改状态
  status: (data, params) => http(api + 'combindstatus', data, 'post', params),
  // 通知业务部门
  fstatus: (data, params) => http(api + 'salediffstatus', data, 'post', params),

  combindinfo: (data, params) => http(api + 'combindinfo', data, 'post', params),
  stock: (data, params) => http(api + 'warelist', data, 'post', params),
  stockinfo: (data, params) => http(api + 'wareinfo', data, 'post', params),
  productinfo: (data, params) => http(api + 'goodupinfo', data, 'post', params),
  addrquery: (data, params) => http(api + 'addrquery', data, 'post', params),
  area: (data, params) => http(api + 'area', data, 'post', params),
  city: (data, params) => http(api + 'city', data, 'post', params),
  province: (data, params) => http(api + 'province', data, 'post', params)
}
