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
 
28
 
29
           <el-col :span="8" v-if="isShow('实际超滤量')">
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
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
             </el-form-item>
33
             </el-form-item>
34
             <el-form-item label="实际超滤量(L): " v-else>
34
             <el-form-item label="实际超滤量(L): " v-else>

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

691
       <span slot="footer" class="dialog-footer">
691
       <span slot="footer" class="dialog-footer">
692
         <el-button @click="handleCancle">取 消</el-button>
692
         <el-button @click="handleCancle">取 消</el-button>
693
         <!-- <el-button type="primary" @click="handleCommit" v-if="isPermission()">保 存</el-button> -->
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
           >保 存</el-button
695
           >保 存</el-button
696
         >
696
         >
697
-        <el-button type="primary" @click="handleSolution" v-if="isPermission()"
697
+        <el-button type="primary" @click="handleSolution"
698
           >保存为长期处方</el-button
698
           >保存为长期处方</el-button
699
         >
699
         >
700
       </span>
700
       </span>
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
     setLastRecord: function(
1181
     setLastRecord: function(
1193
       schedual,
1182
       schedual,
1194
       lastAssessmentAfterDislysis,
1183
       lastAssessmentAfterDislysis,

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

140
             align="center"
140
             align="center"
141
             label="超滤量(ml)"
141
             label="超滤量(ml)"
142
             width="110"
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
             <template slot-scope="scope">
145
             <template slot-scope="scope">
146
               {{
146
               {{
155
             align="center"
155
             align="center"
156
             label="超滤量(L)"
156
             label="超滤量(L)"
157
             width="110"
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
             <template slot-scope="scope">
160
             <template slot-scope="scope">
161
               {{
161
               {{
200
             align="center"
200
             align="center"
201
             label="置换率(ml/min)"
201
             label="置换率(ml/min)"
202
             width="120"
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
             <template slot-scope="scope">
205
             <template slot-scope="scope">
206
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
206
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
211
             align="center"
211
             align="center"
212
             label="置换率(L/h)"
212
             label="置换率(L/h)"
213
             width="120"
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
             <template slot-scope="scope">
216
             <template slot-scope="scope">
217
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
217
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
222
             align="center"
222
             align="center"
223
             label="置换量(ml)"
223
             label="置换量(ml)"
224
             width="100"
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
             <template slot-scope="scope">
227
             <template slot-scope="scope">
228
               {{
228
               {{
238
             align="center"
238
             align="center"
239
             label="SpO₂(%)"
239
             label="SpO₂(%)"
240
             width="100"
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
             <template slot-scope="scope">
243
             <template slot-scope="scope">
244
               {{
244
               {{
254
             align="center"
254
             align="center"
255
             label="置换量(L)"
255
             label="置换量(L)"
256
             width="100"
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
             <template slot-scope="scope">
259
             <template slot-scope="scope">
260
               {{
260
               {{
417
               <el-input v-model="form.ultrafiltration_rate"></el-input>
417
               <el-input v-model="form.ultrafiltration_rate"></el-input>
418
             </el-form-item>
418
             </el-form-item>
419
           </el-col>
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
             <el-form-item label="超滤量(ml):">
421
             <el-form-item label="超滤量(ml):">
422
               <el-input v-model="form.ultrafiltration_volume"></el-input>
422
               <el-input v-model="form.ultrafiltration_volume"></el-input>
423
             </el-form-item>
423
             </el-form-item>
424
           </el-col>
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
             <el-form-item label="超滤量(L):">
426
             <el-form-item label="超滤量(L):">
427
               <el-input v-model="form.ultrafiltration_volume"></el-input>
427
               <el-input v-model="form.ultrafiltration_volume"></el-input>
428
             </el-form-item>
428
             </el-form-item>
778
         this.form.replacement_rate = resp.monitor.replacement_rate
778
         this.form.replacement_rate = resp.monitor.replacement_rate
779
           ? resp.monitor.replacement_rate
779
           ? resp.monitor.replacement_rate
780
           : "";
780
           : "";
781
+        this.form.heparin = resp.monitor.heparin
782
+          ? resp.monitor.heparin
783
+          : "";
781
         this.form.displacement_quantity = ""; // this.last_monitor_record.displacement_quantity;
784
         this.form.displacement_quantity = ""; // this.last_monitor_record.displacement_quantity;
782
         this.form.conductivity = "";
785
         this.form.conductivity = "";
783
         this.form.displacement_flow_quantity = "";
786
         this.form.displacement_flow_quantity = "";
836
         this.form.displacement_quantity = "";
839
         this.form.displacement_quantity = "";
837
         this.form.conductivity = "";
840
         this.form.conductivity = "";
838
         this.form.displacement_flow_quantity = "";
841
         this.form.displacement_flow_quantity = "";
842
+        this.form.heparin = "";
843
+
839
         this.form.ktv = "";
844
         this.form.ktv = "";
840
         this.form.symptom = "";
845
         this.form.symptom = "";
841
         this.form.dispose = "";
846
         this.form.dispose = "";
898
           ? monitor.displacement_flow_quantity
903
           ? monitor.displacement_flow_quantity
899
           : "";
904
           : "";
900
 
905
 
906
+        this.form.heparin = monitor.heparin
907
+          ? monitor.heparin
908
+          : "";
909
+
910
+
911
+
901
         this.form.ktv = monitor.ktv;
912
         this.form.ktv = monitor.ktv;
902
         this.form.symptom = monitor.symptom;
913
         this.form.symptom = monitor.symptom;
903
         this.form.dispose = monitor.dispose;
914
         this.form.dispose = monitor.dispose;
983
           ? 0
994
           ? 0
984
           : parseFloat(this.form.displacement_flow_quantity);
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
       this.form.ktv =
1003
       this.form.ktv =
987
         parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
1004
         parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
988
       this.form.monitoring_date = parseInt(this.form.monitoring_date);
1005
       this.form.monitoring_date = parseInt(this.form.monitoring_date);
1085
               ? 0
1102
               ? 0
1086
               : parseFloat(this.form.displacement_flow_quantity);
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
           this.form.ktv =
1110
           this.form.ktv =
1089
             parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv);
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
         <th width="76px">静脉压/动脉压(mmHg)</th>
12
         <th width="76px">静脉压/动脉压(mmHg)</th>
13
         <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
13
         <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
14
         <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
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
         <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
17
         <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
18
         <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
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
         <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
25
         <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
26
         <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
26
         <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
27
+        <th v-if="isShow('肝素用量余量')"  width="92px">肝素用量余量(ml)</th>
28
+
27
         <th v-if="isShow('病情变化')" width="92px">病情变化</th>
29
         <th v-if="isShow('病情变化')" width="92px">病情变化</th>
28
         <th v-if="isShow('处理')"  width="92px">处理</th>
30
         <th v-if="isShow('处理')"  width="92px">处理</th>
29
         <th v-if="isShow('结果')" width="92px">结果</th>
31
         <th v-if="isShow('结果')" width="92px">结果</th>
45
         <td v-if="isShow('SpO₂')">{{monitor.blood_oxygen_saturation?monitor.blood_oxygen_saturation:''}}</td>
47
         <td v-if="isShow('SpO₂')">{{monitor.blood_oxygen_saturation?monitor.blood_oxygen_saturation:''}}</td>
46
         <td v-if="isShow('电导度')">{{ monitor.conductivity?monitor.conductivity:'' }}</td>
48
         <td v-if="isShow('电导度')">{{ monitor.conductivity?monitor.conductivity:'' }}</td>
47
         <th v-if="isShow('置换液流量')" >{{monitor.displacement_flow_quantity?monitor.displacement_flow_quantity:''}}</th>
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
         <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
53
         <td v-if="isShow('病情变化')">{{ monitor.symptom }}</td>
49
         <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
54
         <td v-if="isShow('处理')">{{ monitor.dispose }}</td>
50
         <td v-if="isShow('结果')">{{ monitor.result }}</td>
55
         <td v-if="isShow('结果')">{{ monitor.result }}</td>

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

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

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

489
                   <td width="200">病情变化及处理</td>
489
                   <td width="200">病情变化及处理</td>
490
                   <td width="100">护士签名</td>
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
                 </tr>
492
                 </tr>
505
 
493
 
506
                 <tr v-for="(monitor, monindex) in monitors" :key="monindex">
494
                 <tr v-for="(monitor, monindex) in monitors" :key="monindex">
551
                   <td></td>
539
                   <td></td>
552
                   <td></td>
540
                   <td></td>
553
                   <td></td>
541
                   <td></td>
542
+                  <td></td>
543
+
554
                   <td v-if=" prescription.mode_id == 2 || prescription.mode_id == 5  "  width="50" ></td>
544
                   <td v-if=" prescription.mode_id == 2 || prescription.mode_id == 5  "  width="50" ></td>
555
                   <td style="line-height:16px;padding:0px;">
545
                   <td style="line-height:16px;padding:0px;">
556
                     <div style="height:40px;line-height:20px; overflow:hidden;" >
546
                     <div style="height:40px;line-height:20px; overflow:hidden;" >
1015
   import print from 'print-js'
1005
   import print from 'print-js'
1016
 
1006
 
1017
   export default {
1007
   export default {
1018
-    name: 'dialysisPrintOrderSix',
1008
+    name: 'DialysisPrintOrderEleven',
1019
     props: ['childResponse'],
1009
     props: ['childResponse'],
1020
     components: {
1010
     components: {
1021
       // DialysisPrintOrderOne,
1011
       // DialysisPrintOrderOne,

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

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