Browse Source

新分支

28169 1 year ago
parent
commit
c950ca34e6

+ 1 - 1
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -29,7 +29,7 @@
29 29
         <li v-if="isShow('置换速度') && this.$store.getters.xt_user.template_info.org_id == 10375">
30 30
           <label>置换速度 : </label>
31 31
           <span class="content">{{displace_speed }}</span>
32
-            <span class="unit">L/h</span>
32
+            <span class="unit">ml/min</span>
33 33
         </li>
34 34
 
35 35
 

+ 2 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue View File

@@ -371,14 +371,11 @@
371 371
                 <div style="width: 75%">
372 372
                   血管通路: &nbsp;
373 373
                   <label-box
374
-                    :isChecked="
375
-                      predialysis.blood_access_part_opera_name == '内瘘'
376
-                        ? true
377
-                        : false
378
-                    "
374
+                    :isChecked="predialysis.blood_access_part_opera_name == '内瘘'? true: false"
379 375
                     showValue="内瘘"
380 376
                   ></label-box
381 377
                   >&nbsp; &nbsp;
378
+                  
382 379
                   <label-box
383 380
                     :isChecked="
384 381
                       predialysis.blood_access_part_opera_name.indexOf(

+ 22 - 2
src/xt_pages/role/admin.vue View File

@@ -1064,10 +1064,14 @@ export default {
1064 1064
     },
1065 1065
     toSavePDFInformation(){
1066 1066
       toSavePDFInformation().then(response=>{
1067
-         if(response.data.data == 1){
1067
+         if(response.data.state == 1){
1068 1068
           var information =  response.data.data.information
1069
-
1069
+           
1070 1070
            var orderId = response.data.data.orderId
1071
+
1072
+           var imgFile = this.base64ImgtoFile(orderId)
1073
+
1074
+           console.log("imgFilewoowow",imgFile)
1071 1075
          }
1072 1076
       })
1073 1077
     },
@@ -1077,7 +1081,23 @@ export default {
1077 1081
           var information =  response.data.data.information
1078 1082
         }
1079 1083
       })
1084
+    },
1085
+
1086
+    base64ImgtoFile(dataurl, filename = 'file') {
1087
+      let arr = dataurl.split(',')
1088
+      let mime = arr[0].match(/:(.*?);/)[1]
1089
+      let suffix = mime.split('/')[1]
1090
+      let bstr = atob(arr[1])
1091
+      let n = bstr.length
1092
+      let u8arr = new Uint8Array(n)
1093
+      while (n--) {
1094
+        u8arr[n] = bstr.charCodeAt(n)
1095
+      }
1096
+      return new File([u8arr], `${filename}.${suffix}`, {
1097
+        type: mime
1098
+      })
1080 1099
     }
1100
+
1081 1101
   },
1082 1102
   watch: {
1083 1103
     should_update_admins(should_change) {

+ 3 - 4
src/xt_pages/stock/detail/stockOutDetail.vue View File

@@ -831,8 +831,7 @@ export default {
831 831
       },
832 832
 
833 833
     exportList(){
834
-      console.log("shij232333",this.tableOut)
835
-     
834
+    
836 835
        for(let i=0;i<this.tableOut.length;i++){
837 836
         this.tableOut[i].index = i+1
838 837
         this.tableOut[i].good_name = this.tableOut[i].good_name
@@ -876,13 +875,13 @@ export default {
876 875
         }
877 876
         if(this.orgId == 10210 || this.orgId == 9675  || this.orgId == 9956 || this.orgId == 10217 || this.orgId == 10188 || this.orgId == 10191 || this.orgId == 0 || this.orgId ==10489 || this.orgId == 10375 || this.orgId == 10485){
878 877
           this.tableOut[i].out_count = this.getWarehouseOut(this.tableOut[i].good_id)
879
-          console.log("out_count232233232332",this.tableOut[i].out_count)
878
+         
880 879
         }
881 880
         if(this.orgId!=10265 && this.orgId !=10215  && this.orgId != 9671 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191 && this.orgId!=9919 && this.orgId!=0&& this.orgId!=10402 && this.orgId != 10489 && this.orgId!=10375 && this.orgId!=10485){
882 881
           this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
883 882
         }
884 883
         this.tableOut[i].manufacturer_name = this.getManufacturerNameOne(this.tableOut[i].manufacturer)
885
-        console.log("继续桑",this.tableOut[i].dealer)
884
+       
886 885
         this.tableOut[i].dealer_name = this.getDealerNameOne(this.tableOut[i].dealer)
887 886
        }
888 887
        console.log("retusoossoso",this.tableOut)