Browse Source

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

XMLWAN 4 years ago
parent
commit
ebf4ebd22e

+ 1 - 2
config/dev.env.js View File

@@ -7,8 +7,7 @@ module.exports = {
7 7
   NODE_ENV: '"development"',
8 8
   ENV_CONFIG: '"dev"',
9 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 11
   SSO_HOST: '"http://testsso.sgjyun.com"',
13 12
   SRCM_HOST: '"http://test1.sgjyun.com"',
14 13
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue View File

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

+ 2 - 1
src/xt_pages/qcd/indicatorControlAnalysis/components/office.vue View File

@@ -153,6 +153,7 @@
153 153
 
154 154
           }
155 155
         },
156
+        range_type:'',
156 157
         total:0,
157 158
         item_name: '',
158 159
         query: {
@@ -279,7 +280,7 @@
279 280
       },
280 281
       jumpDetail(row){
281 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 285
       handleSizeChange(limit) {
285 286
         this.query.limit = limit

+ 5 - 5
src/xt_pages/qcd/indicatorControlAnalysis/patientInspectionDetail.vue View File

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

+ 13 - 13
src/xt_permission.js View File

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 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 30
   NProgress.start()