duanxiaoduan 1 год назад
Родитель
Сommit
4d4c2a9026
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/views/report/queryRepair/index.vue

+ 2 - 2
src/views/report/queryRepair/index.vue

@@ -453,12 +453,12 @@ export default {
     // XX月部门统计
     getChart5() {
       console.log(this.getChart5Parm.parammaps.deptName,'deptName')
-      let startTime = parseTime(this.getChart5Parm.parammaps.date,'{y}-{m}') + '-01'
+      let startTime = parseTime(this.getChart5Parm.parammaps.date,'{y}-{m}')
       let date =  new Date(this.getChart5Parm.parammaps.date);
       let year = date.getFullYear()
       let month = date.getMonth() + 1
       let lastDay = new Date(year, month, 0).getDate();
-      let endTime = parseTime(this.getChart5Parm.parammaps.date,'{y}-{m}') + '-' + lastDay
+      let endTime = parseTime(this.getChart5Parm.parammaps.date,'{y}-{m}')
       let data = {
         name:"geteqclassSumMonth",
         parammaps:{