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
2197913c09

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

@@ -7,7 +7,8 @@ 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"',
10
+   BASE_API: '"http://api.xt.test.sgjyun.com"',
11
+  // BASE_API: '"http://localhost:9531"',
11 12
   SSO_HOST: '"http://testsso.sgjyun.com"',
12 13
   SRCM_HOST: '"http://test1.sgjyun.com"',
13 14
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 2 - 2
config/index.js View File

@@ -19,8 +19,8 @@ module.exports = {
19 19
 
20 20
     //  host: 'xt.test.sgjyun.com',
21 21
     //  host: 'xt.kuyicloud.com',
22
-    // host: 'xt.test.sgjyun.com',
23
-    host: 'localhost',
22
+    host: 'xt.test.sgjyun.com',
23
+    // host: 'localhost',
24 24
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
25 25
     autoOpenBrowser: true,
26 26
     errorOverlay: true,

+ 8 - 1
src/api/common/common.js View File

@@ -200,7 +200,6 @@ export function getTotalDialysisCount(startime, endtime) {
200 200
     startime: startime,
201 201
     endtime: endtime
202 202
   }
203
-  console.log('透析年龄======', params)
204 203
   return request({
205 204
     url: '/com/api/gettotaldialysiscount',
206 205
     method: 'get',
@@ -503,3 +502,11 @@ export function getMonthBloodList(params) {
503 502
     params: params
504 503
   })
505 504
 }
505
+
506
+export function getIdSlist(data, patientid) {
507
+  return request({
508
+    url: '/com/api/getidslist?patientid=' + patientid,
509
+    method: 'post',
510
+    data: data
511
+  })
512
+}

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -711,7 +711,7 @@
711 711
                                     .weight_before -
712 712
                                     record.assessment_before_dislysis
713 713
                                       .additional_weight
714
-                                )
714
+                                ).toFixed(1)
715 715
                               : "/"
716 716
                           }}
717 717
                         </div>
@@ -1595,7 +1595,7 @@
1595 1595
                                     .weight_after -
1596 1596
                                     record.assessment_before_dislysis
1597 1597
                                       .additional_weight
1598
-                                )
1598
+                                ).toFixed(1)
1599 1599
                               : "/"
1600 1600
                           }}
1601 1601
                         </div>

+ 26 - 9
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -1184,10 +1184,27 @@
1184 1184
         this.InnerDialogProps.visibility = true
1185 1185
         switch (val) {
1186 1186
           case '5': // 透析器/灌流器
1187
+             var arr = this.dialysisPrescription.dialyzer_perfusion_apparatus
1188
+             var newArr =  arr.split(",")
1189
+            console.log("透析器/灌流器",newArr)
1190
+            var Arr = []
1191
+            for(let i=0;i<newArr.length;i++){
1192
+              for(let j=0;j<this.dialyzerPerfusionApparatus.length;j++){
1193
+                 var newarr = newArr[i].toUpperCase()
1194
+              
1195
+                 var dialy = this.dialyzerPerfusionApparatus[j].name.toUpperCase()
1196
+            
1197
+                 if(newarr == dialy){
1198
+                    Arr.push(this.dialyzerPerfusionApparatus[j].name)
1199
+                 }
1200
+              }
1201
+            }
1202
+            var arrtwo = Arr.join(",")
1203
+            console.log("Arr",arrtwo)
1187 1204
             this.InnerDialogProps.values = this.dialyzerPerfusionApparatus
1188 1205
             this.InnerDialogProps.titles = '透析器/灌流器'
1189 1206
             this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
1190
-            this.InnerDialogProps.selected = this.dialysisPrescription.dialyzer_perfusion_apparatus.toUpperCase()
1207
+            this.InnerDialogProps.selected = arrtwo
1191 1208
             this.InnerDialogProps.isShowTextArea = false
1192 1209
             break
1193 1210
         }
@@ -1301,18 +1318,18 @@
1301 1318
         )
1302 1319
 
1303 1320
          console.log('血管通路', this.blood_access_option)
1304
-         var  dialyzerPerfusionApparatus = getDataConfig(
1321
+         this.dialyzerPerfusionApparatus = getDataConfig(
1305 1322
           'hemodialysis',
1306 1323
           'dialyzer_perfusion_apparatus'
1307 1324
         )
1308 1325
        
1309
-       dialyzerPerfusionApparatus.map(item => {
1310
-         item.name = item.name.toUpperCase()
1311
-       })
1312
-       //去重
1313
-        var arr = this.unique(dialyzerPerfusionApparatus)
1314
-       this.dialyzerPerfusionApparatus = arr
1315
-       console.log('灌流器', arr)
1326
+      //  dialyzerPerfusionApparatus.map(item => {
1327
+      //    item.name = item.name.toUpperCase()
1328
+      //  })
1329
+      //  //去重
1330
+      //   var arr = this.unique(dialyzerPerfusionApparatus)
1331
+      //  this.dialyzerPerfusionApparatus = arr
1332
+      //  console.log('灌流器', arr)
1316 1333
 
1317 1334
         if (this.$route.query && this.$route.query.date) {
1318 1335
           var date = this.$route.query && this.$route.query.date

+ 2 - 0
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -774,6 +774,8 @@ export default {
774 774
     // this.form.operate_date = parseInt((new Date()).getTime() / 1000)
775 775
     // this.form.monitoring_time = parseTime(new Date(), "{h}:{i}")
776 776
     this.form.operate_time = new Date().getTime()
777
+    var symptoms = getDataConfig('hemodialysis', 'symptoms')
778
+    
777 779
   },
778 780
   methods: {
779 781
     venousPressureChange(type) {

+ 2 - 2
src/xt_pages/qcd/indicatorControlAnalysis/weight.vue View File

@@ -71,7 +71,7 @@
71 71
           <div style="width:160px">
72 72
 
73 73
             <div class="tableTitle">患者列表</div>
74
-            
74
+
75 75
 
76 76
             <el-table ref="table" :data="patientsData" border style="width: 100%;" height="500" :row-style="{ color: '#303133' }"
77 77
                       :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
@@ -619,6 +619,7 @@
619 619
         })
620 620
       }
621 621
     }, created() {
622
+      this.getCurrentOrgPatients()
622 623
       var date = new Date()
623 624
       var year = date.getFullYear() //获取完整的年份(4位)
624 625
       var month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1).toString() : date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
@@ -630,7 +631,6 @@
630 631
       this.query.statistics_type = 1
631 632
       this.GetDialysisWeightChartData(this.query)
632 633
       this.GetDialysisWeightTableData(this.query)
633
-      this.getCurrentOrgPatients()
634 634
 
635 635
 
636 636
     }