Kaynağa Gözat

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

XMLWAN 4 yıl önce
ebeveyn
işleme
ebf4ebd22e

+ 1 - 2
config/dev.env.js Dosyayı Görüntüle

7
   NODE_ENV: '"development"',
7
   NODE_ENV: '"development"',
8
   ENV_CONFIG: '"dev"',
8
   ENV_CONFIG: '"dev"',
9
   // BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
9
   // BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
-  // BASE_API: '"http://api.xt.test.sgjyun.com"',
11
-  BASE_API:'"http://localhost:9531"',
10
+  BASE_API: '"http://localhost:9531"',
12
   SSO_HOST: '"http://testsso.sgjyun.com"',
11
   SSO_HOST: '"http://testsso.sgjyun.com"',
13
   SRCM_HOST: '"http://test1.sgjyun.com"',
12
   SRCM_HOST: '"http://test1.sgjyun.com"',
14
   XT_HOST: '"http://xt.test.sgjyun.com"',
13
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Dosyayı Görüntüle

195
               ? parseFloat(
195
               ? parseFloat(
196
               afterdialysis.weight_after -
196
               afterdialysis.weight_after -
197
               afterdialysis.additional_weight
197
               afterdialysis.additional_weight
198
-              ).toFixed(1)
198
+              ).toFixed(2)
199
               : "/"
199
               : "/"
200
               }}kg
200
               }}kg
201
             </span>
201
             </span>
1245
       vascularAccess: [],
1245
       vascularAccess: [],
1246
       nursing_record: '',
1246
       nursing_record: '',
1247
       special_record: '',
1247
       special_record: '',
1248
-      newTableAdvice:[]
1248
+      newTableAdvice: []
1249
     }
1249
     }
1250
   },
1250
   },
1251
   methods: {
1251
   methods: {
1433
           var doctoradvce = response.data.data.doctorAdvice
1433
           var doctoradvce = response.data.data.doctorAdvice
1434
           var doctorAdevieInfo = response.data.data.doctorAdevieInfo
1434
           var doctorAdevieInfo = response.data.data.doctorAdevieInfo
1435
           this.newTableAdvice = response.data.data.doctorAdevieInfo
1435
           this.newTableAdvice = response.data.data.doctorAdevieInfo
1436
-          console.log("哈哈哈哈哈哈哈哈哈",this.newTableAdvice)
1436
+          console.log('哈哈哈哈哈哈哈哈哈', this.newTableAdvice)
1437
           var tableAdvice = doctorAdevieInfo
1437
           var tableAdvice = doctorAdevieInfo
1438
           console.log('tableAdvice', tableAdvice)
1438
           console.log('tableAdvice', tableAdvice)
1439
           // console.log('医生', tableAdvice.length)
1439
           // console.log('医生', tableAdvice.length)

+ 2 - 1
src/xt_pages/qcd/indicatorControlAnalysis/components/office.vue Dosyayı Görüntüle

153
 
153
 
154
           }
154
           }
155
         },
155
         },
156
+        range_type:'',
156
         total:0,
157
         total:0,
157
         item_name: '',
158
         item_name: '',
158
         query: {
159
         query: {
279
       },
280
       },
280
       jumpDetail(row){
281
       jumpDetail(row){
281
         // this.$router.push("/qcd/indicatorControlAnalysis/bloodPressureDetails?id="+patient_id)
282
         // this.$router.push("/qcd/indicatorControlAnalysis/bloodPressureDetails?id="+patient_id)
282
-        this.$router.push("/qcd/inspection/detail?project_id="+row.project_id+"&item_id="+row.item_id+"&range_type="+row.inspect_type+"&patient_id="+row.patient.id)
283
+        this.$router.push("/qcd/inspection/detail?project_id="+row.project_id+"&item_id="+row.item_id+"&range_type="+this.query.range_type+"&patient_id="+row.patient.id)
283
       },
284
       },
