see999 4 years ago
parent
commit
0b8d0e9975
1 changed files with 33 additions and 4 deletions
  1. 33 4
      src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue

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

137
               }}L
137
               }}L
138
             </span>
138
             </span>
139
           </td>
139
           </td>
140
-          <td style="text-align:left;" colspan="2">
140
+          <td style="text-align:left;" colspan="1">
141
             <span style="display:inline-block;margin-left:15px;">
141
             <span style="display:inline-block;margin-left:15px;">
142
               <label-box :isChecked="anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>
142
               <label-box :isChecked="anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>
143
             </span>
143
             </span>
144
           </td>
144
           </td>
145
-          <td style="text-align:left;" colspan="1">
145
+          <td style="text-align:left;" colspan="2">
146
             <span style="display:inline-block;margin-left:15px;">
146
             <span style="display:inline-block;margin-left:15px;">
147
-              肝素首剂:
147
+              <span v-if="prescription.anticoagulant == 2">肝素首剂:</span>
148
+              <span v-if="prescription.anticoagulant == 3">低分子肝素首剂:</span>
149
+              <span v-if="prescription.anticoagulant == 4">阿加曲班肝素首剂:</span>
150
+              <span v-if="prescription.anticoagulant == 5">枸橼酸钠肝素首剂:</span>
151
+              <span v-if="prescription.anticoagulant == 6">低分子肝素钙首剂:</span>
152
+              <span v-if="prescription.anticoagulant == 7">低分子肝素钠首剂:</span>
153
+              <span v-if="prescription.anticoagulant == 8">依诺肝素首剂:</span>
154
+              <span v-if="prescription.anticoagulant == 9">达肝素首剂:</span>
155
+              <span v-if="prescription.anticoagulant == 10">体外抗凝肝素首剂:</span>
156
+              
148
               {{
157
               {{
149
               prescription.anticoagulant_shouji
158
               prescription.anticoagulant_shouji
150
               ? prescription.anticoagulant_shouji
159
               ? prescription.anticoagulant_shouji
850
               <label-box showValue="0级" :isChecked="afterdialysis.cruor.indexOf('透析器-0级') > -1"></label-box>
859
               <label-box showValue="0级" :isChecked="afterdialysis.cruor.indexOf('透析器-0级') > -1"></label-box>
851
               <label-box showValue="1级" :isChecked="afterdialysis.cruor.indexOf('透析器-1级') > -1"></label-box>
860
               <label-box showValue="1级" :isChecked="afterdialysis.cruor.indexOf('透析器-1级') > -1"></label-box>
852
               <label-box showValue="2级" :isChecked="afterdialysis.cruor.indexOf('透析器-2级') > -1"></label-box>
861
               <label-box showValue="2级" :isChecked="afterdialysis.cruor.indexOf('透析器-2级') > -1"></label-box>
853
-              <label-box showValue="3级" :isChecked="afterdialysis.cruor.indexOf('透析器-3级') > -1"></label-box>
862
+              <label-box showValue="3级" :isChecked="afterdialysis.cruor.indexOf('透析器-3级') > -1"></label-box>&nbsp;&nbsp;
863
+              {{ getCruor(afterdialysis.cruor) }}
854
             </span>
864
             </span>
855
           </td>
865
           </td>
856
         </tr>
866
         </tr>
1252
     }
1262
     }
1253
   },
1263
   },
1254
   methods: {
1264
   methods: {
1265
+    getCruor(cruor){
1266
+      if(cruor.indexOf(',') == -1){
1267
+        let str = cruor
1268
+        if(['透析器-0级','透析器-1级','透析器-2级','透析器-3级'].indexOf(str) == -1){
1269
+          return str
1270
+        }
1271
+      }else if(cruor.indexOf(',') > -1){
1272
+        let str = cruor
1273
+        if(['透析器-0级','透析器-1级','透析器-2级','透析器-3级'].indexOf(str) == -1){
1274
+          let newStr = ''
1275
+          str.split(',').map(item => {
1276
+            if(['透析器-0级','透析器-1级','透析器-2级','透析器-3级'].indexOf(item) == -1){
1277
+              newStr += item + ','
1278
+            }
1279
+          })
1280
+          return newStr.substring(0, newStr.length - 1)
1281
+        }
1282
+      }
1283
+    },
1255
     getAdminUser(id) {
1284
     getAdminUser(id) {
1256
       if (id == 0) {
1285
       if (id == 0) {
1257
         return ''
1286
         return ''