const sexList = [
  { 'name': '男', 'value': '0' },
  { 'name': '女', 'value': '1' }
]
const staffTypeList = [
  { name: '正式员工', value: '0' },
  { name: '外聘', value: '1' },
  { name: '临时', value: '2' }
]
const postList = [
  { name: '公厕保洁员', value: '0' },
  { name: '司机', value: '1' },
  { name: '垃圾清运', value: '2' },
  { name: '领导', value: '3' }
]
const jobList = [
  { name: '清运', value: '0' },
  { name: '保洁', value: '1' },
  { name: '公厕', value: '2' },
  { name: '污水', value: '3' },
  { name: '垃圾收集', value: '4' },
  { name: '拾捡', value: '5' },
  { name: '倒桶', value: '6' },
  { name: '托运', value: '7' },
  { name: '其他', value: '8' }
]
const wastebinTypeList = [
  { name: '可回收', value: '0' },
  { name: '有害垃圾', value: '1' },
  { name: '厨余垃圾', value: '2' },
  { name: '其他垃圾', value: '3' }
]
const carTypeList = [
  { 'name': '小型车', 'value': '0' },
  { 'name': '中型车', 'value': '1' }
]
const bindList = [
  { 'name': '已绑定', 'value': '1' },
  { 'name': '未绑定', 'value': '0' }
]
export default [
  {
    url: '/dict/code/sex',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: sexList
      }
    }
  },
  {
    url: '/dict/code/staffType',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: staffTypeList
      }
    }
  },
  {
    url: '/dict/code/postType',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: postList
      }
    }
  },
  {
    url: '/dict/code/jobType',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: jobList
      }
    }
  },
  {
    url: '/dict/code/wastebinType',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: wastebinTypeList
      }
    }
  },
  {
    url: '/dict/code/carType',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: carTypeList
      }
    }
  },
  {
    url: '/dict/code/bindType',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: bindList
      }
    }
  }
]
