Преглед изворни кода

预定报表:查询日期设定为默认查明天。

shipeng пре 2 недеља
родитељ
комит
452fc1e6c4
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      src/views/statisticalReport/daily.vue

+ 3 - 3
src/views/statisticalReport/daily.vue

@@ -42,7 +42,7 @@
           size="mini"
           icon="el-icon-download"
           :disabled="dataList.length === 0"
-          v-hasPermi="['session:session:downloadExcel']"
+          v-hasPermi="['daily:daily:downloadExcel']"
           @click="handleExport"
           v-loading.fullscreen.lock="handleExportLoading"
           element-loading-text="正在拼命生成数据中..."
@@ -142,7 +142,7 @@
       };
     },
     created() {
-      this.$set(this.queryParams,'performDate',moment().format("yyyy-MM-DD"));
+      this.$set(this.queryParams,'performDate',moment().add(1, 'days').format('YYYY-MM-DD'));
       this.pagePerformTimeListFun(this.performDate)
       this.getList();
     //   this.ticketListApi();
@@ -222,7 +222,7 @@
         this.$set(this.queryParams, 'seatTypeId', '');
         this.$set(this.queryParams, 'timeId', '');
         // this.queryParams.pageNum = 1;
-        this.$set(this.queryParams,'performDate',moment().format("yyyy-MM-DD"));
+        this.$set(this.queryParams,'performDate',moment().add(1, 'days').format('YYYY-MM-DD'));
         this.handleQuery();
       },
       dateChange(e){