import request from '@/utils/httpRequest'

export default class ManageLevelTypeService {
  list (params) {
    return request({
      url: '/cw_work_client/manage_level_type/list',
      method: 'get',
      params: params
    })
  }
  queryById (id) {
    return request({
      url: '/cw_work_client/manage_level_type/queryById',
      method: 'get',
      params: {id: id}
    })
  }
  getList () {
    return request({
      url: '/cw_work_client/manage_level_type/getList',
      method: 'get',
      params: {}
    })
  }
  save (inputForm) {
    return request({
      url: `/cw_work_client/manage_level_type/save`,
      method: 'post',
      data: inputForm
    })
  }
  delete (ids) {
    return request({
      url: '/cw_work_client/manage_level_type/delete',
      method: 'delete',
      params: {ids: ids}
    })
  }
}
