大铁项目 代码调整
This commit is contained in:
parent
3167b551b9
commit
9425ef8239
@ -72,12 +72,14 @@
|
||||
<div class="runplanContentR">
|
||||
<el-table
|
||||
id="runplanContentTable"
|
||||
ref="runplanContentTable"
|
||||
:data="tableData"
|
||||
border
|
||||
height="695"
|
||||
highlight-current-row
|
||||
style="width: 100%;border:1px #ccc solid"
|
||||
@cell-click="selectedTripNumber"
|
||||
@current-change="handleCurrentChange"
|
||||
>
|
||||
<!-- @row-click="selected" -->
|
||||
<el-table-column
|
||||
@ -564,6 +566,16 @@ export default {
|
||||
// * @param arriveSectionCode 到达股道编码
|
||||
// * @param departSectionCode 出发股道编码
|
||||
// * @param force 是否强制 0:不强制。1:强制
|
||||
// CTC_BATCH_MODIFY_RUN_PLAN
|
||||
// 参数:
|
||||
// stationCode 车站编码
|
||||
// planParamList 需要修改的行车参数
|
||||
// [{
|
||||
// runPlanCode // 运行计划编码
|
||||
// arriveSectionCode // 到达股道
|
||||
// departSectionCode // 发车股道
|
||||
// }]
|
||||
// force 是否强制 0:不强制。1:强制
|
||||
},
|
||||
closeDialog() {
|
||||
this.closeFlash();
|
||||
@ -574,9 +586,14 @@ export default {
|
||||
document.getElementById('sendRunplan').className = sendRunplan.replace('active', '');
|
||||
},
|
||||
selectedTripNumber(row, column, cell, event) {
|
||||
// if (column.property == 'tripNumber') {
|
||||
// this.$refs.singleTable.setCurrentRow(row);
|
||||
// }
|
||||
if (column.property == 'tripNumber') {
|
||||
console.log(this.currentRow);
|
||||
} else {
|
||||
this.$refs.runplanContentTable.setCurrentRow();
|
||||
}
|
||||
},
|
||||
handleCurrentChange(val) {
|
||||
this.currentRow = val;
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -854,4 +871,12 @@ export default {
|
||||
#runplanContentTable .el-input__icon{
|
||||
width: 17px;
|
||||
}
|
||||
#runplanContentTable .el-table__body tr.current-row>td {
|
||||
background-color: #6aa8ec;
|
||||
color: #fff;
|
||||
}
|
||||
#runplanContentTable .el-table__body tr.current-row>td .el-input--mini .el-input__inner{
|
||||
background-color: #6aa8ec;
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user