Kaynağa Gözat

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

XMLWAN 4 yıl önce
ebeveyn
işleme
2eae5ea296

+ 2 - 2
src/api/patient.js Dosyayı Görüntüle

169
   return request({
169
   return request({
170
     url: '/api/patient/course/create',
170
     url: '/api/patient/course/create',
171
     method: 'post',
171
     method: 'post',
172
-    params: params
172
+    data: params
173
   })
173
   })
174
 }
174
 }
175
 
175
 
186
   return request({
186
   return request({
187
     url: '/api/patient/course/modify',
187
     url: '/api/patient/course/modify',
188
     method: 'post',
188
     method: 'post',
189
-    params: params
189
+    data: params
190
   })
190
   })
191
 }
191
 }
192
 
192
 

+ 2 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Dosyayı Görüntüle

294
             align="center"
294
             align="center"
295
             label="置换量(ml)"
295
             label="置换量(ml)"
296
             width="100"
296
             width="100"
297
-            v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919) || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 32)" >
297
+            v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919) || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29)" >
298
             <template slot-scope="scope">
298
             <template slot-scope="scope">
299
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
299
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
300
             </template>
300
             </template>
305
             align="center"
305
             align="center"
306
             label="置换量(L)"
306
             label="置换量(L)"
307
             width="100"
307
             width="100"
308
-            v-if=" isShow('置换量') &&  ((template_id != 6 || org_id == 9919) && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id !=32)" >
308
+            v-if=" isShow('置换量') &&  ((template_id != 6 || org_id == 9919) && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29)" >
309
             <template slot-scope="scope">
309
             <template slot-scope="scope">
310
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
310
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
311
             </template>
311
             </template>

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue Dosyayı Görüntüle

22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29) " width="92px" > 置换率(ml/min) </th>
23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29) " width="92px" > 置换率(ml/min) </th>
24
           <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29" width="92px" > 置换率(L/h)  </th>
24
           <th v-if=" isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29" width="92px" > 置换率(L/h)  </th>
25
-          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919) || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 32)" width="92px"  > 置换量(ml)  </th>
26
-          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919) && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id!=32)" width="92px" > 置换量(L) </th>
25
+          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919) || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29)" width="92px"  > 置换量(ml)  </th>
26
+          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919) && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29)" width="92px" > 置换量(L) </th>
27
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
27
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
28
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
28
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
29
           <th v-if="isShow('置换液流量') && template_id != 27" width="92px">置换液流量(ml/h)</th>
29
           <th v-if="isShow('置换液流量') && template_id != 27" width="92px">置换液流量(ml/h)</th>

+ 33 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Dosyayı Görüntüle

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 ''

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue Dosyayı Görüntüle

688
                     <td width="20">钙</td>
688
                     <td width="20">钙</td>
689
                     <td width="180">
689
                     <td width="180">
690
                       (
690
                       (
691
-                        <label-box :isChecked="false" showValue="1.25"></label-box>
691
+                        <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('低钙') > -1 ? true : false" showValue="1.25"></label-box>
692
                         <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : false" showValue="1.5"></label-box>
692
                         <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : false" showValue="1.5"></label-box>
693
                         <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钙') > -1 ? true : false" showValue="1.75"></label-box>
693
                         <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钙') > -1 ? true : false" showValue="1.75"></label-box>
694
                       )
694
                       )
698
 
698
 
699
                     <td width="160">
699
                     <td width="160">
700
                       (
700
                       (
701
-                        <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : false" showValue="2.0"></label-box>
701
+                        <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : prescription.dialysate_formulation_name.indexOf('高钙') > -1 ? true : prescription.dialysate_formulation_name.indexOf('低钙') > -1 ? true : false" showValue="2.0"></label-box>
702
                         <label-box :isChecked="false" showValue="3.0mmol/L"></label-box>
702
                         <label-box :isChecked="false" showValue="3.0mmol/L"></label-box>
703
                       )
703
                       )
704
                     </td>
704
                     </td>