Elements-SY

Merge branch 'fix-issues' into uat

...@@ -205,11 +205,3 @@ export function checkFlightRoute(data) { ...@@ -205,11 +205,3 @@ export function checkFlightRoute(data) {
205 }) 205 })
206 } 206 }
207 207
208 -//更新航线
209 -export function updateRoute(data) {
210 - return request({
211 - url: `/dictionary/updateRoute`,
212 - method: "post",
213 - data: data,
214 - });
215 -}
......
...@@ -506,41 +506,6 @@ export default { ...@@ -506,41 +506,6 @@ export default {
506 serviceCodeTableSelectAll(val) { 506 serviceCodeTableSelectAll(val) {
507 this.nowSelect = val 507 this.nowSelect = val
508 }, 508 },
509 - // 确认消息提示
510 - confirmHandle($index, row){
511 - this.$confirm(row.msg, "提示", {
512 - confirmButtonText: "确定",
513 - cancelButtonText: "取消",
514 - type: "warning",
515 - center: true,
516 - })
517 - .then(() => {
518 - let params = {
519 - id: row.id,
520 - fltNo: row.fltNo,
521 - route: row.route,
522 - isEtesRoute: row.isEtesRoute ? "Y" : "N"
523 - }
524 - this.updateRouteSubmit(params);
525 - })
526 - .catch(() => {
527 - this.tableData[$index].isEtesRoute = !this.tableData[$index].isEtesRoute;
528 - });
529 - },
530 - // checkBox是否设置ET86航线
531 - checkboxIsEtesRoute({ $index, row }){
532 - if(!row.isEtesRoute){
533 - /*
534 - 将ET86设置成普通航线要查询校验该航线有没有设置维度,
535 - 如果该航线设置了ET86维度是否考虑将该航线下的维度删掉再进行操作;
536 - */
537 - row.msg = "是否将该航线设置为非ET86航线?";
538 - this.confirmHandle($index, row)
539 - }else{
540 - row.msg = "是否将该航线设置为ET86航线?";
541 - this.confirmHandle($index, row)
542 - }
543 - }
544 } 509 }
545 } 510 }
546 </script> 511 </script>
......