车辆翻转 运行时显示调整
This commit is contained in:
parent
5a5dd046eb
commit
8c3c7e0f75
@ -673,6 +673,7 @@ class SkinCode extends defaultStyle {
|
|||||||
{status: '07', showColor: '#FFFF00'}
|
{status: '07', showColor: '#FFFF00'}
|
||||||
], // 目的地状态 01准点 02早点 03严重早点 04晚点 05严重晚点 06头码车 07ATP切除
|
], // 目的地状态 01准点 02早点 03严重早点 04晚点 05严重晚点 06头码车 07ATP切除
|
||||||
destinationStatusSetText: 'trainServer', // 目的地状态设置的对应哪个text的颜色
|
destinationStatusSetText: 'trainServer', // 目的地状态设置的对应哪个text的颜色
|
||||||
|
runLineHide: true, // 运行时列车line 竖杆隐藏
|
||||||
directionType: [
|
directionType: [
|
||||||
{
|
{
|
||||||
type: 1,
|
type: 1,
|
||||||
|
@ -122,7 +122,6 @@ class MouseController extends Eventful {
|
|||||||
this._dragging = false;
|
this._dragging = false;
|
||||||
}
|
}
|
||||||
if (this._zoomOnMouseWheel && this.$jmap.mapDevice['check_box'] && this._previewOrMapDraw ) {
|
if (this._zoomOnMouseWheel && this.$jmap.mapDevice['check_box'] && this._previewOrMapDraw ) {
|
||||||
console.log(this.isMoveRight, 'mouseup');
|
|
||||||
this.eventTarget = this.$jmap.mapDevice['check_box'].instance;
|
this.eventTarget = this.$jmap.mapDevice['check_box'].instance;
|
||||||
this.handleBoundingRect(this.eventTarget);
|
this.handleBoundingRect(this.eventTarget);
|
||||||
let em;
|
let em;
|
||||||
|
@ -232,9 +232,9 @@ export default class Train extends Group {
|
|||||||
let lineRShow = item.lineRShow;
|
let lineRShow = item.lineRShow;
|
||||||
let arrowRShow = item.arrowRShow;
|
let arrowRShow = item.arrowRShow;
|
||||||
if (flag) {
|
if (flag) {
|
||||||
lineLShow = !item.lineLShow;
|
lineLShow = !item.lineLShow && !this.style.Train.trainStatusStyle.runLineHide;
|
||||||
arrowLShow = !item.arrowLShow;
|
arrowLShow = !item.arrowLShow;
|
||||||
lineRShow = !item.lineRShow;
|
lineRShow = !item.lineRShow && !this.style.Train.trainStatusStyle.runLineHide;
|
||||||
arrowRShow = !item.arrowRShow;
|
arrowRShow = !item.arrowRShow;
|
||||||
}
|
}
|
||||||
this.trainL && this.trainL.setLineShow(lineLShow);
|
this.trainL && this.trainL.setLineShow(lineLShow);
|
||||||
|
@ -107,8 +107,6 @@ export default {
|
|||||||
this.$root.$emit('dialogOpen', selected);
|
this.$root.$emit('dialogOpen', selected);
|
||||||
this.selected = selected;
|
this.selected = selected;
|
||||||
// 如果不是断点激活,则需要对初始值进行初始化
|
// 如果不是断点激活,则需要对初始值进行初始化
|
||||||
// if (!this.dialogShow) {
|
|
||||||
// }
|
|
||||||
this.addModel.sectionCode = selected.code;
|
this.addModel.sectionCode = selected.code;
|
||||||
this.dialogShow = true;
|
this.dialogShow = true;
|
||||||
this.$nextTick(function () {
|
this.$nextTick(function () {
|
||||||
@ -149,7 +147,6 @@ export default {
|
|||||||
const operate = {
|
const operate = {
|
||||||
operation: OperationEvent.Command.cancel.menu.operation
|
operation: OperationEvent.Command.cancel.menu.operation
|
||||||
};
|
};
|
||||||
|
|
||||||
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
|
this.$store.dispatch('training/nextNew', operate).then(({ valid }) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.doClose();
|
this.doClose();
|
||||||
|
Loading…
Reference in New Issue
Block a user