Selaa lähdekoodia

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

csx 4 vuotta sitten
vanhempi
commit
d31a13e8b1

+ 2 - 1
config/dev.env.js Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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 - 0
src/api/common/common.js Näytä tiedosto

@@ -503,3 +503,11 @@ export function getMonthBloodList(params) {
503 503
     params: params
504 504
   })
505 505
 }
506
+
507
+export function getIdSlist(data, patientid) {
508
+  return request({
509
+    url: '/com/api/getidslist?patientid=' + patientid,
510
+    method: 'post',
511
+    data: data
512
+  })
513
+}

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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) {