const sourcelist = [
  { 'name': '12345热线电话', 'value': '3' }
]
const levellist = [
  { 'name': '普通事件', 'value': '1' },
  { 'name': '紧急事件', 'value': '2' }
]
const eorclist = [
  { value: '1', name: '咨询' },
  { value: '2', name: '建议' },
  { value: '3', name: '求助' },
  { value: '4', name: '其他' },
  { value: '5', name: '投诉' }
]
const caseTypeList = [
  { id: '1', typeCode: '1', typeName: '咨询' },
  { id: '2', typeCode: '2', typeName: '市民生活服务类' },
  { id: '3', typeCode: '3', typeName: '城市管理市容类' }
]
const caseDetailTypeList = [
  { id: '1', typeDetailCode: '1', typeDetailName: '道路维护' },
  { id: '2', typeDetailCode: '2', typeDetailName: '垃圾清理' },
  { id: '3', typeDetailCode: '3', typeDetailName: '门头广告' }
]
const processWayList = [
  { id: '1177026995528237051', nextState: '1', nextOperation: '直接办结' },
  { id: '1177026995528237052', nextState: '2', nextOperation: '呈报上级' },
  { id: '1177026995528237053', nextState: '3', nextOperation: '网上交办' },
  { id: '1177026995528237054', nextState: '4', nextOperation: '暂存' }
]
export default [
  {
    url: '/dict/code/caseSource',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        data: sourcelist
      }
    }
  },
  {
    url: '/dict/code/caseLevel',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        data: levellist
      }
    }
  },
  {
    url: '/dict/code/eorc',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        data: eorclist
      }
    }
  },
  {
    url: '/case/type/list',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        data: caseTypeList
      }
    }
  },
  {
    url: '/case/typeDetail/list',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        data: caseDetailTypeList
      }
    }
  },
  {
    url: '/process/nextNodes',
    type: 'get',
    response: _ => {
      return {
        code: 200,
        message: 'success',
        data: processWayList
      }
    }
  }
]
