作者 xudada

运输工具通用查询

@@ -10,17 +10,17 @@ @@ -10,17 +10,17 @@
10 <el-row> 10 <el-row>
11 <el-form :label-position="labelPosition" :model="queryFlight" :rules="rules" ref="queryFlight" 11 <el-form :label-position="labelPosition" :model="queryFlight" :rules="rules" ref="queryFlight"
12 label-width="130px" class="demo-ruleForm"> 12 label-width="130px" class="demo-ruleForm">
13 - <el-col :span="8"> 13 + <el-col :span="6">
14 <el-form-item label="航空公司代码:" prop="aircraftNo" label-width="110px"> 14 <el-form-item label="航空公司代码:" prop="aircraftNo" label-width="110px">
15 - <el-input v-model="queryFlight.aircraftNo" style="width:190px"></el-input> 15 + <el-input v-model="queryFlight.aircraftNo"></el-input>
16 </el-form-item> 16 </el-form-item>
17 </el-col> 17 </el-col>
18 - <el-col :span="8" >  
19 - <el-form-item label="航班号:" prop="flightNo" label-width="80px">  
20 - <el-input v-model="queryFlight.flightNo" style="width:190px"></el-input> 18 + <el-col :span="6">
  19 + <el-form-item label="航班号:" prop="flightNo" label-width="70px">
  20 + <el-input v-model="queryFlight.flightNo"></el-input>
21 </el-form-item> 21 </el-form-item>
22 </el-col> 22 </el-col>
23 - <el-col :span="6" > 23 + <el-col :span="3">
24 <el-button type="primary" @click="submitForm('queryFlight')">查询</el-button> 24 <el-button type="primary" @click="submitForm('queryFlight')">查询</el-button>
25 </el-col> 25 </el-col>
26 </el-form> 26 </el-form>
@@ -129,7 +129,6 @@ @@ -129,7 +129,6 @@
129 .row-bg{ 129 .row-bg{
130 background-color: white; 130 background-color: white;
131 } 131 }
132 -  
133 </style> 132 </style>
134 <script> 133 <script>
135 import {editFlight, selectFlight} from "../../api/transport"; 134 import {editFlight, selectFlight} from "../../api/transport";
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 <el-row> 9 <el-row>
10 <el-form :model="queryRoute" ref="serialNo" label-width="130px" > 10 <el-form :model="queryRoute" ref="serialNo" label-width="130px" >
11 <el-col :span="6"> 11 <el-col :span="6">
12 - <el-form-item label="航线序号" prop="serialNo" label-width="130px"> 12 + <el-form-item label="航线序号" prop="serialNo" label-width="80px">
13 <el-input v-model="queryRoute.serialNo" placeholder="请输入"></el-input> 13 <el-input v-model="queryRoute.serialNo" placeholder="请输入"></el-input>
14 </el-form-item> 14 </el-form-item>
15 </el-col> 15 </el-col>
@@ -246,7 +246,6 @@ @@ -246,7 +246,6 @@
246 this.listLoading = false; 246 this.listLoading = false;
247 //NProgress.done(); 247 //NProgress.done();
248 }).catch((error) => { 248 }).catch((error) => {
249 -  
250 this.listLoading = false; 249 this.listLoading = false;
251 if(null!= error.response && error.response!==undefined){ 250 if(null!= error.response && error.response!==undefined){
252 let status= error.response.status; 251 let status= error.response.status;
@@ -264,7 +263,7 @@ @@ -264,7 +263,7 @@
264 getPermList() { 263 getPermList() {
265 let para = { 264 let para = {
266 pageNum: 1, 265 pageNum: 1,
267 - pageSize: 700 266 + pageSize: 500
268 }; 267 };
269 NProgress.start(); 268 NProgress.start();
270 permList(para).then((res) => { 269 permList(para).then((res) => {