2022-06-13 10:45:15 +08:00
|
|
|
<template>
|
2022-06-13 14:31:31 +08:00
|
|
|
<div class="stationTrack" :style="{ height: height+'px' }">
|
|
|
|
<!-- {{ '车站股道' }} -->
|
|
|
|
<div class="stationTrackL">
|
2022-06-13 17:20:03 +08:00
|
|
|
<terminal-station-list ref="terminalStationList" />
|
2022-06-13 14:31:31 +08:00
|
|
|
</div>
|
|
|
|
<div class="stationTrackR">
|
|
|
|
<div class="stationTrackRMenu">
|
|
|
|
<div class="stationTrackRMenuL">
|
|
|
|
<!-- :id="domIdConfirm" :loading="loading" @click="commit"-->
|
|
|
|
<el-button class="stationTrackButton" size="small">修改</el-button>
|
|
|
|
</div>
|
|
|
|
<div class="stationTrackRMenuR">
|
|
|
|
<span class="stationTrackRVer">版本号</span>
|
|
|
|
<el-button class="stationTrackButton" size="small">备份</el-button>
|
|
|
|
<el-button class="stationTrackButton" size="small">更新至生效区</el-button>
|
|
|
|
<el-button class="stationTrackButton" size="small">导入</el-button>
|
|
|
|
<el-button class="stationTrackButton" size="small">比较</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="stationTrackRTable" :style="{ height: (height-40)+'px' }">
|
|
|
|
<el-table
|
|
|
|
id="stationTrackTableIn"
|
|
|
|
ref="stationTrackTableIn"
|
|
|
|
:data="tableData"
|
|
|
|
border
|
|
|
|
height="600px"
|
|
|
|
highlight-current-row
|
|
|
|
style="border:1px #ccc solid;width:1103px"
|
|
|
|
>
|
|
|
|
<!-- @cell-click="selectedTripNumber" -->
|
|
|
|
<!-- @current-change="handleCurrentChange" -->
|
|
|
|
<el-table-column
|
|
|
|
type="index"
|
|
|
|
label="序号"
|
|
|
|
width="100"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
prop="trackName"
|
|
|
|
label="股道名称"
|
|
|
|
width="100"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
prop="lineType"
|
|
|
|
label="线路性质"
|
|
|
|
width="100"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
prop="RVdirection"
|
|
|
|
label="接发车方向"
|
|
|
|
width="100"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
prop="RVType"
|
|
|
|
label="接发车类型"
|
|
|
|
width="100"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
prop="transType"
|
|
|
|
label="超限类型"
|
|
|
|
width="100"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
prop="stationStand"
|
|
|
|
label="站台"
|
|
|
|
width="100"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
prop="allowEMU"
|
|
|
|
label="允许动车组"
|
|
|
|
width="100"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
prop="waterEquip"
|
|
|
|
label="上水设备"
|
|
|
|
width="100"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
prop="sewageEquip"
|
|
|
|
label="排污设备"
|
|
|
|
width="100"
|
|
|
|
/>
|
|
|
|
<el-table-column
|
|
|
|
prop="military"
|
|
|
|
label="军用"
|
|
|
|
width="100"
|
|
|
|
/>
|
|
|
|
</el-table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-13 10:45:15 +08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script>
|
2022-06-13 17:20:03 +08:00
|
|
|
import TerminalStationList from './terminalStationList';
|
2022-06-13 10:45:15 +08:00
|
|
|
export default {
|
2022-06-13 14:31:31 +08:00
|
|
|
name:'StationTrack',
|
2022-06-13 17:20:03 +08:00
|
|
|
components: {
|
|
|
|
TerminalStationList
|
|
|
|
},
|
2022-06-13 10:45:15 +08:00
|
|
|
data() {
|
|
|
|
return {
|
2022-06-13 14:31:31 +08:00
|
|
|
height: this.$store.state.app.height - 61,
|
|
|
|
tableData:[
|
|
|
|
{trackName:'IG', lineType:'正线', RVType:'上下行', RVdirection:'客货车', transType:'超额超限', stationStand:'无', allowEMU:'否', waterEquip:'无',
|
|
|
|
sewageEquip:'无', military:'否'},
|
|
|
|
{trackName:'IIG', lineType:'正线', RVType:'上下行', RVdirection:'客货车', transType:'超额超限', stationStand:'低', allowEMU:'否', waterEquip:'无',
|
|
|
|
sewageEquip:'无', military:'否' }
|
|
|
|
]
|
2022-06-13 10:45:15 +08:00
|
|
|
};
|
2022-06-14 14:39:07 +08:00
|
|
|
},
|
|
|
|
methods:{
|
|
|
|
loadStation() {
|
|
|
|
this.$refs.terminalStationList.loadStation();
|
|
|
|
},
|
|
|
|
loadStationData(stationCode) {
|
|
|
|
}
|
2022-06-13 10:45:15 +08:00
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
2022-06-13 14:31:31 +08:00
|
|
|
<style lang="scss" scoped>
|
|
|
|
.stationTrack{
|
|
|
|
padding-left:200px;
|
|
|
|
}
|
|
|
|
.stationTrackL{
|
|
|
|
width: 200px;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
border-right: 1px #797979 solid;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
.stationTrackR{
|
|
|
|
padding:0px 5px 0px 5px;
|
|
|
|
height: 100%;
|
|
|
|
background: #d8d8d8;
|
|
|
|
}
|
|
|
|
.stationTrackRMenu{
|
|
|
|
background:#eeeeee;
|
|
|
|
display: inline-block;
|
|
|
|
width:100%;
|
|
|
|
padding:5px;
|
|
|
|
border-left: 1px #707070 solid;
|
|
|
|
}
|
|
|
|
.stationTrackRMenuL{display: inline-block;}
|
|
|
|
.stationTrackRMenuR{float:right;display: inline-block;}
|
|
|
|
.stationTrackRTable{background:#a9a9a9;border-left: 1px #707070 solid;}
|
|
|
|
.stationTrackRVer{
|
|
|
|
font-size: 14px;
|
|
|
|
margin-right: 10px;
|
|
|
|
color: #87a7c9;
|
|
|
|
}
|
|
|
|
.stationTrackButton{
|
|
|
|
background-image: linear-gradient(#ffffff,#d8d8d8);
|
|
|
|
color: #000;
|
2022-06-13 16:02:33 +08:00
|
|
|
padding: 5px 10px;
|
2022-06-13 14:31:31 +08:00
|
|
|
border: 1px #737373 solid;
|
|
|
|
}
|
2022-06-14 11:30:15 +08:00
|
|
|
.stationTrackButton:hover{
|
|
|
|
background-image: linear-gradient(#efffff,#a8daf3);
|
|
|
|
}
|
2022-06-13 14:31:31 +08:00
|
|
|
</style>
|
|
|
|
<style lang="scss">
|
|
|
|
#stationTrackTableIn.el-table td, #stationTrackTableIn.el-table th{
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
border-color: #a5a5a5;
|
|
|
|
}
|
|
|
|
</style>
|