yuwandanmian hai 1 ano
pai
achega
e15d03e914
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      src/views/allcase/defectNumber.vue

+ 5 - 1
src/views/allcase/defectNumber.vue

@@ -30,7 +30,7 @@
             placeholder="结束日期"
           ></el-date-picker>
           <span class="kong"></span>
-          <el-button type="primary" @click="funQuery">查询</el-button>
+          <el-button type="primary" @click="onSearch">查询</el-button>
         </div>
       </div>
       <el-table :data="tableData" style="width: 100%">
@@ -116,6 +116,10 @@ export default {
     pageHasChanged() {
       this.funQuery();
     },
+    onSearch() {
+      this.paginationData.currentPage = 1
+      this.funQuery()
+    },
     funQuery() {
       //查询
       let pramse = {