소스 검색

fix:测试出现无法分页的问题

ly 10 달 전
부모
커밋
8fd3f24555
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      src/views/business/production/onceWork/index.vue

+ 5 - 4
src/views/business/production/onceWork/index.vue

@@ -364,14 +364,15 @@
   function getList() {
     loading.value = true;
     listOnceWorkOrder(queryParams.value).then((response) => {
+      list.value = [];
       list.value = response.rows;
       total.value = response.total;
       loading.value = false;
+      entrustSourceApi().then((res)=>{
+        entrustSource.value = res.data;
+        console.log(res.data)
+      })
     });
-    // entrustSourceApi().then((res)=>{
-    //   entrustSource.value = res.data;
-    //   console.log(res.data)
-    // })
   }
 
   /** 是否为自己负责 */