Commit 95c47d2c by liucan

fix:修改表格页面重置后跳转到第一页

parent 2be07211
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</div> </div>
<div> <div>
<span style="color: white">站点名称:</span> <span style="color: white">站点名称:</span>
<el-input placeholder="请输入" v-model="searchStation" style="width: 170.5px" /> <el-input placeholder="请输入站点名称" v-model="searchStation" style="width: 170.5px" />
</div> </div>
<div> <div>
<span style="color: white">采集时间:</span> <span style="color: white">采集时间:</span>
...@@ -625,6 +625,7 @@ const resetForm = () => { ...@@ -625,6 +625,7 @@ const resetForm = () => {
searchStation.value = '' searchStation.value = ''
searchTargetName.value = '' searchTargetName.value = ''
searchTimeValue.value = '' searchTimeValue.value = ''
pageObj.value.pageNo = 1
getData() getData()
} }
// 获取esa数据列表的方法 // 获取esa数据列表的方法
......
...@@ -350,6 +350,7 @@ const resetForm = () => { ...@@ -350,6 +350,7 @@ const resetForm = () => {
searchTargetName.value = '' searchTargetName.value = ''
searchTargetId.value = '' searchTargetId.value = ''
searchTimeValue.value = '' searchTimeValue.value = ''
pageObj.value.pageNo = 1
getData() getData()
} }
const getData = async () => { const getData = async () => {
......
...@@ -344,6 +344,7 @@ const resetForm = () => { ...@@ -344,6 +344,7 @@ const resetForm = () => {
noradCatId.value = '' noradCatId.value = ''
searchTargetName.value = '' searchTargetName.value = ''
timeValue.value = '' timeValue.value = ''
pageObj.value.pageNo = 1
getData() getData()
} }
// 获取st数据列表的方法 // 获取st数据列表的方法
......
...@@ -179,6 +179,7 @@ const resetQuery = () => { ...@@ -179,6 +179,7 @@ const resetQuery = () => {
timeValue.value = [] timeValue.value = []
spidername.value = '' spidername.value = ''
jobname.value = '' jobname.value = ''
pageObj.value.pageNo = 1
getData() getData()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment