From 6fbfa0dc1a6c56f7c9944870271c1f4ce5fdf6c3 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 3 Nov 2020 16:06:11 +0800 Subject: [PATCH 01/43] =?UTF-8?q?=E5=90=84=E7=BA=BF=E8=B7=AF=E7=AB=99?= =?UTF-8?q?=E5=8F=B0=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=89=A3=E8=BD=A6?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E8=B0=83=E6=95=B4=20=E5=93=88=E5=B0=94?= =?UTF-8?q?=E6=BB=A8=E7=BA=BF=E8=B7=AF=20=E7=AB=99=E5=8F=B0=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20=E6=89=A3=E8=BD=A6/=E8=B6=8A=E7=AB=99=20=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=8C=89=E9=92=AE=20=E7=AB=9E=E8=B5=9B=E5=AE=9E?= =?UTF-8?q?=E6=93=8D=20=E5=9C=BA=E6=99=AF=E6=8E=92=E5=BA=8F=20=E7=AB=9E?= =?UTF-8?q?=E8=B5=9B=E9=A1=B5=E9=9D=A2=20=E6=B7=BB=E5=8A=A0=E5=9C=BA?= =?UTF-8?q?=E6=99=AF11=20=E6=93=8D=E4=BD=9C=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/config/skinCode/bejing_01.js | 3 +- src/jmapNew/config/skinCode/chengdu_01.js | 3 +- src/jmapNew/config/skinCode/chengdu_03.js | 3 +- src/jmapNew/config/skinCode/foshan_01.js | 3 +- src/jmapNew/config/skinCode/fuzhou_01.js | 3 +- src/jmapNew/config/skinCode/haerbin_01.js | 13 ++++- src/jmapNew/config/skinCode/ningbo_01.js | 3 +- src/jmapNew/config/skinCode/race_01.js | 3 +- src/jmapNew/config/skinCode/xian_01.js | 3 +- .../shape/StationStand/ETrainSetButton.js | 54 +++++++++++++++++++ .../shape/StationStand/detain/EDetain.js | 5 +- .../StationStand/detain/EDetainHollow.js | 5 +- src/jmapNew/shape/StationStand/index.js | 13 ++++- .../theme/haerbin_01/operationConfig.js | 12 +++-- src/scripts/ConstConfig.js | 3 +- .../displayNew/dispatherContest/sceneList.vue | 9 ++-- 16 files changed, 115 insertions(+), 23 deletions(-) create mode 100644 src/jmapNew/shape/StationStand/ETrainSetButton.js diff --git a/src/jmapNew/config/skinCode/bejing_01.js b/src/jmapNew/config/skinCode/bejing_01.js index 9a699baa8..f40879aaa 100644 --- a/src/jmapNew/config/skinCode/bejing_01.js +++ b/src/jmapNew/config/skinCode/bejing_01.js @@ -321,7 +321,8 @@ class SkinCode extends defaultStyle { z:0, position: -1, // 扣车标识在站台上显示方向 text: 'H', // 扣车显示内容 - offset: { x: -8, y: 13 }, // 扣车偏移量 + insideOffset: { x: -8, y: 13 }, // 内站台扣车偏移量 + outsideOffset: { x: -8, y: 13 }, // 外站台扣车偏移量 centerTrainColor: '#FFFFFF', // 中心扣车颜色 andCenterTrainColor: '#F61107', // 车站+中心扣车颜色 detainTrainTextColor: '#E4EF50', // 车站扣除文字颜色 diff --git a/src/jmapNew/config/skinCode/chengdu_01.js b/src/jmapNew/config/skinCode/chengdu_01.js index aabdf1139..8a69318ad 100644 --- a/src/jmapNew/config/skinCode/chengdu_01.js +++ b/src/jmapNew/config/skinCode/chengdu_01.js @@ -238,7 +238,8 @@ class SkinCode extends defaultStyle { z:0, position: -1, // 扣车标识在站台上显示方向 text: 'H', // 扣车显示内容 - offset: { x: -8, y: 13 }, // 扣车偏移量 + insideOffset: { x: -8, y: 13 }, // 内站台扣车偏移量 + outsideOffset:{ x: -8, y: 13 }, // 外站台扣车偏移量 centerTrainColor: 'white', // 中心扣车颜色 andCenterTrainColor: 'red', // 车站+中心扣车颜色 detainTrainTextColor: '#E4EF50', // 车站扣除文字颜色 diff --git a/src/jmapNew/config/skinCode/chengdu_03.js b/src/jmapNew/config/skinCode/chengdu_03.js index e19e18cff..171d3313f 100644 --- a/src/jmapNew/config/skinCode/chengdu_03.js +++ b/src/jmapNew/config/skinCode/chengdu_03.js @@ -259,7 +259,8 @@ class SkinCode extends defaultStyle { z:0, position: -1, // 扣车标识在站台上显示方向 text: '扣', // 扣车显示内容 - offset: {x: -8, y: 20}, // 扣车偏移量 + insideOffset: {x: -8, y: 20}, // 内站台扣车偏移量 + outsideOffset: {x: -8, y: 20}, // 外站台扣车偏移量 centerTrainColor: '#C0C0C0', // 中心扣车颜色 andCenterTrainColor: '#C0C0C0', // 车站+中心扣车颜色 detainTrainTextColor: '#E4EF50', // 车站扣除文字颜色 diff --git a/src/jmapNew/config/skinCode/foshan_01.js b/src/jmapNew/config/skinCode/foshan_01.js index 8aed3e042..08ba7fc49 100644 --- a/src/jmapNew/config/skinCode/foshan_01.js +++ b/src/jmapNew/config/skinCode/foshan_01.js @@ -229,7 +229,8 @@ class SkinCode extends defaultStyle { z:0, position: 1, // 扣车标识在站台上显示方向 text: 'H', // 扣车显示内容 - offset: {x: -8, y: 17}, // 扣车偏移量 + insideOffset: {x: -8, y: 17}, // 内站台扣车偏移量 + outsideOffset: {x: -8, y: 17}, // 外站台扣车偏移量 centerTrainColor: '#FFFFFF', // 中心扣车颜色 andCenterTrainColor: '#F61107', // 车站+中心扣车颜色 detainTrainTextColor: '#E4EF50', // 车站扣除文字颜色 diff --git a/src/jmapNew/config/skinCode/fuzhou_01.js b/src/jmapNew/config/skinCode/fuzhou_01.js index 707fcedcf..669521a8a 100644 --- a/src/jmapNew/config/skinCode/fuzhou_01.js +++ b/src/jmapNew/config/skinCode/fuzhou_01.js @@ -228,7 +228,8 @@ class SkinCode extends defaultStyle { z:0, position: 1, // 扣车标识在站台上显示方向 text: 'H', // 扣车显示内容 - offset: {x: -8, y: 25}, // 扣车偏移量 + insideOffset: {x: -8, y: 25}, // 内站台扣车偏移量 + outsideOffset: {x: -8, y: 25}, // 外站台扣车偏移量 centerTrainColor: '#FFFFFF', // 中心扣车颜色 andCenterTrainColor: '#F61107', // 车站+中心扣车颜色 detainTrainTextColor: '#E4EF50', // 车站扣除文字颜色 diff --git a/src/jmapNew/config/skinCode/haerbin_01.js b/src/jmapNew/config/skinCode/haerbin_01.js index deeef91c9..58921660f 100644 --- a/src/jmapNew/config/skinCode/haerbin_01.js +++ b/src/jmapNew/config/skinCode/haerbin_01.js @@ -216,7 +216,7 @@ class SkinCode extends defaultStyle { this[deviceType.StationStand] = { // 哈尔滨一号线站台元素 站台 站台紧急关闭 扣车元素 停站时间 运行等级 跳停 - elemnetType:['gapStand', 'emergentArrow', 'detainNormal', 'level', 'jump', 'trainStop', 'trainDepart'], + elemnetType:['gapStand', 'emergentArrow', 'detainNormal', 'level', 'jump', 'trainStop', 'trainDepart', 'trainSetButton'], // 站台 gapStand:{ // 层级 @@ -245,7 +245,8 @@ class SkinCode extends defaultStyle { z:0, position: 1, // 扣车标识在站台上显示方向 text: 'H', // 扣车显示内容 - offset: { x: 60, y: -18 }, // 扣车偏移量 + insideOffset: { x: 60, y: -18 }, // 内站台扣车偏移量 + outsideOffset: { x: 60, y: 25 }, // 外站台扣车偏移量 centerTrainColor: '#F61107', // 中心扣车颜色 andCenterTrainColor: '#F61107', // 车站+中心扣车颜色 detainTrainTextColor: '#E4EF50', // 车站扣除文字颜色 @@ -288,8 +289,16 @@ class SkinCode extends defaultStyle { textBorderColor: '#00FF00', // 文字边框颜色 fontSize: 10 // 字体大小 }, + // 站台 扣车/取消扣车,越站/取消越站 设置按钮 + trainSetButton:{ + z:1, + offset: { x: 80, y:10}, // 按钮偏移 + textFontSize: 13, // 按钮字体大小 + textColor:'#00FF00' + }, common: { // 通用属性 + bgShow: true, // 是否被选中 textFontSize: 11, // 站台默认字体大小 functionButtonShow: '03' // 功能灯按钮显示条件(01所有模式下显示 02 行调显示 03现地显示) }, diff --git a/src/jmapNew/config/skinCode/ningbo_01.js b/src/jmapNew/config/skinCode/ningbo_01.js index 545004532..4f4dfccaf 100644 --- a/src/jmapNew/config/skinCode/ningbo_01.js +++ b/src/jmapNew/config/skinCode/ningbo_01.js @@ -354,7 +354,8 @@ class SkinCode extends defaultStyle { z:0, position: 1, // 扣车标识在站台上显示方向 text: 'H', // 扣车显示内容 - offset: { x: -8, y: 10 }, // 扣车偏移量 + insideOffset: { x: -8, y: 10 }, // 内站台扣车偏移量 + outsideOffset: { x: -8, y: 10 }, // 外站台扣车偏移量 centerTrainColor: 'white', // 中心扣车颜色 andCenterTrainColor: 'red', // 车站+中心扣车颜色 detainTrainTextColor: '#E4EF50', // 车站扣除文字颜色 diff --git a/src/jmapNew/config/skinCode/race_01.js b/src/jmapNew/config/skinCode/race_01.js index 21919afe6..3900899d6 100644 --- a/src/jmapNew/config/skinCode/race_01.js +++ b/src/jmapNew/config/skinCode/race_01.js @@ -337,7 +337,8 @@ class SkinCode extends defaultStyle { z:0, position: -1, // 扣车标识在站台上显示方向 text: 'H', // 扣车显示内容 - offset: { x: -8, y: 13 }, // 扣车偏移量 + insideOffset: { x: -8, y: 13 }, // 内站台扣车偏移量 + outsideOffset: { x: -8, y: 13 }, // 外站台扣车偏移量 centerTrainColor: '#00FF00', // 中心扣车颜色 andCenterTrainColor: '#00FF00', // 车站+中心扣车颜色 detainTrainTextColor: '#00FF00', // 车站扣车文字颜色 diff --git a/src/jmapNew/config/skinCode/xian_01.js b/src/jmapNew/config/skinCode/xian_01.js index 39f4aa916..dedc4203f 100644 --- a/src/jmapNew/config/skinCode/xian_01.js +++ b/src/jmapNew/config/skinCode/xian_01.js @@ -237,7 +237,8 @@ class SkinCode extends defaultStyle { z:0, position: 1, // 扣车标识在站台上显示方向 text: 'H', // 扣车显示内容 - offset: {x: -8, y: -6}, // 扣车偏移量 + insideOffset: {x: -8, y: -6}, // 内站台扣车偏移量 + outsideOffset: {x: -8, y: 16}, // 外站台扣车偏移量 trainColor: '#E4EF50', // 车站扣车颜色 centerTrainColor: '#FFFFFF', // 中心扣车颜色 andCenterTrainColor: '#F61107', // 车站+中心扣车颜色 diff --git a/src/jmapNew/shape/StationStand/ETrainSetButton.js b/src/jmapNew/shape/StationStand/ETrainSetButton.js new file mode 100644 index 000000000..5e874dff2 --- /dev/null +++ b/src/jmapNew/shape/StationStand/ETrainSetButton.js @@ -0,0 +1,54 @@ +import Group from 'zrender/src/container/Group'; +import Text from 'zrender/src/graphic/Text'; + +class ETime extends Group { + constructor(model) { + super(); + this.model = model; + this.create(); + } + + create() { + const model = this.model.modelData; + const style = this.model.style; + + const buttonD = model.right ? 1 : -1; + const buttonX = model.position.x - buttonD * (style.StationStand.trainSetButton.offset.x - model.width / 2); + const buttonY = model.position.y + buttonD * (style.StationStand.trainSetButton.offset.y - model.height / 2); + + this.trainSetButton = new Text({ + zlevel: this.model.zlevel, + z: this.model.z, + position: [0, 0], + _subType: 'trainSetButton', + style: { + x: buttonX, + y: buttonY, + fontWeight: style.textStyle.fontWeight, + fontSize: style.StationStand.trainSetButton.textFontSize, + fontFamily: style.fontFamily, + text: 'E', + textFill: style.StationStand.trainSetButton.textColor, + textAlign: style.textStyle.textAlign, + textVerticalAlign: style.textStyle.textVerticalAlign + } + }); + this.add(this.trainSetButton); + } + + hideMode() { + this.trainSetButton && this.trainSetButton.hide(); + } + + showMode() { + this.trainSetButton && this.trainSetButton.show(); + } + + recover() { + } + + setState(model) { + } +} + +export default ETime; diff --git a/src/jmapNew/shape/StationStand/detain/EDetain.js b/src/jmapNew/shape/StationStand/detain/EDetain.js index 9e152d560..8fcf623ef 100644 --- a/src/jmapNew/shape/StationStand/detain/EDetain.js +++ b/src/jmapNew/shape/StationStand/detain/EDetain.js @@ -16,9 +16,10 @@ class EDetain extends Group { this.isNew = true; /** 站台扣车*/ + const detainOffset = model.inside ? deviceParam.insideOffset : deviceParam.outsideOffset; const detainD = model.right ? 1 : -1; - const detainX = model.position.x - detainD * (deviceParam.offset.x - model.width / 2); - const detainY = model.position.y + detainD * (deviceParam.offset.y - model.height / 2); + const detainX = model.position.x - detainD * (detainOffset.x - model.width / 2); + const detainY = model.position.y + detainD * (detainOffset.y - model.height / 2); this.detain = new Text({ zlevel: this.model.zlevel, diff --git a/src/jmapNew/shape/StationStand/detain/EDetainHollow.js b/src/jmapNew/shape/StationStand/detain/EDetainHollow.js index e23a9bc8a..2617a3a85 100644 --- a/src/jmapNew/shape/StationStand/detain/EDetainHollow.js +++ b/src/jmapNew/shape/StationStand/detain/EDetainHollow.js @@ -12,9 +12,10 @@ class EDetainHollow extends EDetain { const model = this.model.modelData; const style = this.model.style; /** 站台扣车*/ + const detainOffset = model.inside ? style.StationStand.detainHollow.insideOffset : style.StationStand.detainHollow.outsideOffset; const detainD = model.right ? 1 : -1; - const detainX = model.position.x - detainD * (style.StationStand.detainHollow.offset.x - model.width / 2); - const detainY = model.position.y + detainD * (style.StationStand.detainHollow.offset.y - model.height / 2); + const detainX = model.position.x - detainD * (detainOffset.x - model.width / 2); + const detainY = model.position.y + detainD * (detainOffset.y - model.height / 2); if (!this.isNew) { super.create(style.StationStand.detainHollow); const offsetX = model.right ? 8 : -8; diff --git a/src/jmapNew/shape/StationStand/index.js b/src/jmapNew/shape/StationStand/index.js index 8f92346e6..540cdfc97 100644 --- a/src/jmapNew/shape/StationStand/index.js +++ b/src/jmapNew/shape/StationStand/index.js @@ -33,6 +33,8 @@ import ECancelStopJumpLamp from './functionButton/ECancelStopJumpLamp'; import EUpDetainLamp from './functionButton/EUpDetainLamp'; import EDownDetainLamp from './functionButton/EDownDetainLamp'; +import ETrainSetButton from './ETrainSetButton'; + import {isShowThePrdType} from '../../utils/handlePath'; import {traverseLineElements, traverseStatusElements} from '../utils/ShapeStatusCovert'; @@ -85,7 +87,8 @@ class StationStand extends Group { 'reentry':EReentry, // 站台折返策略 'trainStop':ETrainStop, // 列车停车点标识 哈尔滨一号线 - 'trainDepart':ETrainDepart// 列车停站时间 哈尔滨一号线 + 'trainDepart':ETrainDepart, // 列车停站时间 哈尔滨一号线 + 'trainSetButton':ETrainSetButton // 站台 扣车/取消扣车,越站/取消越站 设置按钮 哈尔滨一号线 }; // 遍历当前线路下的绘图元素 组合模式 traverseLineElements(style.StationStand, elementTypeList, model, style, this); @@ -117,6 +120,10 @@ class StationStand extends Group { this.on('mouseout', (e) => { this.mouseEvent.mouseout(e); }); this.on('mouseover', (e) => { this.mouseEvent.mouseover(e); }); } + if (this.style.StationStand.common.bgShow) { + this.highlight = new EHighlight(this); + this.add(this.highlight); + } } } @@ -180,6 +187,10 @@ class StationStand extends Group { rect = this.downDetainLamp.getBoundingRect(); break; } + case 'trainSetButton': { + rect = this.trainSetButton.getBoundingRect(); + break; + } default: { rect = this.getBoundingRect(); break; diff --git a/src/jmapNew/theme/haerbin_01/operationConfig.js b/src/jmapNew/theme/haerbin_01/operationConfig.js index cd02cf65a..f7d241703 100644 --- a/src/jmapNew/theme/haerbin_01/operationConfig.js +++ b/src/jmapNew/theme/haerbin_01/operationConfig.js @@ -876,7 +876,8 @@ export default { trainingType: 'Stand', productTypes: ['02'], stepVOList: [ - { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台' }, + // { deviceType: '04', orderNum: 1, tip: '鼠标左键点击选择该站台' }, + { deviceType: 'trainSetButton', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台', codeType:'STAND'}, { deviceType: '04', orderNum: 2, operateCode: '5041', tip: '鼠标左键点击【扣车】按钮' }, { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } ] @@ -891,7 +892,8 @@ export default { trainingType: 'Stand', productTypes: ['02'], stepVOList: [ - { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台' }, + // { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台' }, + { deviceType: 'trainSetButton', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台', codeType:'STAND'}, { deviceType: '04', orderNum: 2, operateCode: '5052', tip: '鼠标左键点击【取消扣车】按钮' }, { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } ] @@ -906,7 +908,8 @@ export default { trainingType: 'Stand', productTypes: ['02'], stepVOList: [ - { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台' }, + // { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台' }, + { deviceType: 'trainSetButton', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台', codeType:'STAND'}, { deviceType: '04', orderNum: 2, operateCode: '5025', tip: '鼠标左键点击【越站】按钮' }, { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } ] @@ -921,7 +924,8 @@ export default { trainingType: 'Stand', productTypes: ['02'], stepVOList: [ - { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台' }, + // { deviceType: '04', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台' }, + { deviceType: 'trainSetButton', orderNum: 1, operateCode: 'click', tip: '鼠标左键点击选择该站台', codeType:'STAND'}, { deviceType: '04', orderNum: 2, operateCode: '5035', tip: '鼠标左键点击【取消越站】按钮' }, { deviceType: '04', orderNum: 3, operateCode: '008', tip: '鼠标左键点击【执行】按钮' } ] diff --git a/src/scripts/ConstConfig.js b/src/scripts/ConstConfig.js index 97e7798bc..197f6c4b5 100644 --- a/src/scripts/ConstConfig.js +++ b/src/scripts/ConstConfig.js @@ -212,7 +212,8 @@ export default { ControlConvertMenu: {enlabel: 'Control mode training', label:'控制模式实训'}, LimitControl: {enlabel: 'Control mode limit', label:'全线限速实训'}, TrainWindow: {enlabel: 'TrainWindow training', label:'车次窗实训'}, - Driver:{enlabel: 'Driver training', label:'司机实训'} + Driver:{enlabel: 'Driver training', label:'司机实训'}, + DirectionRod:{enlabel: 'Direction rod training', label:'方向杆实训'} }, interfaceErrorConfig: { '500000': { type: '权限错误:', message: '您尚未有该操作权限!'}, diff --git a/src/views/newMap/displayNew/dispatherContest/sceneList.vue b/src/views/newMap/displayNew/dispatherContest/sceneList.vue index 677990346..9e9e88b22 100644 --- a/src/views/newMap/displayNew/dispatherContest/sceneList.vue +++ b/src/views/newMap/displayNew/dispatherContest/sceneList.vue @@ -77,13 +77,16 @@ export default { mounted() { getCompetitionPracticalScene({pageSize:100, pageNum:1}).then(res=>{ if (res.data.list && res.data.list.length > 0) { - res.data.list.forEach(each=>{ + const list = res.data.list.sort((a, b) => { + return parseInt(a.name.replace('场景', '')) - parseInt(b.name.replace('场景', '')); + }); + list.forEach(each=>{ if (each.name == '场景1' || each.name == '场景2' || each.name == '场景3' || each.name == '场景7') { this.mainSceneData[1].result.push({id:each.id, name:each.name}); } else if (each.name == '场景4') { this.mainSceneData[0].result.push({id:each.id, name:'场景4'}); - } else if (each.name == '场景5') { - this.mainSceneData[4].result.push({id:each.id, name:'场景5'}); + } else if (each.name == '场景5' || each.name == '场景11') { + this.mainSceneData[4].result.push({id:each.id, name:each.name}); } else if (each.name == '场景9') { this.mainSceneData[6].result.push({id:each.id, name:'场景9'}); } else if (each.name == '场景8') { From 4c00fa1a903c18e23929c986aad139b44c53bfc6 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Tue, 3 Nov 2020 16:18:15 +0800 Subject: [PATCH 02/43] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=9B=BD=E8=B5=9B?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E5=9B=BE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/theme/race_01/planConvert.js | 4 ++-- src/utils/runPlan.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jmapNew/theme/race_01/planConvert.js b/src/jmapNew/theme/race_01/planConvert.js index 48b2e1f55..636f13f68 100644 --- a/src/jmapNew/theme/race_01/planConvert.js +++ b/src/jmapNew/theme/race_01/planConvert.js @@ -113,7 +113,7 @@ export default { // pointdata.name = `${service.serviceNumber}${train.directionCode}${train.tripNumber}`; pointdata.name = `${service.serviceNumber}${train.tripNumber}`; pointdata.color = '#000' || lineStyle.color; - pointdata.directionCode = train.directionCode; + pointdata.directionCode = train.right ? '2' : '1'; pointdata.coord = [train.stationTimeList[1].secondTime, this.getCoordYByElem(stations, kmRangeCoordMap, train.stationTimeList[1], train.right, false)]; /** 给服务对象添加服务名称和标记点*/ @@ -212,7 +212,7 @@ export default { const result = serie.markPoint.data.some(ele => ele.name == `(${elem.groupNumber})${elem.serviceNumber}${elem.tripNumber}`); if (!result) { serie.markPoint.data.push(createMartPoint({ - directionCode: elem.directionCode, + directionCode: elem.right ? '2' : '1', coord: [parseInt(elem.secondTime), this.getCoordYByElem(stations, kmRangeCoordMap, elem, false)], name: `(${elem.groupNumber})${elem.serviceNumber}${elem.tripNumber}`, color: lineStyle.color || '#000' diff --git a/src/utils/runPlan.js b/src/utils/runPlan.js index a3e0f9b80..5fea77427 100644 --- a/src/utils/runPlan.js +++ b/src/utils/runPlan.js @@ -69,8 +69,8 @@ export function createMarkLineModels(stations, computedYaxis) { markLineModel.markLine.silent = true; markLineModel.markLine.data = []; markLineModel.markLine.lineStyle = { color: '#B0C4DE', width: 0.5 }; - markLineModel.markLine.symbol = 'none'; - markLineModel.elements = [] + markLineModel.markLine.symbol = 'none'; + markLineModel.elements = []; stations.forEach((elem, index) => { markLineModel.markLine.data.push( { From b9f71f75d9f2a72495a7716825c7c359408c1c9a Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 3 Nov 2020 16:37:47 +0800 Subject: [PATCH 03/43] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=89=A7=E6=9C=AC?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=8A=A8=E4=BD=9C=E6=8E=A5=E5=8F=A3=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=89=A7=E6=9C=AC=E7=BC=96=E5=88=B6=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/script.js | 8 ++++++++ src/jmapNew/theme/haerbin_01/menus/menuButton.vue | 10 +++++++++- src/views/scriptManage/allScriptRole.vue | 7 +++++-- src/views/scriptManage/getAction.vue | 14 +++++++++++++- src/views/scriptManage/tipScriptRecord.vue | 8 +++++++- 5 files changed, 42 insertions(+), 5 deletions(-) diff --git a/src/api/script.js b/src/api/script.js index dfff747cf..f316ea3d9 100644 --- a/src/api/script.js +++ b/src/api/script.js @@ -118,3 +118,11 @@ export function getScriptExport(id) { method: 'get' }); } + +/** 删除会话动作(新版)*/ +export function deleteScriptAction(group, actionId) { + return request({ + url: `/api/scriptSimulation/${group}/${actionId}/delete`, + method: 'delete' + }); +} diff --git a/src/jmapNew/theme/haerbin_01/menus/menuButton.vue b/src/jmapNew/theme/haerbin_01/menus/menuButton.vue index 4c499bd83..8048deb70 100644 --- a/src/jmapNew/theme/haerbin_01/menus/menuButton.vue +++ b/src/jmapNew/theme/haerbin_01/menus/menuButton.vue @@ -152,7 +152,9 @@ export default { this.oldDevice = this.selectedObj; break; case 'StationStand': - this.handleStandMenu(); + if (this.$store.state.menuOperation.subType == 'trainSetButton') { + this.handleStandMenu(); + } break; case 'DirectionRod': this.handleDirectionRodMenu(); @@ -432,10 +434,16 @@ export default { }, handleStandMenu() { this.clearAllMenuShow(); + if (this.$store.state.training.prdType === '02') { + this.deviceHighLight(this.oldDevice, false); + this.deviceHighLight(this.selectedObj, true); + this.oldDevice = this.selectedObj; + } this.centralizedStationList = new Array(15).fill({}); this.standParamList.forEach((stand, index) => { this.centralizedStationList[index] = stand; }); + this.tempData = []; const data = Object.assign(this.selectedObj); const station = this.$store.getters['map/getDeviceByCode'](this.selectedObj.stationCode); diff --git a/src/views/scriptManage/allScriptRole.vue b/src/views/scriptManage/allScriptRole.vue index 0cf6ae66c..f32d3ea3f 100644 --- a/src/views/scriptManage/allScriptRole.vue +++ b/src/views/scriptManage/allScriptRole.vue @@ -116,11 +116,14 @@ export default { .settingBtn{ color: #409eff; cursor: pointer; - padding: 5px 10px; + padding: 2px 10px; border-radius: 4px; + border: 1px #409eff solid; } .hasSetted{ - + width: 50px; + text-align: center; + display: inline-block; } From 22192206c465e6ee588e2ab81ff543d33a9581e8 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Tue, 3 Nov 2020 16:39:24 +0800 Subject: [PATCH 04/43] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=A4=B4=E7=A0=81?= =?UTF-8?q?=E8=BD=A6=E8=B0=83=E6=95=B4=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../theme/race_01/menus/dialog/trainSetHead.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/jmapNew/theme/race_01/menus/dialog/trainSetHead.vue b/src/jmapNew/theme/race_01/menus/dialog/trainSetHead.vue index 2104b5fc2..fe8f7c0ca 100644 --- a/src/jmapNew/theme/race_01/menus/dialog/trainSetHead.vue +++ b/src/jmapNew/theme/race_01/menus/dialog/trainSetHead.vue @@ -12,14 +12,14 @@ > 车组号 - 服务号 + 车次号 - +
{{ messageTip1 }}
@@ -63,7 +63,7 @@ export default { addModel: { groupNumber: '', destinationCode: '', - serviceNumber: '' + tripNumber: '' }, messageTip1:'', messageTip2:'', @@ -110,7 +110,7 @@ export default { // 如果不是断点激活,则需要对初始值进行初始化 if (!this.dialogShow) { this.addModel.groupNumber = selected.groupNumber; - this.addModel.serviceNumber = selected.serviceNumber; + this.addModel.tripNumber = selected.tripNumber; } this.dialogShow = true; this.$nextTick(function () { @@ -125,8 +125,8 @@ export default { mouseCancelState(this.selected); }, commit() { - if (!this.addModel.serviceNumber) { - this.messageTip1 = '请输入服务号'; + if (!this.addModel.tripNumber) { + this.messageTip1 = '请输入车次号'; return; } if (!this.addModel.destinationCode) { @@ -137,7 +137,7 @@ export default { const params = { groupNumber: this.addModel.groupNumber, destinationCode: this.addModel.destinationCode, - serviceNumber: this.addModel.serviceNumber + tripNumber: this.addModel.tripNumber }; this.messageTip1 = ''; this.messageTip2 = ''; From 5bf5c3bac341209af6b3317d823447ee828e831e Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 3 Nov 2020 17:13:49 +0800 Subject: [PATCH 05/43] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/scriptManage/getAction.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/scriptManage/getAction.vue b/src/views/scriptManage/getAction.vue index 566ed8989..dcdff645e 100644 --- a/src/views/scriptManage/getAction.vue +++ b/src/views/scriptManage/getAction.vue @@ -46,7 +46,7 @@ {{ $t('scriptRecord.modifyConversitionButton') }} 确定 取消 - 删除 + 删除 From 0603e45a0742251b8ce7a661e47b9dc87d13c454 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Tue, 3 Nov 2020 18:23:30 +0800 Subject: [PATCH 06/43] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=A4=B4=E7=A0=81?= =?UTF-8?q?=E8=BD=A6=E8=B0=83=E6=95=B4=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../displayNew/scriptDisplay/component/covertOperation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/newMap/displayNew/scriptDisplay/component/covertOperation.js b/src/views/newMap/displayNew/scriptDisplay/component/covertOperation.js index 84c4c0ef3..cf9d6903c 100644 --- a/src/views/newMap/displayNew/scriptDisplay/component/covertOperation.js +++ b/src/views/newMap/displayNew/scriptDisplay/component/covertOperation.js @@ -188,8 +188,8 @@ export const operateEnum = { isList:true, params:[ { - code:'serviceNumber', - name:'服务号' + code:'tripNumber', + name:'车次号' }, { code:'destinationCode', From 6684ffd729c39a6bb485e8e08bf382bad364bada Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Tue, 3 Nov 2020 18:48:02 +0800 Subject: [PATCH 07/43] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BB=BC=E5=90=88?= =?UTF-8?q?=E7=9B=91=E6=8E=A7=E6=95=85=E9=9A=9C=E6=B5=81=E7=A8=8B=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iscs/iscsDraw/icscComponents/line.vue | 18 +++++-- .../stationConfig/canvas/iscsCanvas.vue | 8 +-- .../stationConfig/dialog/malfunction.vue | 54 +++++++++++++++---- .../iscsSystem/stationConfig/dialog/valve.vue | 8 +-- 4 files changed, 69 insertions(+), 19 deletions(-) diff --git a/src/views/iscs/iscsDraw/icscComponents/line.vue b/src/views/iscs/iscsDraw/icscComponents/line.vue index 3b362403e..a904dbc47 100644 --- a/src/views/iscs/iscsDraw/icscComponents/line.vue +++ b/src/views/iscs/iscsDraw/icscComponents/line.vue @@ -135,6 +135,7 @@ export default { buttonText: '立即创建', showDeleteButton: false, field: '', + groupMode: null, form: { classify:'solid', code: '', @@ -230,12 +231,15 @@ export default { if (this.form.isGradual) { if (this.form.modelList.length) { this.$emit('createDataModel', lineModel); + this.groupMode && this.$emit('createDataModel', this.groupMode); this.initPage(); } else { this.$message.error('渐变列表不能为空'); } } else { this.$emit('createDataModel', lineModel); + console.log(this.groupMode, '===='); + this.groupMode && this.$emit('createDataModel', this.groupMode); this.initPage(); } } else { @@ -285,9 +289,17 @@ export default { }, addChildElement(model) { this.form.controlCode = model.code; - const groupMode = this.$iscs.iscsDevice[model.code].model; - groupMode['lineCode'] = this.form.code; - this.$emit('createDataModel', groupMode); + this.groupMode = JSON.parse(JSON.stringify(this.$iscs.iscsDevice[model.code].model)); + if (typeof this.groupMode['lineCode'] == 'string') { + this.groupMode['lineCode'] = []; + } + if (!this.groupMode['lineCode']) { + this.groupMode['lineCode'] = [this.form.code]; + } else { + if (!this.groupMode['lineCode'].includes(this.form.code)) { + this.groupMode['lineCode'].push(this.form.code); + } + } }, addModelList() { const param = { diff --git a/src/views/iscs/iscsSystem/stationConfig/canvas/iscsCanvas.vue b/src/views/iscs/iscsSystem/stationConfig/canvas/iscsCanvas.vue index e840d4c04..61465ea86 100644 --- a/src/views/iscs/iscsSystem/stationConfig/canvas/iscsCanvas.vue +++ b/src/views/iscs/iscsSystem/stationConfig/canvas/iscsCanvas.vue @@ -152,9 +152,11 @@ export default { })); if (model.lineCode) { // 关联接触网 颜色处理 - arr.push({ - code: model.lineCode, - strokeColor: model.valve ? '#00FF1E' : '#FF0000' + model.lineCode.forEach(item => { + arr.push({ + code: item, + strokeColor: model.valve ? '#00FF1E' : '#FF0000' + }); }); } // 改变元素状态 diff --git a/src/views/iscs/iscsSystem/stationConfig/dialog/malfunction.vue b/src/views/iscs/iscsSystem/stationConfig/dialog/malfunction.vue index 86731a678..a0c69d4ce 100644 --- a/src/views/iscs/iscsSystem/stationConfig/dialog/malfunction.vue +++ b/src/views/iscs/iscsSystem/stationConfig/dialog/malfunction.vue @@ -64,7 +64,8 @@ export default { ], list: { valve: ['控分', '控合'] - } + }, + farmed: '' }; }, computed: { @@ -87,6 +88,7 @@ export default { commit() { this.$refs['form'].validate((valid) => { if (valid) { + this.farmed = ''; if (this.formModel.value == 'frame_group') { this.setMalfunction(); } else { @@ -155,7 +157,7 @@ export default { }, time); }, // 执行操作 - handleModel(model, judge = false) { + handleModel(model, judge = true) { const arr = []; model.statusList.forEach(item => { if (item.key == 'valve' && item.value == model.valve) { @@ -177,9 +179,12 @@ export default { return device.model; })); if (model.lineCode) { - arr.push({ - code: model.lineCode, - strokeColor: model.valve ? '#00FF1E' : '#FF0000' + // 关联接触网 颜色处理 + model.lineCode.forEach(item => { + arr.push({ + code: item, + strokeColor: model.valve ? '#00FF1E' : '#FF0000' + }); }); } // 改变元素状态 @@ -199,7 +204,7 @@ export default { // 报警时间 开关 if (judge) { const params = { - name: model.name, + name: model.name + this.farmed, times: this.filterTime(), station: this.$route.query.stationName, key: 'valve', @@ -243,6 +248,7 @@ export default { this.$iscs.iscsDevice['group_43'].model['valve'] = true; this.$iscs.iscsDevice['group_47'].model['valve'] = true; this.$iscs.iscsDevice['group_48'].model['valve'] = true; + this.farmed = ''; this.handleModel(this.$iscs.iscsDevice['group_11'].model); const promise1 = new Promise((resolve) => { @@ -305,11 +311,39 @@ export default { ]); Promise.all([promise1, promise2]).then(() => { this.$message.success('105/106/201/202/211/212/213/214开关因为框架电流保护动作跳闸,分位'); - const params = { - name: '框架电流保护动作跳闸', + this.handleAlarm(); + }); + }, + handleAlarm() { + const list = [ + { + name: '211断路器', times: this.filterTime(), - station: this.$route.query.stationName, - key: 'frame' + station: '象峰站' + }, + { + name: '212断路器', + times: this.filterTime(), + station: '象峰站' + }, + { + name: '211断路器', + times: this.filterTime(), + station: '树兜站' + }, + { + name: '212断路器', + times: this.filterTime(), + station: '树兜站' + } + ]; + list.forEach(item => { + const params = { + name: item.name, + times: item.times, + station: item.station, + key: 'valve', + valve: true }; this.$store.dispatch('iscs/setAddAlarmList', params); // 报警 this.$store.dispatch('iscs/setAddIncidentList', params); // 事件 diff --git a/src/views/iscs/iscsSystem/stationConfig/dialog/valve.vue b/src/views/iscs/iscsSystem/stationConfig/dialog/valve.vue index bb0578aa8..808c454fd 100644 --- a/src/views/iscs/iscsSystem/stationConfig/dialog/valve.vue +++ b/src/views/iscs/iscsSystem/stationConfig/dialog/valve.vue @@ -238,9 +238,11 @@ export default { })); if (model.lineCode) { // 关联接触网 颜色处理 - arr.push({ - code: model.lineCode, - strokeColor: model.valve ? '#00FF1E' : '#FF0000' + model.lineCode.forEach(item => { + arr.push({ + code: item, + strokeColor: model.valve ? '#00FF1E' : '#FF0000' + }); }); } // 改变元素状态 From a1be6dbfb9a5bae6f46ed09fe068cc4f39b026d3 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Tue, 3 Nov 2020 18:52:33 +0800 Subject: [PATCH 08/43] =?UTF-8?q?=E6=9A=82=E6=8F=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/ConstConfig.js | 3 ++- src/views/newMap/chatView/chatBox.vue | 1 + .../displayNew/scriptDisplay/scriptRecord/index.vue | 2 +- src/views/scriptManage/tipScriptRecord.vue | 10 ++++++++++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/scripts/ConstConfig.js b/src/scripts/ConstConfig.js index 197f6c4b5..c76ef2c24 100644 --- a/src/scripts/ConstConfig.js +++ b/src/scripts/ConstConfig.js @@ -97,7 +97,8 @@ export default { {label: '车辆段调度', value: 'DEPOT_DISPATCHER', enLabel: 'Depot dispatcher '}, {label: '电力调度', value: 'ELECTRIC_DISPATCHER', enLabel: 'Electric dispatcher'}, {label: '行调', value: 'DISPATCHER', enLabel: 'Dispatcher '}, - {label: '上级部门', value: 'PARENT_DEPARTMENT', enLabel: 'Parent department'} + {label: '上级部门', value: 'PARENT_DEPARTMENT', enLabel: 'Parent department'}, + {label: '停车场信号楼', value: 'PARKING_LOT_SIGNAL_BUILDING', enLabel: 'Parking Signal Building'} ], SimulationType: [ diff --git a/src/views/newMap/chatView/chatBox.vue b/src/views/newMap/chatView/chatBox.vue index e792a0945..757db63f6 100644 --- a/src/views/newMap/chatView/chatBox.vue +++ b/src/views/newMap/chatView/chatBox.vue @@ -406,6 +406,7 @@ export default { this.memberData[item.id].label = '上级部门' + (item.name || ''); this.memberData[item.id].labelName = '上级部门' + (item.name || ''); parentDepartmentList[item.id] = this.memberData[item.id]; + // case '' } }); // { label: '全部集中站', value: 'allConcentrateStation', active: false, sign: 'DEVICE_STATION' }, diff --git a/src/views/newMap/displayNew/scriptDisplay/scriptRecord/index.vue b/src/views/newMap/displayNew/scriptDisplay/scriptRecord/index.vue index 733773e31..35c504996 100644 --- a/src/views/newMap/displayNew/scriptDisplay/scriptRecord/index.vue +++ b/src/views/newMap/displayNew/scriptDisplay/scriptRecord/index.vue @@ -133,7 +133,7 @@ export default { return mem.userId != '' && mem.userId != undefined; }); if (member) { - const memberType = ['STATION_SUPERVISOR', 'DISPATCHER', 'DRIVER', 'MAINTAINER', 'DEPOT_DISPATCHER', 'PARENT_DEPARTMENT', 'ELECTRIC_DISPATCHER']; + const memberType = ['STATION_SUPERVISOR', 'DISPATCHER', 'DRIVER', 'MAINTAINER', 'DEPOT_DISPATCHER', 'PARENT_DEPARTMENT', 'ELECTRIC_DISPATCHER', 'PARKING_LOT_SIGNAL_BUILDING']; const prdTypeList = ['01', '02', '04', '', '05', '', '']; const index = memberType.indexOf(member.type); let prdType; diff --git a/src/views/scriptManage/tipScriptRecord.vue b/src/views/scriptManage/tipScriptRecord.vue index b8adeb897..c9a077c92 100644 --- a/src/views/scriptManage/tipScriptRecord.vue +++ b/src/views/scriptManage/tipScriptRecord.vue @@ -192,6 +192,12 @@ export default { id: 'electricDispatcher', type: 'role', children: result.deviceListData[6] + }, + { + label: '停车场信号楼', + id: 'parkingLotSignalBuilding', + type: 'role', + children: result.deviceListData[7] } // PARENT_DEPARTMENT ]; @@ -465,6 +471,10 @@ export default { prdType = ''; role.type = 'ELECTRIC_DISPATCHER'; this.$store.dispatch('training/setRoles', 'ELECTRIC_DISPATCHER'); + } else if (role.type == '停车场信号楼') { + prdType = ''; + role.type = 'PARKING_LOT_SIGNAL_BUILDING'; + this.$store.dispatch('training/setRoles', 'PARKING_LOT_SIGNAL_BUILDING'); } else { prdType = ''; } From 9aeb3d295cd6a44a79728495a47e1bd2d9f6fab0 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 3 Nov 2020 19:02:02 +0800 Subject: [PATCH 09/43] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/chatView/chatBox.vue | 49 +++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/src/views/newMap/chatView/chatBox.vue b/src/views/newMap/chatView/chatBox.vue index e792a0945..0f125904b 100644 --- a/src/views/newMap/chatView/chatBox.vue +++ b/src/views/newMap/chatView/chatBox.vue @@ -478,6 +478,55 @@ export default { }, '$store.state.scriptRecord.audioPlay':function(val) { this.audioPlay = val; + }, + '$store.state.scriptRecord.updateRoleId':function(val) { + // val + if (this.conversitionStateMap[val]) { + this.treeData.forEach(item => { + if (item.children) { + const memberList = Object.values(item.children); + memberList.forEach(data =>{ + const member = this.conversitionStateMap[val]; + // && privateMem.connect; + const memberInfo = member.privateMemberList.find(privateMem=>{ return privateMem.memberId == data.id; }); + // member.connect + if (member && data.id != val && memberInfo) { + data.isConnect = true; + data.active = true; + this.connectSuccess = true; + } else { + data.active = false; + data.isConnect = false; + this.connectSuccess = false; + } + data.loading = false; + data.disabled = false; + data.isInviting = false; + }); + } + }); + if (!this.connect) { + this.memberIdList = []; + this.memberObject = ''; + } + } else { + this.memberIdList = []; + this.memberObject = ''; + this.connectSuccess = false; + this.treeData.forEach(item => { + if (item.children) { + const memberList = Object.values(item.children); + memberList.forEach(data =>{ + data.active = false; + data.isConnect = false; + data.loading = false; + data.disabled = false; + data.isInviting = false; + }); + } + }); + } + } }, beforeDestroy() { From b312371a640603de8368bae9e17c3ebd033494b9 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 4 Nov 2020 09:19:13 +0800 Subject: [PATCH 10/43] =?UTF-8?q?=E7=BB=98=E5=9B=BE---=E8=BD=A6=E7=AB=99--?= =?UTF-8?q?-=E6=8C=89=E5=9B=BE=E6=8A=98=E8=BF=94=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=88=A0=E9=99=A4=20=E7=BB=98=E5=9B=BE---=E5=8C=BA=E6=AE=B5---?= =?UTF-8?q?=E5=85=AC=E9=87=8C=E6=A0=87=E5=AD=97=E6=AE=B5=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/newMapdraft/mapoperate/models.js | 8 ++++---- .../newMap/newMapdraft/mapoperate/section/index.vue | 6 +++--- src/views/newMap/newMapdraft/mapoperate/station.vue | 10 +++++----- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/views/newMap/newMapdraft/mapoperate/models.js b/src/views/newMap/newMapdraft/mapoperate/models.js index da00299ca..bd6b9a4d0 100644 --- a/src/views/newMap/newMapdraft/mapoperate/models.js +++ b/src/views/newMap/newMapdraft/mapoperate/models.js @@ -15,8 +15,8 @@ class Model { this.destinationCode = ''; // 目的地码 this.destinationCodePoint = { x: 0, y: 0 }; // 目的地码坐标 this.namePosition = { x: 0, y: 0 }; - this.kmRangeRight = 0; - this.kmRangeLeft = 0; + // this.kmRangeRight = 0; + // this.kmRangeLeft = 0; this.region = ''; this.logicSectionCodeList = []; this.logicSectionShow = false; // 是否显示逻辑区段 @@ -135,8 +135,8 @@ class Model { this.position = { x: 0, y: 0 }; this.kilometerPosition = { x: 0, y: 0 }; // 公里标偏移坐标 this.createControlMode = false; - this.createTurnBack = false; - this.turnBackPoint = {x: 0, y: 0}; // 按图折返坐标 + // this.createTurnBack = false; + // this.turnBackPoint = {x: 0, y: 0}; // 按图折返坐标 this.controlModePoint = { x: 0, y: 0 }; // 控制模式坐标 } StationStandModel() { diff --git a/src/views/newMap/newMapdraft/mapoperate/section/index.vue b/src/views/newMap/newMapdraft/mapoperate/section/index.vue index c5915e111..2315198ea 100644 --- a/src/views/newMap/newMapdraft/mapoperate/section/index.vue +++ b/src/views/newMap/newMapdraft/mapoperate/section/index.vue @@ -203,9 +203,9 @@ export default { { prop: 'leftStopPointOffset', label: this.$t('map.leftStopPointOffset'), type: 'number', min: 0, max: this.maxLengthFact, isHidden: !this.isStopPointOffset }, // 左向停车点偏移量 { prop: 'rightStopPointOffset', label: this.$t('map.rightStopPointOffset'), type: 'number', min: 0, max: this.maxLengthFact, isHidden: !this.isStopPointOffset }, // 右向停车点偏移量 { prop: 'region', label: this.$t('map.sectionColon'), type: 'select', optionLabel: 'label', optionValue: 'value', options: this.regionList, isHidden: !this.sectionColonShow }, - { prop: 'trainWindowCode', label: '关联车次窗', type: 'input', disabled: true, isHidden: !this.isSwitchSectionShow }, - { prop: 'kmRangeLeft', label: this.$t('map.leftKilometerMark'), type: 'number', min: 0, placeholder: this.$t('map.meter') }, - { prop: 'kmRangeRight', label: this.$t('map.rightKilometerMark'), type: 'number', min: 0, placeholder: this.$t('map.meter') } + { prop: 'trainWindowCode', label: '关联车次窗', type: 'input', disabled: true, isHidden: !this.isSwitchSectionShow } + // { prop: 'kmRangeLeft', label: this.$t('map.leftKilometerMark'), type: 'number', min: 0, placeholder: this.$t('map.meter') }, + // { prop: 'kmRangeRight', label: this.$t('map.rightKilometerMark'), type: 'number', min: 0, placeholder: this.$t('map.meter') } ] } } diff --git a/src/views/newMap/newMapdraft/mapoperate/station.vue b/src/views/newMap/newMapdraft/mapoperate/station.vue index 2f86c8252..ba2741374 100644 --- a/src/views/newMap/newMapdraft/mapoperate/station.vue +++ b/src/views/newMap/newMapdraft/mapoperate/station.vue @@ -198,12 +198,12 @@ export default { { prop: 'controlModePoint', label: this.$t('map.stationControlPosition'), type: 'coordinate', width: '120px', isHidden:!this.editModel.createControlMode, children: [ { prop: 'controlModePoint.x', firstLevel: 'controlModePoint', secondLevel: 'x', label: 'x:', type: 'number', labelWidth: '25px'}, { prop: 'controlModePoint.y', firstLevel: 'controlModePoint', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '25px'} - ] }, - { prop: 'createTurnBack', label: '按图折返:', type: 'checkbox' }, - { prop: 'turnBackPoint', label: '按图折返坐标:', type: 'coordinate', width: '120px', isHidden: !this.isPointsShow, children: [ - { prop: 'turnBackPoint.x', firstLevel: 'turnBackPoint', secondLevel: 'x', label: 'x:', type: 'number', labelWidth: '25px' }, - { prop: 'turnBackPoint.y', firstLevel: 'turnBackPoint', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '25px' } ] } + // { prop: 'createTurnBack', label: '按图折返:', type: 'checkbox' }, + // { prop: 'turnBackPoint', label: '按图折返坐标:', type: 'coordinate', width: '120px', isHidden: !this.isPointsShow, children: [ + // { prop: 'turnBackPoint.x', firstLevel: 'turnBackPoint', secondLevel: 'x', label: 'x:', type: 'number', labelWidth: '25px' }, + // { prop: 'turnBackPoint.y', firstLevel: 'turnBackPoint', secondLevel: 'y', label: 'y:', type: 'number', labelWidth: '25px' } + // ] } ] }, map: { From 55dda9ca10f83a7cf66f3578a97288aa7297a7bd Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Wed, 4 Nov 2020 09:26:22 +0800 Subject: [PATCH 11/43] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=81=9C=E8=BD=A6?= =?UTF-8?q?=E5=9C=BA=E4=BF=A1=E5=8F=B7=E6=A5=BC=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/chatView/chatBox.vue | 14 ++++++++++++-- .../displayNew/dispatherContest/sceneList.vue | 3 +++ .../scriptPreview/scriptButtonGroup.vue | 6 ++++++ src/views/newMap/displayNew/utils.js | 4 ++-- src/views/scriptManage/tipScriptRecord.vue | 5 +++-- 5 files changed, 26 insertions(+), 6 deletions(-) diff --git a/src/views/newMap/chatView/chatBox.vue b/src/views/newMap/chatView/chatBox.vue index 757db63f6..7f40cb1de 100644 --- a/src/views/newMap/chatView/chatBox.vue +++ b/src/views/newMap/chatView/chatBox.vue @@ -363,6 +363,7 @@ export default { const driverList = {}; const maintainerList = {}; const parentDepartmentList = {}; + const parkingLotSignalBuilding = {}; val.forEach(item => { const device = this.$store.getters['map/getDeviceByCode'](item.deviceCode); this.memberData[item.id]['active'] = false; @@ -399,14 +400,18 @@ export default { case 'MAINTAINER': this.memberData[item.id].label = '通号' + (item.name || ''); this.memberData[item.id].labelName = '通号' + (item.name || ''); - // this.memberData[item.id].label = item.name || ''; maintainerList[item.id] = this.memberData[item.id]; break; case 'PARENT_DEPARTMENT': this.memberData[item.id].label = '上级部门' + (item.name || ''); this.memberData[item.id].labelName = '上级部门' + (item.name || ''); parentDepartmentList[item.id] = this.memberData[item.id]; - // case '' + break; + case 'PARKING_LOT_SIGNAL_BUILDING': + this.memberData[item.id].label = '停车场信号机' + (item.name || ''); + this.memberData[item.id].labelName = '停车场信号机' + (item.name || ''); + parkingLotSignalBuilding[item.id] = this.memberData[item.id]; + break; } }); // { label: '全部集中站', value: 'allConcentrateStation', active: false, sign: 'DEVICE_STATION' }, @@ -447,6 +452,11 @@ export default { id: 'electricDispatcher', type: 'role', children: electricDispatcherList + }, { + label: '停车场信号楼', + id: 'parkingLotSignalBuilding', + type: 'role', + children: parkingLotSignalBuilding }]; this.initCommonMemberList(); this.filterNode(); diff --git a/src/views/newMap/displayNew/dispatherContest/sceneList.vue b/src/views/newMap/displayNew/dispatherContest/sceneList.vue index 9e9e88b22..8212872df 100644 --- a/src/views/newMap/displayNew/dispatherContest/sceneList.vue +++ b/src/views/newMap/displayNew/dispatherContest/sceneList.vue @@ -177,6 +177,9 @@ export default { member.label = '电力调度' + (member.name ? member.name : ''); break; } + case 'PARKING_LOT_SIGNAL_BUILDING': { + member.label = '停车场信号机' + (member.name ? member.name : ''); + } } // if (member.type === 'DISPATCHER') { // this.memberId = member.id; diff --git a/src/views/newMap/displayNew/scriptDisplay/scriptPreview/scriptButtonGroup.vue b/src/views/newMap/displayNew/scriptDisplay/scriptPreview/scriptButtonGroup.vue index 8e0669a54..90068e9ad 100644 --- a/src/views/newMap/displayNew/scriptDisplay/scriptPreview/scriptButtonGroup.vue +++ b/src/views/newMap/displayNew/scriptDisplay/scriptPreview/scriptButtonGroup.vue @@ -228,6 +228,12 @@ export default { id: 'electricDispatcher', type: 'role', children: result.deviceListData[6] + }, + { + label: '停车场信号楼', + id: 'parkingLotSignalBuilding', + type: 'role', + children: result.deviceListData[7] }]; const lastMemberList = result.lastMemberList; this.$emit('setTreeData', treeData); diff --git a/src/views/newMap/displayNew/utils.js b/src/views/newMap/displayNew/utils.js index 08fd61ee4..83a6b9966 100644 --- a/src/views/newMap/displayNew/utils.js +++ b/src/views/newMap/displayNew/utils.js @@ -15,7 +15,7 @@ export function covertMemberData (activeTrainList, resp) { lastData = JSON.parse(lastData); const lastMemberList = []; // const electricDispatcherList = []; - const deviceListData = [[], [], [], [], [], [], []]; + const deviceListData = [[], [], [], [], [], [], [], []]; const driverList = []; lastData.forEach((member, index)=>{ if (member.userId && member.userId == store.state.user.id) { @@ -37,7 +37,7 @@ export function covertMemberData (activeTrainList, resp) { member.label = member.type + name + userName; member.normalName = member.type + name; } - const deviceType = ['行调', '通号', '行值', '司机', '车辆段调度', '上级部门', '电力调度']; + const deviceType = ['行调', '通号', '行值', '司机', '车辆段调度', '上级部门', '电力调度', '停车场信号楼']; const deviceTypeIndex = deviceType.indexOf(member.type); if (deviceTypeIndex >= 0) { if (deviceTypeIndex == 3) { diff --git a/src/views/scriptManage/tipScriptRecord.vue b/src/views/scriptManage/tipScriptRecord.vue index c9a077c92..e7113041f 100644 --- a/src/views/scriptManage/tipScriptRecord.vue +++ b/src/views/scriptManage/tipScriptRecord.vue @@ -256,7 +256,7 @@ export default { const covertmember = this.covert(lastData, ConstConfig.ConstSelect.roleTypeNew); const newMember = covertmember[0]; this.memberList.push(newMember); - const deviceTypeList = ['行调', '行值', '司机', '通号', '车辆段调度', '上级部门', '电力调度']; + const deviceTypeList = ['行调', '行值', '司机', '通号', '车辆段调度', '上级部门', '电力调度', '停车场信号楼']; const index = deviceTypeList.indexOf(newMember.type); if (index >= 0) { const treeDataIn = this.treeData[index]; @@ -502,7 +502,8 @@ export default { 'MAINTAINER':'通号', 'DEPOT_DISPATCHER':'车辆段调度', 'PARENT_DEPARTMENT':'上级部门', - 'ELECTRIC_DISPATCHER':'电力调度' + 'ELECTRIC_DISPATCHER':'电力调度', + 'PARKING_LOT_SIGNAL_BUILDING':'停车场信号楼' }; newRole.type = roleTypeEnumMap[newRole.type]; this.quickChangeMember.list.push(newRole); From 109511d02bd8db3eef6e66b51796c8125c4b8e93 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Wed, 4 Nov 2020 10:14:54 +0800 Subject: [PATCH 12/43] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8A=A5=E8=AD=A6?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E6=A0=B7=E5=BC=8F=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iscsSystem/stationConfig/dialog/alarm.vue | 79 +++++++++++++++---- src/views/iscs/iscsSystem/stationNav.vue | 11 +-- 2 files changed, 70 insertions(+), 20 deletions(-) diff --git a/src/views/iscs/iscsSystem/stationConfig/dialog/alarm.vue b/src/views/iscs/iscsSystem/stationConfig/dialog/alarm.vue index 5c2beb188..65713ca5a 100644 --- a/src/views/iscs/iscsSystem/stationConfig/dialog/alarm.vue +++ b/src/views/iscs/iscsSystem/stationConfig/dialog/alarm.vue @@ -1,6 +1,10 @@ @@ -65,5 +78,41 @@ export default { diff --git a/src/views/iscs/iscsSystem/stationNav.vue b/src/views/iscs/iscsSystem/stationNav.vue index 9e6fc95f7..898f7d5be 100644 --- a/src/views/iscs/iscsSystem/stationNav.vue +++ b/src/views/iscs/iscsSystem/stationNav.vue @@ -57,9 +57,10 @@
返回
-
+ +
报警 - +
事件
故障设置
@@ -410,9 +411,9 @@ export default { }, // 获取报警信息 handleAlarmInfo() { - if (!this.alarmInfo) { - this.$refs.alarmConfig.doShow(); - } + // if (!this.alarmInfo) { + this.$refs.alarmConfig.doShow(); + // } }, // 设置故障 handleMalfunction() { From 8158eb77734b2cdd2a8154993b5a1d3877567a23 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Wed, 4 Nov 2020 10:18:29 +0800 Subject: [PATCH 13/43] =?UTF-8?q?=E5=89=A7=E6=9C=AC=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E6=9A=82=E6=8F=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/script.js | 8 +++ src/views/scriptManage/conditionManage.vue | 70 ++++++++++++++++++++++ src/views/scriptManage/getAction.vue | 4 ++ 3 files changed, 82 insertions(+) create mode 100644 src/views/scriptManage/conditionManage.vue diff --git a/src/api/script.js b/src/api/script.js index f316ea3d9..326131774 100644 --- a/src/api/script.js +++ b/src/api/script.js @@ -126,3 +126,11 @@ export function deleteScriptAction(group, actionId) { method: 'delete' }); } +/** 修改剧本活动条件 */ +export function updateActionCondition(group, actionId, data) { + return request({ + url: `/api/scriptSimulation/${group}/${actionId}/updateCondition`, + method: 'put', + data + }); +} diff --git a/src/views/scriptManage/conditionManage.vue b/src/views/scriptManage/conditionManage.vue new file mode 100644 index 000000000..b05d0754f --- /dev/null +++ b/src/views/scriptManage/conditionManage.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/src/views/scriptManage/getAction.vue b/src/views/scriptManage/getAction.vue index dcdff645e..afce8c0e2 100644 --- a/src/views/scriptManage/getAction.vue +++ b/src/views/scriptManage/getAction.vue @@ -43,6 +43,7 @@
+ 触发条件 {{ $t('scriptRecord.modifyConversitionButton') }} 确定 取消 @@ -107,6 +108,9 @@ export default { methods: { loadInitData() { this.loadOtherData(this.$route.query); + }, + handleCondition(actionId) { + }, covertData(memberList, element) { const member = memberList.find(elem=>{ return elem.id == element.memberId; }); From 0f3c1e9ab88126889efdda32f9397683e7f390ad Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 4 Nov 2020 10:46:55 +0800 Subject: [PATCH 14/43] =?UTF-8?q?=E8=BF=90=E8=A1=8C=E5=9B=BE=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/planMonitor/editTool/menus/addTask.vue | 14 ++++++++++---- src/views/planMonitor/editTool/schedule.vue | 7 ++++++- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/views/planMonitor/editTool/menus/addTask.vue b/src/views/planMonitor/editTool/menus/addTask.vue index b0a4fd131..4d4d2ba41 100644 --- a/src/views/planMonitor/editTool/menus/addTask.vue +++ b/src/views/planMonitor/editTool/menus/addTask.vue @@ -133,14 +133,14 @@ @@ -387,8 +387,14 @@ export default { }, handleClick(row, column, event) { const arriveConfigList = []; - row.parkSectionCodeList.forEach(parkSectionCode=>{ - arriveConfigList.push({arriveTime:'', departureTime:'', sectionCode:parkSectionCode.sectionCode, stationCode:parkSectionCode.stationCode}); + row.parkSectionCodeList.forEach((parkSectionCode, index)=>{ + // const length = row.parkSectionCodeList.length - 1; + // if ((index == 0 && parkSectionCode.stationCode == row.parkSectionCodeList[1].stationCode) || + // (index == length && parkSectionCode.stationCode == row.parkSectionCodeList[length].stationCode)) { + // arriveConfigList.push({arriveTime:'', departureTime:'', sectionCode:parkSectionCode.sectionCode, stationCode:parkSectionCode.stationCode, isDisabled:true}); + // } else { + arriveConfigList.push({arriveTime:'', departureTime:'', sectionCode:parkSectionCode.sectionCode, stationCode:parkSectionCode.stationCode, isDisabled:false}); + // } }); this.$set(this.addModel, 'arriveConfigList', arriveConfigList); this.addModel.startStationCode = row.startStationCode; diff --git a/src/views/planMonitor/editTool/schedule.vue b/src/views/planMonitor/editTool/schedule.vue index f23d41005..8503c7cd1 100644 --- a/src/views/planMonitor/editTool/schedule.vue +++ b/src/views/planMonitor/editTool/schedule.vue @@ -293,9 +293,11 @@ export default { const op = this.myChart.getOption(); op.series.forEach((item, index) => { item.lineStyle.color = '#000'; + item.lineStyle.width = 0.5; switch (item.name) { case serviceNumber: { item.lineStyle.color = 'red'; + item.lineStyle.width = 1; break; } case 'trainLabel': { @@ -327,6 +329,8 @@ export default { data.push(nor); } }); + // item.lineStyle.color = '#000'; + item.lineStyle.width = 0.5; break; } case 'trainLabel': { @@ -339,7 +343,8 @@ export default { op.series.push({ name: 'trainLabel', lineStyle: { - color: 'green' + color: 'green', + width:2 }, type: 'line', data: data From 7c9f69e5d858d78dfee0d6d17c5db974712a1db8 Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Wed, 4 Nov 2020 13:21:02 +0800 Subject: [PATCH 15/43] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/iscs/shape/group.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iscs/shape/group.js b/src/iscs/shape/group.js index 984be25f6..f7413cfad 100644 --- a/src/iscs/shape/group.js +++ b/src/iscs/shape/group.js @@ -21,7 +21,7 @@ export default class rect extends Group { create() { let rect = null; for (const key in this.model.elemMap) { - if (Vue.prototype.$iscs.iscsDevice[key].instance) { + if (Vue.prototype.$iscs.iscsDevice[key] && Vue.prototype.$iscs.iscsDevice[key].instance) { if (!rect) { rect = Vue.prototype.$iscs.iscsDevice[key].instance.getBoundingRect(); } else { From 872a71c7b566b9db54b0e0c0dcaa3ced279cdceb Mon Sep 17 00:00:00 2001 From: lVAL Date: Wed, 4 Nov 2020 14:42:48 +0800 Subject: [PATCH 16/43] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E8=83=8C=E6=99=AF=E7=9A=84=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/simulation.js | 24 +++++ src/i18n/langs/en/scriptRecord.js | 7 +- src/i18n/langs/zh/scriptRecord.js | 6 +- src/utils/baseUrl.js | 2 +- src/views/newMap/chatView/chatBox.vue | 34 +++++++- .../scriptDisplay/scriptRecord/index.vue | 17 ++-- src/views/scriptManage/tipScriptRecord.vue | 87 +++++++++++++++---- 7 files changed, 152 insertions(+), 25 deletions(-) diff --git a/src/api/simulation.js b/src/api/simulation.js index c6efd75d2..bb59c7f2a 100644 --- a/src/api/simulation.js +++ b/src/api/simulation.js @@ -147,6 +147,30 @@ export function modifyScriptActionNew(group, data) { }); } +/** 开始替换 */ +export function startReplaceBg(group) { + return request({ + url: `/api/scriptSimulation/${group}/replace/start`, + method: 'put' + }); +} + +/** 确认替换 */ +export function confirmReplaceBg(group) { + return request({ + url: `/api/scriptSimulation/${group}/replace/confirm`, + method: 'put' + }); +} + +/** 放弃替换 */ +export function cancelReplaceBg(group) { + return request({ + url: `/api/scriptSimulation/${group}/replace/cancel`, + method: 'put' + }); +} + /** 分页查询存在的仿真 */ export function getExistingSimulation(params) { return request({ diff --git a/src/i18n/langs/en/scriptRecord.js b/src/i18n/langs/en/scriptRecord.js index 8e7618762..6751f9f16 100644 --- a/src/i18n/langs/en/scriptRecord.js +++ b/src/i18n/langs/en/scriptRecord.js @@ -109,5 +109,10 @@ export default { revokeScriptTip: 'This action will undo release script, whether to continue?', inputScriptName: 'Please input script name', selectMap: 'Please select map', - inputScriptDescription: 'Please input script description' + inputScriptDescription: 'Please input script description', + + + startReplaceBg: '替换背景', + confirmReplaceBg: '确认替换', + cancelReplaceBg: '放弃替换' }; diff --git a/src/i18n/langs/zh/scriptRecord.js b/src/i18n/langs/zh/scriptRecord.js index d6a29074d..34edb58f5 100644 --- a/src/i18n/langs/zh/scriptRecord.js +++ b/src/i18n/langs/zh/scriptRecord.js @@ -110,5 +110,9 @@ export default { revokeScriptTip: '此操作将撤销发布剧本申请, 是否继续?', inputScriptName: '请输入剧本名称', selectMap: '请选择地图', - inputScriptDescription: '请输入剧本描述' + inputScriptDescription: '请输入剧本描述', + + startReplaceBg: '替换背景', + confirmReplaceBg: '确认替换', + cancelReplaceBg: '放弃替换' }; diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 89ce9ee58..165ac701e 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -5,7 +5,7 @@ export function getBaseUrl() { BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://192.168.8.107:9000'; // 袁琪 // BASE_API = 'http://192.168.8.114:9000'; // 旭强 - // BASE_API = 'http://192.168.3.175:9000'; // 张赛 + BASE_API = 'http://192.168.8.109:9000'; // 张赛 // BASE_API = 'http://192.168.8.110:9000'; // 杜康 // BASE_API = 'http://b29z135112.zicp.vip'; // BASE_API = 'http://2925963m2a.zicp.vip'; // 杜康 diff --git a/src/views/newMap/chatView/chatBox.vue b/src/views/newMap/chatView/chatBox.vue index 4663ce5c7..dcb163285 100644 --- a/src/views/newMap/chatView/chatBox.vue +++ b/src/views/newMap/chatView/chatBox.vue @@ -138,6 +138,7 @@
+