峰峰执法平台简易案件程序板块 pad端
yang
2022-12-28 2591d9565cda1c392a630ddfd988952c7ae65cda
src/views/padSunmaryProcedure/index.vue
@@ -77,7 +77,9 @@
      isShow: false,
      formInline: {
        litigant: '',
        phone: ''
        phone: '',
        current:this.pageIndex,
        size:this.pageSize
      },
      pageSize: 10,
      pageIndex: 1,
@@ -99,14 +101,19 @@
    getDataList(type) {
      // this.$nextTick(()=>{
      if (type == 0) {
        this.formInline.type = type
        this.formInline.type = type;
        this.formInline.current=this.pageIndex;
        this.formInline.size=this.pageSize;
        getObj(this.formInline).then(res => {
          this.tableData = res.data.data.records
          this.total =res.data.data.total
        })
      } else {
        // this.formInline.type = type;
        this.formInline.current=this.pageIndex;
        this.formInline.size=this.pageSize;
        // this.formInline.user=333
        getObj().then(res => {
        getObj(this.formInline).then(res => {
          this.tableData = res.data.data.records
        })
      }
@@ -139,12 +146,12 @@
    sizeChangeHandle(val) {
      this.pageSize = val;
      this.pageIndex = 1;
      // this.getDataList();
      this.getDataList(0);
    },
    // 当前页
    currentChangeHandle(val) {
      this.pageIndex = val;
      // this.getDataList();
      this.getDataList(0);
    },
  }
}