Sfoglia il codice sorgente

修改月报请求参数

TANGSHIZHE 4 anni fa
parent
commit
3400438a05

+ 1 - 1
src/components/report-data/SelectMonth.vue

@@ -77,7 +77,7 @@ export default {
         var weeks = a
         aloneWeek.push(weeks + '')
       }
-      this.isActive = 0
+      this.isActive = aloneWeek.length - 1
       this.listWeek.push(aloneWeek)
       // 处理年份、添加12月
       const nowyear = dateFormatter(new Date(), 'yyyy')

+ 1 - 1
src/views/reportData/pageMonth.vue

@@ -3,7 +3,7 @@
     <div class="page_week_main">
       <!-- 选择月报时间 -->
       <div class="week_time">
-        <SelectMonth @selectYm="selectYear"></SelectMonth>
+        <SelectMonth @selectYear="selectYear"></SelectMonth>
       </div>
       <!-- 数据报告-周报 -->
       <div class="dataReport">