车辆翻转 运行时显示调整

This commit is contained in:
fan 2021-12-08 13:18:16 +08:00
parent 5a5dd046eb
commit 8c3c7e0f75
4 changed files with 3 additions and 6 deletions

View File

@ -673,6 +673,7 @@ class SkinCode extends defaultStyle {
{status: '07', showColor: '#FFFF00'}
], // 目的地状态 01准点 02早点 03严重早点 04晚点 05严重晚点 06头码车 07ATP切除
destinationStatusSetText: 'trainServer', // 目的地状态设置的对应哪个text的颜色
runLineHide: true, // 运行时列车line 竖杆隐藏
directionType: [
{
type: 1,

View File

@ -122,7 +122,6 @@ class MouseController extends Eventful {
this._dragging = false;
}
if (this._zoomOnMouseWheel && this.$jmap.mapDevice['check_box'] && this._previewOrMapDraw ) {
console.log(this.isMoveRight, 'mouseup');
this.eventTarget = this.$jmap.mapDevice['check_box'].instance;
this.handleBoundingRect(this.eventTarget);
let em;

View File

@ -232,9 +232,9 @@ export default class Train extends Group {
let lineRShow = item.lineRShow;
let arrowRShow = item.arrowRShow;
if (flag) {
lineLShow = !item.lineLShow;
lineLShow = !item.lineLShow && !this.style.Train.trainStatusStyle.runLineHide;
arrowLShow = !item.arrowLShow;
lineRShow = !item.lineRShow;
lineRShow = !item.lineRShow && !this.style.Train.trainStatusStyle.runLineHide;
arrowRShow = !item.arrowRShow;
}
this.trainL && this.trainL.setLineShow(lineLShow);

View File

@ -107,8 +107,6 @@ export default {
this.$root.$emit('dialogOpen', selected);
this.selected = selected;
//
// if (!this.dialogShow) {
// }
this.addModel.sectionCode = selected.code;
this.dialogShow = true;
this.$nextTick(function () {
@ -149,7 +147,6 @@ export default {
const operate = {
operation: OperationEvent.Command.cancel.menu.operation
};
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
if (valid) {
this.doClose();