284
       handleSizeChange(limit) {
285
       handleSizeChange(limit) {
285
         this.query.limit = limit
286
         this.query.limit = limit

+ 5 - 5
src/xt_pages/qcd/indicatorControlAnalysis/patientInspectionDetail.vue Dosyayı Görüntüle

491
             this.query.start_time = moment().subtract('month', 1).format('YYYY-MM-DD')
491
             this.query.start_time = moment().subtract('month', 1).format('YYYY-MM-DD')
492
             // 本月的结束时间
492
             // 本月的结束时间
493
             this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
493
             this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
494
-            this.query.patient_id = this.$route.query.patient_id
495
             this.query.project_id = this.$route.query.project_id
494
             this.query.project_id = this.$route.query.project_id
496
             this.query.item_id = this.$route.query.item_id
495
             this.query.item_id = this.$route.query.item_id
497
             this.query.range_type = this.$route.query.range_type
496
             this.query.range_type = this.$route.query.range_type
502
             const startDate = moment().subtract('month', 3).format('YYYY-MM-DD')
501
             const startDate = moment().subtract('month', 3).format('YYYY-MM-DD')
503
             this.query.start_time = startDate
502
             this.query.start_time = startDate
504
             const endDate = moment(new Date()).format('YYYY-MM-DD')
503
             const endDate = moment(new Date()).format('YYYY-MM-DD')
505
-            this.query.patient_id = this.$route.query.patient_id
504
+
506
             this.query.project_id = this.$route.query.project_id
505
             this.query.project_id = this.$route.query.project_id
507
             this.query.item_id = this.$route.query.item_id
506
             this.query.item_id = this.$route.query.item_id
508
             this.query.range_type = this.$route.query.range_type
507
             this.query.range_type = this.$route.query.range_type
513
           case 3: //近半年
512
           case 3: //近半年
514
             this.query.start_time = moment().subtract('month', 6).format('YYYY-MM-DD')
513
             this.query.start_time = moment().subtract('month', 6).format('YYYY-MM-DD')
515
             this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
514
             this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
516
-            this.query.patient_id = this.$route.query.patient_id
515
+
517
             this.query.project_id = this.$route.query.project_id
516
             this.query.project_id = this.$route.query.project_id
518
             this.query.item_id = this.$route.query.item_id
517
             this.query.item_id = this.$route.query.item_id
519
             this.query.range_type = this.$route.query.range_type
518
             this.query.range_type = this.$route.query.range_type
523
           case 4: //近一年
522
           case 4: //近一年
524
             this.query.start_time = moment().subtract('month', 12).format('YYYY-MM-DD')
523
             this.query.start_time = moment().subtract('month', 12).format('YYYY-MM-DD')
525
             this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
524
             this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
526
-            this.query.patient_id = this.$route.query.patient_id
525
+
527
             this.query.project_id = this.$route.query.project_id
526
             this.query.project_id = this.$route.query.project_id
528
             this.query.item_id = this.$route.query.item_id
527
             this.query.item_id = this.$route.query.item_id
529
             this.query.range_type = this.$route.query.range_type
528
             this.query.range_type = this.$route.query.range_type
533
             this.query.start_time = moment().subtract('month', 1).format('YYYY-MM-DD')
532
             this.query.start_time = moment().subtract('month', 1).format('YYYY-MM-DD')
534
             // 本月的结束时间
533
             // 本月的结束时间
535
             this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
534
             this.query.end_time = moment(new Date()).format('YYYY-MM-DD')
536
-            this.query.patient_id = this.$route.query.patient_id
537
             this.query.project_id = this.$route.query.project_id
535
             this.query.project_id = this.$route.query.project_id
538
             this.query.item_id = this.$route.query.item_id
536
             this.query.item_id = this.$route.query.item_id
539
             this.query.range_type = this.$route.query.range_type
537
             this.query.range_type = this.$route.query.range_type
608
                 }
606
                 }
609
               }
607
               }
610
 
608
 
609
+              console.log(this.options.xAxis.data)
610
+
611
               console.log(this.options.series[0].data)
611
               console.log(this.options.series[0].data)
612
 
612
 
613
               //获取无法确定选项的颜色
613
               //获取无法确定选项的颜色

+ 13 - 13
src/xt_permission.js Dosyayı Görüntüle

12
 
12
 
13
 router.beforeEach((to, from, next) => {
13
 router.beforeEach((to, from, next) => {
14
   // 线上注释
14
   // 线上注释
15
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-    store.dispatch('VerifyConfigList', []).then(() => {
17
-      next()
18
-    })
19
-  }
20
-  if (store.getters.permission_routers === undefined) {
21
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-      next()
23
-    })
24
-  } else {
25
-    next()
26
-  }
27
-  return
15
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+  //   store.dispatch('VerifyConfigList', []).then(() => {
17
+  //     next()
18
+  //   })
19
+  // }
20
+  // if (store.getters.permission_routers === undefined) {
21
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+  //     next()
23
+  //   })
24
+  // } else {
25
+  //   next()
26
+  // }
27
+  // return
28
   // 线上注释
28
   // 线上注释
29
 
29
 
30
   NProgress.start()
30
   NProgress.start()