代码调整
This commit is contained in:
parent
ca677c232e
commit
af511e12a2
@ -162,7 +162,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.LIEJIAN" />
|
||||
<el-checkbox v-model="scope.row.appendData.LIEJIAN" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- crossZero -->
|
||||
@ -172,7 +172,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.JIAO_LING" />
|
||||
<el-checkbox v-model="scope.row.appendData.JIAO_LING" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@ -181,7 +181,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.JIAOPIAO" />
|
||||
<el-checkbox v-model="scope.row.appendData.JIAOPIAO" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- columnEnd -->
|
||||
@ -191,7 +191,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.LIEWEI" />
|
||||
<el-checkbox v-model="scope.row.appendData.LIEWEI" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- locomotive -->
|
||||
@ -201,7 +201,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.JICHE" />
|
||||
<el-checkbox v-model="scope.row.appendData.JICHE" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- goodsInspection -->
|
||||
@ -211,7 +211,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.HUOJIAN" />
|
||||
<el-checkbox v-model="scope.row.appendData.HUOJIAN" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- multiplyDown -->
|
||||
@ -221,7 +221,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.CHENGJIANG" />
|
||||
<el-checkbox v-model="scope.row.appendData.CHENGJIANG" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- sailUpstream -->
|
||||
@ -231,7 +231,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.SHANGSHUI" />
|
||||
<el-checkbox v-model="scope.row.appendData.SHANGSHUI" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- pickUp -->
|
||||
@ -241,7 +241,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.ZHAIGUA" />
|
||||
<el-checkbox v-model="scope.row.appendData.ZHAIGUA" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- transfer -->
|
||||
@ -251,7 +251,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.HUANCHENG" />
|
||||
<el-checkbox v-model="scope.row.appendData.HUANCHENG" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- handling -->
|
||||
@ -261,7 +261,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.ZHUANGXIE" />
|
||||
<el-checkbox v-model="scope.row.appendData.ZHUANGXIE" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- pollution -->
|
||||
@ -271,7 +271,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.XIWU" />
|
||||
<el-checkbox v-model="scope.row.appendData.XIWU" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- crossing-->
|
||||
@ -281,7 +281,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.DAOKOU" />
|
||||
<el-checkbox v-model="scope.row.appendData.DAOKOU" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- trainNumber -->
|
||||
@ -291,7 +291,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.CHEHAO" />
|
||||
<el-checkbox v-model="scope.row.appendData.CHEHAO" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- affair -->
|
||||
@ -301,7 +301,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.ZHANWU" />
|
||||
<el-checkbox v-model="scope.row.appendData.ZHANWU" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@ -310,7 +310,7 @@
|
||||
width="40"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-checkbox v-model="scope.row.appendData.ZONGKONG" />
|
||||
<el-checkbox v-model="scope.row.appendData.ZONGKONG" @change="changeData(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@ -396,6 +396,14 @@ export default {
|
||||
mapStationDirectionMap:this.mapStationDirectionData
|
||||
});
|
||||
},
|
||||
changeData(row) {
|
||||
this.$refs.trainFxPath.doShow({
|
||||
stationCode:this.currentStationCode,
|
||||
filterSectionMap:this.filterSectionMap,
|
||||
mapStationDirectionMap:this.mapStationDirectionData,
|
||||
row:JSON.parse(JSON.stringify(row))
|
||||
});
|
||||
},
|
||||
modifyTrainFxPath() {
|
||||
if (this.currentRow) {
|
||||
this.$refs.trainFxPath.doShow({
|
||||
|
Loading…
Reference in New Issue
Block a user