iscs 代码调整

This commit is contained in:
joylink_cuiweidong 2021-03-23 18:17:54 +08:00
parent 5c5366e46a
commit 6db9593a40
2 changed files with 6 additions and 53 deletions

View File

@ -90,56 +90,6 @@ export default {
this.scaleRate = window.innerWidth / 1920;
this.height = 850;
}
// if (this.stationId == 'mainHouseOne' || this.stationId == 'mainHouseTwo') {
// this.bacground = 'rgba(0,0,0,0)';
// this.scaleRate = window.innerWidth / 2200;
// // if (this.stationId == 'mainHouseOne') {
// // //
// // this.title = '1线';
// // } else {
// // //
// // this.title = '2线';
// // }
// params.userInterface = 'substation';
// // parkingLotName
// // stationDepotName
// } else if (this.stationId == 'controlCenter') {
// this.title = '';
// this.bacground = '#000';
// this.scaleRate = window.innerWidth / 2000;
// params.userInterface = 'hybrid';
// } else if (this.stationId == 'parkingLot') {
// this.title = '';
// this.scaleRate = window.innerWidth / 2000;
// this.bacground = 'rgba(0,0,0,0)';
// params.userInterface = 'catenary';
// } else if (this.stationId == 'stationDepot') {
// this.title = '';
// this.bacground = 'rgba(0,0,0,0)';
// this.scaleRate = window.innerWidth / 2000;
// params.userInterface = 'catenary';
// } else {
// const tractionList = ['', '', '', '', '', '', '', '', '', '', '', ''];
// if (tractionList.includes(this.stationName)) {
// this.title = this.stationName + ' 线';
// if (this.stationName == '') {
// params.userInterface = 'combined01';
// } else if (this.stationName == '') {
// params.userInterface = 'combined02';
// } else if (this.stationName == '') {
// params.userInterface = 'combined03';
// } else {
// params.userInterface = 'combined02';
// }
// params.system = 'combined';
// } else {
// this.title = this.stationName + ' 线';
// params.userInterface = 'stepDown';
// }
// this.scaleRate = window.innerWidth / 2000;
// this.bacground = 'rgba(0,0,0,0)';
// }
this.loading = true;
this.$refs.iscsPlate.show({}, this.width, this.height, this.scaleRate);
getIscsData(params).then(resp=>{

View File

@ -5,6 +5,7 @@
<schedule v-else-if="mode=='schedule'" />
<normal v-else-if="mode.includes('environment')" />
<fas v-else-if="fasList.includes(mode)" />
<signal-system v-else-if="mode === 'signal'" />
<!-- environmentThree -->
<!-- <normal v-else-if="mode=='environmentFour'" />
<normal v-else-if="mode=='environmentFive'" />
@ -16,7 +17,7 @@
<normal v-else-if="mode=='environmentThirteen'" />
<normal v-else-if="mode=='environmentEleven'" />
<normal v-else-if="mode=='environmentTwelve'" /> -->
<big-screen v-else-if="mode === 'signal'" />
<!-- <big-screen v-else-if="mode === 'signal'" /> -->
<!-- -->
</div>
</template>
@ -26,7 +27,8 @@ import Substation from './powerMonitor/substation.vue';
import Normal from './environment/index.vue';
import Schedule from './schedule';
import Fas from './fas/index.vue';
import BigScreen from '@/views/designPlatform/bigScreen';
import SignalSystem from './signalSystem/index.vue';
// import BigScreen from '@/views/designPlatform/bigScreen';
import { getSimulationInfoNew } from '@/api/simulation';
import { getByGroupStationList } from '@/api/jmap/map';
import { loadRunPlanData } from '@/utils/loaddata';
@ -36,7 +38,8 @@ export default {
PsdSystem,
Substation,
Normal,
BigScreen,
// BigScreen,
SignalSystem,
Fas
},
data() {