From f9c9e25d08718464397f24f574db746065451a54 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Wed, 10 Mar 2021 10:31:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E8=B7=AF=E5=BE=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../theme/ningbo_01/operationConfig.js | 200 +++++++++--------- src/views/login/index.vue | 3 + 2 files changed, 103 insertions(+), 100 deletions(-) diff --git a/src/jmapNew/theme/ningbo_01/operationConfig.js b/src/jmapNew/theme/ningbo_01/operationConfig.js index 844908cac..46edc1e53 100644 --- a/src/jmapNew/theme/ningbo_01/operationConfig.js +++ b/src/jmapNew/theme/ningbo_01/operationConfig.js @@ -303,7 +303,7 @@ export default { { deviceType: '03', orderNum: 4, operateCode: '4072', tip: '鼠标左键点击【确认】按钮' }, { deviceType: '03', orderNum: 5, operateCode: '4073', tip: '鼠标左键点击【确认1】按钮' }, { deviceType: '03', orderNum: 6, operateCode: '4074', tip: '鼠标左键点击【确认2】按钮', val: '5' }, - { deviceType: '03', orderNum: 7, operateCode: '001', tip: '鼠标左键点击【关闭】按钮' }, + { deviceType: '03', orderNum: 7, operateCode: '001', tip: '鼠标左键点击【关闭】按钮' } ] }, { @@ -322,7 +322,7 @@ export default { { deviceType: '03', orderNum: 3, operateCode: '4082', tip: '鼠标左键点击【确认】按钮' }, { deviceType: '03', orderNum: 4, operateCode: '4083', tip: '鼠标左键点击【确认1】按钮' }, { deviceType: '03', orderNum: 5, operateCode: '4084', tip: '鼠标左键点击【确认2】按钮', val: '0' }, - { deviceType: '03', orderNum: 6, operateCode: '001', tip: '鼠标左键点击【关闭】按钮' }, + { deviceType: '03', orderNum: 6, operateCode: '001', tip: '鼠标左键点击【关闭】按钮' } ] }, { @@ -721,10 +721,10 @@ export default { productTypes: ['01'], stepVOList: [ { deviceType: '04', orderNum: 1, operateCode: '308', tip: '鼠标右键菜单选择【引导】' }, - { deviceType: '04', orderNum: 2, operateCode: '0011', tip: '请输入密码"root",点击【确认】按钮', val: 'root' }, - { deviceType: '04', orderNum: 3, operateCode: '308', tip: '鼠标左键点击【确定】按钮' }, + { deviceType: '04', orderNum: 2, operateCode: '0011', tip: '请输入密码"root",点击【确认】按钮', val: 'root' }, + { deviceType: '04', orderNum: 3, operateCode: '308', tip: '鼠标左键点击【确定】按钮' } ], - config: {onlySignalOP:true} + config: {onlySignalOP:true} }, { maxDuration: 15, @@ -795,7 +795,7 @@ export default { trainingName: '请求站控({1})', trainingRemark: '控制权限转换,中控转站控', trainingType: 'ControlConvertMenu', - productTypes: ['01','02'], // 现地请求站控 + productTypes: ['01', '02'], // 现地请求站控 stepVOList: [ { deviceType: 'button', orderNum: 1, operateCode: '202', tip: '鼠标右键菜单选择【请求站控】'}, { deviceType: '05', orderNum: 2, operateCode: '2023', tip: '鼠标左键点击【应用】按钮' } @@ -903,7 +903,7 @@ export default { ], config:{tbStrategyBT:true} }, - { + { maxDuration: 15, minDuration: 8, operateType: 'Station_Set_Or_Cancel_Force_Physical_Signal', @@ -914,15 +914,15 @@ export default { productTypes: ['01', '02'], stepVOList: [ { deviceType: '05', orderNum: 1, operateCode: '1100', tip: '鼠标右键菜单选择【设置/取消强制点灯】', subType: 'light'}, - { deviceType: '05', orderNum: 2, operateCode: '0011', tip: '请输入密码"root",点击【确认】按钮', val: 'root' }, - { deviceType: '05', orderNum: 3, operateCode: '11002', tip: '鼠标左键点击【是】按钮' }, - { deviceType: '05', orderNum: 4, operateCode: 'com08', tip: '鼠标左键点击【确定】按钮' }, - { deviceType: '05', orderNum: 5, operateCode: 'com02', tip: '请选择【强制点灯】选项', val: '5' }, - { deviceType: '05', orderNum: 6, operateCode: 'com13', tip: '鼠标左键点击【确定】按钮' }, + { deviceType: '05', orderNum: 2, operateCode: '0011', tip: '请输入密码"root",点击【确认】按钮', val: 'root' }, + { deviceType: '05', orderNum: 3, operateCode: '11002', tip: '鼠标左键点击【是】按钮' }, + { deviceType: '05', orderNum: 4, operateCode: 'com08', tip: '鼠标左键点击【确定】按钮' }, + { deviceType: '05', orderNum: 5, operateCode: 'com02', tip: '请选择【强制点灯】选项', val: '5' }, + { deviceType: '05', orderNum: 6, operateCode: 'com13', tip: '鼠标左键点击【确定】按钮' } ], config:{tbStrategyBT:true} }, - { + { maxDuration: 15, minDuration: 8, operateType: 'Station_Open_Auto_Setting', @@ -936,86 +936,86 @@ export default { { deviceType: '05', orderNum: 2, operateCode: '606', tip: '鼠标左键点击【确定】', val: 'true' } ] }, - // 新增 - // 区段计轴复位的操作是一个单独类型设备,因此不能直接配置成Section,暂不支持 - // { - // maxDuration: 15, - // minDuration: 8, - // operateType: 'Section_Axis_Pre_Reset', - // skinCode: '06', - // trainingName: '计轴复位({8}{9})', - // trainingRemark: '计轴复位功能', - // trainingType: 'Section', - // productTypes: ['01'], - // stepVOList: [ - // { deviceType: '03', orderNum: 1, operateCode: '1000', tip: '鼠标右键点击菜单【计轴复位】'}, - // { deviceType: '03', orderNum: 2, operateCode: '10001', tip: '请选择区段【({8}{9})】' }, - // { deviceType: '03', orderNum: 3, operateCode: '1000', tip: '鼠标左键点击【确定】按钮' }, - // ] - // }, - // { - // maxDuration: 15, - // minDuration: 8, - // operateType: 'Station_Pre_Reset', - // skinCode: '06', - // trainingName: '设置计轴复位({26})', - // trainingRemark: '计轴复位功能', - // trainingType: 'Station', - // productTypes: ['01'], - // stepVOList: [ - // { deviceType: '05', orderNum: 1, operateCode: '1000', tip: '鼠标右键点击菜单【设置】'}, - // { deviceType: '05', orderNum: 2, operateCode: '10002', tip: '鼠标左键点击【确定】按钮' }, - // { deviceType: '05', orderNum: 3, operateCode: 'com16', tip: '鼠标左键点击【执行】按钮' }, - // ] - // }, - // { - // maxDuration: 15, - // minDuration: 8, - // operateType: 'Station_Cancel_Pre_Reset', - // skinCode: '06', - // trainingName: '取消计轴复位({26})', - // trainingRemark: '计轴复位功能', - // trainingType: 'Station', - // productTypes: ['01'], - // stepVOList: [ - // { deviceType: '05', orderNum: 1, operateCode: '1000', tip: '鼠标右键点击菜单【取消】'}, - // { deviceType: '05', orderNum: 2, operateCode: '10002', tip: '鼠标左键点击【确定】按钮' }, - // ] - // }, - { - maxDuration: 15, - minDuration: 8, - operateType: 'Cancel_All_Limit_Speed', - skinCode: '06', - trainingName: '取消全线临时限速({26})', - trainingRemark: '取消全线临时限速', - trainingType: 'LimitControl', - productTypes: ['02'], - stepVOList: [ - { deviceType: '05', orderNum: 1, operateCode: '800', tip: '鼠标右键点击菜单【取消全线临时限速】'}, - { deviceType: '05', orderNum: 2, operateCode: '8001', tip: '鼠标左键点击【打开会话】按钮' }, - { deviceType: '05', orderNum: 3, operateCode: '8003', tip: '鼠标左键点击【确定】按钮' }, - { deviceType: '05', orderNum: 4, operateCode: '8004', tip: '鼠标左键点击【确定】按钮' }, - { deviceType: '05', orderNum: 5, operateCode: '8005', tip: '鼠标左键点击【关闭】按钮' }, - { deviceType: '05', orderNum: 6, operateCode: '8006', tip: '鼠标左键点击【确定】按钮' }, - ] - }, - { - maxDuration: 15, - minDuration: 8, - operateType: 'Station_Open_Auto_Setting', - skinCode: '06', - trainingName: '{26}全站进路交自动控', - trainingRemark: '全站进路交自动控', - trainingType: 'Station', - productTypes: ['01'], - stepVOList: [ - { deviceType: 'bar', orderNum: 1, operateCode: '002c', tip: '鼠标左键点击菜单【批处理命令】', codeType: 'NULL'}, - { deviceType: 'bar', orderNum: 2, operateCode: '6062', tip: '鼠标左键点击菜单【{26}全站进路交自动控】' }, - { deviceType: '05', orderNum: 3, operateCode: '6063', tip: '鼠标左键点击【确定】按钮' } - ], - }, - { + // 新增 + // 区段计轴复位的操作是一个单独类型设备,因此不能直接配置成Section,暂不支持 + // { + // maxDuration: 15, + // minDuration: 8, + // operateType: 'Section_Axis_Pre_Reset', + // skinCode: '06', + // trainingName: '计轴复位({8}{9})', + // trainingRemark: '计轴复位功能', + // trainingType: 'Section', + // productTypes: ['01'], + // stepVOList: [ + // { deviceType: '03', orderNum: 1, operateCode: '1000', tip: '鼠标右键点击菜单【计轴复位】'}, + // { deviceType: '03', orderNum: 2, operateCode: '10001', tip: '请选择区段【({8}{9})】' }, + // { deviceType: '03', orderNum: 3, operateCode: '1000', tip: '鼠标左键点击【确定】按钮' }, + // ] + // }, + // { + // maxDuration: 15, + // minDuration: 8, + // operateType: 'Station_Pre_Reset', + // skinCode: '06', + // trainingName: '设置计轴复位({26})', + // trainingRemark: '计轴复位功能', + // trainingType: 'Station', + // productTypes: ['01'], + // stepVOList: [ + // { deviceType: '05', orderNum: 1, operateCode: '1000', tip: '鼠标右键点击菜单【设置】'}, + // { deviceType: '05', orderNum: 2, operateCode: '10002', tip: '鼠标左键点击【确定】按钮' }, + // { deviceType: '05', orderNum: 3, operateCode: 'com16', tip: '鼠标左键点击【执行】按钮' }, + // ] + // }, + // { + // maxDuration: 15, + // minDuration: 8, + // operateType: 'Station_Cancel_Pre_Reset', + // skinCode: '06', + // trainingName: '取消计轴复位({26})', + // trainingRemark: '计轴复位功能', + // trainingType: 'Station', + // productTypes: ['01'], + // stepVOList: [ + // { deviceType: '05', orderNum: 1, operateCode: '1000', tip: '鼠标右键点击菜单【取消】'}, + // { deviceType: '05', orderNum: 2, operateCode: '10002', tip: '鼠标左键点击【确定】按钮' }, + // ] + // }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Cancel_All_Limit_Speed', + skinCode: '06', + trainingName: '取消全线临时限速({26})', + trainingRemark: '取消全线临时限速', + trainingType: 'LimitControl', + productTypes: ['02'], + stepVOList: [ + { deviceType: '05', orderNum: 1, operateCode: '800', tip: '鼠标右键点击菜单【取消全线临时限速】'}, + { deviceType: '05', orderNum: 2, operateCode: '8001', tip: '鼠标左键点击【打开会话】按钮' }, + { deviceType: '05', orderNum: 3, operateCode: '8003', tip: '鼠标左键点击【确定】按钮' }, + { deviceType: '05', orderNum: 4, operateCode: '8004', tip: '鼠标左键点击【确定】按钮' }, + { deviceType: '05', orderNum: 5, operateCode: '8005', tip: '鼠标左键点击【关闭】按钮' }, + { deviceType: '05', orderNum: 6, operateCode: '8006', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { + maxDuration: 15, + minDuration: 8, + operateType: 'Station_Open_Auto_Setting', + skinCode: '06', + trainingName: '{26}全站进路交自动控', + trainingRemark: '全站进路交自动控', + trainingType: 'Station', + productTypes: ['01'], + stepVOList: [ + { deviceType: 'bar', orderNum: 1, operateCode: '002c', tip: '鼠标左键点击菜单【批处理命令】', codeType: 'NULL'}, + { deviceType: 'bar', orderNum: 2, operateCode: '6062', tip: '鼠标左键点击菜单【{26}全站进路交自动控】' }, + { deviceType: '05', orderNum: 3, operateCode: '6063', tip: '鼠标左键点击【确定】按钮' } + ] + }, + { maxDuration: 15, minDuration: 8, operateType: 'Station_Set_CI_Auto', @@ -1026,11 +1026,11 @@ export default { productTypes: ['01'], stepVOList: [ { deviceType: 'bar', orderNum: 1, operateCode: '002c', tip: '鼠标左键点击菜单【批处理命令】', codeType: 'NULL'}, - { deviceType: 'bar', orderNum: 2, operateCode: '6141', tip: '鼠标左键点击菜单【设置{26}全站自动通过进路】' }, + { deviceType: 'bar', orderNum: 2, operateCode: '6141', tip: '鼠标左键点击菜单【设置{26}全站自动通过进路】' }, { deviceType: '05', orderNum: 3, operateCode: '6142', tip: '鼠标左键点击【确定】按钮' } - ], - }, - { + ] + }, + { maxDuration: 15, minDuration: 8, operateType: 'Station_Cancel_CI_Auto', @@ -1041,10 +1041,10 @@ export default { productTypes: ['01'], stepVOList: [ { deviceType: 'mbm', orderNum: 1, operateCode: '002c', tip: '鼠标左键点击菜单【批处理命令】', codeType: 'NULL'}, - { deviceType: 'mbm', orderNum: 2, operateCode: '6151', tip: '鼠标左键点击菜单【取消{26}全站自动通过进路】' }, + { deviceType: 'mbm', orderNum: 2, operateCode: '6151', tip: '鼠标左键点击菜单【取消{26}全站自动通过进路】' }, { deviceType: '05', orderNum: 3, operateCode: '6152', tip: '鼠标左键点击【确定】按钮' } - ], - }, + ] + }, // { // maxDuration: 15, // minDuration: 8, diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 4aa524c79..39836287c 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -277,6 +277,9 @@ export default { } }, created() { + if (!loginInfo[this.project]) { + this.$messageBox('无效的登录路径,请查证路径后重试!'); + } document.querySelector("link[rel*='icon']").href = loginInfo[this.project].linkIcon || ProjectIcon[this.project]; removeSessionStorage('projectDevice'); this.computedAttribute();