浏览代码

feat: 预约明细去掉默认筛选时间

zhangjie 1 年之前
父节点
当前提交
6469c59a21
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/views/order/order-record-manage/index.vue

+ 4 - 4
src/views/order/order-record-manage/index.vue

@@ -137,7 +137,7 @@
   import { parseTimeRangeDateAndTimeContent } from '@/utils/utils';
   import { useAppStore, useUserStore } from '@/store';
   import { downloadByApi } from '@/utils/download';
-  import { getBeforeWeek } from '@/utils/day';
+  // import { getBeforeWeek } from '@/utils/day';
 
   import ImportDialog from '@/components/import-dialog/index.vue';
   import PrintDialog from './printDialog.vue';
@@ -151,7 +151,7 @@
   appStore.setInfo({ breadcrumbs: ['考试预约管理', '预约明细'] });
   const userStore = useUserStore();
 
-  const preDate = getBeforeWeek();
+  // const preDate = getBeforeWeek();
   const searchModel = reactive<OrderRecordListFilter>({
     taskId: null,
     teachingId: null,
@@ -159,8 +159,8 @@
     name: '',
     identityNumber: '',
     studentCode: '',
-    startDate: preDate[0],
-    endDate: preDate[1],
+    startDate: undefined,
+    endDate: undefined,
   });
 
   const columns: TableColumnData[] = [