Merge brancht 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
b27ca87efd
@ -29,10 +29,10 @@ export function sendSimulationCommand(group, memberId, type, data) {
|
||||
});
|
||||
}
|
||||
/** 获取仿真成员列表 */
|
||||
export function getMemberListCommon(group,role) {
|
||||
export function getMemberListCommon(group, role) {
|
||||
|
||||
if(!role){
|
||||
role = "";
|
||||
if (!role) {
|
||||
role = '';
|
||||
}
|
||||
return request({
|
||||
url: `/common/simulation/${group}/members?role=${role}`,
|
||||
@ -96,3 +96,18 @@ export function simulationStart(group) {
|
||||
method: 'put'
|
||||
});
|
||||
}
|
||||
/** 获取存在的仿真列表 */
|
||||
export function getExistSimulationList(params) {
|
||||
return request({
|
||||
url: `/common/simulation/list`,
|
||||
method: 'get',
|
||||
params
|
||||
});
|
||||
}
|
||||
/** 获取仿真用户信息 */
|
||||
export function getSimulationUserInfo(id) {
|
||||
return request({
|
||||
url: `/common/simulation/${id}/users`,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
@ -163,22 +163,22 @@ export function cancelReplaceBg(group) {
|
||||
});
|
||||
}
|
||||
|
||||
/** 分页查询存在的仿真 */
|
||||
export function getExistingSimulation(params) {
|
||||
return request({
|
||||
url: `/manage/simulation/exists`,
|
||||
method: 'get',
|
||||
params
|
||||
});
|
||||
}
|
||||
|
||||
/** 删除存在的仿真 */
|
||||
export function deleteExistingSimulation(group) {
|
||||
return request({
|
||||
url: `/manage/simulation/${group}`,
|
||||
method: 'delete'
|
||||
});
|
||||
}
|
||||
// /** 分页查询存在的仿真 */
|
||||
// export function getExistingSimulation(params) {
|
||||
// return request({
|
||||
// url: `/manage/simulation/exists`,
|
||||
// method: 'get',
|
||||
// params
|
||||
// });
|
||||
// }
|
||||
//
|
||||
// /** 删除存在的仿真 */
|
||||
// export function deleteExistingSimulation(group) {
|
||||
// return request({
|
||||
// url: `/manage/simulation/${group}`,
|
||||
// method: 'delete'
|
||||
// });
|
||||
// }
|
||||
|
||||
/** 获取任务录制的所有动作(新版)*/
|
||||
export function getScriptAllAction(group) {
|
||||
|
@ -377,8 +377,10 @@ export default {
|
||||
query(queryData) {
|
||||
this.queryData = queryData;
|
||||
// this.pageIndex = 1;
|
||||
this.queryData[this.currentpagerConfig.pageSize] = this.pageSize;
|
||||
this.queryData[this.currentpagerConfig.pageIndex] = this.pageIndex;
|
||||
if (!this.queryList.paginationHiden) {
|
||||
this.queryData[this.currentpagerConfig.pageSize] = this.pageSize;
|
||||
this.queryData[this.currentpagerConfig.pageIndex] = this.pageIndex;
|
||||
}
|
||||
// this.queryList.reload();
|
||||
this.choose = null;
|
||||
this.commitQuery();
|
||||
@ -512,6 +514,7 @@ export default {
|
||||
self.enableQuery();
|
||||
return;
|
||||
}
|
||||
delete this.queryData.undefined;
|
||||
if (this.queryList.query instanceof Function) {
|
||||
this.queryList.query(this.queryData).then(response => {
|
||||
self.enableQuery();
|
||||
@ -519,7 +522,7 @@ export default {
|
||||
this.queryList.afterQuery(response.data);
|
||||
}
|
||||
const resultData = response.data;
|
||||
this.$set(this.queryList, 'data', resultData.list);
|
||||
this.$set(this.queryList, 'data', this.queryList.paginationHiden ? resultData : resultData.list);
|
||||
this.$set(this.queryList, 'total', resultData.total);
|
||||
if (resultData.pageNum) {
|
||||
this.pageIndex = resultData.pageNum;
|
||||
|
@ -49,11 +49,13 @@ export default class alarm extends Group {
|
||||
|
||||
setStatus(state) {
|
||||
// domid还是写在了alarm里面 待优化
|
||||
const audioDom = document.querySelector('#buzzer');
|
||||
if (state && state.on) {
|
||||
audioDom.play().catch(e=>{throw e})
|
||||
} else if (state && !state.on) {
|
||||
audioDom.pause()
|
||||
const audioDom = document.querySelector(`#buzzer_${this.model.code}`);
|
||||
if (audioDom) {
|
||||
if (state && state.on) {
|
||||
audioDom.play().catch(e=>{throw e})
|
||||
} else if (state && !state.on) {
|
||||
audioDom.pause()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -203,12 +203,12 @@ class SkinCode extends defaultStyle {
|
||||
buttonColor: 'darkgreen', // 信号灯按钮颜色
|
||||
buttonLightenColor: '#E4EF50' // 信号灯按钮闪烁颜色
|
||||
},
|
||||
transmission: { // 传输信号机
|
||||
transmission: { // 传输信号机
|
||||
fillColor: '#f00',
|
||||
fillColorVirtual: '#000080',
|
||||
fillColorVirtual: '#000080',
|
||||
sideLength: 20,
|
||||
textColor: '#fff',
|
||||
strokeColor: '#00FFFF',
|
||||
strokeColor: '#00FFFF'
|
||||
},
|
||||
lowButton:{
|
||||
display: false // 现地 信号机按钮
|
||||
@ -282,7 +282,7 @@ class SkinCode extends defaultStyle {
|
||||
z:1,
|
||||
position: 1, // 停跳方向
|
||||
text: 'S', // 停跳显示内容
|
||||
offset: { x: 20, y: 21 },
|
||||
offset: { x: 20, y: -21 },
|
||||
textColor: '#00FF00', // 停跳文字颜色
|
||||
fontWeight: 'bold', // 文字居中
|
||||
fontSize: 18 // 文字大小
|
||||
@ -829,7 +829,7 @@ class SkinCode extends defaultStyle {
|
||||
fontOffsetX: 45,
|
||||
fontOffsetY: 24
|
||||
};
|
||||
this[deviceType.IndicatorLight] = {};
|
||||
this[deviceType.IndicatorLight] = {};
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -5,6 +5,7 @@ import Group from 'zrender/src/container/Group';
|
||||
import Rect from 'zrender/src/graphic/shape/Rect';
|
||||
import Text from 'zrender/src/graphic/Text';
|
||||
import Polygon from 'zrender/src/graphic/shape/Polygon';
|
||||
import EHighlight from '../element/EHighlight';
|
||||
|
||||
const defaultStyle = {
|
||||
distance: 12,
|
||||
@ -35,6 +36,7 @@ export default class Responder extends Group {
|
||||
this.z = model.z || 19;
|
||||
if (model.previewOrMapDraw) {
|
||||
this.create();
|
||||
this.createMouseEvent();
|
||||
this.setState(model);
|
||||
}
|
||||
}
|
||||
@ -141,7 +143,7 @@ export default class Responder extends Group {
|
||||
if (!this.isShowShape) return;
|
||||
const responderStyle = this.style.Responder || defaultStyle;
|
||||
const style = responderStyle.block.mapStyle[model.type] || {fill: '#000'};
|
||||
this.block.setStyle(style);
|
||||
this.block && this.block.setStyle(style);
|
||||
[this.delta1, this.delta2].forEach(el => {
|
||||
model.type == 'IB' ? el.show() : el.hide();
|
||||
});
|
||||
@ -154,6 +156,21 @@ export default class Responder extends Group {
|
||||
item.dirty();
|
||||
}
|
||||
|
||||
createMouseEvent() {
|
||||
const path = window.location.href;
|
||||
if (path.includes('/map/draw')) {
|
||||
this.highlight = new EHighlight(this);
|
||||
this.add(this.highlight);
|
||||
this.on('mouseout', () => { this.highlight.mouseout(); });
|
||||
this.on('mouseover', () => { this.highlight.mouseover(); });
|
||||
}
|
||||
}
|
||||
|
||||
// 设置选中态
|
||||
drawSelected(selected){
|
||||
this.highlight && this.highlight.drawSelected(selected);
|
||||
}
|
||||
|
||||
getShapeTipPoint() {
|
||||
if (this.block) {
|
||||
var distance = 2;
|
||||
|
@ -441,12 +441,12 @@ export default class Section extends Group {
|
||||
model.overlapLock && this.protectiveLock(model.lockRight);
|
||||
/** 空闲锁闭或者叫进路锁闭 */
|
||||
model.routeLock && this.routeLock(model.lockRight);
|
||||
/** 计轴故障 */
|
||||
model.invalid && this.invalid();
|
||||
/** 轨道封锁 */
|
||||
model.blockade && this.block(model.routeLock);
|
||||
/** 非通信车占用状态 */
|
||||
model.nctOccupied && this.unCommunicationOccupied();
|
||||
/** 计轴故障 */
|
||||
model.invalid && this.invalid();
|
||||
/** 通信车占用状态 */
|
||||
model.ctOccupied && this.communicationOccupied();
|
||||
/** 区段关闭 */
|
||||
|
@ -16,7 +16,7 @@ class EJump extends Group {
|
||||
const jumpDirct = model.right ? -1 : 1;
|
||||
const jumpOffsetY = model.inside ? -1 : 1;
|
||||
const jumpX = model.position.x - jumpDirct * (deviceParam.offset.x - model.width / 2);
|
||||
const jumpY = model.position.y + jumpDirct * deviceParam.offset.y;
|
||||
const jumpY = model.position.y + jumpDirct * jumpOffsetY * deviceParam.offset.y;
|
||||
|
||||
if (deviceParam.special) {
|
||||
this.jump = new Text({
|
||||
|
@ -53,7 +53,7 @@ export default {
|
||||
operateType: CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_STATION_CONTROL.value,
|
||||
skinCode: '04',
|
||||
trainingName: '请求站控({2})',
|
||||
trainingRemark: '请求站控功能',
|
||||
trainingRemark: '现地控制工作站界面设置四个按钮表示灯:中央、站控、紧急站控、联锁控。用于实现中央、站控/紧急站控、联锁控三级控制模式间的切换。车站操作人员申请站控,中心授权同意后获得控制权,标识为“站控”的圆点,稳定黄色——当前控制模式为站控',
|
||||
trainingType: 'ControlConvertMenu',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -67,7 +67,7 @@ export default {
|
||||
operateType: CMD.ControlConvertMenu.CMD_CM_EMERGENCY_STATION_CONTROL.value,
|
||||
skinCode: '04',
|
||||
trainingName: '请求紧急站控({2})',
|
||||
trainingRemark: '请求紧急站控功能',
|
||||
trainingRemark: '现地控制工作站界面设置四个按钮表示灯:中央、站控、紧急站控、联锁控。用于实现中央、站控/紧急站控、联锁控三级控制模式间的切换。车站操作人员申请紧急站控,输入密码确认后,直接获得控制权,标识为“站控”的圆点,稳定红色——当前控制模式为站控',
|
||||
trainingType: 'ControlConvertMenu',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -82,7 +82,7 @@ export default {
|
||||
operateType: CMD.ControlConvertMenu.CMD_CM_APPLY_FOR_CENTER_CONTROL.value,
|
||||
skinCode: '04',
|
||||
trainingName: '请求中控({2})',
|
||||
trainingRemark: '请求中控功能',
|
||||
trainingRemark: '现地工作站界面设置四个按钮表示灯:中央、站控、紧急站控、联锁控。用于实现中央、站控/紧急站控、联锁控三级控制模式间的切换。车站操作人员申请中控,输入密码确认,中心同意后交权至中心ATS',
|
||||
trainingType: 'ControlConvertMenu',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -97,7 +97,7 @@ export default {
|
||||
operateType: CMD.ControlConvertMenu.CMD_CM_INTERLOCK_CONTROL.value,
|
||||
skinCode: '04',
|
||||
trainingName: '请求联锁控({2})',
|
||||
trainingRemark: '请求联锁控功能',
|
||||
trainingRemark: '现地控制工作站界面设置四个按钮表示灯:中央、站控、紧急站控、联锁控。用于实现中央、站控/紧急站控、联锁控三级控制模式间的切换。车站操作人员申请联锁控,输入密码确认后,直接获得控制权。标识为“联锁控”的圆点,稳定紫色 - 当前控制模式为联锁控。在“联锁站”模式下,若办理了“自动进路、自动折返、引导总锁、全站维修点灯”、 或“上电解锁、临时限速清除”可设置时,不允许“联锁控”转 ATS 站控及 ATS 中央控。',
|
||||
trainingType: 'ControlConvertMenu',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -113,7 +113,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_SET_ROUTE.value,
|
||||
skinCode: '04',
|
||||
trainingName: '办理进路({3} 进路)',
|
||||
trainingRemark: '办理进路功能',
|
||||
trainingRemark: '进路:列车在站内运行时所经由的路径。依据进路是否建立,可以将进路状态分成锁闭状态和解锁状态。建立了进路,即指利用该进路排列了进路,称该进路处于锁闭状态。进路处于锁闭状态时,进路上的所有道岔被锁闭在规定位置(不能转换位置),防护该进路的信号机才能开放,列车才可能在该进路上运行。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -129,7 +129,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_SET_ROUTE.value,
|
||||
skinCode: '04',
|
||||
trainingName: '办理进路({3} 进路)',
|
||||
trainingRemark: '办理进路功能',
|
||||
trainingRemark: '进路:列车在站内运行时所经由的路径。依据进路是否建立,可以将进路状态分成锁闭状态和解锁状态。建立了进路,即指利用该进路排列了进路,称该进路处于锁闭状态。进路处于锁闭状态时,进路上的所有道岔被锁闭在规定位置(不能转换位置),防护该进路的信号机才能开放,列车才可能在该进路上运行。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -144,7 +144,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE.value,
|
||||
skinCode: '04',
|
||||
trainingName: '办理引导进路({3})',
|
||||
trainingRemark: '进路办理信号引导',
|
||||
trainingRemark: '因进路内轨道区段故障或允许灯光灯丝故障无法开放信号时通过办理的引导进路接车',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -160,7 +160,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_ROUTE_GUIDE.value,
|
||||
skinCode: '04',
|
||||
trainingName: '引导进路({3})[进路已锁闭]',
|
||||
trainingRemark: '进路办理信号引导',
|
||||
trainingRemark: '因进路内轨道区段故障或允许灯光灯丝故障无法开放信号时通过办理的引导进路接车',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -175,7 +175,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE.value,
|
||||
skinCode: '04',
|
||||
trainingName: '取消进路({3} 进路)',
|
||||
trainingRemark: '取消进路功能',
|
||||
trainingRemark: '当列车运行通过锁闭的进路后,该进路将被解锁而处于解锁状态。解锁状态时进路上道岔随时有转换位置的可能,列车在该进路上运行将极其危险,因而一般不允许列车在没有锁闭的进路上运行。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -189,7 +189,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_CANCEL_ROUTE.value,
|
||||
skinCode: '04',
|
||||
trainingName: '取消进路({3} 进路)',
|
||||
trainingRemark: '取消进路功能(总取消)',
|
||||
trainingRemark: '当列车运行通过锁闭的进路后,该进路将被解锁而处于解锁状态。解锁状态时进路上道岔随时有转换位置的可能,列车在该进路上运行将极其危险,因而一般不允许列车在没有锁闭的进路上运行。(总取消)',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -197,16 +197,19 @@ export default {
|
||||
{ deviceType: '04', orderNum: 2, operateCode: '2994', tip: '鼠标左键点击【{5}】', codeType:'SIGNAL' }
|
||||
]
|
||||
},
|
||||
{
|
||||
{
|
||||
maxDuration: 15,
|
||||
minDuration: 8,
|
||||
operateType: CMD.Signal.CMD_SIGNAL_CANCEL_GUIDE.value,
|
||||
skinCode: '04',
|
||||
trainingName: '取消引导({3})',
|
||||
trainingRemark: '取消引导进路功能(总取消)',
|
||||
trainingRemark: '列车通过引导进路后,引导进路不解锁,通过【总人解】解锁引导锁。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
// { deviceType: '04', orderNum: 1, operateCode: '3050', tip: '鼠标左键点击【总人解】' },
|
||||
// { deviceType: '04', orderNum: 2, operateCode: '0011', tip: '输入密码123,点击【确定】按钮' },
|
||||
// { deviceType: '04', orderNum: 3, operateCode: '3050', tip: '鼠标左键点击【{5}】', val: '{6}', codeType:'SIGNAL' },
|
||||
{ deviceType: '04', orderNum: 1, operateCode: '2994', tip: '鼠标左键点击【总取消】' },
|
||||
{ deviceType: '04', orderNum: 2, operateCode: '2994', tip: '鼠标左键点击【{5}】', codeType:'SIGNAL' }
|
||||
]
|
||||
@ -217,13 +220,13 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE.value,
|
||||
skinCode: '04',
|
||||
trainingName: '总人解({3})',
|
||||
trainingRemark: '总人解',
|
||||
trainingRemark: '当信号机开放后,其接近区段被列车占用,这时要解锁已锁闭的进路,通过“总人解”办理进路的人工解锁(延时解锁时间为 45s)',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
{ deviceType: '04', orderNum: 1, operateCode: '305', tip: '鼠标右键菜单选择【总人解】' },
|
||||
{ deviceType: '04', orderNum: 2, operateCode: '3050', tip: '输入密码123,点击【执行】按钮' },
|
||||
{ deviceType: '04', orderNum: 3, operateCode: '305', tip: '鼠标左键点击【确定】按钮' },
|
||||
{ deviceType: '04', orderNum: 2, operateCode: '3050', tip: '输入密码123,点击【执行】按钮' },
|
||||
{ deviceType: '04', orderNum: 3, operateCode: '305', tip: '鼠标左键点击【确定】按钮' }
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -232,7 +235,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE.value,
|
||||
skinCode: '04',
|
||||
trainingName: '总人解({3})',
|
||||
trainingRemark: '总人解',
|
||||
trainingRemark: '当信号机开放后,其接近区段被列车占用,这时要解锁已锁闭的进路,通过“总人解”办理进路的人工解锁(延时解锁时间为 45s)',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -247,7 +250,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value,
|
||||
skinCode: '04',
|
||||
trainingName: '信号重开({5})',
|
||||
trainingRemark: '信号重开功能',
|
||||
trainingRemark: '信号由于故障(如锁闭的进路区段故障)或人工干预导致信号关闭,此后调度运营想再次开放此信号(前提是信号开放的条件具备,如故障区段已恢复),可以执行信号重开使信号重新开放',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -261,7 +264,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_REOPEN_SIGNAL.value,
|
||||
skinCode: '04',
|
||||
trainingName: '信号重开({5})',
|
||||
trainingRemark: '信号重开功能',
|
||||
trainingRemark: '信号由于故障(如锁闭的进路区段故障)或人工干预导致信号关闭,此后调度运营想再次开放此信号(前提是信号开放的条件具备,如故障区段已恢复),可以执行信号重开使信号重新开放',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -275,7 +278,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_BLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '信号封锁({5})',
|
||||
trainingRemark: '信号封锁',
|
||||
trainingRemark: '封锁信号机。信号机封锁后,不可经其办理进路。已开放信号的进路,应在进路解锁或取消后封锁信号机,否则造成信号关闭。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -289,7 +292,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_BLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '信号封锁({5})',
|
||||
trainingRemark: '信号封锁功能',
|
||||
trainingRemark: '封锁信号机。信号机封锁后,不可经其办理进路。已开放信号的进路,应在进路解锁或取消后封锁信号机,否则造成信号关闭。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -303,7 +306,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_UNBLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '信号解封({5})',
|
||||
trainingRemark: '信号解封',
|
||||
trainingRemark: '对封锁的信号机解封',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -318,7 +321,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_UNBLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '信号解封({5})',
|
||||
trainingRemark: '信号解封功能',
|
||||
trainingRemark: '对封锁的信号机解封',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -333,7 +336,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING.value,
|
||||
skinCode: '04',
|
||||
trainingName: '进路收人工控({3})',
|
||||
trainingRemark: '进路收人工控',
|
||||
trainingRemark: '正常情况下,车站 ATS 分机自动触发进路。但在某特定情况下,需将某条进路交由人工排列时,可使用“人工控”功能。设置该进路的始端信号机为人工控模式,ATS 分机将不再自动触发以该信号机为始端的进路,直至取消了该信号机的“人工控”模式。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -348,7 +351,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_CLOSE_AUTO_SETTING.value,
|
||||
skinCode: '04',
|
||||
trainingName: '人工控({5})',
|
||||
trainingRemark: '人工控',
|
||||
trainingRemark: '正常情况下,车站 ATS 分机自动触发进路。但在某特定情况下,需将某条进路交由人工排列时,可使用“人工控”功能。设置该进路的始端信号机为人工控模式,ATS 分机将不再自动触发以该信号机为始端的进路,直至取消了该信号机的“人工控”模式。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -364,7 +367,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING.value,
|
||||
skinCode: '04',
|
||||
trainingName: '进路交自动控({3})',
|
||||
trainingRemark: '进路交自动控',
|
||||
trainingRemark: '取消该进路的始端信号机为人工控模式,ATS 分机将自动触发以该信号机为始端的进路',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -379,7 +382,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_OPEN_AUTO_SETTING.value,
|
||||
skinCode: '04',
|
||||
trainingName: '自动控({5})',
|
||||
trainingRemark: '自动控',
|
||||
trainingRemark: '取消该进路的始端信号机为人工控模式,ATS 分机将自动触发以该信号机为始端的进路',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -394,7 +397,7 @@ export default {
|
||||
operateType:CMD.Signal.CMD_SIGNAL_DETAIL.value,
|
||||
skinCode: '04',
|
||||
trainingName: '查询进路信息({5} 信号机)',
|
||||
trainingRemark: '查询进路信息',
|
||||
trainingRemark: '查看某个信号机为始端的进路是否处于ATS自动触发状态',
|
||||
trainingType:'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -409,7 +412,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_NORMAL_POSITION.value, // 0312 新增定位字典
|
||||
skinCode: '04',
|
||||
trainingName: '单操到定位({7})',
|
||||
trainingRemark: '单操到定位({15})',
|
||||
trainingRemark: '在道岔未锁闭的情况下将道岔单操至定位',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -423,7 +426,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_NORMAL_POSITION.value,
|
||||
skinCode: '04',
|
||||
trainingName: '单操到定位({7})',
|
||||
trainingRemark: '单操到定位({7})',
|
||||
trainingRemark: '在道岔未锁闭的情况下将道岔单操至定位',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -437,7 +440,8 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_REVERSE_POSITION.value, // 0313 新增定位字典
|
||||
skinCode: '04',
|
||||
trainingName: '单操到反位({7})',
|
||||
trainingRemark: '单操到反位({7})',
|
||||
trainingRemark: '在道岔未锁闭的情况下将道岔单操至反位',
|
||||
// ({7})
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -451,7 +455,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_REVERSE_POSITION.value,
|
||||
skinCode: '04',
|
||||
trainingName: '单操到反位({7})',
|
||||
trainingRemark: '单操到反位({7})',
|
||||
trainingRemark: '在道岔未锁闭的情况下将道岔单操至反位',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -465,7 +469,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_SINGLE_LOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '道岔单锁({7})',
|
||||
trainingRemark: '道岔单锁功能',
|
||||
trainingRemark: '单独锁闭道岔',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -479,7 +483,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_SINGLE_LOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '道岔单锁({7})',
|
||||
trainingRemark: '道岔单锁功能',
|
||||
trainingRemark: '单独锁闭道岔',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01'], // 现地操作
|
||||
stepVOList: [
|
||||
@ -493,7 +497,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_SINGLE_UNLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '道岔解锁({7})',
|
||||
trainingRemark: '道岔解锁功能',
|
||||
trainingRemark: '对单独锁闭的道岔解锁',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -507,7 +511,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_SINGLE_UNLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '道岔解锁({7})',
|
||||
trainingRemark: '道岔解锁功能',
|
||||
trainingRemark: '对单独锁闭的道岔解锁',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -522,7 +526,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_BLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '道岔封锁({7})',
|
||||
trainingRemark: '道岔封锁功能',
|
||||
trainingRemark: '道岔设备检修时使用,道岔封锁后,道岔位置可以操动,但不可经其排列进路',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -537,7 +541,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_BLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '道岔封锁({7})',
|
||||
trainingRemark: '道岔封锁功能',
|
||||
trainingRemark: '道岔设备检修时使用,道岔封锁后,道岔位置可以操动,但不可经其排列进路',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -551,7 +555,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_UNBLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '道岔解封({7})',
|
||||
trainingRemark: '道岔解封功能',
|
||||
trainingRemark: '对封锁的道岔进行解封',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -566,7 +570,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_UNBLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '道岔解封({7})',
|
||||
trainingRemark: '道岔解封功能',
|
||||
trainingRemark: '对封锁的道岔进行解封',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -581,7 +585,7 @@ export default {
|
||||
operateType: CMD.Switch.CMD_SWITCH_FAULT_UNLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '区故解({7})',
|
||||
trainingRemark: '道岔区段故障解锁功能',
|
||||
trainingRemark: '当联锁系统初始上电或由于某种原因使区段不能正常解锁时,逐段按区故解方式使其解锁。',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -597,7 +601,7 @@ export default {
|
||||
operateType: CMD.Section.CMD_SECTION_FAULT_UNLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '区故解({8}{9})',
|
||||
trainingRemark: '故障解锁功能',
|
||||
trainingRemark: '当联锁系统初始上电或由于某种原因使区段不能正常解锁时,逐段按区故解方式使其解锁。',
|
||||
trainingType: 'Section',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -612,7 +616,7 @@ export default {
|
||||
operateType: CMD.Section.CMD_SECTION_FAULT_UNLOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '区故解({8}{9})',
|
||||
trainingRemark: '故障解锁功能',
|
||||
trainingRemark: '当联锁系统初始上电或由于某种原因使区段不能正常解锁时,逐段按区故解方式使其解锁。',
|
||||
trainingType: 'Section',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -627,7 +631,8 @@ export default {
|
||||
operateType: CMD.Section.CMD_SECTION_DETAILS.value,
|
||||
skinCode: '04',
|
||||
trainingName: '属性({8}{9})',
|
||||
trainingRemark: '区段详情({8}{9})',
|
||||
trainingRemark: '轨道区段属性窗显示了轨道区段的起始公里标和长度',
|
||||
// ({8}{9})
|
||||
trainingType: 'Section',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -642,7 +647,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_SET_HOLD_TRAIN.value,
|
||||
skinCode: '04',
|
||||
trainingName: '设置扣车({10}-{12}站台)',
|
||||
trainingRemark: '设置扣车功能',
|
||||
trainingRemark: '对指定站台设置扣车,设置后当列车运行至该站台时,将会执行扣车,列车不再行驶',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -656,7 +661,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_CANCEL_HOLD_TRAIN.value,
|
||||
skinCode: '04',
|
||||
trainingName: '取消扣车({10}-{12}站台)',
|
||||
trainingRemark: '设置取消扣车功能',
|
||||
trainingRemark: '对指定站台取消之前设置的扣车',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -670,7 +675,8 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_WHOLE_LINE_CANCEL_HOLD_TRAIN.value,
|
||||
skinCode: '04',
|
||||
trainingName: '全线取消扣车',
|
||||
trainingRemark: '设置取消扣车功能({12}全线)',
|
||||
trainingRemark: '指定{12}所有站台取消之前设置的扣车',
|
||||
// ({12}全线)
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -685,7 +691,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_SET_JUMP_STOP.value,
|
||||
skinCode: '04',
|
||||
trainingName: '设置跳停({10}-{12}站台)',
|
||||
trainingRemark: '设置跳停功能',
|
||||
trainingRemark: '对指定站台设置跳停命令,命令后续列车不停站通过该站台',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -699,7 +705,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_SET_JUMP_STOP.value,
|
||||
skinCode: '04',
|
||||
trainingName: '设置跳停({10}-{12}站台)',
|
||||
trainingRemark: '设置跳停功能',
|
||||
trainingRemark: '对指定站台设置跳停命令,命令后续列车不停站通过该站台',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -713,7 +719,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value,
|
||||
skinCode: '04',
|
||||
trainingName: '取消跳停({10}-{12}站台)',
|
||||
trainingRemark: '设置取消跳停功能',
|
||||
trainingRemark: '对指定站台取消之前设置的跳停命令',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -727,7 +733,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_CANCEL_JUMP_STOP.value,
|
||||
skinCode: '04',
|
||||
trainingName: '取消跳停({10}-{12}站台)',
|
||||
trainingRemark: '设置取消跳停功能',
|
||||
trainingRemark: '对指定站台取消之前设置的跳停命令',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -741,7 +747,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value,
|
||||
skinCode: '04',
|
||||
trainingName: '设置停站时间({10}-{12}站台)',
|
||||
trainingRemark: '设置停站时间(自动, 一直有效)',
|
||||
trainingRemark: '对某一指定站台设置列车停站时间 (自动, 一直有效)',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -755,7 +761,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value,
|
||||
skinCode: '04',
|
||||
trainingName: '设置停站时间({10}-{12}站台)',
|
||||
trainingRemark: '设置停站时间(人工, 20秒, 一直有效)',
|
||||
trainingRemark: '对某一指定站台设置列车停站时间 (人工, 20秒, 一直有效)',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -772,7 +778,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_SET_PARK_TIME.value,
|
||||
skinCode: '04',
|
||||
trainingName: '设置停站时间({10}-{12}站台)',
|
||||
trainingRemark: '设置停站时间(人工, 20秒, 一次有效)',
|
||||
trainingRemark: '对某一指定站台设置列车停站时间 (人工, 20秒, 一次有效)',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -788,7 +794,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value,
|
||||
skinCode: '04',
|
||||
trainingName: '设置站间运行等级({10}-{12}站台)',
|
||||
trainingRemark: '设置站间运行等级(自动, 一直有效)',
|
||||
trainingRemark: '设置某一指定站台到下一站台的区间运行时间 (自动, 一直有效)',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -802,7 +808,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value,
|
||||
skinCode: '04',
|
||||
trainingName: '设置站间运行等级({10}-{12}站台)',
|
||||
trainingRemark: '设置站间运行等级(人工, 常速, 一直有效)',
|
||||
trainingRemark: '设置某一指定站台到下一站台的区间运行时间 (人工, 常速, 一直有效)',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -818,7 +824,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_SET_RUN_TIME.value,
|
||||
skinCode: '04',
|
||||
trainingName: '设置站间运行等级({10}-{12}站台)',
|
||||
trainingRemark: '设置站间运行等级(人工, 常速, 一次有效)',
|
||||
trainingRemark: '设置某一指定站台到下一站台的区间运行时间 (人工, 常速, 一次有效)',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -833,7 +839,7 @@ export default {
|
||||
operateType: CMD.Stand.CMD_STAND_VIEW_STATUS.value,
|
||||
skinCode: '04',
|
||||
trainingName: '显示站台信息({10}-{12}站台)',
|
||||
trainingRemark: '查询站台状态功能',
|
||||
trainingRemark: '显示站台的扣车、停站时间、运行等级状态等信息',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -847,7 +853,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_SET_CI_AUTO.value,
|
||||
skinCode: '04',
|
||||
trainingName: '设置自动进路({3})',
|
||||
trainingRemark: '设置自动进路功能',
|
||||
trainingRemark: '对于正向运行,经常有连续通过列车的信号机具有自动进路功能。当信号机设置为自动进路属性后,能使防护该进路的信号机随列车运行自动变换相应显示,此时进路中的道岔保证处于锁闭状态。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -863,7 +869,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_CANCEL_CI_AUTO.value,
|
||||
skinCode: '04',
|
||||
trainingName: '取消自动进路({3})',
|
||||
trainingRemark: '取消自动进路功能',
|
||||
trainingRemark: '取消信号机的自动进路属性',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -879,7 +885,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_SET_AUTO_TURN_BACK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '设置自动折返({3})',
|
||||
trainingRemark: '设置自动折返功能',
|
||||
trainingRemark: '自动办理终端折返站的折入和折返进路',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -895,7 +901,7 @@ export default {
|
||||
operateType: CMD.Signal.CMD_SIGNAL_CANCEL_AUTO_TURN_BACK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '取消自动折返({3})',
|
||||
trainingRemark: '取消自动折返功能',
|
||||
trainingRemark: '取消自动办理终端折返站的折入和折返进路',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -912,7 +918,7 @@ export default {
|
||||
operateType: CMD.Station.CMD_STATION_SET_MASTER_GUIDE_LOCK.value,
|
||||
skinCode: '04',
|
||||
trainingName: '引导总锁({26})',
|
||||
trainingRemark: '设置引导总锁',
|
||||
trainingRemark: '当道岔失去表示时,通过办理引导总锁,锁闭该设备集中站的所有道岔。道岔锁闭后,可开放相应的引导信号。此时,行车安全完全由人工保证。',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
|
@ -100,7 +100,7 @@ export default {
|
||||
operateType: 'Station_Set_CI_Auto_Trigger',
|
||||
skinCode: '07',
|
||||
trainingName: '全站设置联锁自动触发({26})',
|
||||
trainingRemark: '全站设置联锁自动触发',
|
||||
trainingRemark: '向 ATP 下达“全站设置联锁自动触发命令”成功后,本一级集中站内,所有在联锁表中配置了联锁自动触发的进路都会被设置为联锁自动触发模式。',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -113,7 +113,7 @@ export default {
|
||||
operateType: 'Station_Cancel_CI_Auto_Trigger',
|
||||
skinCode: '07',
|
||||
trainingName: '全站取消联锁自动触发({26})',
|
||||
trainingRemark: '全站取消联锁自动触发',
|
||||
trainingRemark: '向 ATP 下达“全站取消联锁自动触发命令”成功后,本一级集中站内,所有设置了联锁自动触发的进路都会被取消联锁自动触发模式。',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -629,7 +629,7 @@ export default {
|
||||
operateType: 'Switch_Set_Limit_Speed',
|
||||
skinCode: '02',
|
||||
trainingName: '道岔区段设置限速({7})',
|
||||
trainingRemark: '对道岔设置限速(限速值:5)',
|
||||
trainingRemark: '对道岔区段设置限速(限速值:5)',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -648,7 +648,7 @@ export default {
|
||||
operateType: 'Switch_Cancel_Limit_Speed',
|
||||
skinCode: '02',
|
||||
trainingName: '道岔区段取消限速({7})',
|
||||
trainingRemark: '取消对道岔的限速',
|
||||
trainingRemark: '取消对道岔区段的限速',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -922,7 +922,7 @@ export default {
|
||||
operateType: 'Station_Close_Auto_Setting',
|
||||
skinCode: '07',
|
||||
trainingName: '全站进路交人工控({26})',
|
||||
trainingRemark: '全站进路交人工控',
|
||||
trainingRemark: '将全站信号机为始端的进路取消ATS自动触发使能转为人工办理',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -936,7 +936,7 @@ export default {
|
||||
operateType: 'Station_Open_Auto_Setting',
|
||||
skinCode: '07',
|
||||
trainingName: '全站进路ATS自排({26})',
|
||||
trainingRemark: '全站进路ATS自排',
|
||||
trainingRemark: '将全站信号机为始端的进路设置为由ATS自动触发使能',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
|
@ -36,7 +36,7 @@ export default {
|
||||
operateType: 'Stand_Set_Hold_Train_Batch',
|
||||
skinCode: '06',
|
||||
trainingName: '批量扣车({10}-{12} 站台)',
|
||||
trainingRemark: '批量扣车功能',
|
||||
trainingRemark: '设置多个站台扣车',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'], // 产品类型 01 现地 02 行调
|
||||
stepVOList: [
|
||||
@ -50,7 +50,7 @@ export default {
|
||||
operateType: 'Stand_Cancel_Hold_Train_Batch',
|
||||
skinCode: '06',
|
||||
trainingName: '取消批量扣车({10}-{12} 站台)',
|
||||
trainingRemark: '取消批量扣车功能',
|
||||
trainingRemark: '取消多个站台扣车',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'], // 产品类型 01 现地 02 行调
|
||||
stepVOList: [
|
||||
@ -204,7 +204,7 @@ export default {
|
||||
operateType: 'Stand_Set_Hold_Train_Auto',
|
||||
skinCode: '06',
|
||||
trainingName: '区间列车数量限制({10}-{12}站台)',
|
||||
trainingRemark: '区间列车数量限制',
|
||||
trainingRemark: '维护台通过选择此功能可对某一站台上行或下行方向设置自动扣车功能使能。当设置后,如果前方隧道内列车超过一定数量,ATS会自动在该站台设置相应方向的站台扣车。',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -218,7 +218,7 @@ export default {
|
||||
operateType: 'Stand_Cancel_Hold_Train_Auto',
|
||||
skinCode: '06',
|
||||
trainingName: '取消区间列车数量限制({10}-{12}站台)',
|
||||
trainingRemark: '取消区间列车数量限制',
|
||||
trainingRemark: '维护台选择此功能用于取消对某一站台上行或下行方向自动扣车功能',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -380,7 +380,8 @@ export default {
|
||||
operateType: 'Switch_Normal_Position',
|
||||
skinCode: '06',
|
||||
trainingName: '定操({7})',
|
||||
trainingRemark: '道岔定操功能({7})',
|
||||
trainingRemark: '在道岔未锁闭的情况下将道岔单操至定位',
|
||||
// ({7})
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -395,7 +396,8 @@ export default {
|
||||
operateType: 'Switch_Reverse_Position', // 0313 新增定位字典
|
||||
skinCode: '06',
|
||||
trainingName: '反操({7})',
|
||||
trainingRemark: '道岔反操功能({7})',
|
||||
trainingRemark: '在道岔未锁闭的情况下将道岔单操至反位',
|
||||
// ({7})
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -520,7 +522,7 @@ export default {
|
||||
operateType: 'Switch_Set_Limit_Speed',
|
||||
skinCode: '06',
|
||||
trainingName: '设置临时限速({7})',
|
||||
trainingRemark: '对道岔设置限速(限速值:10)',
|
||||
trainingRemark: '对道岔区段设置限速(限速值:10)',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -539,7 +541,7 @@ export default {
|
||||
operateType: 'Switch_Set_Limit_Speed',
|
||||
skinCode: '06',
|
||||
trainingName: '设置临时限速({7})',
|
||||
trainingRemark: '取消对道岔的限速(限速值:不限速)',
|
||||
trainingRemark: '取消对道岔区段的限速(限速值:不限速)',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -702,7 +704,7 @@ export default {
|
||||
operateType: 'Signal_Human_Release_Route',
|
||||
skinCode: '06',
|
||||
trainingName: '人解列车进路({5})',
|
||||
trainingRemark: '人解列车进路',
|
||||
trainingRemark: '当需取消已处于接近锁闭状态(接近区段有车、信号开放、进路空闲)的进路时,可以使用人解进路功能;在办理取消引导接车进路时,使用人解进路功能',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -772,7 +774,6 @@ export default {
|
||||
{ deviceType: '04', orderNum: 2, operateCode: '316', tip: '鼠标左键点击【确定】按钮' }
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
maxDuration: 20,
|
||||
minDuration: 15,
|
||||
@ -823,7 +824,7 @@ export default {
|
||||
operateType: 'Signal_Set_Auto_Turn_Back',
|
||||
skinCode: '06',
|
||||
trainingName: '设置自动折返({3})',
|
||||
trainingRemark: '设置自动折返',
|
||||
trainingRemark: '自动办理终端折返站的折入和折返进路',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -839,7 +840,7 @@ export default {
|
||||
operateType: 'Signal_Cancel_Auto_Turn_Back',
|
||||
skinCode: '06',
|
||||
trainingName: '取消自动折返({3})',
|
||||
trainingRemark: '取消自动折返',
|
||||
trainingRemark: '取消自动办理终端折返站的折入和折返进路',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -855,7 +856,7 @@ export default {
|
||||
operateType: 'Station_Close_Auto_Setting',
|
||||
skinCode: '06',
|
||||
trainingName: '所有进路自排关({26})',
|
||||
trainingRemark: '所有进路自排关',
|
||||
trainingRemark: '将车站中所有进路交人工控',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -869,7 +870,7 @@ export default {
|
||||
operateType: 'Station_Cancel_CI_Auto_Trigger',
|
||||
skinCode: '06',
|
||||
trainingName: '全站取消联锁自动触发({26})',
|
||||
trainingRemark: '全站取消联锁自动触发',
|
||||
trainingRemark: '取消全站信号机处于联锁自动排列进路',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -882,7 +883,7 @@ export default {
|
||||
operateType: 'Station_Set_CI_Auto_Trigger',
|
||||
skinCode: '06',
|
||||
trainingName: '全站设置联锁自动触发({26})',
|
||||
trainingRemark: '全站设置联锁自动触发',
|
||||
trainingRemark: '设置全站信号机处于联锁自动排列进路',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -911,7 +912,7 @@ export default {
|
||||
operateType: 'Station_Set_Or_Cancel_Force_Physical_Signal',
|
||||
skinCode: '06',
|
||||
trainingName: '设置/取消强制点灯({26})',
|
||||
trainingRemark: '设置/取消强制点灯',
|
||||
trainingRemark: '信号检修时,使用强制点灯操作',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -930,7 +931,7 @@ export default {
|
||||
operateType: 'Station_Open_Auto_Setting',
|
||||
skinCode: '06',
|
||||
trainingName: '所有进路自排开({26})',
|
||||
trainingRemark: '所有进路自排开',
|
||||
trainingRemark: '将车站中所有进路交自动控',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -984,6 +985,7 @@ export default {
|
||||
// { deviceType: '05', orderNum: 2, operateCode: '10002', tip: '鼠标左键点击【确定】按钮' },
|
||||
// ]
|
||||
// },
|
||||
// 后端未生成
|
||||
{
|
||||
maxDuration: 15,
|
||||
minDuration: 8,
|
||||
@ -1008,7 +1010,7 @@ export default {
|
||||
operateType: 'Station_Open_Auto_Setting',
|
||||
skinCode: '06',
|
||||
trainingName: '{26}全站进路交自动控',
|
||||
trainingRemark: '全站进路交自动控',
|
||||
trainingRemark: '将全站进路设置为由ATS自动触发使能',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -1023,7 +1025,7 @@ export default {
|
||||
operateType: 'Station_Set_CI_Auto',
|
||||
skinCode: '06',
|
||||
trainingName: '设置{26}全站自动通过进路',
|
||||
trainingRemark: '设置全站自动通过进路',
|
||||
trainingRemark: '一次性对集中站所有信号机设置自动通过模式',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -1038,7 +1040,7 @@ export default {
|
||||
operateType: 'Station_Cancel_CI_Auto',
|
||||
skinCode: '06',
|
||||
trainingName: '取消{26}全站自动通过进路',
|
||||
trainingRemark: '取消全站自动通过进路',
|
||||
trainingRemark: '一次性对集中站所有信号机取消自动通过模式',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -1046,7 +1048,7 @@ export default {
|
||||
{ deviceType: 'mbm', orderNum: 2, operateCode: '6151', tip: '鼠标左键点击菜单【取消{26}全站自动通过进路】' },
|
||||
{ deviceType: '05', orderNum: 3, operateCode: '6152', tip: '鼠标左键点击【确定】按钮' }
|
||||
]
|
||||
},
|
||||
}
|
||||
// {
|
||||
// maxDuration: 15,
|
||||
// minDuration: 8,
|
||||
@ -1064,22 +1066,23 @@ export default {
|
||||
// { deviceType: '05', orderNum: 5, operateCode: '001', tip: '鼠标左键点击【关闭】按钮' }
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
maxDuration: 15,
|
||||
minDuration: 8,
|
||||
operateType: 'Station_Power_On_Unlock',
|
||||
skinCode: '06',
|
||||
trainingName: '上电解锁({26})',
|
||||
trainingRemark: '上电解锁',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['01'],
|
||||
stepVOList:[
|
||||
{deviceType: '05', orderNum: 1, operateCode: '603', tip: '鼠标右键菜单选择【上电解锁】'},
|
||||
{deviceType: '05', orderNum: 2, operateCode: '6031', tip: '鼠标左键点击【下达】'},
|
||||
{deviceType: '05', orderNum: 3, operateCode: '6033', tip: '鼠标左键点击【确认1】'},
|
||||
{deviceType: '05', orderNum: 4, operateCode: '6034', tip: '鼠标左键点击【确认2】'},
|
||||
{deviceType: '05', orderNum: 5, operateCode: '001', tip: '鼠标左键点击【关闭】按钮'}
|
||||
]
|
||||
}
|
||||
// 暂不生成
|
||||
// {
|
||||
// maxDuration: 15,
|
||||
// minDuration: 8,
|
||||
// operateType: 'Station_Power_On_Unlock',
|
||||
// skinCode: '06',
|
||||
// trainingName: '上电解锁({26})',
|
||||
// trainingRemark: '上电解锁当联锁机上电重启后,系统处于初始启动状态,在正常使用之前须在直连视图下执行“上电解锁”操作',
|
||||
// trainingType: 'Station',
|
||||
// productTypes: ['01'],
|
||||
// stepVOList:[
|
||||
// {deviceType: '05', orderNum: 1, operateCode: '603', tip: '鼠标右键菜单选择【上电解锁】'},
|
||||
// {deviceType: '05', orderNum: 2, operateCode: '6031', tip: '鼠标左键点击【下达】'},
|
||||
// {deviceType: '05', orderNum: 3, operateCode: '6033', tip: '鼠标左键点击【确认1】'},
|
||||
// {deviceType: '05', orderNum: 4, operateCode: '6034', tip: '鼠标左键点击【确认2】'},
|
||||
// {deviceType: '05', orderNum: 5, operateCode: '001', tip: '鼠标左键点击【关闭】按钮'}
|
||||
// ]
|
||||
// }
|
||||
]
|
||||
};
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@ export default {
|
||||
operateType: 'Stand_Set_Hold_Train',
|
||||
skinCode: '09',
|
||||
trainingName: '扣车({10}-{12} 站台)',
|
||||
trainingRemark: '设置扣车功能',
|
||||
trainingRemark: '用于在某一指定站台设置扣车,设置后当列车运行至该站台时,将会执行扣车,列车不再行驶',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['01', '02'], // 产品类型 01 现地 02 行调
|
||||
stepVOList: [
|
||||
@ -21,8 +21,8 @@ export default {
|
||||
minDuration: 5,
|
||||
operateType: 'Stand_Cancel_Hold_Train',
|
||||
skinCode: '09',
|
||||
trainingName: '取消扣车({10}-{12} 站台)',
|
||||
trainingRemark: '取消扣车功能',
|
||||
trainingName: '发车({10}-{12} 站台)',
|
||||
trainingRemark: '对某一指定站台取消之前设置的扣车',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['01', '02'], // 产品类型 01 现地 02 行调
|
||||
stepVOList: [
|
||||
@ -38,7 +38,7 @@ export default {
|
||||
operateType: 'Stand_Set_Jump_Stop',
|
||||
skinCode: '09',
|
||||
trainingName: '设置跳停({10}-{12}站台)',
|
||||
trainingRemark: '设置跳停功能',
|
||||
trainingRemark: '设置一个跳停本站命令,请求列车跳过这个计划中本要停靠的车站。系统传输跳停信息给列车',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -54,7 +54,7 @@ export default {
|
||||
operateType: 'Stand_Cancel_Jump_Stop',
|
||||
skinCode: '09',
|
||||
trainingName: '取消跳停({10}-{12}站台)',
|
||||
trainingRemark: '设置取消跳停功能',
|
||||
trainingRemark: '对指定站台取消之前设置的跳停命令',
|
||||
trainingType: 'Stand',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -126,14 +126,13 @@ export default {
|
||||
{ deviceType: '06', orderNum: 2, operateCode: '0012', tip: '鼠标左键点击【确定】按钮' }
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
maxDuration: 15,
|
||||
minDuration: 8,
|
||||
operateType: 'Section_Fault_Unlock',
|
||||
skinCode: '09',
|
||||
trainingName: '区段故障解锁({8}{9})',
|
||||
trainingRemark: '区段故障解锁',
|
||||
trainingRemark: '列车通过进路时,因进路中设备故障,无法正常解锁时,需采用故障解锁使未解锁的部分解锁',
|
||||
trainingType: 'Section',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -214,7 +213,7 @@ export default {
|
||||
operateType: 'Section_Block',
|
||||
skinCode: '09',
|
||||
trainingName: '区段封锁({8}{9})',
|
||||
trainingRemark: '区段封锁功能',
|
||||
trainingRemark: '封锁后,禁止通过该区段排列进路',
|
||||
trainingType: 'Section',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -228,7 +227,7 @@ export default {
|
||||
operateType: 'Section_Unblock',
|
||||
skinCode: '09',
|
||||
trainingName: '区段解封({8}{9})',
|
||||
trainingRemark: '区段解封功能',
|
||||
trainingRemark: '允许通过该区段排列进路',
|
||||
trainingType: 'Section',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -243,8 +242,9 @@ export default {
|
||||
minDuration: 8,
|
||||
operateType: 'Switch_Normal_Position',
|
||||
skinCode: '09',
|
||||
trainingName: '定操({7})',
|
||||
trainingRemark: '定操({7})',
|
||||
trainingName: '道岔定位({7})',
|
||||
trainingRemark: '通过“道岔定位”功能请求道岔转至定位',
|
||||
// ({7})
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -257,8 +257,9 @@ export default {
|
||||
minDuration: 8,
|
||||
operateType: 'Switch_Reverse_Position',
|
||||
skinCode: '09',
|
||||
trainingName: '反操({7})',
|
||||
trainingRemark: '反操({7})',
|
||||
trainingName: '道岔反位({7})',
|
||||
trainingRemark: '通过“道岔反位”功能请求道岔转至反位',
|
||||
// ({7})
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -272,7 +273,7 @@ export default {
|
||||
operateType: 'Switch_Single_Lock',
|
||||
skinCode: '09',
|
||||
trainingName: '道岔单锁({7})',
|
||||
trainingRemark: '道岔单锁功能',
|
||||
trainingRemark: '通过“道岔单锁”功能请求系统阻止道岔从其当前位置进行转动',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -286,7 +287,7 @@ export default {
|
||||
operateType: 'Switch_Single_Unlock',
|
||||
skinCode: '09',
|
||||
trainingName: '道岔单解({7})',
|
||||
trainingRemark: '道岔单解功能',
|
||||
trainingRemark: '通过“道岔单解”功能请求系统对已单锁的道岔解锁',
|
||||
trainingType: 'Switch',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -303,7 +304,7 @@ export default {
|
||||
operateType: 'Signal_Set_Route',
|
||||
skinCode: '09',
|
||||
trainingName: '排列进路({3})',
|
||||
trainingRemark: '排列进路',
|
||||
trainingRemark: '进路:列车在站内运行时所经由的路径。依据进路是否建立,可以将进路状态分成锁闭状态和解锁状态。建立了进路,即指利用该进路排列了进路,称该进路处于锁闭状态。进路处于锁闭状态时,进路上的所有道岔被锁闭在规定位置(不能转换位置),防护该进路的信号机才能开放,列车才可能在该进路上运行。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -318,7 +319,7 @@ export default {
|
||||
operateType: 'Signal_Cancel_Route',
|
||||
skinCode: '09',
|
||||
trainingName: '取消进路({3})',
|
||||
trainingRemark: '取消进路',
|
||||
trainingRemark: '当列车运行通过锁闭的进路后,该进路将被解锁而处于解锁状态。解锁状态时进路上道岔随时有转换位置的可能,列车在该进路上运行将极其危险,因而一般不允许列车在没有锁闭的进路上运行。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -332,7 +333,7 @@ export default {
|
||||
operateType: 'Signal_Set_CI_Auto',
|
||||
skinCode: '09',
|
||||
trainingName: '开放自动进路({5})',
|
||||
trainingRemark: '设置联锁自动进路',
|
||||
trainingRemark: '设置“自动进路”功能可通过信号机开放自动进路或取消自动进路。“开放自动进路”可让系统在进路区段出清时自动重新开放进路。如果信号关闭并且道岔处于定位,则可使用信号自动进路功能开放信号。联锁自动进路',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -346,7 +347,7 @@ export default {
|
||||
operateType: 'Signal_Cancel_CI_Auto',
|
||||
skinCode: '09',
|
||||
trainingName: '关闭自动进路({5})',
|
||||
trainingRemark: '取消自动联锁进路',
|
||||
trainingRemark: '“关闭自动进路”让系统关闭信号机自动进路功能,并且仅可在已经开放自动进路的信号机上请求。“关闭自动进路”并不取消进路。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -360,7 +361,7 @@ export default {
|
||||
operateType: 'Signal_Block',
|
||||
skinCode: '09',
|
||||
trainingName: '终端信号封锁({5})',
|
||||
trainingRemark: '终端信号封锁功能',
|
||||
trainingRemark: '终端信号封锁/解封”功能可以防止调度员开放以此信号机作为终端的进路或在信号解锁并允许再次设置进路。“终端信号封锁”阻止以此信号机作为终端设置进路。',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -374,7 +375,7 @@ export default {
|
||||
operateType: 'Signal_Unblock',
|
||||
skinCode: '09',
|
||||
trainingName: '终端信号解封({5})',
|
||||
trainingRemark: '终端信号解封功能',
|
||||
trainingRemark: '“终端信号解封”取消信号机终端封锁',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -390,14 +391,14 @@ export default {
|
||||
operateType: 'Signal_Set_Guide',
|
||||
skinCode: '09',
|
||||
trainingName: '引导信号({5})',
|
||||
trainingRemark: '引导信号功能',
|
||||
trainingRemark: '开放信号并建立引导进路。如果进路内任一轨道故障出现红光带,在确认故障轨道无车占用的情况下,可在接近轨道占用时开放引导信号',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
{ deviceType: '04', orderNum: 1, operateCode: '308', tip: '鼠标右键菜单选择【引导信号】' },
|
||||
{ deviceType: '04', orderNum: 2, operateCode: '009', tip: '鼠标左键点击【发送请求】按钮' }
|
||||
],
|
||||
config: {onlySignalOP:true}
|
||||
config: {onlySignalOP:true}
|
||||
},
|
||||
{
|
||||
maxDuration: 15,
|
||||
@ -405,7 +406,7 @@ export default {
|
||||
operateType: 'Signal_Find_Routes_Status',
|
||||
skinCode: '09',
|
||||
trainingName: '帮助({5})',
|
||||
trainingRemark: '帮助',
|
||||
trainingRemark: '查看某个信号机为始端的进路是否处于ATS自动触发状态',
|
||||
trainingType: 'Signal',
|
||||
productTypes: ['01', '02'],
|
||||
stepVOList: [
|
||||
@ -447,7 +448,7 @@ export default {
|
||||
operateType: 'CM_Apply_For_Station_Control',
|
||||
skinCode: '09',
|
||||
trainingName: '本地控制许可/请求({2})',
|
||||
trainingRemark: '本地控制许可功能/请求',
|
||||
trainingRemark: '从 ATS 车站工作站请求本地控制',
|
||||
trainingType: 'ControlConvertMenu',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -461,7 +462,7 @@ export default {
|
||||
operateType: 'CM_Apply_For_Center_Control',
|
||||
skinCode: '09',
|
||||
trainingName: '本地控制许可/取消({2})',
|
||||
trainingRemark: '本地控制许可/取消功能',
|
||||
trainingRemark: '可通过“本地控制->取消”功能释放本地控制,将本地控制权限返回中央ATS。',
|
||||
trainingType: 'ControlConvertMenu',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -475,7 +476,7 @@ export default {
|
||||
operateType: 'CM_Emergency_Station_Control',
|
||||
skinCode: '09',
|
||||
trainingName: '本地控制许可/紧急本地控制({2})',
|
||||
trainingRemark: '本地控制许可/紧急本地控制功能',
|
||||
trainingRemark: '在ATS车站工作站进行操作时,需要从中央ATS快速获取紧急情况下的控制,用户可使用“紧急本地控制”功能。',
|
||||
trainingType: 'ControlConvertMenu',
|
||||
productTypes: ['01'],
|
||||
stepVOList: [
|
||||
@ -490,7 +491,7 @@ export default {
|
||||
operateType: 'Station_Open_Auto_Setting',
|
||||
skinCode: '09',
|
||||
trainingName: '进路模式/自动({26})',
|
||||
trainingRemark: '进路模式/自动功能',
|
||||
trainingRemark: '将某个信号机为始端的某条进路设置为由ATS自动触发使能',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -505,7 +506,7 @@ export default {
|
||||
operateType: 'Station_Close_Auto_Setting',
|
||||
skinCode: '09',
|
||||
trainingName: '进路模式/人工({26})',
|
||||
trainingRemark: '进路模式/人工功能',
|
||||
trainingRemark: '将某个信号机为始端的进路取消ATS自动触发使能转为人工办理',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -520,7 +521,7 @@ export default {
|
||||
operateType: 'Station_Set_Turn_Back_Strategy',
|
||||
skinCode: '09',
|
||||
trainingName: '折返模式/侧线优先({26})',
|
||||
trainingRemark: '折返模式/侧线优先功能',
|
||||
trainingRemark: '折返站的折返模式应根据运营需要进行设置。(侧线优先)',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -534,7 +535,7 @@ export default {
|
||||
operateType: 'Station_Set_Turn_Back_Strategy',
|
||||
skinCode: '09',
|
||||
trainingName: '折返模式/直线折返({26})',
|
||||
trainingRemark: '折返模式/直线折返功能',
|
||||
trainingRemark: '折返站的折返模式应根据运营需要进行设置。(直线折返)',
|
||||
trainingType: 'Station',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
@ -548,7 +549,8 @@ export default {
|
||||
operateType: 'Station_Set_Turn_Back_Strategy',
|
||||
skinCode: '09',
|
||||
trainingName: '折返模式/侧线折返({26})',
|
||||
trainingRemark: '折返模式/侧线折返功能',
|
||||
trainingRemark: '折返站的折返模式应根据运营需要进行设置。(侧线折返)',
|
||||
// 共有三种折返模式:侧线优先、直线折返、侧线折返
|
||||
trainingType: 'Station',
|
||||
productTypes: ['02'],
|
||||
stepVOList: [
|
||||
|
@ -30,7 +30,8 @@ export const MapDeviceType = {
|
||||
export const deviceFaultType = {
|
||||
Section: [
|
||||
{label: '计轴故障', value: 'FAULT'},
|
||||
{label: '通信车占用', value: 'CBTC_OCCUPIED_FAULT'}
|
||||
{label: '通信车占用', value: 'CBTC_OCCUPIED_FAULT'},
|
||||
{label: 'ARB', value: 'ARB'}
|
||||
// {label: '计轴干扰', value: 'DISTURBANCE'}
|
||||
],
|
||||
Signal: [
|
||||
@ -68,7 +69,8 @@ export const deviceFaultType = {
|
||||
export const deviceFaultMap = {
|
||||
Section: {
|
||||
FAULT: '计轴故障',
|
||||
CBTC_OCCUPIED_FAULT: '通信车占用'
|
||||
CBTC_OCCUPIED_FAULT: '通信车占用',
|
||||
ARB: 'ARB'
|
||||
},
|
||||
Signal: {
|
||||
MAIN_FILAMENT_BROKEN: '熔断'
|
||||
|
@ -891,15 +891,16 @@ const map = {
|
||||
updateStationStand: (state, status) => {
|
||||
const holdIndex = state.holdStandList.indexOf(status.code);
|
||||
const jumpIndex = state.jumpStandList.indexOf(status.code);
|
||||
if ((status.stationHoldTrain || status.centerHoldTrain) && holdIndex < 0) {
|
||||
state.holdStandList.push(status.code);
|
||||
} else if (!(status.stationHoldTrain && status.centerHoldTrain) && holdIndex > -1) {
|
||||
const device = state.mapDevice[status.code];
|
||||
if ((device.stationHoldTrain || device.centerHoldTrain) && holdIndex < 0) {
|
||||
state.holdStandList.push(device.code);
|
||||
} else if (!(device.stationHoldTrain || device.centerHoldTrain) && holdIndex > -1) {
|
||||
state.holdStandList.splice(holdIndex, 1);
|
||||
}
|
||||
state.holdStatus = state.holdStandList.length > 0;
|
||||
if ((status.assignSkip || status.allSkip) && jumpIndex < 0) {
|
||||
state.jumpStandList.push(status.code);
|
||||
} else if (!(status.assignSkip && status.allSkip) && jumpIndex > -1) {
|
||||
if ((device.assignSkip || device.allSkip) && jumpIndex < 0) {
|
||||
state.jumpStandList.push(device.code);
|
||||
} else if (!(device.assignSkip || device.allSkip) && jumpIndex > -1) {
|
||||
state.jumpStandList.splice(jumpIndex, 1);
|
||||
}
|
||||
state.jumpStatus = state.jumpStandList.length > 0;
|
||||
|
@ -113,7 +113,7 @@ const runPlan = {
|
||||
state.planData[serviceNumber] = { oldIndex, serviceNumber, trainMap: {} };
|
||||
state.planLoadedCount++;
|
||||
}
|
||||
},
|
||||
},
|
||||
clear: (state) => {
|
||||
// state.stations = [];
|
||||
state.planData = {};
|
||||
|
@ -71,17 +71,20 @@ export default {
|
||||
const point = {};
|
||||
point.x = e.clientX;
|
||||
point.y = e.clientY;
|
||||
const stationList = [];
|
||||
if (this.$store.state.map.holdStandList.length) {
|
||||
this.menu = [];
|
||||
this.$store.state.map.holdStandList.forEach(item => {
|
||||
const stand = this.$store.getters['map/getDeviceByCode'](item);
|
||||
const station = this.$store.getters['map/getDeviceByCode'](stand.stationCode);
|
||||
this.menu.push({
|
||||
label: station.name,
|
||||
code: station.code,
|
||||
handler: this.setCenter
|
||||
});
|
||||
|
||||
if (stationList.indexOf(station.code) === -1) {
|
||||
stationList.push(station.code);
|
||||
this.menu.push({
|
||||
label: station.name,
|
||||
code: station.code,
|
||||
handler: this.setCenter
|
||||
});
|
||||
}
|
||||
});
|
||||
if (this.$refs && this.$refs.popMenu) {
|
||||
this.$refs.popMenu.resetShowPosition(point);
|
||||
@ -94,14 +97,18 @@ export default {
|
||||
point.y = e.clientY;
|
||||
if (this.$store.state.map.jumpStandList.length) {
|
||||
this.menu = [];
|
||||
const stationList = [];
|
||||
this.$store.state.map.jumpStandList.forEach(item => {
|
||||
const stand = this.$store.getters['map/getDeviceByCode'](item);
|
||||
const station = this.$store.getters['map/getDeviceByCode'](stand.stationCode);
|
||||
this.menu.push({
|
||||
label: station.name,
|
||||
code: station.code,
|
||||
handler: this.setCenter
|
||||
});
|
||||
if (stationList.indexOf(station.code) === -1) {
|
||||
stationList.push(station.code);
|
||||
this.menu.push({
|
||||
label: station.name,
|
||||
code: station.code,
|
||||
handler: this.setCenter
|
||||
});
|
||||
}
|
||||
});
|
||||
if (this.$refs && this.$refs.popMenu) {
|
||||
this.$refs.popMenu.resetShowPosition(point);
|
||||
|
@ -15,6 +15,16 @@
|
||||
<el-form-item :label="this.$t('ibp.yCoordinate')">
|
||||
<el-input-number v-model="form.y" controls-position="right" :min="1" />
|
||||
</el-form-item>
|
||||
<el-form-item label="方向">
|
||||
<el-select v-model="form.direction" placeholder="请选择">
|
||||
<el-option
|
||||
v-for="(item, i) in directions"
|
||||
:key="i"
|
||||
:label="item.name"
|
||||
:value="item.value"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="onSubmit('form')">{{ buttonText }}</el-button>
|
||||
<el-button v-show="showDeleteButton" type="danger" @click="deleteDevice">{{ $t('global.delete') }}</el-button>
|
||||
@ -38,7 +48,8 @@ export default {
|
||||
code: '',
|
||||
alarmWidth: '',
|
||||
x: 10,
|
||||
y: 10
|
||||
y: 10,
|
||||
direction: null,
|
||||
},
|
||||
rules: {
|
||||
code: [
|
||||
@ -47,7 +58,12 @@ export default {
|
||||
alarmWidth: [
|
||||
{ required: true, message: this.$t('rules.enterTheAlarmWidth'), trigger: 'blur' }
|
||||
]
|
||||
}
|
||||
},
|
||||
directions: [
|
||||
{ name: '全部', value: null},
|
||||
{ name: '上行', value: true},
|
||||
{ name: '下行', value: false},
|
||||
],
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@ -64,6 +80,7 @@ export default {
|
||||
this.form.alarmWidth = model.width;
|
||||
this.form.x = model.point.x;
|
||||
this.form.y = model.point.y;
|
||||
this.form.direction = model.direction
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -80,7 +97,8 @@ export default {
|
||||
},
|
||||
code: this.form.code,
|
||||
_type: 'Alarm',
|
||||
width: this.form.alarmWidth
|
||||
width: this.form.alarmWidth,
|
||||
direction: this.form.direction
|
||||
};
|
||||
this.$emit('createData', alarmModel);
|
||||
this.initPage();
|
||||
@ -97,7 +115,8 @@ export default {
|
||||
},
|
||||
code: this.form.code,
|
||||
_type: 'Alarm',
|
||||
width: this.form.alarmWidth
|
||||
width: this.form.alarmWidth,
|
||||
direction: this.form.direction
|
||||
};
|
||||
this.$emit('deleteDataModel', alarmModel );
|
||||
this.initPage();
|
||||
@ -110,7 +129,8 @@ export default {
|
||||
code: '',
|
||||
alarmWidth: '',
|
||||
x: 10,
|
||||
y: 10
|
||||
y: 10,
|
||||
direction: null
|
||||
};
|
||||
},
|
||||
generateCode() {
|
||||
|
@ -44,6 +44,16 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="needDirectionItem" label="方向">
|
||||
<el-select v-model="form.direction" placeholder="请选择">
|
||||
<el-option
|
||||
v-for="(item, i) in directions"
|
||||
:key="i"
|
||||
:label="item.name"
|
||||
:value="item.value"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="onSubmit('form')">{{ buttonText }}</el-button>
|
||||
<el-button v-show="showDeleteButton" type="danger" @click="deleteDevice">{{ $t('global.delete') }}</el-button>
|
||||
@ -65,19 +75,17 @@ export default {
|
||||
buttonText: this.$t('ibp.createNow'),
|
||||
showDeleteButton: false,
|
||||
operateMeanList: [
|
||||
{ label: '上行扣车', value: 'SXKC' },
|
||||
{ label: '下行扣车', value: 'XXKC' },
|
||||
{ label: '上行终止扣车', value: 'SXZZKC' },
|
||||
{ label: '下行终止扣车', value: 'XXZZKC' },
|
||||
{ label: '扣车', value: 'KC' },
|
||||
{ label: '终止扣车', value: 'ZZKC' },
|
||||
{ label: '紧急停车', value: 'JJTC' },
|
||||
{ label: '取消紧急停车', value: 'QXJJTC' },
|
||||
{ label: '报警切除', value: 'BJQC' },
|
||||
{ label: '下行屏蔽门开门', value: 'XXKM' },
|
||||
{ label: '上行屏蔽门开门', value: 'SXKM' },
|
||||
{ label: '屏蔽门开门', value: 'KM' },
|
||||
{ label: '计轴复位', value: 'AXLE_RESET' },
|
||||
{ label: '计轴预复位', value: 'AXLE_PRE_RESET' },
|
||||
{ label: '计轴预复零', value: 'PRERESET_Z' },
|
||||
],
|
||||
operateWithoutDirections: ['AXLE_RESET', 'AXLE_PRE_RESET', 'PRERESET_Z'],
|
||||
form: {
|
||||
code: '',
|
||||
buttonColor: 'red',
|
||||
@ -85,7 +93,8 @@ export default {
|
||||
x: 10,
|
||||
y: 10,
|
||||
sectionCode: '',
|
||||
mean: ''
|
||||
mean: '',
|
||||
direction: null,
|
||||
},
|
||||
rules: {
|
||||
code: [
|
||||
@ -99,13 +108,20 @@ export default {
|
||||
],
|
||||
sectionCode: [
|
||||
{ required: true, message: '请选择关联区段', trigger: 'blur' }
|
||||
]
|
||||
],
|
||||
},
|
||||
sectionList: []
|
||||
sectionList: [],
|
||||
directions: [
|
||||
{ name: '全部', value: null},
|
||||
{ name: '上行', value: true},
|
||||
{ name: '下行', value: false},
|
||||
],
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
||||
needDirectionItem() {
|
||||
return !this.operateWithoutDirections.includes(this.form.mean);
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$store.state.ibp.rightClickCount': function (val) {
|
||||
@ -121,6 +137,7 @@ export default {
|
||||
this.form.y = model.point.y;
|
||||
this.form.mean = model.mean;
|
||||
this.form.sectionCode = model.sectionCode;
|
||||
this.form.direction = model.direction;
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -128,7 +145,7 @@ export default {
|
||||
if (this.$route.query.stationCode) {
|
||||
getSectionListByCenStationCode(this.$route.query.mapId, this.$route.query.stationCode).then(resp => {
|
||||
this.sectionList = resp.data;
|
||||
console.log(resp.data);
|
||||
// console.log(resp.data);
|
||||
}).catch(() => {
|
||||
this.$message.error('获取区段列表失败!');
|
||||
});
|
||||
@ -142,9 +159,6 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// consoleChange() {
|
||||
// console.log(this.form.mean === 'PRERESET', this.form.mean );
|
||||
// },
|
||||
onSubmit(form) {
|
||||
this.$refs[form].validate((valid) => {
|
||||
if (valid) {
|
||||
@ -159,7 +173,8 @@ export default {
|
||||
status: 'off',
|
||||
width: this.form.buttonWidth,
|
||||
mean: this.form.mean,
|
||||
sectionCode: this.form.sectionCode
|
||||
sectionCode: this.form.sectionCode,
|
||||
direction: this.form.direction,
|
||||
};
|
||||
this.$emit('createData', buttonModel);
|
||||
this.initPage();
|
||||
@ -180,7 +195,8 @@ export default {
|
||||
status: 'off',
|
||||
width: this.form.buttonWidth,
|
||||
mean: this.form.mean,
|
||||
sectionCode: this.form.sectionCode
|
||||
sectionCode: this.form.sectionCode,
|
||||
direction: this.form.direction,
|
||||
};
|
||||
this.$emit('deleteDataModel', buttonModel );
|
||||
this.initPage();
|
||||
@ -196,7 +212,8 @@ export default {
|
||||
x: 10,
|
||||
y: 10,
|
||||
mean: '',
|
||||
sectionCode: ''
|
||||
sectionCode: '',
|
||||
direction: null,
|
||||
};
|
||||
},
|
||||
generateCode() {
|
||||
|
@ -25,6 +25,16 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="方向">
|
||||
<el-select v-model="form.direction" placeholder="请选择">
|
||||
<el-option
|
||||
v-for="(item, i) in directions"
|
||||
:key="i"
|
||||
:label="item.name"
|
||||
:value="item.value"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="onSubmit('form')">{{ buttonText }}</el-button>
|
||||
<el-button v-show="showDeleteButton" type="danger" @click="deleteDevice">{{ $t('global.delete') }}</el-button>
|
||||
@ -45,20 +55,18 @@ export default {
|
||||
buttonText: this.$t('ibp.createNow'),
|
||||
showDeleteButton: false,
|
||||
showMeanList: [
|
||||
{label: '下行扣车', value: 'xxkcLight'},
|
||||
{label: '上行扣车', value: 'sxkcLight'},
|
||||
{label: '下行关门灯', value: 'xxgmLight'},
|
||||
{label: '下行开门灯', value: 'xxkmLight'},
|
||||
{label: '上行关门灯', value: 'sxgmLight'},
|
||||
{label: '上行开门灯', value: 'sxkmLight'},
|
||||
{label: '紧急停车灯', value: 'jjtcLight'}
|
||||
{label: '扣车灯', value: 'kcLight'},
|
||||
{label: '关门灯', value: 'gmLight'},
|
||||
{label: '开门灯', value: 'kmLight'},
|
||||
{label: '紧急停车灯', value: 'jjtcLight'},
|
||||
],
|
||||
form: {
|
||||
code: '',
|
||||
r: '',
|
||||
x: 10,
|
||||
y: 10,
|
||||
mean: ''
|
||||
mean: '',
|
||||
direction: null
|
||||
},
|
||||
rules: {
|
||||
code: [
|
||||
@ -67,7 +75,12 @@ export default {
|
||||
r: [
|
||||
{ required: true, message: '请输入圆形灯半径', trigger: 'blur'}
|
||||
]
|
||||
}
|
||||
},
|
||||
directions: [
|
||||
{ name: '全部', value: null},
|
||||
{ name: '上行', value: true},
|
||||
{ name: '下行', value: false},
|
||||
],
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@ -85,6 +98,7 @@ export default {
|
||||
this.form.x = model.point.x;
|
||||
this.form.y = model.point.y;
|
||||
this.form.mean = model.mean;
|
||||
this.form.direction = model.direction
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -103,6 +117,7 @@ export default {
|
||||
code: this.form.code,
|
||||
r: this.form.r,
|
||||
mean: this.form.mean,
|
||||
direction: this.form.direction,
|
||||
fillColor: '#332C22'
|
||||
};
|
||||
this.$emit('createData', lampModel);
|
||||
@ -123,6 +138,7 @@ export default {
|
||||
code: this.form.code,
|
||||
r: this.form.r,
|
||||
mean: this.form.mean,
|
||||
direction: this.form.direction,
|
||||
fillColor: '#332C22'
|
||||
};
|
||||
this.$emit('deleteDataModel', lampModel );
|
||||
@ -137,7 +153,8 @@ export default {
|
||||
r: '',
|
||||
x: 10,
|
||||
y: 10,
|
||||
mean: ''
|
||||
mean: '',
|
||||
direction: null
|
||||
};
|
||||
},
|
||||
generateCode() {
|
||||
|
@ -7,9 +7,11 @@
|
||||
<el-button v-if="$route.query.noPreLogout" type="primary" @click="quit">退出</el-button>
|
||||
</el-button-group>
|
||||
|
||||
<audio id="buzzer" controls loop="loop">
|
||||
<template v-for="alarm in alarmList" >
|
||||
<audio :key="alarm.code" :id="`buzzer_${alarm.code}`" controls loop="loop">
|
||||
<source :src="buzzerAudio" type="audio/mpeg">
|
||||
</audio>
|
||||
</audio>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -64,7 +66,8 @@ export default {
|
||||
stationCode: '',
|
||||
banUpOpenScreenDoor: false,
|
||||
banDownOpenScreenDoor: false,
|
||||
buzzerAudio:BuzzerAudio
|
||||
buzzerAudio:BuzzerAudio,
|
||||
alarmList: []
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@ -193,7 +196,8 @@ export default {
|
||||
this.setIbp(data, ibpDatas);
|
||||
this.$store.dispatch('ibp/setIbpData', ibpDatas);
|
||||
this.handleBanOpenScreenDoorStatus();
|
||||
this.preResetBtn = this.$ibp.$painter.ibpInstanceLevel.SquareButton.children().find(e=>e.model.mean === IbpOperation.PRERESET_Z.event);
|
||||
this.preResetBtn = this.$ibp.$painter.ibpInstanceLevel.SquareButton.children().find(e=>e.model.mean === IbpOperation.PRERESET_Z.event); //计轴预复零按钮
|
||||
this.alarmList = this.$ibp.$painter.ibpInstanceLevel.Alarm.children().map(e=>e.model);
|
||||
} else {
|
||||
// 无数据
|
||||
this.loading = false;
|
||||
|
@ -44,6 +44,13 @@
|
||||
@deviceChange="deviceChange"
|
||||
@deviceSelect="deviceSelect" />
|
||||
</el-tab-pane>
|
||||
<el-tab-pane class="view-control" label="批量操作" name="fourth" :lazy="lazy">
|
||||
<responder-batch-operate
|
||||
:responder-list="responderList"
|
||||
:section-list="filterSectionList"
|
||||
:signal-list="signalList"
|
||||
/>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</template>
|
||||
|
||||
@ -53,13 +60,15 @@ import ConstConfig from '@/scripts/ConstConfig';
|
||||
import ResponderCreate from './responderCreate';
|
||||
import ResponderModel from './responderModel';
|
||||
import ResponderBatch from './responderBatch';
|
||||
import ResponderBatchOperate from './responderBatchOperate';
|
||||
|
||||
export default {
|
||||
name: 'ResponderDraft',
|
||||
components: {
|
||||
ResponderCreate,
|
||||
ResponderModel,
|
||||
ResponderBatch
|
||||
ResponderBatch,
|
||||
ResponderBatchOperate
|
||||
},
|
||||
props: {
|
||||
selected: {
|
||||
|
@ -0,0 +1,86 @@
|
||||
<template>
|
||||
<div class="content">
|
||||
<el-button type="primary" size="mini" @click="batchConnectHandler"
|
||||
>一键关联信号机</el-button
|
||||
>
|
||||
<div class="desc">一键将未关联信号机的可变应答器关联到最近的信号机</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "responderBatchOperate",
|
||||
props: ["responderList", "sectionList", "signalList"],
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
methods: {
|
||||
batchConnectHandler() {
|
||||
try {
|
||||
let models = this.responderList.filter(
|
||||
el => el.type === "VB" && !el.signalCode
|
||||
);
|
||||
models.forEach(responder => {
|
||||
const sectionCode = responder.sectionCode;
|
||||
let signals = this.signalList.filter(
|
||||
signal => signal.sectionCode === sectionCode
|
||||
);
|
||||
if (signals.length === 1) {
|
||||
responder.signalCode = signals[0].code;
|
||||
} else if (signals.length > 1) {
|
||||
let signalsPosition = signals.map(_ => _.position);
|
||||
let nearestSignalCode =
|
||||
signals[
|
||||
this.chooseNearestSignal(
|
||||
responder.position,
|
||||
signalsPosition
|
||||
)
|
||||
].code;
|
||||
responder.signalCode = nearestSignalCode;
|
||||
}
|
||||
});
|
||||
this.$emit("updateMapModel", models);
|
||||
this.$message.success("关联成功");
|
||||
} catch (error) {
|
||||
this.$message.info(error);
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 计算最近的信号机的序号
|
||||
* @param {Object} respPos
|
||||
* @param {Number} respPos.x
|
||||
* @param {Number} respPos.y
|
||||
* @returns {Number} index of the Nearest element
|
||||
*/
|
||||
chooseNearestSignal(respPos, sigPos) {
|
||||
let [minDistance, idx] = [Infinity, -1];
|
||||
sigPos.forEach((s, i) => {
|
||||
let distance = this.distanceOf(respPos, s);
|
||||
if (distance < minDistance) [minDistance, idx] = [distance, i];
|
||||
});
|
||||
return idx;
|
||||
},
|
||||
|
||||
// 只是用来比较就不开根号了, 同一个区段的信号机距离应该不会溢出
|
||||
distanceOf(a, b) {
|
||||
return (b.x - a.x) ** 2 + (b.y - a.y) ** 2;
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.content {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
.desc {
|
||||
font-size: 12px;
|
||||
color: gray;
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
</style>
|
@ -167,6 +167,7 @@ export default {
|
||||
this.editModel[prop] = selected.code;
|
||||
},
|
||||
setModel(selected) {
|
||||
if (!selected.signalCode) selected.signalCode = '';
|
||||
this.editModel = deepAssign(this.editModel, selected);
|
||||
},
|
||||
deviceChange(code) {
|
||||
|
@ -85,6 +85,7 @@ export default {
|
||||
|
||||
deletePlanTrip(model).then(resp => {
|
||||
this.$store.dispatch('runPlan/setSelected', {});
|
||||
this.$store.dispatch('runPlan/setDraftSelected', {});
|
||||
this.$emit('refresh');
|
||||
// this.$emit('dispatchOperate', {
|
||||
// dialogName: 'openRunPlan', operate: 'loadRunPlanData', params: Object.assign({refresh: true}, this.$route.query)
|
||||
|
@ -74,7 +74,7 @@ export default {
|
||||
handleServiceNumber() {
|
||||
let newValue = parseInt(this.serviceNumber);
|
||||
if (newValue) {
|
||||
if (newValue > 0 & newValue < 9) {
|
||||
if (newValue > 0 & newValue <= 9) {
|
||||
newValue = '00' + newValue;
|
||||
} else if (newValue > 10 & newValue < 99) {
|
||||
newValue = '0' + newValue;
|
||||
|
@ -243,7 +243,8 @@ export default {
|
||||
this.reSize({ width: this.$store.state.runPlan.width, height: this.$store.state.runPlan.height });
|
||||
},
|
||||
'$store.state.runPlan.refreshCount': function() {
|
||||
if (this.planId || this.loadRunPlanId) {
|
||||
// || this.loadRunPlanId
|
||||
if (this.planId) {
|
||||
this.loadChartPage();
|
||||
}
|
||||
},
|
||||
@ -252,8 +253,8 @@ export default {
|
||||
// this.loadChartPage();
|
||||
// });
|
||||
// },
|
||||
loadRunPlanId() {
|
||||
if (this.planId || this.loadRunPlanId) {
|
||||
planId() {
|
||||
if (this.planId) {
|
||||
this.loadChartPage();
|
||||
} else {
|
||||
this.clearCanvas();
|
||||
@ -268,6 +269,9 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
this.setPosition();
|
||||
if (this.planId) {
|
||||
this.loadChartPage();
|
||||
}
|
||||
// this.loadChartPage();
|
||||
},
|
||||
beforeDestroy() {
|
||||
@ -316,11 +320,21 @@ export default {
|
||||
});
|
||||
this.myChart.setOption(op, true);
|
||||
}
|
||||
this.$store.dispatch('runPlan/setSelected', { serviceNumber: serviceNumber, tripNumber: null });
|
||||
if (this.loadRunPlanId) {
|
||||
this.$store.dispatch('runPlan/setDraftSelected', { serviceNumber: serviceNumber, tripNumber: null });
|
||||
} else {
|
||||
this.$store.dispatch('runPlan/setSelected', { serviceNumber: serviceNumber, tripNumber: null });
|
||||
}
|
||||
|
||||
this.analyticalTripNumber(serviceObj.trainMap || {});
|
||||
},
|
||||
tripNumberChange(row) {
|
||||
const serviceNumber = this.$store.state.runPlan.selected.serviceNumber;
|
||||
let serviceNumber;
|
||||
if (this.loadRunPlanId) {
|
||||
serviceNumber = this.$store.state.runPlan.draftSelected.serviceNumber;
|
||||
} else {
|
||||
serviceNumber = this.$store.state.runPlan.selected.serviceNumber;
|
||||
}
|
||||
let tripNumber = null;
|
||||
if (row) {
|
||||
const data = [];
|
||||
@ -362,7 +376,12 @@ export default {
|
||||
}, 50);
|
||||
|
||||
}
|
||||
this.$store.dispatch('runPlan/setSelected', { serviceNumber: serviceNumber, tripNumber: tripNumber });
|
||||
if (this.loadRunPlanId) {
|
||||
this.$store.dispatch('runPlan/setDraftSelected', { serviceNumber: serviceNumber, tripNumber: tripNumber });
|
||||
} else {
|
||||
this.$store.dispatch('runPlan/setSelected', { serviceNumber: serviceNumber, tripNumber: tripNumber });
|
||||
}
|
||||
|
||||
},
|
||||
async analyticalServiceNumber(data) {
|
||||
this.serviceNumberConfig.data = Object.keys(data || {})
|
||||
@ -422,7 +441,11 @@ export default {
|
||||
// });
|
||||
// } else {
|
||||
getPublishMapInfo(this.$route.query.mapId).then(resp => {
|
||||
this.mapName = `${resp.data.name} (${this.$route.query.planName || this.loadRunPlanName || ''})`;
|
||||
if (this.loadRunPlanId) {
|
||||
this.mapName = this.$route.query.planName || this.loadRunPlanName || '';
|
||||
} else {
|
||||
this.mapName = `${resp.data.name} (${this.$route.query.planName || this.loadRunPlanName || ''})`;
|
||||
}
|
||||
});
|
||||
// }
|
||||
|
||||
@ -643,7 +666,12 @@ export default {
|
||||
},
|
||||
refreshRunPlanName(name) {
|
||||
getPublishMapInfo(this.$route.query.mapId).then(resp => {
|
||||
this.mapName = `${resp.data.name} (${name})`;
|
||||
if (this.loadRunPlanId) {
|
||||
this.mapName = name;
|
||||
} else {
|
||||
this.mapName = `${resp.data.name} (${name})`;
|
||||
}
|
||||
|
||||
this.myChart.setOption({
|
||||
title: {
|
||||
text: this.mapName,
|
||||
|
@ -2,28 +2,31 @@
|
||||
<div class="plan-tool" style="width: 100%; height: 100%;">
|
||||
<menu-bar
|
||||
ref="menuBar"
|
||||
:load-run-plan-id="loadRunPlanId"
|
||||
@doClose="doClose"
|
||||
@refresh="refresh"
|
||||
@dispatchDialog="dispatchDialog"
|
||||
@loadingRunPlan="loadingRunPlan"
|
||||
@modifyRunPlanName="modifyRunPlanName"
|
||||
/>
|
||||
|
||||
<!-- :load-run-plan-id="loadRunPlanId" -->
|
||||
<!-- @loadingRunPlan="loadingRunPlan" -->
|
||||
<!-- @checkIsLoadRunPlan="checkIsLoadRunPlan" -->
|
||||
<div class="scheduleIn">
|
||||
<schedule
|
||||
ref="schedule"
|
||||
v-loading="runplanLoading"
|
||||
:plan-parser="PlanParser"
|
||||
:load-run-plan-id="loadRunPlanId"
|
||||
:load-run-plan-name="loadRunPlanName"
|
||||
/>
|
||||
<status-bar ref="statusBar" :load-run-plan-id="loadRunPlanId" @dispatchDialog="dispatchDialog" @showTrain="showTrain" @refresh="refresh" />
|
||||
<!-- :load-run-plan-id="loadRunPlanId" -->
|
||||
<status-bar ref="statusBar" @dispatchDialog="dispatchDialog" @showTrain="showTrain" @refresh="refresh" />
|
||||
<!-- :load-run-plan-id="loadRunPlanId" -->
|
||||
</div>
|
||||
<parameter ref="parameter" />
|
||||
<!-- 删除计划 -->
|
||||
<off-line ref="offLine" @handleConfirm="handleConfirm" @dispatchDialog="dispatchDialog" />
|
||||
<add-planning-train ref="addPlanningTrain" :load-run-plan-id="loadRunPlanId" @dispatchDialog="dispatchDialog" />
|
||||
<add-planning-train ref="addPlanningTrain" @dispatchDialog="dispatchDialog" />
|
||||
<!-- :load-run-plan-id="loadRunPlanId" -->
|
||||
<edit-planning-train
|
||||
ref="editPlanningTrain"
|
||||
@dispatchDialog="dispatchDialog"
|
||||
@ -179,10 +182,10 @@ export default {
|
||||
doClose() {
|
||||
this.$emit('doClose');
|
||||
},
|
||||
loadingRunPlan(param) {
|
||||
this.loadRunPlanId = param.planId;
|
||||
this.loadRunPlanName = param.planName;
|
||||
},
|
||||
// loadingRunPlan(param) {
|
||||
// // this.loadRunPlanId = param.planId;
|
||||
// this.loadRunPlanName = param.planName;
|
||||
// },
|
||||
checkIsLoadRunPlan(planId) {
|
||||
// this.refreshRunPlanList(planId === this.loadRunPlanId);
|
||||
},
|
||||
|
@ -133,13 +133,13 @@ export default {
|
||||
default: function() {
|
||||
return { };
|
||||
}
|
||||
},
|
||||
loadRunPlanId: {
|
||||
type: String,
|
||||
default: function() {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
// loadRunPlanId: {
|
||||
// type: String,
|
||||
// default: function() {
|
||||
// return '';
|
||||
// }
|
||||
// }
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -475,7 +475,7 @@ export default {
|
||||
},
|
||||
// 测试运行图
|
||||
async handleTestRunPlan() {
|
||||
const data = { planId: this.$route.query.planId || this.loadRunPlanId };
|
||||
const data = { planId: this.$route.query.planId };
|
||||
runPlanNotify(data).then(resp => {
|
||||
if (resp.data) {
|
||||
const query = {
|
||||
@ -497,7 +497,7 @@ export default {
|
||||
},
|
||||
// 添加计划
|
||||
handleAddPlanningTrain() {
|
||||
const planId = this.$route.query.planId || this.loadRunPlanId;
|
||||
const planId = this.$route.query.planId;
|
||||
if (planId) {
|
||||
this.$emit('dispatchDialog', { name: 'addPlanningTrain', params: {} });
|
||||
} else {
|
||||
@ -606,9 +606,9 @@ export default {
|
||||
const params = this.$store.state.runPlan.selected;
|
||||
this.$emit('dispatchDialog', { name: 'modifyingBeginTime', params });
|
||||
},
|
||||
loadingRunPlan(param) {
|
||||
this.$emit('loadingRunPlan', param);
|
||||
},
|
||||
// loadingRunPlan(param) {
|
||||
// this.$emit('loadingRunPlan', param);
|
||||
// },
|
||||
// deleteRunPlanOperate(param) {
|
||||
// // 删除运行图
|
||||
// this.$confirm(this.$t('planMonitor.openRunPlan.confirmDeleteRunPlan'), this.$t('tip.hint'), {
|
||||
|
@ -27,12 +27,12 @@ import { UrlConfig } from '@/scripts/ConstDic';
|
||||
export default {
|
||||
name: 'PlanStatusBar',
|
||||
props: {
|
||||
loadRunPlanId: {
|
||||
type: String,
|
||||
default() {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
// loadRunPlanId: {
|
||||
// type: String,
|
||||
// default() {
|
||||
// return '';
|
||||
// }
|
||||
// }
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -49,7 +49,7 @@ export default {
|
||||
},
|
||||
// 添加计划
|
||||
handleAddPlanningTrain() {
|
||||
const planId = this.$route.query.planId || this.loadRunPlanId;
|
||||
const planId = this.$route.query.planId;
|
||||
if (planId) {
|
||||
this.$emit('dispatchDialog', { name: 'addPlanningTrain', params: {} });
|
||||
} else {
|
||||
@ -57,7 +57,7 @@ export default {
|
||||
}
|
||||
},
|
||||
handleGernarateRouting() {
|
||||
const planId = this.$route.query.planId || this.loadRunPlanId;
|
||||
const planId = this.$route.query.planId;
|
||||
if (planId) {
|
||||
this.$emit('dispatchDialog', { name: 'generateRouting', params: {} });
|
||||
} else {
|
||||
|
@ -161,7 +161,8 @@ export default {
|
||||
};
|
||||
deletePlanService(model).then(resp => {
|
||||
this.$message.success(this.$t('tip.deletePlanSuccessfully'));
|
||||
this.$store.dispatch('runPlan/setSelected', {});
|
||||
// this.$store.dispatch('runPlan/setSelected', {});
|
||||
this.$store.dispatch('runPlan/setDraftSelected', {});
|
||||
this.$store.dispatch('runPlan/refresh');
|
||||
// this.$refs.openRunPlan.loadRunPlanData(Object.assign({refresh: true}, this.$route.query));
|
||||
}).catch(() => {
|
||||
@ -211,6 +212,7 @@ export default {
|
||||
},
|
||||
refreshRunPlanName(name) {
|
||||
this.$refs.schedule.refreshRunPlanName(name);
|
||||
this.refreshRunPlanList(this.loadRunPlanId);
|
||||
this.$router.replace({ path: this.$route.path, query: { ...this.$route.query, planName: name }});
|
||||
}
|
||||
}
|
||||
|
@ -595,7 +595,7 @@ export default {
|
||||
handleDeletePlanningTrain() {
|
||||
const serviceNumber = this.$store.state.runPlan.draftSelected.serviceNumber;
|
||||
if (serviceNumber) {
|
||||
this.$emit('dispatchDialog', {
|
||||
this.$emit('dispatchDialog', {
|
||||
name: 'offLine', params: {
|
||||
type: 'warning',
|
||||
width: 260,
|
||||
|
@ -73,7 +73,7 @@ export default {
|
||||
},
|
||||
// 删除计划
|
||||
handleDeletePlanningTrain() {
|
||||
const serviceNumber = this.$store.state.runPlan.selected.serviceNumber;
|
||||
const serviceNumber = this.$store.state.runPlan.draftSelected.serviceNumber;
|
||||
if (serviceNumber) {
|
||||
this.$emit('dispatchDialog', {
|
||||
name: 'offLine', params: {
|
||||
@ -90,7 +90,7 @@ export default {
|
||||
}
|
||||
},
|
||||
handleMovePlanningTrain() {
|
||||
const serviceNumber = this.$store.state.runPlan.selected.serviceNumber;
|
||||
const serviceNumber = this.$store.state.runPlan.draftSelected.serviceNumber;
|
||||
if (serviceNumber) {
|
||||
this.$emit('dispatchDialog', { name: 'movePlaningTrain', params: { serviceNumber } });
|
||||
} else {
|
||||
@ -99,7 +99,7 @@ export default {
|
||||
},
|
||||
// 复制计划
|
||||
handleDuplicateTrain() {
|
||||
const serviceNumber = this.$store.state.runPlan.selected.serviceNumber;
|
||||
const serviceNumber = this.$store.state.runPlan.draftSelected.serviceNumber;
|
||||
if (serviceNumber) {
|
||||
this.$emit('dispatchDialog', { name: 'duplicateTrain', params: { serviceNumber } });
|
||||
} else {
|
||||
@ -108,7 +108,7 @@ export default {
|
||||
},
|
||||
// 添加任务
|
||||
handleAddTask() {
|
||||
const params = this.$store.state.runPlan.selected;
|
||||
const params = this.$store.state.runPlan.draftSelected;
|
||||
if (params.serviceNumber && params.tripNumber) {
|
||||
this.$emit('dispatchDialog', { name: 'addTask', params });
|
||||
} else {
|
||||
@ -117,7 +117,7 @@ export default {
|
||||
},
|
||||
// 删除任务
|
||||
handleDeleteTask() {
|
||||
const params = this.$store.state.runPlan.selected;
|
||||
const params = this.$store.state.runPlan.draftSelected;
|
||||
if (params.serviceNumber && params.tripNumber) {
|
||||
this.$emit('dispatchDialog', { name: 'deleteTask', params });
|
||||
} else {
|
||||
@ -126,7 +126,7 @@ export default {
|
||||
},
|
||||
// 修改任务
|
||||
handleModifyingTask() {
|
||||
const params = this.$store.state.runPlan.selected;
|
||||
const params = this.$store.state.runPlan.draftSelected;
|
||||
if (params.serviceNumber && params.tripNumber) {
|
||||
this.$emit('dispatchDialog', { name: 'modifyingTask', params });
|
||||
} else {
|
||||
|
@ -1,15 +1,19 @@
|
||||
<template>
|
||||
<div>
|
||||
<QueryListPage ref="queryListPage" :pager-config="pagerConfig" :query-form="queryForm" :query-list="queryList" />
|
||||
<QueryListPage ref="queryListPage" :query-form="queryForm" :query-list="queryList" />
|
||||
<view-member ref="viewMember" />
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import ConstConfig from '@/scripts/ConstConfig';
|
||||
import Cookies from 'js-cookie';
|
||||
import { getExistingSimulation, deleteExistingSimulation } from '@/api/simulation';
|
||||
import ViewMember from './viewMember';
|
||||
// import { getExistingSimulation, deleteExistingSimulation } from '@/api/simulation';
|
||||
import { getExistSimulationList, destroySimulation } from '@/api/rtSimulation';
|
||||
export default {
|
||||
name: 'SimulationManage',
|
||||
components: {
|
||||
ViewMember
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -44,66 +48,53 @@ export default {
|
||||
},
|
||||
simulationTypeList: [{label: '仿真', value: 'SIMULATION'}, {label: '课程', value: 'LESSON'}, {label: '考试', value: 'EXAM'}, {label: '剧本编制', value: 'SCRIPT_MAKING'}],
|
||||
queryList: {
|
||||
query: getExistingSimulation,
|
||||
query: getExistSimulationList,
|
||||
selectCheckShow: false,
|
||||
paginationHiden: true,
|
||||
indexShow: true,
|
||||
columns: [
|
||||
// {
|
||||
// title: this.$t('system.userName'),
|
||||
// prop: 'creator.name'
|
||||
// },
|
||||
{
|
||||
title: this.$t('system.userName'),
|
||||
prop: 'creator.name'
|
||||
title: '仿真ID',
|
||||
prop: 'id'
|
||||
},
|
||||
{
|
||||
title: '仿真状态',
|
||||
prop: 'state',
|
||||
type: 'tag',
|
||||
columnValue: (row) => {
|
||||
if (row.state === 1) { return '仿真开始'; } else if (row.state === 0) { return '仿真暂停'; } else if (row.state === 4) { return '仿真错误'; } else { return '未知状态'; }
|
||||
},
|
||||
tagType: (row) => {
|
||||
return 'success';
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '仿真倍速',
|
||||
prop: 'speed'
|
||||
},
|
||||
// {
|
||||
// title: '类型',
|
||||
// prop: 'type',
|
||||
// type: 'tag',
|
||||
// columnValue: (row) => { return this.$convertField(row.type, this.simulationTypeList, ['value', 'label']); },
|
||||
// tagType: (row) => { return ''; }
|
||||
//
|
||||
// },
|
||||
{
|
||||
title: this.$t('system.mapName'),
|
||||
prop: 'map.name'
|
||||
},
|
||||
{
|
||||
title: 'Group',
|
||||
prop: 'group'
|
||||
},
|
||||
{
|
||||
title: this.$t('system.isError'),
|
||||
prop: 'error',
|
||||
prop: 'map.name',
|
||||
type: 'tag',
|
||||
columnValue: (row) => { return this.$ConstSelect.translate(row.error, 'Whether'); },
|
||||
columnValue: (row) => {
|
||||
return `${row.map.name}( ${row.map.id}- ${row.map.version})`;
|
||||
},
|
||||
tagType: (row) => {
|
||||
switch (row.error) {
|
||||
case true: return 'success';
|
||||
case false: return 'danger';
|
||||
}
|
||||
return 'success';
|
||||
}
|
||||
},
|
||||
{
|
||||
title: this.$t('system.isSuspend'),
|
||||
prop: 'pause',
|
||||
type: 'tag',
|
||||
columnValue: (row) => { return this.$ConstSelect.translate(row.pause, 'Whether'); },
|
||||
tagType: (row) => {
|
||||
switch (row.pause) {
|
||||
case true: return 'success';
|
||||
case false: return 'danger';
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
title: this.$t('system.isDrivingAsplanned'),
|
||||
prop: 'planRunning',
|
||||
type: 'tag',
|
||||
columnValue: (row) => { return this.$ConstSelect.translate(row.planRunning, 'Whether'); },
|
||||
tagType: (row) => {
|
||||
switch (row.runAsPlan) {
|
||||
case true: return 'success';
|
||||
case false: return 'danger';
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '类型',
|
||||
prop: 'type',
|
||||
type: 'tag',
|
||||
columnValue: (row) => { return this.$convertField(row.type, this.simulationTypeList, ['value', 'label']); },
|
||||
tagType: (row) => { return ''; }
|
||||
|
||||
},
|
||||
{
|
||||
title: this.$t('system.prdType'),
|
||||
prop: 'prodType',
|
||||
@ -112,16 +103,21 @@ export default {
|
||||
tagType: (row) => { return ''; }
|
||||
|
||||
},
|
||||
{
|
||||
title: this.$t('system.simulationGroupId'),
|
||||
prop: 'onlineUserIdList',
|
||||
type: 'basicText',
|
||||
columnValue: (row) => { return this.listJoiningTogether(row.onlineUserIdList); }
|
||||
},
|
||||
// {
|
||||
// title: this.$t('system.simulationGroupId'),
|
||||
// prop: 'userList',
|
||||
// type: 'basicText',
|
||||
// columnValue: (row) => { return this.listJoiningTogether(row.userList); }
|
||||
// },
|
||||
{
|
||||
type: 'button',
|
||||
title: this.$t('global.operate'),
|
||||
buttons: [
|
||||
{
|
||||
name: '仿真用户信息',
|
||||
handleClick: this.viewMember,
|
||||
type: ''
|
||||
},
|
||||
{
|
||||
name: this.$t('system.destory'),
|
||||
handleClick: this.handleDelete,
|
||||
@ -146,15 +142,18 @@ export default {
|
||||
this.queryForm.queryObject.prdType.config.data = this.prdTypeList;
|
||||
},
|
||||
methods: {
|
||||
listJoiningTogether(sessionList) {
|
||||
let sessionId = '';
|
||||
if (sessionList && sessionList.length > 0) {
|
||||
sessionList.forEach((item) => {
|
||||
sessionId = sessionId + item + ',';
|
||||
});
|
||||
sessionId = sessionId.substring(0, sessionId.length - 1);
|
||||
}
|
||||
return sessionId;
|
||||
// listJoiningTogether(sessionList) {
|
||||
// let sessionId = '';
|
||||
// if (sessionList && sessionList.length > 0) {
|
||||
// sessionList.forEach((item) => {
|
||||
// sessionId = sessionId + item.name + '(' + item.id + ')' + ',';
|
||||
// });
|
||||
// sessionId = sessionId.substring(0, sessionId.length - 1);
|
||||
// }
|
||||
// return sessionId;
|
||||
// },
|
||||
viewMember(index, row) {
|
||||
this.$refs.viewMember.doShow(row.id);
|
||||
},
|
||||
handleDelete(index, row) {
|
||||
this.$confirm(this.$t('system.wellDelUserSimulation'), this.$t('global.tips'), {
|
||||
@ -162,7 +161,7 @@ export default {
|
||||
cancelButtonText: this.$t('global.cancel'),
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
deleteExistingSimulation(row.group).then(response => {
|
||||
destroySimulation(row.id).then(response => {
|
||||
this.$message.success(this.$t('system.deleteSuccess'));
|
||||
this.reloadTable();
|
||||
}).catch(() => {
|
||||
|
61
src/views/system/existingSimulation/viewMember.vue
Normal file
61
src/views/system/existingSimulation/viewMember.vue
Normal file
@ -0,0 +1,61 @@
|
||||
<template>
|
||||
<el-dialog v-dialogDrag title="仿真用户列表" :visible.sync="dialogVisible" width="80%" :before-close="handleClose" center :close-on-click-modal="false">
|
||||
<el-table
|
||||
:data="tableData"
|
||||
border
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-table-column prop="id" label="用户Id" width="100" />
|
||||
<el-table-column prop="name" label="用户名" width="100" />
|
||||
<el-table-column prop="creator" label="仿真创建者" width="100">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.creator? '是':'否' }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="wsSubscribeMap" label="订阅路径">
|
||||
<template slot-scope="scope">
|
||||
<template v-for="(item, key) in scope.row.wsSubscribeMap">
|
||||
<div :key="key">{{ key + ':' }}
|
||||
<template v-for="(elem, i) in item">
|
||||
<el-tag :key="key+i">{{ elem }}</el-tag>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getSimulationUserInfo } from '@/api/rtSimulation';
|
||||
export default {
|
||||
name: 'DictionaryEdit',
|
||||
data() {
|
||||
return {
|
||||
dialogVisible: false,
|
||||
tableData: [],
|
||||
title:'',
|
||||
isAdd:false
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
||||
},
|
||||
methods: {
|
||||
doShow(id) {
|
||||
getSimulationUserInfo(id).then(resp => {
|
||||
this.dialogVisible = true;
|
||||
this.tableData = resp.data;
|
||||
}).catch(error => {
|
||||
this.$message.error('获取仿真用户列表失表:' + error.message);
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
handleClose() {
|
||||
this.dialogVisible = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Reference in New Issue
Block a user