This commit is contained in:
fan 2020-08-31 13:27:38 +08:00
commit c44a081afa
11 changed files with 67 additions and 47 deletions

View File

@ -52,7 +52,7 @@ export default {
exitPlan: '退出计划',
initialize: '初始化',
back: '返回',
threeDimensionalView: '三维视图',
threeDimensionalView: '数字沙盘',
threeDimensionalStation: '三维车站',
passengerflow: 'cctv视图',
maintainer: '设备故障视图',

View File

@ -41,7 +41,7 @@ export default class TrainBodyBox extends Group {
buckleTrain() {
if (this.trainBodyBox) {
this.trainBodyBox.setStyle('fill', 'yellow');
if (this.model.speed) { // 列车停稳状态下开始闪烁
if (!this.model.speed) { // 列车停稳状态下开始闪烁
this.trainBodyBox.animateStyle(true)
.when(0, { fill: this.model.style.backgroundColor })
.when(1000, { fill: 'yellow' })

View File

@ -197,16 +197,19 @@ export default {
const sectionList = this.$store.getters['map/sectionList'];
if (sectionList && sectionList.length > 0) {
sectionList.forEach(elem => {
if (elem.isSwitchSection && elem.parentCode) {
//
// if (elem.switchSection && elem.parentCode) {
// //
// nameShow = false;
if (elem.type != '03') {
nameShow = false;
} else {
if (elem.type === '01') {
//
nameShow = this.nameLevels.indexOf(11) !== -1;
} else if (elem.type === '02') {
//
nameShow = this.nameLevels.indexOf(5) !== -1;
} else if (elem.type === '03') {
} else if (elem.type === '04') {
//
nameShow = this.nameLevels.indexOf(9) !== -1;
}

View File

@ -197,8 +197,10 @@ export default {
if (sectionList && sectionList.length > 0) {
sectionList.forEach(elem => {
elem._type = deviceType.Section;
if (elem.isSwitchSection && elem.parentCode) {
//
// if (elem.switchSection && elem.parentCode) {
// //
// nameShow = false;
if (elem.type != '03') {
nameShow = false;
} else {
if (elem.type === '01') {
@ -207,7 +209,7 @@ export default {
} else if (elem.type === '02') {
//
nameShow = this.nameLevels.indexOf(5) !== -1;
} else if (elem.type === '03') {
} else if (elem.type === '04') {
//
nameShow = this.nameLevels.indexOf(9) !== -1;
}

View File

@ -563,7 +563,7 @@ export default {
minDuration: 5,
operateType: 'Signal_Reopen_Signal',
skinCode: '06',
trainingName: '信号重开({3} 进路)',
trainingName: '信号重开({5})',
trainingRemark: '信号重开功能',
trainingType: 'Signal',
productTypes: ['01', '02'],

View File

@ -199,8 +199,10 @@ export default {
if (sectionList && sectionList.length > 0) {
sectionList.forEach(elem => {
elem._type = deviceType.Section;
if (elem.isSwitchSection && elem.parentCode) {
//
// if (elem.switchSection && elem.parentCode) {
// //
// nameShow = false;
if (elem.type == '03') {
nameShow = false;
} else {
if (elem.type === '01') {
@ -209,7 +211,7 @@ export default {
} else if (elem.type === '02') {
//
nameShow = this.nameLevels.indexOf(5) !== -1;
} else if (elem.type === '03') {
} else if (elem.type === '04') {
//
nameShow = this.nameLevels.indexOf(9) !== -1;
}

View File

@ -1,6 +1,7 @@
<template>
<div>
<pop-menu ref="popMenu" :menu="menu" pop-class="xian-02__pop_tip_station" />
<notice-info ref="noticeInfo" pop-class="xian-02__system" />
</div>
</template>
@ -9,11 +10,13 @@ import PopMenu from '@/components/PopMenu/index';
import { mapGetters } from 'vuex';
import { DeviceMenu } from '@/scripts/ConstDic';
import deviceType from '@/jmapNew/constant/deviceType';
import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo';
export default {
name: 'CancelMenu',
components: {
PopMenu
PopMenu,
NoticeInfo
},
data() {
return {
@ -243,10 +246,12 @@ export default {
if (requestList.length) {
this.commitEachCommand(requestList);
}
} else {
this.$refs.noticeInfo.doShow();
}
}).catch(() => {
this.loading = false;
// this.$refs.noticeInfo.doShow(operate);
this.$refs.noticeInfo.doShow();
});
}
}

View File

@ -27,6 +27,7 @@
<el-button :id="domIdCancel" size="mini" style="float: right;" @click="cancel">取消请求</el-button>
</el-col>
</el-row>
<notice-info ref="noticeInfo" pop-class="xian-02__system" />
</div>
</div>
</template>
@ -35,10 +36,12 @@
import { mapGetters } from 'vuex';
import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler';
import deviceType from '@/jmapNew/constant/deviceType';
import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo';
export default {
name: 'CancelMenu',
components: {
NoticeInfo
},
data() {
return {
@ -148,10 +151,12 @@ export default {
if (requestList.length) {
this.commitEachCommand(requestList);
}
} else {
this.$refs.noticeInfo.doShow();
}
}).catch(() => {
this.loading = false;
// this.$refs.noticeInfo.doShow(operate);
this.$refs.noticeInfo.doShow();
});
}
}

View File

@ -61,7 +61,10 @@ function queryDeleteModels(state, device, dict) {
}
}
copyModel.relSwitchCode = '';
// 旧版地图 判断是否道岔区段为isSwitchSection新版地图已经更换为switchSection
// 此处为了兼容旧版暂时没有删除isSwitchSection待旧版地图删除之后需要删除isSwitchSection
copyModel.isSwitchSection = false;
copyModel.switchSection = false;
copyModel.type = '01';
dict[elem.code] = copyModel;
}

View File

@ -13,7 +13,7 @@
<!-- cctv视图 -->
<el-button v-if="isShowScheduling || isStationSupervisor" size="small" @click="jumpjl3dpassflow">{{ $t('display.demon.passengerflow') }}</el-button>
<el-button v-if="isShowScheduling || isStationSupervisor" size="small" @click="jumpjl3dfaultdevice">{{ $t('display.demon.maintainer') }}</el-button>
<el-button v-if="isAdmin" size="small" @click="otherVrView">通号行为视角</el-button>
<!-- <el-button v-if="isAdmin" size="small" @click="otherVrView">VR第三人称视角</el-button> -->
<el-button v-if="isAdmin && !noQrcodeList.includes(project)" type="primary" size="small" @click="generateQrCode">生成二维码</el-button>
<el-button v-if="isAdmin" size="small" @click="memberManage">成员管理</el-button>
<el-button v-if="isAdmin && isProject" size="small" @click="handleEquipment">设备管理</el-button>