jinhui.wang

参数修改

...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
12 <el-col :span="6"> 12 <el-col :span="6">
13 <el-form-item label="航班日期"> 13 <el-form-item label="航班日期">
14 <el-date-picker class="formItem" v-model="queryParams.flightDate" type="date" placeholder="选择日期" 14 <el-date-picker class="formItem" v-model="queryParams.flightDate" type="date" placeholder="选择日期"
15 - value-format="yyyy-MM-dd" clearable :disabled="queryParams.querySpecifyData =='2'"> 15 + value-format="yyyy-MM-dd" clearable :disabled="queryParams.querySpecifyData == '2'">
16 </el-date-picker> 16 </el-date-picker>
17 </el-form-item> 17 </el-form-item>
18 </el-col> 18 </el-col>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
36 @click=" 36 @click="
37 $router.push({ 37 $router.push({
38 name: 'FlightAllocConfigInfo', 38 name: 'FlightAllocConfigInfo',
39 - params: { handle: 'add', fltNo: 'new', fltDate: ' ',status:null }, 39 + params: { handle: 'add', fltNo: 'new', fltDate: ' ', status: null },
40 }) 40 })
41 ">添加</el-button> 41 ">添加</el-button>
42 </div> 42 </div>
...@@ -148,7 +148,8 @@ export default { ...@@ -148,7 +148,8 @@ export default {
148 fltDate: fltDate != null ? fltDate : ' ', 148 fltDate: fltDate != null ? fltDate : ' ',
149 route: ' ', 149 route: ' ',
150 routeStatus: 'FlightAllocConfig', 150 routeStatus: 'FlightAllocConfig',
151 - status: status 151 + status: status,
152 + createStatus: 1
152 } 153 }
153 this.$router.push({ 154 this.$router.push({
154 name: "FlightAllocConfigInfo", 155 name: "FlightAllocConfigInfo",
......
...@@ -563,7 +563,7 @@ export default { ...@@ -563,7 +563,7 @@ export default {
563 }, 563 },
564 activated() { 564 activated() {
565 this.routeSatus = this.$route.params.routeStatus 565 this.routeSatus = this.$route.params.routeStatus
566 - if (!this.$route.params.status) { 566 + if (!this.$route.params.createStatus) {
567 if (this.$route.params.handle == 'add') { 567 if (this.$route.params.handle == 'add') {
568 if (this.infoForm.fltNo && this.infoForm.fltNo != null && this.infoForm.fltNo != '') { 568 if (this.infoForm.fltNo && this.infoForm.fltNo != null && this.infoForm.fltNo != '') {
569 this.getRoutes(this.infoForm.fltNo) 569 this.getRoutes(this.infoForm.fltNo)
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
67 <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150"> 67 <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150">
68 <template slot-scope="scope"> 68 <template slot-scope="scope">
69 <el-button size="mini" type="text" icon="el-icon-edit" 69 <el-button size="mini" type="text" icon="el-icon-edit"
70 - @click="handleClick(scope.row.actualFlight, 'detail', scope.row.flightDate,scope.row.route)">查看配置维度 70 + @click="handleClick(scope.row.actualFlight, 'detail', scope.row.flightDate, scope.row.route)">查看配置维度
71 </el-button> 71 </el-button>
72 </template> 72 </template>
73 </el-table-column> 73 </el-table-column>
...@@ -277,7 +277,8 @@ export default { ...@@ -277,7 +277,8 @@ export default {
277 fltDate: fltDate != null ? fltDate : ' ', 277 fltDate: fltDate != null ? fltDate : ' ',
278 route: route, 278 route: route,
279 routeStatus: 'FlightRandConfig', 279 routeStatus: 'FlightRandConfig',
280 - status: ' ' 280 + status: ' ',
281 + createStatus: 1
281 } 282 }
282 this.$router.push({ 283 this.$router.push({
283 name: "FlightAllocConfigInfo", 284 name: "FlightAllocConfigInfo",
......
...@@ -791,7 +791,8 @@ export default { ...@@ -791,7 +791,8 @@ export default {
791 fltDate: val.fltDate ? val.fltDate : null, 791 fltDate: val.fltDate ? val.fltDate : null,
792 route: val.flightKindName != 'Purple Tail' ? val.route : ' ', 792 route: val.flightKindName != 'Purple Tail' ? val.route : ' ',
793 routeStatus: 'flightInformationMaintenance' + val.flightKindName, 793 routeStatus: 'flightInformationMaintenance' + val.flightKindName,
794 - status: ' ' 794 + status: ' ',
795 + createStatus: 1
795 } 796 }
796 this.$router.push({ 797 this.$router.push({
797 name: 'FlightAllocConfigInfo', 798 name: 'FlightAllocConfigInfo',
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
69 </template> 69 </template>
70 <template v-slot:flightFltNo="scope"> 70 <template v-slot:flightFltNo="scope">
71 <el-link v-if="scope.row.allocDimId" type="primary" 71 <el-link v-if="scope.row.allocDimId" type="primary"
72 - @click="$router.push({ name: 'FlightAllocConfigInfo', params: { id: scope.row.allocDimId, handle: 'detail', fltNo: scope.row.flightFltNo, fltDate: scope.row.flightFltDate ? scope.row.flightFltDate : ' ', routeStatus: 'dmLog', route: scope.row.currentFlightRoute ? scope.row.currentFlightRoute : ' ', status: ' ' } })"> 72 + @click="$router.push({ name: 'FlightAllocConfigInfo', params: { id: scope.row.allocDimId, handle: 'detail', fltNo: scope.row.flightFltNo, fltDate: scope.row.flightFltDate ? scope.row.flightFltDate : ' ', routeStatus: 'dmLog', route: scope.row.currentFlightRoute ? scope.row.currentFlightRoute : ' ', status: ' ', createStatus: 1 } })">
73 {{ 73 {{
74 scope.row.flightFltNo 74 scope.row.flightFltNo
75 }}<i class="el-icon-link"></i> </el-link> 75 }}<i class="el-icon-link"></i> </el-link>
......