Showing
1 changed file
with
1 additions
and
9 deletions
| ... | @@ -88,7 +88,7 @@ | ... | @@ -88,7 +88,7 @@ |
| 88 | </template> | 88 | </template> |
| 89 | </Tables> | 89 | </Tables> |
| 90 | <!-- 航线表 --> | 90 | <!-- 航线表 --> |
| 91 | - <Tables v-if="tableName === '航线'" ductName="dictionary" :selection="true" :selectFixed="false" | 91 | + <Tables v-else-if="tableName === '航线'" ductName="dictionary" :selection="true" :selectFixed="false" |
| 92 | :order='true' :height="tableHeight" :data="tableData" :headerData="routeTable" :page="selectDict.page" | 92 | :order='true' :height="tableHeight" :data="tableData" :headerData="routeTable" :page="selectDict.page" |
| 93 | :pageSizes="[20]" :totalCount="total" :loading="loading" @currentChange="currentChange" | 93 | :pageSizes="[20]" :totalCount="total" :loading="loading" @currentChange="currentChange" |
| 94 | layout="total,prev, pager, next, jumper, ->" @tableSelect="tableSelection" | 94 | layout="total,prev, pager, next, jumper, ->" @tableSelect="tableSelection" |
| ... | @@ -299,13 +299,6 @@ export default { | ... | @@ -299,13 +299,6 @@ export default { |
| 299 | } | 299 | } |
| 300 | queryRoute(obj).then(res => { | 300 | queryRoute(obj).then(res => { |
| 301 | if (res.code === 200) { | 301 | if (res.code === 200) { |
| 302 | - res.data.list.map(item=>{ | ||
| 303 | - if(item.isEtesRoute == "N" || item.isEtesRoute == null){ | ||
| 304 | - item.isEtesRoute = false; | ||
| 305 | - }else{ | ||
| 306 | - item.isEtesRoute = true; | ||
| 307 | - } | ||
| 308 | - }) | ||
| 309 | this.tableData = res.data.list | 302 | this.tableData = res.data.list |
| 310 | this.total = res.data.total | 303 | this.total = res.data.total |
| 311 | } else { | 304 | } else { |
| ... | @@ -345,7 +338,6 @@ export default { | ... | @@ -345,7 +338,6 @@ export default { |
| 345 | // }, | 338 | // }, |
| 346 | //删除按钮 | 339 | //删除按钮 |
| 347 | delDict(val) { | 340 | delDict(val) { |
| 348 | - console.log(val) | ||
| 349 | if (this.tableName == 'serviceCode') { | 341 | if (this.tableName == 'serviceCode') { |
| 350 | this.serviceCodeCihildDel([val.id]) | 342 | this.serviceCodeCihildDel([val.id]) |
| 351 | } else if (this.tableName === '虚拟航班') { | 343 | } else if (this.tableName === '虚拟航班') { | ... | ... |
-
Please register or login to post a comment