const getters = {
  // roles: state => state.user.roles,
  // permission_routes: state => state.permission.routes,
  // permission_menuFlag: state => state.permission.menuFlag,
  // globalData_fileUploadPrefix: state => state.globalData.fileUploadPrefix,
  // globalData_filePrefix: state => state.globalData.filePrefix,
  // project_projectId: state => state.project.projectId,
  // project_messageId: state => state.project.messageId,
  // errorLogs: state => state.errorLog.logs,
  // getDataDictArrayByType: state => { // 通过类型查询字典集合
  //   return (type) => {
  //     const dataDictArr = []
  //     for (let i = 0; i < state.dataDictionary.dataDictionaryList.length; i++) {
  //       if (state.dataDictionary.dataDictionaryList[i].dictType === type) {
  //         dataDictArr.push(state.dataDictionary.dataDictionaryList[i])
  //       }
  //     }
  //     return dataDictArr
  //   }
  // },
    job_ticket_aId: state => state.job_ticket.aId,
    job_ticket_cId: state => state.job_ticket.cId,
    job_ticket_gId: state => state.job_ticket.gId,
    job_ticket_tabBarIndex: state => state.job_ticket.tabBarIndex,

    request_config_aId: state => state.request_config.aId,
    request_config_cId: state => state.request_config.cId,
    request_config_gId: state => state.request_config.gId,
    request_config_baseUrl: state => state.request_config.baseUrl,
    request_config_riskPointType: state => state.request_config.riskPointType,

    // smart_fire
    freAlarmData: state => state.smart_fire.freAlarmData,
    fireWaterData: state => state.smart_fire.fireWaterData,
    eleFireData: state => state.smart_fire.eleFireData,
    gasMoData: state => state.smart_fire.gasMoData,
    alarmMoData: state => state.smart_fire.alarmMoData,
}
export default getters
