Elements-SY

modify

...@@ -844,13 +844,17 @@ export default { ...@@ -844,13 +844,17 @@ export default {
844 } else { 844 } else {
845 //未请求到数据 845 //未请求到数据
846 if (this.infoForm.route != null && this.infoForm.route != '' && this.infoForm.route != ' ') { 846 if (this.infoForm.route != null && this.infoForm.route != '' && this.infoForm.route != ' ') {
847 - //航线不为空,获取该航线下无日期通用维度设置 847 + let params = {
848 - findDestinationFltRuleByFlightNo({
849 purposeOfFlightNo: this.infoForm.fltNo, 848 purposeOfFlightNo: this.infoForm.fltNo,
850 flightRoute: this.infoForm.route, 849 flightRoute: this.infoForm.route,
851 flightRouteListStr: this.$route.params.route, 850 flightRouteListStr: this.$route.params.route,
852 status: this.$route.params.status 851 status: this.$route.params.status
853 - }).then(response => { 852 + }
853 + if(this.$route.params.handle == "updated"){
854 + delete params.flightRoute
855 + }
856 + //航线不为空,获取该航线下无日期通用维度设置
857 + findDestinationFltRuleByFlightNo(params).then(response => {
854 this.routeList = response.data.routeList 858 this.routeList = response.data.routeList
855 if (response.data.list.length > 0) { 859 if (response.data.list.length > 0) {
856 //查询到通用维度,去除id status,航线赋值,航线优先级赋值 860 //查询到通用维度,去除id status,航线赋值,航线优先级赋值
......
...@@ -858,7 +858,7 @@ export default { ...@@ -858,7 +858,7 @@ export default {
858 goFlightAllocConfig(val) { 858 goFlightAllocConfig(val) {
859 let obj = { 859 let obj = {
860 id: ' ', 860 id: ' ',
861 - handle: 'update', 861 + handle: 'updated',
862 fltNo: val.fltNo, 862 fltNo: val.fltNo,
863 fltDate: val.fltDate ? val.fltDate : null, 863 fltDate: val.fltDate ? val.fltDate : null,
864 route: val.route, 864 route: val.route,
......