소스 검색

fix:一次性合格率重置

lupeng 4 주 전
부모
커밋
ea5d0ccb84
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      src/views/statistic/firstPassYield/index.vue

+ 5 - 4
src/views/statistic/firstPassYield/index.vue

@@ -238,11 +238,12 @@ const getTableData = async () => {
 // -------
 
 const reset = () => {searchTime.value = getCurrentMonthStartAndEndDates();
-  // treeRef1.value.setCheckedKeys([statProductionLineData[0].key], true, true);
-  // treeRef2.value.setCheckedKeys([statProductTypeData[0].key], true, true);
+  //treeRef1.value.setCheckedKeys([statProductionLineData[0].key], true, true);
+    //statProductionLineData.value=[];
+    //treeRef1.value.setCheckedKeys([statProductionLineData[0].key], true, true);
+    treeData.value=[];
+    workOrderCodes.value=[];
   currentOption.value.page = 1;
-  workOrderCodes.value = [];
-    treeRef1.value.setCheckedNodes([]);
   getTableData();
 };