Showing
2 changed files
with
19 additions
and
10 deletions
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | <div style="margin: 20px"> | 2 | <div style="margin: 20px"> |
| 3 | <el-form ref="selectForm" :model="formData" class="form-header" label-position="right" label-width="auto" | 3 | <el-form ref="selectForm" :model="formData" class="form-header" label-position="right" label-width="auto" |
| 4 | size="small"> | 4 | size="small"> |
| 5 | - <el-row> | 5 | + <el-row :gutter="10"> |
| 6 | <el-col :span="6"> | 6 | <el-col :span="6"> |
| 7 | <el-form-item label="航班号"> | 7 | <el-form-item label="航班号"> |
| 8 | <el-input type="text" v-model="formData.fltNo" placeholder="请输入航班号"></el-input> | 8 | <el-input type="text" v-model="formData.fltNo" placeholder="请输入航班号"></el-input> |
| ... | @@ -13,6 +13,11 @@ | ... | @@ -13,6 +13,11 @@ |
| 13 | <el-input type="text" v-model="formData.area" placeholder="请输入地区"></el-input> | 13 | <el-input type="text" v-model="formData.area" placeholder="请输入地区"></el-input> |
| 14 | </el-form-item> | 14 | </el-form-item> |
| 15 | </el-col> | 15 | </el-col> |
| 16 | + <el-col :span="4"> | ||
| 17 | + <el-button type="primary" size="small" icon="el-icon-search" :loading="tableLoading" | ||
| 18 | + @click="selection(1)"> | ||
| 19 | + 查询</el-button> | ||
| 20 | + </el-col> | ||
| 16 | </el-row> | 21 | </el-row> |
| 17 | <el-row> | 22 | <el-row> |
| 18 | <el-col :span="20"> | 23 | <el-col :span="20"> |
| ... | @@ -38,8 +43,8 @@ | ... | @@ -38,8 +43,8 @@ |
| 38 | </el-row> | 43 | </el-row> |
| 39 | </el-form> | 44 | </el-form> |
| 40 | <div style="width:100%;display: flex;margin-bottom:10px"> | 45 | <div style="width:100%;display: flex;margin-bottom:10px"> |
| 41 | - <el-button type="primary" size="small" icon="el-icon-search" :loading="tableLoading" @click="selection(1)"> | 46 | + <!-- <el-button type="primary" size="small" icon="el-icon-search" :loading="tableLoading" @click="selection(1)"> |
| 42 | - 查询</el-button> | 47 | + 查询</el-button> --> |
| 43 | <el-button type="primary" icon="el-icon-download" size="small" @click="downloadTempleate" | 48 | <el-button type="primary" icon="el-icon-download" size="small" @click="downloadTempleate" |
| 44 | v-hasPermi="['base:flightImport:exportExcel']"> | 49 | v-hasPermi="['base:flightImport:exportExcel']"> |
| 45 | 下载模板 | 50 | 下载模板 |
| ... | @@ -187,7 +192,7 @@ export default { | ... | @@ -187,7 +192,7 @@ export default { |
| 187 | this.selection() | 192 | this.selection() |
| 188 | }, | 193 | }, |
| 189 | upload() { | 194 | upload() { |
| 190 | - ield('beginDate') | 195 | + this.$refs.selectForm.validateField('beginDate') |
| 191 | } | 196 | } |
| 192 | }, | 197 | }, |
| 193 | }; | 198 | }; | ... | ... |
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | <div style="margin: 20px"> | 2 | <div style="margin: 20px"> |
| 3 | <el-form ref="selectForm" :model="formData" class="form-header" label-position="right" label-width="auto" | 3 | <el-form ref="selectForm" :model="formData" class="form-header" label-position="right" label-width="auto" |
| 4 | size="small"> | 4 | size="small"> |
| 5 | - <el-row> | 5 | + <el-row :gutter="10"> |
| 6 | <el-col :span="6"> | 6 | <el-col :span="6"> |
| 7 | <el-form-item label="URSA"> | 7 | <el-form-item label="URSA"> |
| 8 | <el-input type="textarea" v-model="formData.ursa" placeholder="URSA之间用分号分隔,例:F2;F3;P_" rows="2"> | 8 | <el-input type="textarea" v-model="formData.ursa" placeholder="URSA之间用分号分隔,例:F2;F3;P_" rows="2"> |
| ... | @@ -14,6 +14,11 @@ | ... | @@ -14,6 +14,11 @@ |
| 14 | <el-input type="text" v-model="formData.area" placeholder="请输入地区"></el-input> | 14 | <el-input type="text" v-model="formData.area" placeholder="请输入地区"></el-input> |
| 15 | </el-form-item> | 15 | </el-form-item> |
| 16 | </el-col> | 16 | </el-col> |
| 17 | + <el-col :span="4"> | ||
| 18 | + <el-button type="primary" size="small" icon="el-icon-search" :loading="tableLoading" | ||
| 19 | + @click="selection(1)"> | ||
| 20 | + 查询</el-button> | ||
| 21 | + </el-col> | ||
| 17 | </el-row> | 22 | </el-row> |
| 18 | <el-row> | 23 | <el-row> |
| 19 | <el-col :span="20"> | 24 | <el-col :span="20"> |
| ... | @@ -39,16 +44,15 @@ | ... | @@ -39,16 +44,15 @@ |
| 39 | </el-row> | 44 | </el-row> |
| 40 | </el-form> | 45 | </el-form> |
| 41 | <div style="width:100%;display: flex;margin-bottom:10px"> | 46 | <div style="width:100%;display: flex;margin-bottom:10px"> |
| 42 | - <el-button type="primary" size="small" icon="el-icon-search" :loading="tableLoading" @click="selection(1)"> | 47 | + <!-- <el-button type="primary" size="small" icon="el-icon-search" :loading="tableLoading" @click="selection(1)"> |
| 43 | - 查询</el-button> | 48 | + 查询</el-button> --> |
| 44 | <el-button type="primary" icon="el-icon-download" size="small" @click="downloadTempleate" | 49 | <el-button type="primary" icon="el-icon-download" size="small" @click="downloadTempleate" |
| 45 | v-hasPermi="['base:flightImport:exportExcel']"> | 50 | v-hasPermi="['base:flightImport:exportExcel']"> |
| 46 | 下载模板 | 51 | 下载模板 |
| 47 | </el-button> | 52 | </el-button> |
| 48 | </div> | 53 | </div> |
| 49 | <Tables ref="flightToArea" ductName="flightToArea" :selection="false" :selectFixed="false" :order='true' | 54 | <Tables ref="flightToArea" ductName="flightToArea" :selection="false" :selectFixed="false" :order='true' |
| 50 | - :height="tableHeight" :data="tableData" :headerData="tableHeaders" :page="formData.page" :pageSizes="[20]" | 55 | + :height="tableHeight" :data="tableData" :headerData="tableHeaders" :page="formData.page" :pageSizes="[20]"> |
| 51 | - :totalCount="total" :loading="tableLoading" @currentChange="currentChange" ->"> | ||
| 52 | </Tables> | 56 | </Tables> |
| 53 | </div> | 57 | </div> |
| 54 | </template> | 58 | </template> |
| ... | @@ -193,7 +197,7 @@ export default { | ... | @@ -193,7 +197,7 @@ export default { |
| 193 | this.selection() | 197 | this.selection() |
| 194 | }, | 198 | }, |
| 195 | upload() { | 199 | upload() { |
| 196 | - Field('beginDate') | 200 | + this.$refs.selectForm.validateField('beginDate') |
| 197 | } | 201 | } |
| 198 | }, | 202 | }, |
| 199 | }; | 203 | }; | ... | ... |
-
Please register or login to post a comment