quanyawei
2023-09-28 4a25bd9ba57cf9b9985d93e85fab1e065a0911bc
src/views/toCarryOutLegislativeReforms/reform/index.vue
@@ -241,7 +241,10 @@
      pageState: 'add',
      invalidReason: '',
      slectRow: {},
      title: ''
      title: '',
      searchData: {
        isInvalid: 0
      }
    }
  },
@@ -376,11 +379,15 @@
      })
    },
    handleSearch(obj) {
      this.searchData.isInvalid = 0
      if (obj) {
        this.searchData = obj
      }
      this.$request({
        url: '/allocation/page',
        method: 'post',
        data: {
          ...obj,
          ...this.searchData,
          'page': this.pagination
        }
      }).then((res) => {
@@ -399,11 +406,13 @@
      this.pagination.PageSize = val
      // 注意:在改变每页显示的条数时,要将页码显示到第一页
      this.pagination.currentPage = 1
      this.handleSearch()
    },
    // 显示第几页
    handleCurrentChange(val) {
      // 改变默认的页数
      this.pagination.currentPage = val
      this.handleSearch()
      // console.log(val)
    },
    openWorkOrdinDialog(row, type) {