Procházet zdrojové kódy

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

XMLWAN před 4 roky
rodič
revize
2eae5ea296

+ 2 - 2
src/api/patient.js Zobrazit soubor

@@ -169,7 +169,7 @@ export function createCourseOfDiseaseRecord(patient_id, content, record_time, ti
169 169
   return request({
170 170
     url: '/api/patient/course/create',
171 171
     method: 'post',
172
-    params: params
172
+    data: params
173 173
   })
174 174
 }
175 175
 
@@ -186,7 +186,7 @@ export function modifyCourseOfDiseaseRecord(patient_id, content, record_time, id
186 186
   return request({
187 187
     url: '/api/patient/course/modify',
188 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 Zobrazit soubor

@@ -294,7 +294,7 @@
294 294
             align="center"
295 295
             label="置换量(ml)"
296 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 298
             <template slot-scope="scope">
299 299
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
300 300
             </template>
@@ -305,7 +305,7 @@
305 305
             align="center"
306 306
             label="置换量(L)"
307 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 309
             <template slot-scope="scope">
310 310
               {{ scope.row.displacement_quantity ? scope.row.displacement_quantity : "" }}
311 311
             </template>

+ 2 - 2
src/xt_pages/dialysis/details/dialysisMonitoring.vue Zobrazit soubor

@@ -22,8 +22,8 @@
22 22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23 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 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 27
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
28 28
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
29 29
           <th v-if="isShow('置换液流量') && template_id != 27" width="92px">置换液流量(ml/h)</th>

+ 33 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue Zobrazit soubor

@@ -137,14 +137,23 @@
137 137
               }}L
138 138
             </span>
139 139
           </td>
140
-          <td style="text-align:left;" colspan="2">
140
+          <td style="text-align:left;" colspan="1">
141 141
             <span style="display:inline-block;margin-left:15px;">
142 142
               <label-box :isChecked="anticoagulant == 1 ? true : false" showValue="无肝素"></label-box>
143 143
             </span>
144 144
           </td>
145
-          <td style="text-align:left;" colspan="1">
145
+          <td style="text-align:left;" colspan="2">
146 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 158
               prescription.anticoagulant_shouji
150 159
               ? prescription.anticoagulant_shouji
@@ -850,7 +859,8 @@
850 859
               <label-box showValue="0级" :isChecked="afterdialysis.cruor.indexOf('透析器-0级') > -1"></label-box>
851 860
               <label-box showValue="1级" :isChecked="afterdialysis.cruor.indexOf('透析器-1级') > -1"></label-box>
852 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 864
             </span>
855 865
           </td>
856 866
         </tr>
@@ -1252,6 +1262,25 @@ export default {
1252 1262
     }
1253 1263
   },
1254 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 1284
     getAdminUser(id) {
1256 1285
       if (id == 0) {
1257 1286
         return ''

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue Zobrazit soubor

@@ -688,7 +688,7 @@
688 688
                     <td width="20">钙</td>
689 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 692
                         <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('常规') > -1 ? true : false" showValue="1.5"></label-box>
693 693
                         <label-box :isChecked="prescription.dialysate_formulation_name.indexOf('高钙') > -1 ? true : false" showValue="1.75"></label-box>
694 694
                       )
@@ -698,7 +698,7 @@
698 698
 
699 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 702
                         <label-box :isChecked="false" showValue="3.0mmol/L"></label-box>
703 703
                       )
704 704
                     </td>