Browse Source

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

csx 5 years ago
parent
commit
5de1d4d350

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

@@ -28,7 +28,7 @@
28 28
 
29 29
           <el-col :span="8" v-if="isShow('实际超滤量')">
30 30
 
31
-            <el-form-item label="实际超滤量(ml): " v-if="this.template_id == 6 || this.template_id == 10">
31
+            <el-form-item label="实际超滤量(ml): " v-if="this.template_id == 6 || this.template_id == 10 || this.template_id == 11">
32 32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33 33
             </el-form-item>
34 34
             <el-form-item label="实际超滤量(L): " v-else>

+ 2 - 13
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -691,10 +691,10 @@
691 691
       <span slot="footer" class="dialog-footer">
692 692
         <el-button @click="handleCancle">取 消</el-button>
693 693
         <!-- <el-button type="primary" @click="handleCommit" v-if="isPermission()">保 存</el-button> -->
694
-        <el-button type="primary" @click="handleCommit" v-if="hasPermission"
694
+        <el-button type="primary" @click="handleCommit"
695 695
           >保 存</el-button
696 696
         >
697
-        <el-button type="primary" @click="handleSolution" v-if="isPermission()"
697
+        <el-button type="primary" @click="handleSolution"
698 698
           >保存为长期处方</el-button
699 699
         >
700 700
       </span>
@@ -1178,17 +1178,6 @@ export default {
1178 1178
         }
1179 1179
       }
1180 1180
     },
