mo 2 anos atrás
pai
commit
dfb4c84971

+ 6 - 4
src/views/returnVisitManager/components/waitVisit.vue

@@ -176,11 +176,10 @@ export default {
   data() {
     return {
       searchForm: {
-        student: "",
+        search: "",
         organId: "",
-        visiterType: "",
-        isVisit: "",
-        visitCycle: "",
+        visitFlag: "",
+        month: "",
       },
 
       visitChiose: visitChiose1,
@@ -219,6 +218,9 @@ export default {
     if (this.$route.query.typeList && this.$route.query.typeList.length > 0) {
       this.searchForm.typeList = this.$route.query.typeList;
     }
+    if(!this.searchForm.month){
+      this.searchForm.month = this.$helpers.dayjs().format("YYYY-MM");
+    }
     this.getList();
     if (this.$route.query.search || this.$route.query.timer) {
       // console.log( )