Bläddra i källkod

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

csx 5 år sedan
förälder
incheckning
aa3f550a74

+ 2 - 2
src/xt_pages/qcd/indicatorControlAnalysis/bloodPressure.vue Visa fil

522
         this.query.patient_id = val.id
522
         this.query.patient_id = val.id
523
         this.query.page = 1
523
         this.query.page = 1
524
         this.patient_name =val.name
524
         this.patient_name =val.name
525
-        this.GetDialysisBloodPressureChartData(this.query)
526
-        this.GetDialysisBloodPressureTableData(this.query)
525
+        // this.GetDialysisBloodPressureChartData(this.query)
526
+        // this.GetDialysisBloodPressureTableData(this.query)
527
         for (let i = 0;i < this.patientsData.length; i++){
527
         for (let i = 0;i < this.patientsData.length; i++){
528
           if (this.patientsData[i].id == val.id){
528
           if (this.patientsData[i].id == val.id){
529
             this.$refs.table.setCurrentRow(this.patientsData[i])
529
             this.$refs.table.setCurrentRow(this.patientsData[i])

+ 2 - 2
src/xt_pages/qcd/indicatorControlAnalysis/bloodPressureDetails.vue Visa fil

384
     }, handleSelect(val) {
384
     }, handleSelect(val) {
385
       this.query.patient_id = val.id
385
       this.query.patient_id = val.id
386
       this.query.page = 1
386
       this.query.page = 1
387
-      this.GetDialysisPatientBloodPressureChartData(this.query)
388
-      this.GetDialysisBloodPressureTableData(this.query)
387
+      // this.GetDialysisPatientBloodPressureChartData(this.query)
388
+      // this.GetDialysisBloodPressureTableData(this.query)
389
 
389
 
390
       for (let i = 0;i < this.patientsData.length; i++){
390
       for (let i = 0;i < this.patientsData.length; i++){
391
         if (this.patientsData[i].id == val.id){
391
         if (this.patientsData[i].id == val.id){

+ 2 - 2
src/xt_pages/qcd/indicatorControlAnalysis/monitor.vue Visa fil

550
         this.query.patient_id = val.id
550
         this.query.patient_id = val.id
551
         this.query.page = 1
551
         this.query.page = 1
552
         this.patient_name = val.name
552
         this.patient_name = val.name
553
-        this.GetDialysisWatchTableData(this.query)
554
-        this.GetDialysisWatchChartData(this.query)
553
+        // this.GetDialysisWatchTableData(this.query)
554
+        // this.GetDialysisWatchChartData(this.query)
555
         for (let i = 0;i < this.patientsData.length; i++){
555
         for (let i = 0;i < this.patientsData.length; i++){
556
           if (this.patientsData[i].id == val.id){
556
           if (this.patientsData[i].id == val.id){
557
             this.$refs.table.setCurrentRow(this.patientsData[i])
557
             this.$refs.table.setCurrentRow(this.patientsData[i])

+ 1 - 1
src/xt_pages/qcd/indicatorControlAnalysis/patientInspectionDetail.vue Visa fil

292
       handleSelect(val) {
292
       handleSelect(val) {
293
         this.query.patient_id = val.id
293
         this.query.patient_id = val.id
294
         this.patient_name = val.name
294
         this.patient_name = val.name
295
-        this.GetPatientInspectionIndexChart(this.query)
295
+        // this.GetPatientInspectionIndexChart(this.query)
296
         for (let i = 0; i < this.patientsData.length; i++) {
296
         for (let i = 0; i < this.patientsData.length; i++) {
297
           if (this.patientsData[i].id == val.id) {
297
           if (this.patientsData[i].id == val.id) {
298
             this.$refs.table.setCurrentRow(this.patientsData[i])
298
             this.$refs.table.setCurrentRow(this.patientsData[i])

+ 4 - 4
src/xt_pages/qcd/indicatorControlAnalysis/process.vue Visa fil

609
       },
609
       },
610
       getModeName(mode_id) {
610
       getModeName(mode_id) {
611
         return this.$store.getters.treatment_mode[mode_id] != undefined ? this.$store.getters.treatment_mode[mode_id].name : ''
611
         return this.$store.getters.treatment_mode[mode_id] != undefined ? this.$store.getters.treatment_mode[mode_id].name : ''
612
-      }, 
612
+      },
613
       GetDialysisProcessIndexTableData(params) {
613
       GetDialysisProcessIndexTableData(params) {
614
         this.loading = true
614
         this.loading = true
615
         GetDialysisProcessIndexTableData(params)
615
         GetDialysisProcessIndexTableData(params)
671
         this.query.page = 1
671
         this.query.page = 1
672
         this.patient_name = val.name
672
         this.patient_name = val.name
673
 
673
 
674
-        this.GetDialysisProcessIndexChartData(this.query)
675
-        this.GetDialysisProcessIndexTableData(this.query)
674
+        // this.GetDialysisProcessIndexChartData(this.query)
675
+        // this.GetDialysisProcessIndexTableData(this.query)
676
 
676
 
677
         for (let i = 0;i < this.patientsData.length; i++){
677
         for (let i = 0;i < this.patientsData.length; i++){
678
           if (this.patientsData[i].id == val.id){
678
           if (this.patientsData[i].id == val.id){
739
             this.bar.dataZoom[0].end = dataZoom_end
739
             this.bar.dataZoom[0].end = dataZoom_end
740
           }
740
           }
741
         }
741
         }
742
-        
742
+
743
       }
743
       }
744
     }, created() {
744
     }, created() {
745
       var date = new Date()
745
       var date = new Date()

+ 9 - 6
src/xt_pages/qcd/indicatorControlAnalysis/weight.vue Visa fil

414
       handleChange(val){
414
       handleChange(val){
415
         this.query.patient_id = val.id
415
         this.query.patient_id = val.id
416
         this.query.page = 1
416
         this.query.page = 1
417
-        this.GetDialysisWeightTableData(this.query)
418
-        this.GetDialysisWeightChartData(this.query)
419
         this.patient_name = val.name
417
         this.patient_name = val.name
418
+        this.GetDialysisWeightTableData(this.query)
419
+        // this.GetDialysisWeightChartData(this.query)
420
       },
420
       },
421
       handleSizeChange(limit) {
421
       handleSizeChange(limit) {
422
         this.query.limit = limit;
422
         this.query.limit = limit;
509
           })
509
           })
510
       },
510
       },
511
       GetDialysisWeightChartData(params) {
511
       GetDialysisWeightChartData(params) {
512
-        this.bar.xAxis.data = []
513
-        this.bar.series[0].data = []
514
-        this.percent = []
515
 
512
 
513
+        // this.bar.xAxis.data = []
514
+        // this.bar.series[0].data = []
515
+        // this.percent = []
516
         GetDialysisWeightChartData(params)
516
         GetDialysisWeightChartData(params)
517
           .then(rs => {
517
           .then(rs => {
518
             var resp = rs.data
518
             var resp = rs.data
519
             if (resp.state == 1) {
519
             if (resp.state == 1) {
520
+              this.bar.xAxis.data = []
521
+              this.bar.series[0].data = []
522
+              this.percent = []
520
               for (let i = 0; i < resp.data.data.length; i++) {
523
               for (let i = 0; i < resp.data.data.length; i++) {
521
                 this.bar.xAxis.data.push(resp.data.data[i].name)
524
                 this.bar.xAxis.data.push(resp.data.data[i].name)
522
                 this.bar.series[0].data.push(resp.data.data[i].total)
525
                 this.bar.series[0].data.push(resp.data.data[i].total)
534
         this.query.patient_id = val.id
537
         this.query.patient_id = val.id
535
         this.query.page = 1
538
         this.query.page = 1
536
         // this.GetDialysisWeightChartData(this.query)
539
         // this.GetDialysisWeightChartData(this.query)
537
-        this.GetDialysisWeightTableData(this.query)
540
+        // this.GetDialysisWeightTableData(this.query)
538
         for (let i = 0;i < this.patientsData.length; i++){
541
         for (let i = 0;i < this.patientsData.length; i++){
539
           if (this.patientsData[i].id == val.id){
542
           if (this.patientsData[i].id == val.id){
540
             this.patient_name = this.patientsData[i].name
543
             this.patient_name = this.patientsData[i].name

+ 2 - 2
src/xt_pages/qcd/indicatorControlAnalysis/weightDetails.vue Visa fil

391
       this.query.patient_id = val.id
391
       this.query.patient_id = val.id
392
       this.query.page = 1
392
       this.query.page = 1
393
       this.patient_name = val.name
393
       this.patient_name = val.name
394
-      this.GetDialysisPatientWeightChartData(this.query)
395
-      this.GetDialysisWeightTableData(this.query)
394
+      // this.GetDialysisPatientWeightChartData(this.query)
395
+      // this.GetDialysisWeightTableData(this.query)
396
       for (let i = 0;i < this.patientsData.length; i++){
396
       for (let i = 0;i < this.patientsData.length; i++){
397
         if (this.patientsData[i].id == val.id){
397
         if (this.patientsData[i].id == val.id){
398
           this.$refs.table.setCurrentRow(this.patientsData[i])
398
           this.$refs.table.setCurrentRow(this.patientsData[i])