iSCS 代码调整

This commit is contained in:
joylink_cuiweidong 2021-03-23 16:41:40 +08:00
parent 09ec3247ab
commit 9398ccfa7c
2 changed files with 11 additions and 6 deletions

View File

@ -75,7 +75,7 @@
<template v-for="(item, i) in addModel.columnWidthList">
<el-table-column :key="i" :label="'列'+(i + 1)" :prop="'column'+ (i + 1)" width="140px">
<template slot-scope="scope">
<el-input v-model="addModel.tableData[scope.$index]['column'+ (i + 1)]" size="small" />
<el-input v-model="addModel.tableData[scope.$index]['column'+ (i + 1)]" size="small" type="textarea" :rows="1" />
<div style="display:flex;justify-content:space-around;align-items: center;">
<div>背景</div>
<el-color-picker v-model="addModel.tableData[scope.$index]['bg'+(i+1)]" size="small" show-alpha />

View File

@ -3,8 +3,10 @@
<psd-system v-if="mode=='psdSystem'" />
<substation v-else-if="mode=='substation'" />
<schedule v-else-if="mode=='schedule'" />
<normal v-else-if="mode=='environmentThree'" />
<normal v-else-if="mode=='environmentFour'" />
<normal v-else-if="mode.includes('environment')" />
<fas v-else-if="fasList.includes(mode)" />
<!-- environmentThree -->
<!-- <normal v-else-if="mode=='environmentFour'" />
<normal v-else-if="mode=='environmentFive'" />
<normal v-else-if="mode=='environmentSix'" />
<normal v-else-if="mode=='environmentSeven'" />
@ -13,7 +15,7 @@
<normal v-else-if="mode=='environmentTen'" />
<normal v-else-if="mode=='environmentThirteen'" />
<normal v-else-if="mode=='environmentEleven'" />
<normal v-else-if="mode=='environmentTwelve'" />
<normal v-else-if="mode=='environmentTwelve'" /> -->
<big-screen v-else-if="mode === 'signal'" />
<!-- -->
</div>
@ -23,6 +25,7 @@ import PsdSystem from './psdSystem/index.vue';
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 { getSimulationInfoNew } from '@/api/simulation';
import { getByGroupStationList } from '@/api/jmap/map';
@ -33,12 +36,14 @@ export default {
PsdSystem,
Substation,
Normal,
BigScreen
BigScreen,
Fas
},
data() {
return {
mode: 'index',
deviceList: []
deviceList: [],
fasList:['sensing', 'gas', 'section', 'linkage']
};
},
computed: {