Browse Source

Merge branch '20200710_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20200710_pc_vue_new_branch

See999 4 years ago
parent
commit
cb550dbf02
1 changed files with 13 additions and 2 deletions
  1. 13 2
      src/xt_pages/medicalScheduling/schedulingStatistics.vue

+ 13 - 2
src/xt_pages/medicalScheduling/schedulingStatistics.vue View File

@@ -112,7 +112,7 @@
112 112
 import echarts from "echarts";
113 113
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
114 114
 import LineChart from "../qcd/components/LineChart";
115
-import {getDoctorList,getScheduleList,getScheduleListTotal,toSearchTotal,changeOption }  from '@/api/doctorSchedule'
115
+import {getDoctorList,getScheduleList,getScheduleListTotal,toSearchTotal,changeOption,getchartlist }  from '@/api/doctorSchedule'
116 116
 export default {
117 117
     components:{
118 118
         BreadCrumb,
@@ -278,7 +278,9 @@ export default {
278 278
     
279 279
         // 获取统计表的数据
280 280
         this.getlist()
281
-
281
+        
282
+        //获取统计图数据
283
+        this.getchartlist()
282 284
       
283 285
     },
284 286
     methods:{
@@ -717,6 +719,15 @@ export default {
717 719
                 path: '/medicalScheduling/statistics/print',
718 720
                 // query: { date: date }
719 721
             }) 
722
+        },
723
+        //获取统计图数据
724
+        getchartlist(){
725
+           getchartlist().then(response=>{
726
+               if(response.data.state == 1){
727
+                 var workdaylist =  response.data.data.workDaylist
728
+                 console.log("早年公共",workdaylist)
729
+               }
730
+           })
720 731
         }
721 732
     }
722 733
 }