作者 xudada

单据,航班计划BUG修复

@@ -442,7 +442,7 @@ @@ -442,7 +442,7 @@
442 //编辑单据查询 442 //编辑单据查询
443 handleEdit(index,row){ 443 handleEdit(index,row){
444 444
445 - this.$router.push({path:'/bill',query:row}); 445 + this.$router.push({path:'/bills',query:row});
446 446
447 }, 447 },
448 //分页 448 //分页
@@ -130,7 +130,7 @@ @@ -130,7 +130,7 @@
130 <el-pagination 130 <el-pagination
131 @size-change="handleSizeChange" 131 @size-change="handleSizeChange"
132 @current-change="handleCurrentChange" 132 @current-change="handleCurrentChange"
133 - :current-page="currentPage" 133 + :current-page="pageNum"
134 :page-sizes="[10, 20, 30, 40]" 134 :page-sizes="[10, 20, 30, 40]"
135 :page-size="pageSize" 135 :page-size="pageSize"
136 layout="total, sizes, prev, pager, next, jumper" 136 layout="total, sizes, prev, pager, next, jumper"
@@ -208,7 +208,7 @@ @@ -208,7 +208,7 @@
208 awcd:'' 208 awcd:''
209 }, 209 },
210 labelPosition:'left', 210 labelPosition:'left',
211 - currentPage: 1, 211 + pageNum: 1,
212 pageSize:10, 212 pageSize:10,
213 total:0, 213 total:0,
214 tableData: [], 214 tableData: [],
@@ -234,13 +234,13 @@ @@ -234,13 +234,13 @@
234 this.pageSize=val; 234 this.pageSize=val;
235 }, 235 },
236 handleCurrentChange(val) { 236 handleCurrentChange(val) {
237 - this.currentPage=val; 237 + this.pageNum=val;
238 this.submitForm(); 238 this.submitForm();
239 }, 239 },
240 //获取当日飞行计划列表 240 //获取当日飞行计划列表
241 submitForm() { 241 submitForm() {
242 let params = { 242 let params = {
243 - currentPage: this.currentPage, pageSize: this.pageSize, flightNo: this.queryFlightplan.flightNo, 243 + pageNum: this.pageNum, pageSize: this.pageSize, flightNo: this.queryFlightplan.flightNo,
244 awcd: this.queryFlightplan.awcd, flightDate: this.queryFlightplan.flightDate 244 awcd: this.queryFlightplan.awcd, flightDate: this.queryFlightplan.flightDate
245 }; 245 };
246 console.log(params) 246 console.log(params)