fix
songhuangfeng123
2022-04-01 7f9eb61d710569dd01daf33dfe88cbc2c30947e9
src/views/safetyproduction/checklistself.vue
@@ -23,7 +23,7 @@
            <el-input v-model="listQuery.filter.inspectorName"></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="4" style="text-align: center">
        <el-col :span="8" style="text-align: center">
          <el-button
            type="primary"
            icon="el-icon-search"
@@ -37,6 +37,12 @@
            class="btns"
            @click="jump()"
            >新增</el-button
          >
            <el-button
                type="primary"
                class="btns"
                @click="resetPage()"
            >重置</el-button
          >
        </el-col>
      </el-row>
@@ -105,7 +111,7 @@
          status: "",
        },
        pageIndex: 1,
        pageSize: 5,
        pageSize: 10,
      },
      list: [],
      pageSize: 10,
@@ -117,6 +123,13 @@
    this.safetySelfInspectionL();
  },
  methods: {
      resetPage(){
        this.listQuery.filter={}
        this.listQuery.pageIndex=1
        this.listQuery.pageSize=10
          this.safetySelfInspectionL();
      },
    async safetySelfInspectionL() {
      var res = await safetySelfInspectionList(this.listQuery).then((res) => {
        if (res.data.code == 200) {