Browse Source

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

test_user 1 year ago
parent
commit
c8af941201

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

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

+ 2 - 2
config/index.js View File

@@ -27,10 +27,10 @@ module.exports = {
27 27
     // can be overwritten by process.env.HOST
28 28
     // if you want dev by ip, please set host: '0.0.0.0'
29 29
 
30
-    host: 'xt.test.sgjyun.com',
30
+    // host: 'xt.test.sgjyun.com',
31 31
     //  host: 'xt.kuyicloud.com',
32 32
    // host: 'xt.test.sgjyun.com',
33
-  //  host: 'localhost',
33
+    host: 'localhost',
34 34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35 35
     autoOpenBrowser: true,
36 36
     errorOverlay: true,

+ 1 - 1
package.json View File

@@ -56,7 +56,7 @@
56 56
     "jszip": "3.1.5",
57 57
     "mockjs": "1.0.1-beta3",
58 58
     "moment": "^2.24.0",
59
-    "node-sass": "^7.0.1",
59
+    "node-sass": "^8.0.0",
60 60
     "normalize.css": "7.0.0",
61 61
     "nprogress": "0.2.0",
62 62
     "print-js": "^1.0.50",

+ 13 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyFour.vue View File

@@ -837,13 +837,25 @@
837 837
             <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
838 838
             <td v-if="advice_index === 3">较干体重增加量:</td>
839 839
             <td v-if="advice_index === 3">
840
-              {{
840
+              <span v-if="org_id==10345">
841
+                {{
842
+                predialysis.weight_before == 0
843
+                  ? 0
844
+                  : (
845
+                      predialysis.weight_before - predialysis.dry_weight
846
+                    ).toFixed(2)
847
+              }}kg
848
+              </span>
849
+              <span v-else>
850
+                {{
841 851
                 afterdialysis.weight_after == 0
842 852
                   ? 0
843 853
                   : (
844 854
                       afterdialysis.weight_after - predialysis.dry_weight
845 855
                     ).toFixed(2)
846 856
               }}kg
857
+              </span>
858
+              
847 859
             </td>
848 860
             <td v-if="advice_index === 4">净脱水量:</td>
849 861
             <td v-if="advice_index === 4">

+ 8 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue View File

@@ -3379,7 +3379,7 @@ export default {
3379 3379
         var leftAdvice = [];
3380 3380
         var rightAdvice = [];
3381 3381
         var adlen = advices.length;
3382
-
3382
+        console.log("adlen----------------------",adlen)
3383 3383
         var halfLen = adlen % 2 == 0 ? adlen / 2 : (adlen + 1) / 2;
3384 3384
         for (var i = 0; i < halfLen; i++) {
3385 3385
           leftAdvice.push(advices[i]);
@@ -3404,8 +3404,8 @@ export default {
3404 3404
           this.advices.push(item);
3405 3405
         }
3406 3406
         this.loading = false;
3407
-        this.doctor_advices =
3408
-          response.data.data.advices == null ? [] : response.data.data.advices;
3407
+        this.doctor_advices =response.data.data.advices == null ? [] : response.data.data.advices;
3408
+        console.log("zhonguog---------------------------------",this.doctor_advices)
3409 3409
         for (let index = 0; index < this.doctor_advices.length; index++) {
3410 3410
           this.doctor_advices[index]["isShow"] = 2;
3411 3411
         }
@@ -3505,12 +3505,15 @@ export default {
3505 3505
         }
3506 3506
 
3507 3507
         this.totollength = this.doctor_advices.length + this.monitors.length;
3508
-        if (this.totollength > 18) {
3508
+        console.log("totalpath-------------------------------",this.totollength)
3509
+        if (this.totollength > 58) {
3509 3510
           var temp_advice_length = 17 - this.monitors.length;
3511
+          console.log("temp_advice_length-----------",temp_advice_length)
3510 3512
           var doctor_advices_1 = [];
3511 3513
           var doctor_advices_2 = [];
3512 3514
           for (let index = 0; index < this.doctor_advices.length; index++) {
3513 3515
             const element = this.doctor_advices[index];
3516
+
3514 3517
             if (temp_advice_length > index) {
3515 3518
               doctor_advices_1.push(element);
3516 3519
             } else {
@@ -3520,6 +3523,7 @@ export default {
3520 3523
           this.doctor_advices = doctor_advices_1;
3521 3524
           this.doctor_advices_2 = doctor_advices_2;
3522 3525
         }
3526
+        console.log("doctor_advice----------",this.doctor_advices)
3523 3527
 
3524 3528
         this.patientInfo.name = this.nameSplit(this.patientInfo.name);
3525 3529
       } else {