1181
-    isPermission() {
1182
-      if (
1183
-        this.$store.getters.xt_user.user.user_type == 3 &&
1184
-        (this.$store.getters.xt_user.template_info.template_id == 2 ||
1185
-          this.$store.getters.xt_user.template_info.template_id == 6)
1186
-      ) {
1187
-        return false;
1188
-      } else {
1189
-        return true;
1190
-      }
1191
-    },
1192 1181
     setLastRecord: function(
1193 1182
       schedual,
1194 1183
       lastAssessmentAfterDislysis,

+ 31 - 9
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -140,7 +140,7 @@
140 140
             align="center"
141 141
             label="超滤量(ml)"
142 142
             width="110"
143
-            v-if="isShow('超滤量') && (template_id == 6 || template_id == 10)"
143
+            v-if="isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11)"
144 144
           >
145 145
             <template slot-scope="scope">
146 146
               {{
@@ -155,7 +155,7 @@
155 155
             align="center"
156 156
             label="超滤量(L)"
157 157
             width="110"
158
-            v-if="isShow('超滤量') && template_id != 6 &&  template_id != 10"
158
+            v-if="isShow('超滤量') && template_id != 6 &&  template_id != 10 && template_id != 11"
159 159
           >
160 160
             <template slot-scope="scope">
161 161
               {{
@@ -200,7 +200,7 @@
200 200
             align="center"
201 201
             label="置换率(ml/min)"
202 202
             width="120"
203
-            v-if="isShow('置换率') && (template_id == 6  || template_id == 10)"
203
+            v-if="isShow('置换率') && (template_id == 6  || template_id == 10 || template_id == 11)"
204 204
           >
205 205
             <template slot-scope="scope">
206 206
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
@@ -211,7 +211,7 @@
211 211
             align="center"
212 212
             label="置换率(L/h)"
213 213
             width="120"
214
-            v-if="isShow('置换率') && template_id != 6 && template_id != 10"
214
+            v-if="isShow('置换率') && template_id != 6 && template_id != 10 && template_id != 11"
215 215
           >
216 216
             <template slot-scope="scope">
217 217
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
@@ -222,7 +222,7 @@
222 222
             align="center"
223 223
             label="置换量(ml)"
224 224
             width="100"
225
-            v-if="isShow('置换量') && (template_id == 6 || template_id == 10)"
225
+            v-if="isShow('置换量') && (template_id == 6 || template_id == 10 || template_id == 11)"
226 226
           >
227 227
             <template slot-scope="scope">
228 228
               {{
@@ -238,7 +238,7 @@
238 238
             align="center"
239 239
             label="SpO₂(%)"
240 240
             width="100"
241
-            v-if="isShow('SpO₂') && template_id != 6 && template_id != 10"
241
+            v-if="isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11"
242 242
           >
243 243
             <template slot-scope="scope">
244 244
               {{
@@ -254,7 +254,7 @@
254 254
             align="center"
255 255
             label="置换量(L)"
256 256
             width="100"
257
-            v-if="isShow('置换量') && template_id != 6 && template_id != 10"
257
+            v-if="isShow('置换量') && template_id != 6 && template_id != 10 || template_id != 11"
258 258
           >
259 259
             <template slot-scope="scope">
260 260
               {{
@@ -417,12 +417,12 @@
417 417
               <el-input v-model="form.ultrafiltration_rate"></el-input>
418 418
             </el-form-item>
419 419
           </el-col>
420
-          <el-col :span="8" v-if="isShow('超滤量') &&(template_id != 6 || template_id != 10)">
420
+          <el-col :span="8" v-if="isShow('超滤量') &&(template_id != 6 || template_id != 10 || template_id != 11)">
421 421
             <el-form-item label="超滤量(ml):">
422 422
               <el-input v-model="form.ultrafiltration_volume"></el-input>
423 423
             </el-form-item>
424 424
           </el-col>
425
-          <el-col :span="8" v-if="isShow('超滤量') && template_id != 6 && template_id != 10">
425
+          <el-col :span="8" v-if="isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11">
426 426
             <el-form-item label="超滤量(L):">
427 427
               <el-input v-model="form.ultrafiltration_volume"></el-input>
428 428
             </el-form-item>
@@ -778,6 +778,9 @@ export default {
778 778
         this.form.replacement_rate = resp.monitor.replacement_rate
779 779
           ? resp.monitor.replacement_rate
780 780
           : "";
781
+        this.form.heparin = resp.monitor.heparin
782
+          ? resp.monitor.heparin
783
+          : "";
781 784
         this.form.displacement_quantity = ""; // this.last_monitor_record.displacement_quantity;
782 785
         this.form.conductivity = "";
783 786
         this.form.displacement_flow_quantity = "";
@@ -836,6 +839,8 @@ export default {
836 839
         this.form.displacement_quantity = "";
837 840
         this.form.conductivity = "";
838 841
         this.form.displacement_flow_quantity = "";
842
+        this.form.heparin = "";
843
+
839 844
         this.form.ktv = "";
840 845
         this.form.symptom = "";
841 846
         this.form.dispose = "";
@@ -898,6 +903,12 @@ export default {
898 903
           ? monitor.displacement_flow_quantity
899 904
           : "";
900 905
 
906
+        this.form.heparin = monitor.heparin
907
+          ? monitor.heparin
908
+          : "";
909
+
910
+
911
+
901 912
         this.form.ktv = monitor.ktv;
902 913
         this.form.symptom = monitor.symptom;
903 914
         this.form.dispose = monitor.dispose;
@@ -983,6 +994,12 @@ export default {
983 994
           ? 0
984 995
           : parseFloat(this.form.displacement_flow_quantity);
985 996
 
997
+
998
+      this.form.heparin =
999
+        parseFloat(this.form.heparin) == NaN
1000
+          ? 0
1001
+          : parseFloat(this.form.heparin);
1002
+
986 1003
       this.form.ktv =
987 1004
         parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
988 1005
       this.form.monitoring_date = parseInt(this.form.monitoring_date);
@@ -1085,6 +1102,11 @@ export default {
1085 1102
               ? 0
1086 1103
               : parseFloat(this.form.displacement_flow_quantity);
1087 1104
 
1105
+          this.form.heparin =
1106
+            parseFloat(this.form.heparin) == NaN
1107
+              ? 0
1108
+              : parseFloat(this.form.heparin);
1109
+
1088 1110
           this.form.ktv =
1089 1111
             parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
1090 1112
 

+ 12 - 7
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -12,18 +12,20 @@
12 12
         <th width="76px">静脉压/动脉压(mmHg)</th>
13 13
         <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
14 14
         <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
15
-        <th v-if="isShow('超滤量') && (template_id == 6 || template_id == 10)" width="76px">超滤量(ml)</th>
16
-        <th v-if="isShow('超滤量') && template_id != 6 && template_id != 10" width="76px">超滤量(L)</th>
15
+        <th v-if="isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11)" width="76px">超滤量(ml)</th>
16
+        <th v-if="isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11" width="76px">超滤量(L)</th>
17 17
         <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
18 18
         <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
19
-        <th v-if="isShow('置换率')&& (template_id == 6 || template_id == 10)" width="92px">置换率(ml/min)</th>
20
-        <th v-if="isShow('置换率')&& template_id != 6 && template_id != 10" width="92px">置换率(L/h)</th>
19
+        <th v-if="isShow('置换率')&& (template_id == 6 || template_id == 10 || template_id == 11)" width="92px">置换率(ml/min)</th>
20
+        <th v-if="isShow('置换率')&& template_id != 6 && template_id != 10 && template_id != 11" width="92px">置换率(L/h)</th>
21 21
 
22
-        <th v-if="isShow('置换量')&& (template_id == 6 || template_id == 10)" width="92px">置换量(ml)</th>
23
-        <th v-if="isShow('置换量')&& template_id != 6 && template_id != 10" width="92px">置换量(L)</th>
24
-         <th v-if="isShow('SpO₂')&& template_id != 6 && template_id != 10" width="92px">SpO₂(%)</th>
22
+        <th v-if="isShow('置换量')&& (template_id == 6 || template_id == 10 ||  template_id == 11)" width="92px">置换量(ml)</th>
23
+        <th v-if="isShow('置换量')&& template_id != 6 && template_id != 10 && template_id != 10" width="92px">置换量(L)</th>
24
+         <th v-if="isShow('SpO₂')&& template_id != 6 && template_id != 10 && template_id != 11" width="92px">SpO₂(%)</th>
25 25
         <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
26 26
         <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
27
+        <th v-if="isShow('肝素用量余量')"  width="92px">肝素用量余量(ml)</th>
28
+
27 29
         <th v-if="isShow('病情变化')" width="92px">病情变化</th>
28 30
         <th v-if="isShow('处理')"  width="92px">处理</th>
29 31
         <th v-if="isShow('结果')" width="92px">结果</th>
@@ -45,6 +47,9 @@
45 47
         <td v-if="isShow('SpO₂')">{{monitor.blood_oxygen_saturation?monitor.blood_oxygen_saturation:''}}</td>
46 48
         <td v-if="isShow('电导度')">{{ monitor.conductivity?monitor.conductivity:'' }}</td>
47 49
         <th v-if="isShow('置换液流量')" >{{monitor.displacement_flow_quantity?monitor.displacement_flow_quantity:''}}</th>
50
+
51
+        <th v-if="isShow('肝素用量余量')" >{{monitor.heparin?monitor.heparin:''}}</th>
52
+
48 53
         <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
49 54
         <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
50 55
         <td v-if="isShow('结果')">{{ monitor.result }}</td>

+ 9 - 2
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -96,7 +96,7 @@
96 96
       <template
97 97
         v-if="
98 98
           org_template_info.template_id == 6 ||
99
-            org_template_info.template_id == 10
99
+            org_template_info.template_id == 10 ||  org_template_info.template_id == 11
100 100
         "
101 101
       >
102 102
         <el-button
@@ -211,6 +211,11 @@
211 211
         v-bind:childResponse="childResponse"
212 212
         v-if="org_template_info.template_id == 9"
213 213
       ></DialysisPrintOrderNine>
214
+
215
+    <DialysisPrintOrderEleven
216
+      v-bind:childResponse="childResponse"
217
+      v-if="org_template_info.template_id == 11"
218
+    ></DialysisPrintOrderEleven>
214 219
     </div>
215 220
   </div>
216 221
 </template>
@@ -232,10 +237,12 @@ import DialysisPrintOrderEight from "./template/DialysisPrintOrderEight";
232 237
 import DialysisPrintOrderNine from "./template/DialysisPrintOrderNine";
233 238
 import print from "print-js";
234 239
 import DialysisPrintOrderTen from "./template/DialysisPrintOrderTen";
240
+import DialysisPrintOrderEleven from './template/DialysisPrintOrderEleven'
235 241
 
236 242
 export default {
237 243
   name: "dialysisPrintOrder",
238 244
   components: {
245
+    DialysisPrintOrderEleven,
239 246
     DialysisPrintOrderTen,
240 247
     DialysisPrintOrderOne,
241 248
     DialysisPrintOrderTwo,
@@ -423,7 +430,7 @@ export default {
423 430
         });
424 431
       } else if (
425 432
         this.org_template_info.template_id == 6 ||
426
-        this.org_template_info.template_id == 10
433
+        this.org_template_info.template_id == 10 ||  this.org_template_info.template_id == 11
427 434
       ) {
428 435
         printJS({
429 436
           printable: "dialysis-print-box-1",

+ 3 - 13
src/xt_pages/dialysis/template/DialysisPrintOrderEleven.vue View File

@@ -489,18 +489,6 @@
489 489
                   <td width="200">病情变化及处理</td>
490 490
                   <td width="100">护士签名</td>
491 491
 
492
-
493
-                  <!-- <td width="100">时间</td>
494
-              <td width="30">T<br>C°</td>
495
-              <td width="30">P<br/>次/分</td>
496
-              <td width="30">R<br/>次/分</td>
497
-              <td width="100">BP<br/>mmHg</td>
498
-              <td width="60">静脉压/动脉压<br/>mmHg</td>
499
-              <td width="80">血流量<br/>ml/min</td>
500
-              <td width="90">超滤量累计L</td>
501
-              <td width="80">钠浓度<br/>mmol/L</td>
502
-              <td width="240">病情特殊情况处理<br/>及专科护理措施记录</td>
503
-              <td  width="100">护士签名</td> -->
504 492
                 </tr>
505 493
 
506 494
                 <tr v-for="(monitor, monindex) in monitors" :key="monindex">
@@ -551,6 +539,8 @@
551 539
                   <td></td>
552 540
                   <td></td>
553 541
                   <td></td>
542
+                  <td></td>
543
+
554 544
                   <td v-if=" prescription.mode_id == 2 || prescription.mode_id == 5  "  width="50" ></td>
555 545
                   <td style="line-height:16px;padding:0px;">
556 546
                     <div style="height:40px;line-height:20px; overflow:hidden;" >
@@ -1015,7 +1005,7 @@
1015 1005
   import print from 'print-js'
1016 1006
 
1017 1007
   export default {
1018
-    name: 'dialysisPrintOrderSix',
1008
+    name: 'DialysisPrintOrderEleven',
1019 1009
     props: ['childResponse'],
1020 1010
     components: {
1021 1011
       // DialysisPrintOrderOne,

+ 2 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue View File

@@ -1025,6 +1025,8 @@
1025 1025
                           </span>
1026 1026
                     </div>
1027 1027
                   </td>
1028
+
1029
+
1028 1030
                   <td>
1029 1031
                   <span
1030 1032
                     v-if="setAdminUserES(monitor.monitoring_nurse) == ''"