Showing
1 changed file
with
7 additions
and
6 deletions
| ... | @@ -100,11 +100,11 @@ | ... | @@ -100,11 +100,11 @@ |
| 100 | }}<i class="el-icon-link"></i> </el-link> | 100 | }}<i class="el-icon-link"></i> </el-link> |
| 101 | </template> | 101 | </template> |
| 102 | <template slot="optionColumn"> | 102 | <template slot="optionColumn"> |
| 103 | - <el-table-column label="是否为ET86航线" align="center"> | 103 | + <!-- <el-table-column label="是否为ET86航线" align="center"> |
| 104 | <template slot-scope="scope"> | 104 | <template slot-scope="scope"> |
| 105 | <el-checkbox v-model="scope.row.isEtesRoute" @change="checkboxIsEtesRoute(scope)"></el-checkbox> | 105 | <el-checkbox v-model="scope.row.isEtesRoute" @change="checkboxIsEtesRoute(scope)"></el-checkbox> |
| 106 | </template> | 106 | </template> |
| 107 | - </el-table-column> | 107 | + </el-table-column> --> |
| 108 | <el-table-column label="操作" align="center"> | 108 | <el-table-column label="操作" align="center"> |
| 109 | <template slot-scope="scope"> | 109 | <template slot-scope="scope"> |
| 110 | <el-button size="mini" type="text" style="color:#ff4949" icon="el-icon-delete" | 110 | <el-button size="mini" type="text" style="color:#ff4949" icon="el-icon-delete" |
| ... | @@ -366,15 +366,16 @@ export default { | ... | @@ -366,15 +366,16 @@ export default { |
| 366 | } else if (this.tableName === '虚拟航班') { | 366 | } else if (this.tableName === '虚拟航班') { |
| 367 | this.flightDel([val.id]) | 367 | this.flightDel([val.id]) |
| 368 | } else if (this.tableName === '航线') { | 368 | } else if (this.tableName === '航线') { |
| 369 | + this.routeDel({ data: [val], id: [val.id] }) | ||
| 369 | /* | 370 | /* |
| 370 | 如果该航线是普通航线直接删,如果是ET86航线,那么要查询该航线有没有设置维度, | 371 | 如果该航线是普通航线直接删,如果是ET86航线,那么要查询该航线有没有设置维度, |
| 371 | 如果没有直接删,如果已经设置了维度是否考虑将该航线下的维度删掉再进行操作; | 372 | 如果没有直接删,如果已经设置了维度是否考虑将该航线下的维度删掉再进行操作; |
| 372 | */ | 373 | */ |
| 373 | - if(!val.isEtesRoute){ // 普通航线 | 374 | + // if(!val.isEtesRoute){ // 普通航线 |
| 374 | - this.routeDel({ data: [val], id: [val.id] }) | 375 | + // this.routeDel({ data: [val], id: [val.id] }) |
| 375 | - }else{ // ET86航线 | 376 | + // }else{ // ET86航线 |
| 376 | 377 | ||
| 377 | - } | 378 | + // } |
| 378 | } else { | 379 | } else { |
| 379 | this.dicDel([val.id]) | 380 | this.dicDel([val.id]) |
| 380 | } | 381 | } | ... | ... |
-
Please register or login to post a comment