|
|
@ -24,7 +24,7 @@ |
|
|
label-position="top" |
|
|
label-position="top" |
|
|
:model="searchData" |
|
|
:model="searchData" |
|
|
class="search-form" |
|
|
class="search-form" |
|
|
@keyup.enter.native="getDataList"> |
|
|
|
|
|
|
|
|
@keyup.enter.native="handleSearch"> |
|
|
|
|
|
|
|
|
<template v-if="searchExpanded"> |
|
|
<template v-if="searchExpanded"> |
|
|
<el-row :gutter="16"> |
|
|
<el-row :gutter="16"> |
|
|
@ -140,7 +140,7 @@ |
|
|
type="primary" |
|
|
type="primary" |
|
|
icon="el-icon-search" |
|
|
icon="el-icon-search" |
|
|
:loading="dataListLoading" |
|
|
:loading="dataListLoading" |
|
|
@click="getDataList"> |
|
|
|
|
|
|
|
|
@click="handleSearch"> |
|
|
查询 |
|
|
查询 |
|
|
</el-button> |
|
|
</el-button> |
|
|
<el-button |
|
|
<el-button |
|
|
@ -380,6 +380,12 @@ export default { |
|
|
this.getDataList() |
|
|
this.getDataList() |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 点击查询按钮 - 重置到第一页 |
|
|
|
|
|
handleSearch() { |
|
|
|
|
|
this.pageIndex = 1 |
|
|
|
|
|
this.getDataList() |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
// 查询列表 |
|
|
// 查询列表 |
|
|
getDataList() { |
|
|
getDataList() { |
|
|
this.dataListLoading = true |
|
|
this.dataListLoading = true |
|
|
|