quanyawei
2023-11-13 7f922eb1e96e21e72fccc651167348021af039d2
pages/actionChange/agencyPage/index.vue
@@ -206,6 +206,7 @@
      onReachBottom() {
         //这里是判断是否需要继续掉接口
         if (this.isLoading) {
            console.log('1122111')
            this.status = 'loading'
            //请求一次接口,页码就++
            this.page.currentPage = ++this.page.currentPage
@@ -294,6 +295,14 @@
            }
            this.getWorkOrder()
         },
         setData() {
            this.workOderList = []
            this.page = {
               currentPage: 1,
               pageSize: 10
            }
            this.getContaminateList()
         },
         // 获取责任单位list
         getUnitList() {
            this.$http.httpGet('/allocation/unit').then(res => {
@@ -352,6 +361,7 @@
            data.allocationId = e.allocationId
            data.state = e.state
            data.allocationNum = e.allocationNum
            data.current = this.current
            let myData = JSON.stringify(data)
            uni.navigateTo({
               url: '/pages/actionChange/workOrderDetails/index?infor=' + myData + '&type=jump',