Showing
3 changed files
with
5 additions
and
14 deletions
| ... | @@ -33,9 +33,12 @@ | ... | @@ -33,9 +33,12 @@ |
| 33 | <el-input type="text" v-model="newDictionary.route" placeholder="请输入航线" maxlength="40"> | 33 | <el-input type="text" v-model="newDictionary.route" placeholder="请输入航线" maxlength="40"> |
| 34 | </el-input> | 34 | </el-input> |
| 35 | </el-form-item> | 35 | </el-form-item> |
| 36 | +<<<<<<< HEAD | ||
| 36 | <!-- <el-form-item label="是否为ET86航线"> | 37 | <!-- <el-form-item label="是否为ET86航线"> |
| 37 | <el-checkbox v-model="newDictionary.isEtesRoute"></el-checkbox> | 38 | <el-checkbox v-model="newDictionary.isEtesRoute"></el-checkbox> |
| 38 | </el-form-item> --> | 39 | </el-form-item> --> |
| 40 | +======= | ||
| 41 | +>>>>>>> fix-issues | ||
| 39 | <el-form-item> | 42 | <el-form-item> |
| 40 | <div style="color:#ff4949;line-height: 30px;">注意:此处不能添加虚拟航班!</div> | 43 | <div style="color:#ff4949;line-height: 30px;">注意:此处不能添加虚拟航班!</div> |
| 41 | </el-form-item> | 44 | </el-form-item> |
| ... | @@ -111,7 +114,7 @@ export default { | ... | @@ -111,7 +114,7 @@ export default { |
| 111 | }, | 114 | }, |
| 112 | data() { | 115 | data() { |
| 113 | return { | 116 | return { |
| 114 | - newDictionary: { flightNo: undefined, chineseName: undefined, route: undefined, isEtesRoute: false }, | 117 | + newDictionary: { flightNo: undefined, chineseName: undefined, route: undefined }, |
| 115 | rules: { | 118 | rules: { |
| 116 | chineseName: [ | 119 | chineseName: [ |
| 117 | { | 120 | { |
| ... | @@ -205,7 +208,6 @@ export default { | ... | @@ -205,7 +208,6 @@ export default { |
| 205 | let obj = { | 208 | let obj = { |
| 206 | fltNo: this.upCase(this.newDictionary.fltNo), | 209 | fltNo: this.upCase(this.newDictionary.fltNo), |
| 207 | route: this.upCase(this.newDictionary.route), | 210 | route: this.upCase(this.newDictionary.route), |
| 208 | - // isEtesRoute: this.newDictionary.isEtesRoute == true ? "Y" : "N" | ||
| 209 | } | 211 | } |
| 210 | addRoute(obj).then(res => { | 212 | addRoute(obj).then(res => { |
| 211 | this.loading = false | 213 | this.loading = false | ... | ... |
| ... | @@ -225,16 +225,6 @@ export default { | ... | @@ -225,16 +225,6 @@ export default { |
| 225 | mounted() { | 225 | mounted() { |
| 226 | this.tableHeight = window.innerHeight - this.$refs.dictForm.$el.offsetHeight - 270 | 226 | this.tableHeight = window.innerHeight - this.$refs.dictForm.$el.offsetHeight - 270 |
| 227 | }, | 227 | }, |
| 228 | - filters: { | ||
| 229 | - // 是否为ET86航线 | ||
| 230 | - isEtesRoute(val) { | ||
| 231 | - if(val == "N"){ | ||
| 232 | - return "否" | ||
| 233 | - }else{ | ||
| 234 | - return "是" | ||
| 235 | - } | ||
| 236 | - }, | ||
| 237 | - }, | ||
| 238 | watch: { | 228 | watch: { |
| 239 | tableName(val, oldVal) { | 229 | tableName(val, oldVal) { |
| 240 | this.tableName = val | 230 | this.tableName = val |
| ... | @@ -343,7 +333,7 @@ export default { | ... | @@ -343,7 +333,7 @@ export default { |
| 343 | } else if (this.tableName === '虚拟航班') { | 333 | } else if (this.tableName === '虚拟航班') { |
| 344 | this.flightDel([val.id]) | 334 | this.flightDel([val.id]) |
| 345 | } else if (this.tableName === '航线') { | 335 | } else if (this.tableName === '航线') { |
| 346 | - this.routeDel({ data: [val], id: [val.id] }) | 336 | + this.routeDel({ data: [val], id: [val.id] }) |
| 347 | } else { | 337 | } else { |
| 348 | this.dicDel([val.id]) | 338 | this.dicDel([val.id]) |
| 349 | } | 339 | } | ... | ... |
-
Please register or login to post a comment