const routes = [
  // { path: '/', redirect: '/index', }, // 本地跑时为了方便先使用这个
  { path: '/', redirect: '/404', }, // 后续上线时开放

  // 桌面
  { path: '/index', name: '桌面', component: '@/pages/index', layout: false },

  // ------------------------------流程------------------------------
  { path: '/installExe/:fileType', name: '01MMD049安装.exe', component: '@/pages/InstallExe', layout: false },
  { path: '/initialSystem/:fileType', name: '初装系统', component: '@/pages/InitialSystem', layout: false },
  { path: '/coreSystemEntrance/:fileType', name: '核心管理系统', component: '@/pages/CoreSystemEntrance', layout: false },
  { path: '/restartService/:fileType', name: '重启服务', component: '@/pages/restartService', layout: false },

  // ------------------------------GLQ远程维护----------------------------------
  // 建立远程链接
  { path: '/teamViewer/paramsSetting/:fileType', name: '参数设置', component: '@/pages/GLQ/TeamViewer/ParamsSetting' },
  // 交互维护命令
  { path: '/teamViewer/systemTime/:fileType', name: '系统时间', component: '@/pages/GLQ/TeamViewer/SystemTime' },
  { path: '/teamViewer/currentIP/:fileType', name: '当前IP', component: '@/pages/GLQ/TeamViewer/CurrentIP' },
  { path: '/teamViewer/pingCommand/:fileType', name: 'PING命令', component: '@/pages/GLQ/TeamViewer/PingCommand' },
  { path: '/teamViewer/telnetCommand/:fileType', name: 'TELNET命令', component: '@/pages/GLQ/TeamViewer/TelnetCommand' },
  { path: '/teamViewer/otherCommand/:fileType', name: '其他命令', component: '@/pages/GLQ/TeamViewer/OtherCommand' },
  // ---------------------------------------------------------------------------


  // ------------------------------网络MMJ管理----------------------------------
  { path: '/webMMJ/mmjInitInstall/:fileType', name: 'MMJ初装', component: '@/pages/GLQ/WebMMJ/MmjInitInstall' },
  { path: '/webMMJ/statusQuery/:fileType', name: '状态查询', component: '@/pages/GLQ/WebMMJ/StatusQuery' },
  { path: '/webMMJ/keyDestruction/:fileType', name: '密钥销毁', component: '@/pages/GLQ/WebMMJ/KeyDestruction' },
  { path: '/webMMJ/keyRemoteKill/:fileType', name: '密钥遥毙', component: '@/pages/GLQ/WebMMJ/KeyRemoteKill' },
  { path: '/webMMJ/mmjRemoteKill/:fileType', name: 'MMJ遥毙', component: '@/pages/GLQ/WebMMJ/MmjRemoteKill' },
  // ---------------------------------------------------------------------------


  // ------------------------------网络GLQ配置----------------------------------
  // 获取配置信息
  { path: '/webGLQ/serviceListInfo/:fileType', name: '服务列表信息', component: '@/pages/GLQ/WebGLQ/ServiceListInfo' },
  { path: '/webGLQ/networkConfigInfo/:fileType', name: '网络配置信息', component: '@/pages/GLQ/WebGLQ/NetworkConfigInfo' },
  { path: '/webGLQ/securityPolicyInfo/:fileType', name: '安全策略信息', component: '@/pages/GLQ/WebGLQ/SecurityPolicyInfo' },
  { path: '/webGLQ/manageConfigInfo/:fileType', name: '管理配置信息', component: '@/pages/GLQ/WebGLQ/ManageConfigInfo' },
  { path: '/webGLQ/vpnPolicyInfo/:fileType', name: 'VPN策略信息', component: '@/pages/GLQ/WebGLQ/VpnPolicyInfo' },
  { path: '/webGLQ/firewallPolicyInfo/:fileType', name: '防火墙策略信息', component: '@/pages/GLQ/WebGLQ/FirewallPolicyInfo' },
  { path: '/webGLQ/logRecordInfo/:fileType', name: '日志记录信息', component: '@/pages/GLQ/WebGLQ/LogRecordInfo' },
  // 远程文件配置
  { path: '/webMMJ/serviceList/:fileType', name: '服务列表', component: '@/pages/GLQ/WebGLQ/ServiceList' },
  { path: '/webMMJ/networkParams/:fileType', name: '网络参数', component: '@/pages/GLQ/WebGLQ/NetworkParams' },
  { path: '/webMMJ/securityPolicy/:fileType', name: '安全策略', component: '@/pages/GLQ/WebGLQ/SecurityPolicy' },
  { path: '/webMMJ/manageConfig/:fileType', name: '管理配置', component: '@/pages/GLQ/WebGLQ/ManageConfig' },
  { path: '/webMMJ/vpnPolicy/:fileType', name: 'VPN策略', component: '@/pages/GLQ/WebGLQ/VpnPolicy' },
  // ---------------------------------------------------------------------------


  // ------------------------------MY管理----------------------------------
  // 密钥体管理
  { path: '/KeyBodyManage/formatImport/:fileType', name: '密钥体格式导入', component: '@/pages/MY/KeyBodyManage/FormatImport' },
  { path: '/KeyBodyManage/formatPublishing/:fileType', name: '密钥体格式发布', component: '@/pages/MY/KeyBodyManage/FormatPublishing' },
  { path: '/KeyBodyManage/application/:fileType', name: '密钥体申请', component: '@/pages/MY/KeyBodyManage/Application' },
  { path: '/KeyBodyManage/import/:fileType', name: '密钥体导入', component: '@/pages/MY/KeyBodyManage/Import' },
  { path: '/KeyBodyManage/receiptForm/:fileType', name: '密钥体接收单', component: '@/pages/MY/KeyBodyManage/ReceiptForm' },
  { path: '/KeyBodyManage/cleaned/:fileType', name: '已清理密钥体', component: '@/pages/MY/KeyBodyManage/Cleaned' },
  { path: '/KeyBodyManage/codeComparisonTable/:fileType', name: '密钥体代号对照表', component: '@/pages/MY/KeyBodyManage/CodeComparisonTable' },
  { path: '/KeyBodyManage/subordinateDistr/:fileType', name: '向下级配发', component: '@/pages/MY/KeyBodyManage/SubordinateDistr' },
  { path: '/KeyBodyManage/emailDistr/:fileType', name: '向邮箱配发', component: '@/pages/MY/KeyBodyManage/EmailDistr' },
  { path: '/KeyBodyManage/systemDistr/:fileType', name: '向专用密码管理系统配发', component: '@/pages/MY/KeyBodyManage/SystemDistr' },
  { path: '/KeyBodyManage/distrTriple/:fileType', name: '密钥体配发三联单', component: '@/pages/MY/KeyBodyManage/DistrTriple' },
  { path: '/KeyBodyManage/plaintext/:fileType', name: '明文载体包封', component: '@/pages/MY/KeyBodyManage/Plaintext' },
  { path: '/KeyBodyManage/ciphertext/:fileType', name: '密文载体包封', component: '@/pages/MY/KeyBodyManage/Ciphertext' },
  // 密钥管理
  { path: '/KeyManage/dataMaintenance/:fileType', name: '管理系统管理盘数据维护', component: '@/pages/MY/KeyManage/DataMaintenance' },
  { path: '/KeyManage/relationConfig/:fileType', name: '统型完善普密设备密钥互通关系配置', component: '@/pages/MY/KeyManage/RelationConfig' },
  { path: '/KeyManage/manageKeys/:fileType', name: '管理密钥装配', component: '@/pages/MY/KeyManage/ManageKeys' },
  { path: '/KeyManage/userKey/:fileType', name: '用户密钥装配', component: '@/pages/MY/KeyManage/UserKey' },
  { path: '/KeyManage/privateKey/:fileType', name: '专用密钥装配', component: '@/pages/MY/KeyManage/PrivateKey' },
  { path: '/KeyManage/keyConfigQuery/:fileType', name: '密钥配置查询', component: '@/pages/MY/KeyManage/KeyConfigQuery' },
  { path: '/KeyManage/tripleKeyDistri/:fileType', name: '密钥配发三联单', component: '@/pages/MY/KeyManage/TripleKeyDistri' },
  // 邮箱管理
  { path: '/mailboxManage/index', name: '邮箱管理', component: '@/pages/MY/MailboxManage/index' },
  // ---------------------------------------------------------------------------


  // ------------------------------SB管理----------------------------------
  // 设备管理
  { path: '/deviceManage/dutyAreaConfig/:fileType', name: '执勤区配置', component: '@/pages/SB/DeviceManage/DutyAreaConfig' },
  { path: '/deviceManage/dataSync/:fileType', name: '数据同步', component: '@/pages/SB/DeviceManage/DataSync' },
  { path: '/deviceManage/remoteMaintenance/:fileType', name: '远程维护', component: '@/pages/SB/DeviceManage/RemoteMaintenance' },
  { path: '/deviceManage/numberMaintenance/:fileType', name: '报号维护', component: '@/pages/SB/DeviceManage/NumberMaintenance' },
  // 日志管理
  { path: '/logManage/index', name: '日志管理', component: '@/pages/SB/LogManage/index' },
  // 审计管理
  { path: '/auditManage/index', name: '审计管理', component: '@/pages/SB/AuditManage/index' },
  // 境外任务管理
  { path: '/overseasTaskManage/index', name: '境外任务管理', component: '@/pages/SB/OverseasTaskManage/index' },
  // ---------------------------------------------------------------------------

  // ------------------------------SF管理----------------------------------
  // 算法资源管理
  { path: '/resourceManage/algorithmMaintenance/:fileType', name: '算法信息维护', component: '@/pages/SF/ResourceManage/AlgorithmMaintenance' },
  { path: '/resourceManage/paramMaintenance/:fileType', name: '参数信息维护', component: '@/pages/SF/ResourceManage/ParamMaintenance' },
  { path: '/resourceManage/algorithmSetConfig/:fileType', name: '算法集合配置', component: '@/pages/SF/ResourceManage/AlgorithmSetConfig' },
  { path: '/resourceManage/networkConfig/:fileType', name: '管理类参数所属网络配置', component: '@/pages/SF/ResourceManage/NetworkConfig' },
  { path: '/resourceManage/algorithmDistr/:fileType', name: '算法配发', component: '@/pages/SF/ResourceManage/AlgorithmDistr' },
  { path: '/resourceManage/algorithmParam/:fileType', name: '算法参数配发', component: '@/pages/SF/ResourceManage/AlgorithmParam' },
  // 算法配置管理
  { path: '/configManage/sfSingleInstallConfig/:fileType', name: '单算法安装配置', component: '@/pages/SF/ConfigManage/SFSingleInstallConfig' },
  { path: '/configManage/sfSingleChangeConfig/:fileType', name: '单算法更换配置', component: '@/pages/SF/ConfigManage/SFSingleChangeConfig' },
  { path: '/configManage/sfMultiInstallConfig/:fileType', name: '多算法安装配置', component: '@/pages/SF/ConfigManage/SFMultiInstallConfig' },
  { path: '/configManage/sfMultiChangeConfig/:fileType', name: '多算法更换配置', component: '@/pages/SF/ConfigManage/SFMultiChangeConfig' },
  { path: '/configManage/paramSingleInstallConfig/:fileType', name: '单参数安装配置', component: '@/pages/SF/ConfigManage/ParamSingleInstallConfig' },
  { path: '/configManage/paramSingleChangeConfig/:fileType', name: '单参数更换配置', component: '@/pages/SF/ConfigManage/ParamSingleChangeConfig' },
  { path: '/configManage/paramMultiInstallConfig/:fileType', name: '多参数安装配置', component: '@/pages/SF/ConfigManage/ParamMultiInstallConfig' },
  { path: '/configManage/paramMultiChangeConfig/:fileType', name: '多参数更换配置', component: '@/pages/SF/ConfigManage/ParamMultiChangeConfig' },
  // 算法托收管理
  { path: '/collectionManage/index', name: '算法托收管理', component: '@/pages/SF/CollectionManage/index' },
  // 算法邮箱管理
  { path: '/mailboxManage/index', name: '算法邮箱管理', component: '@/pages/SF/MailboxManage/index' },
  // ---------------------------------------------------------------------------


  // ------------------------------SBJK二维版-----------------------------------

  // ---------------------------------------------------------------------------


  // ------------------------------设备注册-----------------------------------
  // 注册管理
  { path: '/registerManage/deviceRegister/:fileType', name: '设备注册管理', component: '@/pages/Register/RegisterManage/DeviceRegister' },
  { path: '/registerManage/manageDiskMainten/:fileType', name: '管理盘维护', component: '@/pages/Register/RegisterManage/ManageDiskMainten' },
  { path: '/registerManage/devicePhotoMainten/:fileType', name: '设备照片维护', component: '@/pages/Register/RegisterManage/DevicePhotoMainten' },
  { path: '/registerManage/deviceSearch/:fileType', name: '设备查找', component: '@/pages/Register/RegisterManage/DeviceSearch' },
  { path: '/registerManage/appSystemConfig/:fileType', name: '应用系统配置', component: '@/pages/Register/RegisterManage/AppSystemConfig' },
  { path: '/registerManage/infoAggre/:fileType', name: '信息汇总', component: '@/pages/Register/RegisterManage/InfoAggre' },
  // 位置管理
  { path: '/registerManage/unitLocation/:fileType', name: '单位位置管理', component: '@/pages/Register/PositionManage/UnitLocation' },
  { path: '/registerManage/regionalEdit/:fileType', name: '地域编辑', component: '@/pages/Register/PositionManage/RegionalEdit' },
  // ---------------------------------------------------------------------------


  // 建设中页面
  {
    path: '/construction/:fileType',
    component: '@/pages/construction'
  },

  {
    path: '*',
    component: '@/pages/404',
    layout: false
  }
]

export default routes;