Browse Source

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

csx 4 years ago
parent
commit
db1be9b45e

+ 35 - 0
src/api/common/common.js View File

1
+import request from '@/utils/request'
2
+import url from 'postcss-url'
3
+
4
+export function getInspectionMajor(params) {
5
+  return request({
6
+    url: '/com/api/getinspectionmajor',
7
+    methods: 'get',
8
+    params: params
9
+  })
10
+}
11
+
12
+export function getInspectionMinor(id, params) {
13
+  return request({
14
+    url: '/com/api/getinspectionminor?id=' + id,
15
+    methods: 'get',
16
+    params: params
17
+  })
18
+}
19
+
20
+export function getInspectionRange(id, params) {
21
+  return request({
22
+    url: '/com/api/getinspectionrange?id=' + id,
23
+    methods: 'get',
24
+    params: params
25
+  })
26
+}
27
+
28
+export function saveInspection(data) {
29
+  console.log('data', data)
30
+  return request({
31
+    url: '/com/api/saveinspction',
32
+    methods: 'post',
33
+    data: data
34
+  })
35
+}

+ 21 - 21
src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue View File

26
               </div>
26
               </div>
27
               <table class="print-table" style="margin-top: 10px;" border="1">
27
               <table class="print-table" style="margin-top: 10px;" border="1">
28
                 <tr>
28
                 <tr>
29
-                  <td style="text-align:center;">
29
+                  <td style="text-align:center;" width="140">
30
                     <span style="display:inline-block;margin-left:10px;">
30
                     <span style="display:inline-block;margin-left:10px;">
31
                       {{ getTime(record.schedule_date, "{y}-{m}-{d}") }}
31
                       {{ getTime(record.schedule_date, "{y}-{m}-{d}") }}
32
                     </span>
32
                     </span>
33
                   </td>
33
                   </td>
34
-                  <td style="text-align:center">
34
+                  <td style="text-align:center" width="140">
35
                     姓名:<span style="display:inline-block;margin-left:10px;">
35
                     姓名:<span style="display:inline-block;margin-left:10px;">
36
                        {{ record.patient.name }}
36
                        {{ record.patient.name }}
37
                     </span>
37
                     </span>
43
                     {{ record.patient.gender == 1 ? '男' : '女' }}
43
                     {{ record.patient.gender == 1 ? '男' : '女' }}
44
                     </span>
44
                     </span>
45
                   </td>
45
                   </td>
46
-                  <td style="text-align:center;">
46
+                  <td style="text-align:center;width:100px">
47
                     年龄:<span
47
                     年龄:<span
48
                       style="display:inline-block;margin-left:10px;"
48
                       style="display:inline-block;margin-left:10px;"
49
                     >
49
                     >
50
                     {{ getAge(record.patient) }}
50
                     {{ getAge(record.patient) }}
51
                     </span>
51
                     </span>
52
                   </td>
52
                   </td>
53
-                  <td style="text-align:center;">
53
+                  <td style="text-align:center;width:160px">
54
                     <check-box text="门诊" :checked="record.receive_assessment.condition == 1"></check-box>
54
                     <check-box text="门诊" :checked="record.receive_assessment.condition == 1"></check-box>
55
                    &nbsp;
55
                    &nbsp;
56
                      <check-box text="住院" :checked="record.receive_assessment.condition == 2"></check-box>
56
                      <check-box text="住院" :checked="record.receive_assessment.condition == 2"></check-box>
57
                   </td>
57
                   </td>
58
-                  <td style="text-align:center;width:160px"">
58
+                  <td style="text-align:center;width:160px">
59
                     住院号:<span style="display:inline-block;margin-left:10px;">
59
                     住院号:<span style="display:inline-block;margin-left:10px;">
60
                        {{record.receive_assessment.admission_number?record.receive_assessment.admission_number:"/"}}
60
                        {{record.receive_assessment.admission_number?record.receive_assessment.admission_number:"/"}}
61
                     </span>
61
                     </span>
132
                       }}kg</span
132
                       }}kg</span
133
                     >
133
                     >
134
                   </td>
134
                   </td>
135
-                  <td style="text-align:left;" colspan="2">
135
+                  <td style="text-align:left;" width="160">
136
                     <span style="display:inline-block;margin-left:15px;"
136
                     <span style="display:inline-block;margin-left:15px;"
137
                       >电导率:{{record.prescription.conductivity?record.prescription.conductivity:"0"}}(mS/cm)</span
137
                       >电导率:{{record.prescription.conductivity?record.prescription.conductivity:"0"}}(mS/cm)</span
138
                     >
138
                     >
223
                       {{record.assessment_after_dislysis.actual_ultrafiltration?record.assessment_after_dislysis.actual_ultrafiltration:"0"}}
223
                       {{record.assessment_after_dislysis.actual_ultrafiltration?record.assessment_after_dislysis.actual_ultrafiltration:"0"}}
224
                       </span>&nbsp;L
224
                       </span>&nbsp;L
225
                   </td>
225
                   </td>
226
-                   <td style="text-align:left;" colspan="3">
226
+                   <td style="text-align:left;" colspan="2">
227
                     <span style="display:inline-block;margin-left:15px;"
227
                     <span style="display:inline-block;margin-left:15px;"
228
                       >透析时间:
228
                       >透析时间:
229
                      {{
229
                      {{
234
                          record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_minute
234
                          record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_minute
235
                          ? record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_minute
235
                          ? record.assessment_after_dislysis.actual_ultrafiltration.actual_treatment_minute
236
                          : "0"
236
                          : "0"
237
-                          }}分钟</span
238
-                      </span>&nbsp;L
237
+                          }}分钟</span>
238
+                      &nbsp;L
239
                   </td>
239
                   </td>
240
                    <td style="text-align:left;" >
240
                    <td style="text-align:left;" >
241
                     <span style="display:inline-block;margin-left:15px;"
241
                     <span style="display:inline-block;margin-left:15px;"
247
                         }}
247
                         }}
248
                       </span>&nbsp;L
248
                       </span>&nbsp;L
249
                   </td>
249
                   </td>
250
-                   <td style="text-align:left;" colspan="1">
250
+                   <td style="text-align:left;" colspan="2">
251
                     <span style="display:inline-block;margin-left:15px;"
251
                     <span style="display:inline-block;margin-left:15px;"
252
                       >置换方式:
252
                       >置换方式:
253
                        <label-box
253
                        <label-box
301
                           /></span>
301
                           /></span>
302
                   </td>
302
                   </td>
303
                   <td style="text-align:left;">
303
                   <td style="text-align:left;">
304
-                    <span style="display:inline-block;margin-left:15px;"
304
+                    <span style="display:inline-block;margin-left:15px;display:flex;align-items:center;height:36px;"
305
                       >上机护士:
305
                       >上机护士:
306
                        <span
306
                        <span
307
                             v-if="
307
                             v-if="
330
                       </span>
330
                       </span>
331
                   </td>
331
                   </td>
332
                    <td style="text-align:left;" colspan="3">
332
                    <td style="text-align:left;" colspan="3">
333
-                    <span style="display:inline-block;margin-left:15px;"
333
+                    <span style="display:inline-block;margin-left:15px;display:flex;align-items:center;height:36px;"
334
                       >抗凝剂执行护士:
334
                       >抗凝剂执行护士:
335
                        <span
335
                        <span
336
                             v-if="
336
                             v-if="
891
          <td> {{ monitor.symptom }} &nbsp;{{ monitor.result }}</td>
891
          <td> {{ monitor.symptom }} &nbsp;{{ monitor.result }}</td>
892
          <td colspan="2">
892
          <td colspan="2">
893
            <span v-show="showOne">{{getName(monitor.monitoring_nurse)}}</span>
893
            <span v-show="showOne">{{getName(monitor.monitoring_nurse)}}</span>
894
-           <span v-show="showTwo"><img :src="getName(monitor.monitoring_nurse)" style="height:30px"></span>
894
+           <span v-show="showTwo" style="display:flex;align-items:center;height:36px;"><img :src="getName(monitor.monitoring_nurse)" style="height:30px;margin:0 auto;"></span>
895
          </td>
895
          </td>
896
         </tr>
896
         </tr>
897
          <tr>
897
          <tr>
1106
                                 getAdminUser(advice[0], "advice_doctor")
1106
                                 getAdminUser(advice[0], "advice_doctor")
1107
                               }}</span
1107
                               }}</span
1108
                             >
1108
                             >
1109
+                            <span v-else style="display:flex;align-items:center;height:36px;">
1109
                             <img
1110
                             <img
1110
                               class="es-img"
1111
                               class="es-img"
1111
                               :src="
1112
                               :src="
1113
                               "
1114
                               "
1114
                               alt=""
1115
                               alt=""
1115
                               srcset=""
1116
                               srcset=""
1116
-                              v-else
1117
-                              style="height: 20px;"
1118
-                            /></td>
1117
+                              style="height: 30px;margin:0 auto"
1118
+                            /></span></td>
1119
           <td style="text-align:left;padding-left:20px"> <span v-if="advice[0].parent_id > 0">└</span>
1119
           <td style="text-align:left;padding-left:20px"> <span v-if="advice[0].parent_id > 0">└</span>
1120
                        <span>{{ advice[0].advice_name }}</span>
1120
                        <span>{{ advice[0].advice_name }}</span>
1121
                         <span
1121
                         <span
1143
                                 getAdminUser(advice[0], "execution_staff")
1143
                                 getAdminUser(advice[0], "execution_staff")
1144
                               }}</span
1144
                               }}</span
1145
                             >
1145
                             >
1146
+                            <span v-else style="display:flex;align-items:center;height:36px;">
1146
                             <img
1147
                             <img
1147
                               class="es-img"
1148
                               class="es-img"
1148
                               :src="
1149
                               :src="
1150
                               "
1151
                               "
1151
                               alt=""
1152
                               alt=""
1152
                               srcset=""
1153
                               srcset=""
1153
-                              v-else
1154
-                              style="height: 20px;"
1155
-                            />
1154
+                              style="height: 30px;margin:0 auto"
1155
+                            /></span>
1156
                    </td>
1156
                    </td>
1157
           <td>{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</td>
1157
           <td>{{getTime(advice.execution_time,'{y}-{m}-{d} {h}:{i}')}}</td>
1158
           <td>
1158
           <td>
1160
                v-if="setAdminUserES(advice[0], 'checker') == ''"
1160
                v-if="setAdminUserES(advice[0], 'checker') == ''"
1161
               >{{ getAdminUser(advice[0], "checker") }}</span
1161
               >{{ getAdminUser(advice[0], "checker") }}</span
1162
               >
1162
               >
1163
+              <span v-else style="display:flex;align-items:center;height:36px;">
1163
                <img
1164
                <img
1164
                  class="es-img"
1165
                  class="es-img"
1165
                  :src="setAdminUserES(advice[0], 'checker')"
1166
                  :src="setAdminUserES(advice[0], 'checker')"
1166
                  alt=""
1167
                  alt=""
1167
                  srcset=""
1168
                  srcset=""
1168
-                 v-else
1169
-                 style="height: 20px;"
1169
+                 style="height: 30px;"
1170
                /></span>
1170
                /></span>
1171
           </td>
1171
           </td>
1172
         </tr>
1172
         </tr>

+ 56 - 344
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue View File

680
                       压迫后内瘘震颤:
680
                       压迫后内瘘震颤:
681
                       <label-box :isChecked="afterdialysis.internal_fistula.indexOf('存在') > -1 ? true : false" showValue="存在"></label-box>
681
                       <label-box :isChecked="afterdialysis.internal_fistula.indexOf('存在') > -1 ? true : false" showValue="存在"></label-box>
682
                       &nbsp;
682
                       &nbsp;
683
-                      <label-box
684
-                        :isChecked="
685
-                          afterdialysis.internal_fistula.indexOf('减弱') > -1
686
-                            ? true
687
-                            : false
688
-                        "
689
-                        showValue="减弱"
690
-                      ></label-box>
683
+                      <label-box :isChecked="afterdialysis.internal_fistula.indexOf('减弱') > -1 ? true : false" showValue="减弱"></label-box>
691
                       &nbsp;
684
                       &nbsp;
692
-                      <label-box
693
-                        :isChecked="
694
-                          afterdialysis.internal_fistula.indexOf('无') > -1
695
-                            ? true
696
-                            : false
697
-                        "
698
-                        showValue="无"
699
-                      ></label-box>
685
+                      <label-box :isChecked="afterdialysis.internal_fistula.indexOf('无') > -1 ? true : false" showValue="无"></label-box>
700
                     </td>
686
                     </td>
701
                     <td></td>
687
                     <td></td>
702
                   </tr>
688
                   </tr>
708
                   <tr>
694
                   <tr>
709
                     <td width="55">并发症:</td>
695
                     <td width="55">并发症:</td>
710
                     <td width="600">
696
                     <td width="600">
711
-                      <label-box
712
-                        :isChecked="
713
-                          afterdialysis.complication.indexOf('低血压') > -1
714
-                            ? true
715
-                            : false
716
-                        "
717
-                        showValue="低血压"
718
-                      ></label-box>
719
-                      <label-box
720
-                        :isChecked="
721
-                          afterdialysis.complication.indexOf('高血压') > -1
722
-                            ? true
723
-                            : false
724
-                        "
725
-                        showValue="高血压"
726
-                      ></label-box>
727
-                      <label-box
728
-                        :isChecked="
729
-                          afterdialysis.complication.indexOf('心律失常') > -1
730
-                            ? true
731
-                            : false
732
-                        "
733
-                        showValue="心律失常"
734
-                      ></label-box>
735
-                      <label-box
736
-                        :isChecked="
737
-                          afterdialysis.complication.indexOf('头晕') > -1
738
-                            ? true
739
-                            : false
740
-                        "
741
-                        showValue="头晕"
742
-                      ></label-box>
743
-                      <label-box
744
-                        :isChecked="
745
-                          afterdialysis.complication.indexOf('头痛') > -1
746
-                            ? true
747
-                            : false
748
-                        "
749
-                        showValue="头痛"
750
-                      ></label-box>
751
-                      <label-box
752
-                        :isChecked="
753
-                          afterdialysis.complication.indexOf('呕吐') > -1
754
-                            ? true
755
-                            : false
756
-                        "
757
-                        showValue="呕吐"
758
-                      ></label-box>
759
-                      <label-box
760
-                        :isChecked="
761
-                          afterdialysis.complication.indexOf('抽搐') > -1
762
-                            ? true
763
-                            : false
764
-                        "
765
-                        showValue="抽搐"
766
-                      ></label-box>
767
-                      <label-box
768
-                        :isChecked="
769
-                          afterdialysis.complication.indexOf('出血') > -1
770
-                            ? true
771
-                            : false
772
-                        "
773
-                        showValue="出血"
774
-                      ></label-box>
775
-                      <label-box
776
-                        :isChecked="
777
-                          afterdialysis.complication.indexOf('心衰') > -1
778
-                            ? true
779
-                            : false
780
-                        "
781
-                        showValue="心衰"
782
-                      ></label-box>
783
-                      <label-box
784
-                        :isChecked="
785
-                          afterdialysis.complication.indexOf('腹痛') > -1
786
-                            ? true
787
-                            : false
788
-                        "
789
-                        showValue="腹痛"
790
-                      ></label-box>
791
-                      <label-box
792
-                        :isChecked="
793
-                          afterdialysis.complication.indexOf('无') > -1
794
-                            ? true
795
-                            : false
796
-                        "
797
-                        showValue="无"
798
-                      ></label-box>
697
+                      <label-box :isChecked="afterdialysis.complication.indexOf('低血压') > -1 ? true : false" showValue="低血压"></label-box>
698
+                      <label-box :isChecked="afterdialysis.complication.indexOf('高血压') > -1 ? true : false" showValue="高血压"></label-box>
699
+                      <label-box :isChecked="afterdialysis.complication.indexOf('心律失常') > -1 ? true : false" showValue="心律失常"></label-box>
700
+                      <label-box :isChecked="afterdialysis.complication.indexOf('头晕') > -1 ? true : false" showValue="头晕"></label-box>
701
+                      <label-box :isChecked="afterdialysis.complication.indexOf('头痛') > -1 ? true : false" showValue="头痛"></label-box>
702
+                      <label-box :isChecked="afterdialysis.complication.indexOf('呕吐') > -1 ? true : false" showValue="呕吐"></label-box>
703
+                      <label-box :isChecked="afterdialysis.complication.indexOf('抽搐') > -1 ? true : false" showValue="抽搐"></label-box>
704
+                      <label-box :isChecked="afterdialysis.complication.indexOf('出血') > -1 ? true : false" showValue="出血"></label-box>
705
+                      <label-box :isChecked="afterdialysis.complication.indexOf('心衰') > -1 ? true : false" showValue="心衰"></label-box>
706
+                      <label-box :isChecked="afterdialysis.complication.indexOf('腹痛') > -1 ? true : false" showValue="腹痛"></label-box>
707
+                      <label-box :isChecked="afterdialysis.complication.indexOf('无') > -1 ? true : false" showValue="无"></label-box>
799
                     </td>
708
                     </td>
800
                     <td></td>
709
                     <td></td>
801
                   </tr>
710
                   </tr>
808
                     <!-- <td width="70">其他记录:</td> -->
717
                     <!-- <td width="70">其他记录:</td> -->
809
                     <td width="70">透析小结:</td>
718
                     <td width="70">透析小结:</td>
810
                     <td width="">
719
                     <td width="">
811
-                      <div
812
-                        style="width: 95%;line-height: 25px;text-align: left;margin-left: 2px;text-underline-position: under; text-decoration: underline;"
813
-                      >
720
+                      <div style="width: 95%;line-height: 25px;text-align: left;margin-left: 2px;text-underline-position: under; text-decoration: underline;">
814
                         {{ summary.dialysis_summary }}
721
                         {{ summary.dialysis_summary }}
815
                       </div>
722
                       </div>
816
                     </td>
723
                     </td>
832
                   <tr>
739
                   <tr>
833
                     <td width="70">患者去向:</td>
740
                     <td width="70">患者去向:</td>
834
                     <td width="160">
741
                     <td width="160">
835
-                      <label-box
836
-                        :isChecked="
837
-                          afterdialysis.patient_gose == 1 ? true : false
838
-                        "
839
-                        showValue="离院"
840
-                      ></label-box>
841
-                      <label-box
842
-                        :isChecked="
843
-                          afterdialysis.patient_gose == 2 ? true : false
844
-                        "
845
-                        showValue="留观"
846
-                      ></label-box>
847
-                      <label-box
848
-                        :isChecked="
849
-                          afterdialysis.patient_gose == 3 ? true : false
850
-                        "
851
-                        showValue="住院"
852
-                      ></label-box>
742
+                      <label-box :isChecked="afterdialysis.patient_gose == 1 ? true : false" showValue="离院"></label-box>
743
+                      <label-box :isChecked="afterdialysis.patient_gose == 2 ? true : false" showValue="留观"></label-box>
744
+                      <label-box :isChecked="afterdialysis.patient_gose == 3 ? true : false" showValue="住院"></label-box>
853
                     </td>
745
                     </td>
854
                     <td width="10">(</td>
746
                     <td width="10">(</td>
855
                     <td width="35">科室</td>
747
                     <td width="35">科室</td>
856
                     <td width="">
748
                     <td width="">
857
                       <div class="under-line">
749
                       <div class="under-line">
858
                         &nbsp;
750
                         &nbsp;
859
-                        <span v-if="afterdialysis.patient_gose == 3">{{
860
-                          afterdialysis.inpatient_department
861
-                        }}</span>
751
+                        <span v-if="afterdialysis.patient_gose == 3">{{ afterdialysis.inpatient_department }}</span>
862
                       </div>
752
                       </div>
863
                     </td>
753
                     </td>
864
                     <td width="220">交待病房护士/患者/陪人观察内容:</td>
754
                     <td width="220">交待病房护士/患者/陪人观察内容:</td>
865
                     <td width="160">
755
                     <td width="160">
866
-                      <label-box
867
-                        :isChecked="
868
-                          afterdialysis.patient_gose == 3 &&
869
-                          afterdialysis.observation_content.indexOf(
870
-                            '意识状态'
871
-                          ) > -1
872
-                            ? true
873
-                            : false
874
-                        "
875
-                        showValue="意识状态"
876
-                      ></label-box>
877
-                      <label-box
878
-                        :isChecked="
879
-                          afterdialysis.patient_gose == 3 &&
880
-                          afterdialysis.observation_content.indexOf(
881
-                            '生命体征'
882
-                          ) > -1
883
-                            ? true
884
-                            : false
885
-                        "
886
-                        showValue="生命体征"
887
-                      ></label-box>
756
+                      <label-box :isChecked=" afterdialysis.patient_gose == 3 && afterdialysis.observation_content.indexOf('意识状态') > -1 ? true : false" showValue="意识状态"></label-box>
757
+                      <label-box :isChecked="afterdialysis.patient_gose == 3 && afterdialysis.observation_content.indexOf('生命体征') > -1 ? true : false" showValue="生命体征"></label-box>
888
                     </td>
758
                     </td>
889
                   </tr>
759
                   </tr>
890
                 </tbody>
760
                 </tbody>
894
                 <tbody>
764
                 <tbody>
895
                   <tr>
765
                   <tr>
896
                     <td width="530">
766
                     <td width="530">
897
-                      <label-box
898
-                        :isChecked="
899
-                          afterdialysis.patient_gose == 3 &&
900
-                          afterdialysis.observation_content.indexOf(
901
-                            '内瘘搏动/渗血'
902
-                          ) > -1
903
-                            ? true
904
-                            : false
905
-                        "
906
-                        showValue="内瘘搏动/渗血"
907
-                      ></label-box>
908
-                      <label-box
909
-                        :isChecked="
910
-                          afterdialysis.patient_gose == 3 &&
911
-                          afterdialysis.observation_content.indexOf(
912
-                            '导管固定/穿刺口渗血'
913
-                          ) > -1
914
-                            ? true
915
-                            : false
916
-                        "
917
-                        showValue="导管固定/穿刺口渗血"
918
-                      ></label-box>
919
-                      <label-box
920
-                        :isChecked="
921
-                          afterdialysis.patient_gose == 3 &&
922
-                          afterdialysis.observation_content.indexOf(
923
-                            '动静脉直接穿刺口渗血/肢端循环情况'
924
-                          ) > -1
925
-                            ? true
926
-                            : false
927
-                        "
928
-                        showValue="动静脉直接穿刺口渗血/肢端循环情况"
929
-                      ></label-box>
767
+                      <label-box :isChecked="afterdialysis.patient_gose == 3 && afterdialysis.observation_content.indexOf('内瘘搏动/渗血') > -1 ? true : false" showValue="内瘘搏动/渗血"></label-box>
768
+                      <label-box :isChecked="afterdialysis.patient_gose == 3 && afterdialysis.observation_content.indexOf('导管固定/穿刺口渗血') > -1 ? true : false" showValue="导管固定/穿刺口渗血"></label-box>
769
+                      <label-box :isChecked="afterdialysis.patient_gose == 3 && afterdialysis.observation_content.indexOf('动静脉直接穿刺口渗血/肢端循环情况') > -1 ? true : false" showValue="动静脉直接穿刺口渗血/肢端循环情况"></label-box>
930
                     </td>
770
                     </td>
931
                     <td width="40">其他:</td>
771
                     <td width="40">其他:</td>
932
                     <td width="">
772
                     <td width="">
933
                       <div class="under-line">
773
                       <div class="under-line">
934
                         &nbsp;
774
                         &nbsp;
935
-                        <span v-if="afterdialysis.patient_gose == 3"
936
-                          >{{ afterdialysis.observation_content_other }}
937
-                        </span>
775
+                        <span v-if="afterdialysis.patient_gose == 3">{{ afterdialysis.observation_content_other }}</span>
938
                       </div>
776
                       </div>
939
                     </td>
777
                     </td>
940
                   </tr>
778
                   </tr>
950
                         <!--<span v-if="afterdialysis.creater==0">&nbsp;</span>-->
788
                         <!--<span v-if="afterdialysis.creater==0">&nbsp;</span>-->
951
                         <!--<img class="es-img" :src="setAdminUserES(afterdialysis.creater)" alt="" srcset="" v-else>-->
789
                         <!--<img class="es-img" :src="setAdminUserES(afterdialysis.creater)" alt="" srcset="" v-else>-->
952
 
790
 
953
-                        <span
954
-                          v-if="setAdminUserES(afterdialysis.creater) == ''"
955
-                          >{{ getAdminUser(afterdialysis.creater) }}</span
956
-                        >
957
-                        <img
958
-                          class="es-img"
959
-                          :src="setAdminUserES(afterdialysis.creater)"
960
-                          alt=""
961
-                          srcset=""
962
-                          v-else
963
-                        />
791
+                        <span v-if="setAdminUserES(afterdialysis.creater) == ''">{{ getAdminUser(afterdialysis.creater) }}</span>
792
+                        <img class="es-img" :src="setAdminUserES(afterdialysis.creater)" alt="" srcset="" v-else />
964
                       </div>
793
                       </div>
965
                     </td>
794
                     </td>
966
                     <td width=""></td>
795
                     <td width=""></td>
967
                     <td width="70">下机护士:</td>
796
                     <td width="70">下机护士:</td>
968
                     <td width="100">
797
                     <td width="100">
969
                       <div class="under-line">
798
                       <div class="under-line">
970
-                        <span
971
-                          v-if="
972
-                            setAdminUserES(
973
-                              dialysisOrder == null
974
-                                ? 0
975
-                                : dialysisOrder.finish_nurse
976
-                            ) == ''
977
-                          "
978
-                          >{{
979
-                            getAdminUser(
980
-                              dialysisOrder == null
981
-                                ? 0
982
-                                : dialysisOrder.finish_nurse
983
-                            )
984
-                          }}</span
985
-                        >
986
-                        <img
987
-                          class="es-img"
988
-                          :src="
989
-                            setAdminUserES(
990
-                              dialysisOrder == null
991
-                                ? 0
992
-                                : dialysisOrder.finish_nurse
993
-                            )
994
-                          "
995
-                          alt=""
996
-                          srcset=""
997
-                          v-else
998
-                        />
799
+                        <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
800
+                          {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) }}</span>
801
+                        <img class="es-img" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse)" alt="" srcset="" v-else />
999
                       </div>
802
                       </div>
1000
                     </td>
803
                     </td>
1001
                   </tr>
804
                   </tr>
1033
             <td class="advice-name">
836
             <td class="advice-name">
1034
               <span v-if="advice[0].parent_id > 0">└</span>
837
               <span v-if="advice[0].parent_id > 0">└</span>
1035
               <span>{{ advice[0].advice_name }}</span>
838
               <span>{{ advice[0].advice_name }}</span>
1036
-              <span v-if="advice[0].advice_desc"
1037
-                >{{ advice[0].advice_desc }}{{ advice[0].drug_spec_unit }}</span
1038
-              >
839
+              <span v-if="advice[0].advice_desc">{{ advice[0].advice_desc }}{{ advice[0].drug_spec_unit }}</span>
1039
               <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
840
               <!-- <span v-if="advice[0].drug_spec">{{advice[0].drug_spec}}{{advice[0].drug_spec_unit}}</span> -->
1040
-              <span v-if="advice[0].prescribing_number"
1041
-                >* {{ advice[0].prescribing_number
1042
-                }}{{ advice[0].prescribing_number_unit }}</span
1043
-              >
1044
-              <span v-if="advice[0].single_dose != 0"
1045
-                >单次用量 {{ advice[0].single_dose
1046
-                }}{{ advice[0].single_dose_unit }}</span
1047
-              >
841
+              <span v-if="advice[0].prescribing_number">* {{ advice[0].prescribing_number }}{{ advice[0].prescribing_number_unit }}</span>
842
+              <span v-if="advice[0].single_dose != 0">单次用量 {{ advice[0].single_dose }}{{ advice[0].single_dose_unit }}</span>
1048
               <span>{{ advice[0].delivery_way }}</span>
843
               <span>{{ advice[0].delivery_way }}</span>
1049
               <span>{{ advice[0].execution_frequency }}</span>
844
               <span>{{ advice[0].execution_frequency }}</span>
1050
-              <div
1051
-                v-for="(child, childindex) in advice[0].children"
1052
-                :key="childindex"
1053
-                class="advice-children"
1054
-              >
845
+              <div v-for="(child, childindex) in advice[0].children" :key="childindex" class="advice-children">
1055
                 <div>▲</div>
846
                 <div>▲</div>
1056
                 <div>
847
                 <div>
1057
                   <span>{{ child.advice_name }}</span>
848
                   <span>{{ child.advice_name }}</span>
1058
-
1059
-                  <span v-if="child.advice_desc"
1060
-                    >{{ child.advice_desc }}{{ child.drug_spec_unit }}</span
1061
-                  >
1062
-                  <span v-if="child.prescribing_number"
1063
-                    >* {{ child.prescribing_number
1064
-                    }}{{ child.prescribing_number_unit }}</span
1065
-                  >
1066
-                  <span v-if="child.single_dose != 0"
1067
-                    >单次用量 {{ child.single_dose
1068
-                    }}{{ child.single_dose_unit }}</span
1069
-                  >
849
+                  <span v-if="child.advice_desc">{{ child.advice_desc }}{{ child.drug_spec_unit }}</span>
850
+                  <span v-if="child.prescribing_number">* {{ child.prescribing_number }}{{ child.prescribing_number_unit }}</span>
851
+                  <span v-if="child.single_dose != 0">单次用量 {{ child.single_dose }}{{ child.single_dose_unit }}</span>
1070
                 </div>
852
                 </div>
1071
               </div>
853
               </div>
1072
             </td>
854
             </td>
1075
               <!--<img class="es-img" :src="setAdminUserES(advice[0].advice_doctor)" alt="" srcset=""-->
857
               <!--<img class="es-img" :src="setAdminUserES(advice[0].advice_doctor)" alt="" srcset=""-->
1076
               <!--v-show="advice[0].advice_doctor>0">-->
858
               <!--v-show="advice[0].advice_doctor>0">-->
1077
               <!---->
859
               <!---->
1078
-              <span v-if="setAdminUserES(advice[0].advice_doctor) == ''">{{
1079
-                getAdminUser(advice[0].advice_doctor)
1080
-              }}</span>
1081
-              <img
1082
-                class="es-img"
1083
-                :src="setAdminUserES(advice[0].advice_doctor)"
1084
-                alt=""
1085
-                srcset=""
1086
-                v-else
1087
-              />
860
+              <span v-if="setAdminUserES(advice[0].advice_doctor) == ''">{{ getAdminUser(advice[0].advice_doctor) }}</span>
861
+              <img class="es-img" :src="setAdminUserES(advice[0].advice_doctor)" alt="" srcset="" v-else />
1088
             </td>
862
             </td>
1089
             <td>
863
             <td>
1090
               <!--<img class="es-img" :src="setAdminUserES(advice[0].execution_staff)" alt="" srcset=""-->
864
               <!--<img class="es-img" :src="setAdminUserES(advice[0].execution_staff)" alt="" srcset=""-->
1091
               <!--v-show="advice[0].execution_staff>0">-->
865
               <!--v-show="advice[0].execution_staff>0">-->
1092
 
866
 
1093
-              <span v-if="setAdminUserES(advice[0].execution_staff) == ''">{{
1094
-                getAdminUser(advice[0].execution_staff)
1095
-              }}</span>
1096
-              <img
1097
-                class="es-img"
1098
-                :src="setAdminUserES(advice[0].execution_staff)"
1099
-                alt=""
1100
-                srcset=""
1101
-                v-else
1102
-              />
867
+              <span v-if="setAdminUserES(advice[0].execution_staff) == ''">{{ getAdminUser(advice[0].execution_staff) }}</span>
868
+              <img class="es-img" :src="setAdminUserES(advice[0].execution_staff)" alt="" srcset="" v-else />
1103
             </td>
869
             </td>
1104
             <td>
870
             <td>
1105
               <span v-if="advice[0].execution_time">
871
               <span v-if="advice[0].execution_time">
1111
               <!--<img class="es-img" :src="setAdminUserES(advice[0].checker)" alt="" srcset=""-->
877
               <!--<img class="es-img" :src="setAdminUserES(advice[0].checker)" alt="" srcset=""-->
1112
               <!--v-show="advice[0].checker>0">-->
878
               <!--v-show="advice[0].checker>0">-->
1113
 
879
 
1114
-              <span v-if="setAdminUserES(advice[0].checker) == ''">{{
1115
-                getAdminUser(advice[0].checker)
1116
-              }}</span>
1117
-              <img
1118
-                class="es-img"
1119
-                :src="setAdminUserES(advice[0].checker)"
1120
-                alt=""
1121
-                srcset=""
1122
-                v-else
1123
-              />
880
+              <span v-if="setAdminUserES(advice[0].checker) == ''">{{ getAdminUser(advice[0].checker) }}</span>
881
+              <img class="es-img" :src="setAdminUserES(advice[0].checker)" alt="" srcset="" v-else />
1124
             </td>
882
             </td>
1125
             <td></td>
883
             <td></td>
1126
             <td v-if="advice[1] != undefined">
884
             <td v-if="advice[1] != undefined">
1134
             </td>
892
             </td>
1135
             <td class="advice-name" v-if="advice[1] != undefined">
893
             <td class="advice-name" v-if="advice[1] != undefined">
1136
               <span>{{ advice[1].advice_name }}</span>
894
               <span>{{ advice[1].advice_name }}</span>
1137
-              <span
1138
-                >{{ advice[1].advice_desc }}{{ advice[1].drug_spec_unit }}</span
1139
-              >
895
+              <span>{{ advice[1].advice_desc }}{{ advice[1].drug_spec_unit }}</span>
1140
               <!-- <span v-if="advice[1].drug_spec">{{advice[1].drug_spec}}{{advice[1].drug_spec_unit}}</span> -->
896
               <!-- <span v-if="advice[1].drug_spec">{{advice[1].drug_spec}}{{advice[1].drug_spec_unit}}</span> -->
1141
-              <span v-if="advice[1].prescribing_number"
1142
-                >* {{ advice[1].prescribing_number
1143
-                }}{{ advice[1].prescribing_number_unit }}</span
1144
-              >
1145
-              <span v-if="advice[1].single_dose != 0"
1146
-                >单次用量 {{ advice[1].single_dose
1147
-                }}{{ advice[1].single_dose_unit }}</span
1148
-              >
897
+              <span v-if="advice[1].prescribing_number">* {{ advice[1].prescribing_number }}{{ advice[1].prescribing_number_unit }}</span>
898
+              <span v-if="advice[1].single_dose != 0">单次用量 {{ advice[1].single_dose }}{{ advice[1].single_dose_unit }}</span>
1149
               <span>{{ advice[1].delivery_way }}</span>
899
               <span>{{ advice[1].delivery_way }}</span>
1150
               <span>{{ advice[1].execution_frequency }}</span>
900
               <span>{{ advice[1].execution_frequency }}</span>
1151
 
901
 
1152
-              <div
1153
-                v-for="(child, childindex) in advice[1].children"
1154
-                :key="childindex"
1155
-                class="advice-children"
1156
-              >
902
+              <div v-for="(child, childindex) in advice[1].children" :key="childindex" class="advice-children">
1157
                 <div>▲</div>
903
                 <div>▲</div>
1158
                 <div>
904
                 <div>
1159
                   <span>{{ child.advice_name }}</span>
905
                   <span>{{ child.advice_name }}</span>
1160
                   <span>{{ child.advice_desc }}</span>
906
                   <span>{{ child.advice_desc }}</span>
1161
-                  <span v-if="child.advice_desc"
1162
-                    >{{ child.advice_desc }}{{ child.drug_spec_unit }}</span
1163
-                  >
1164
-                  <span v-if="child.prescribing_number"
1165
-                    >* {{ child.prescribing_number
1166
-                    }}{{ child.prescribing_number_unit }}</span
1167
-                  >
1168
-                  <span v-if="child.single_dose != 0"
1169
-                    >单次用量 {{ child.single_dose
1170
-                    }}{{ child.single_dose_unit }}</span
1171
-                  >
907
+                  <span v-if="child.advice_desc">{{ child.advice_desc }}{{ child.drug_spec_unit }}</span>
908
+                  <span v-if="child.prescribing_number">* {{ child.prescribing_number }}{{ child.prescribing_number_unit }}</span>
909
+                  <span v-if="child.single_dose != 0">单次用量 {{ child.single_dose }}{{ child.single_dose_unit }}</span>
1172
                 </div>
910
                 </div>
1173
               </div>
911
               </div>
1174
             </td>
912
             </td>
1179
               <!--<img class="es-img" :src="setAdminUserES(advice[1].advice_doctor)" alt="" srcset=""-->
917
               <!--<img class="es-img" :src="setAdminUserES(advice[1].advice_doctor)" alt="" srcset=""-->
1180
               <!--v-show="advice[1].advice_doctor>0"></td>-->
918
               <!--v-show="advice[1].advice_doctor>0"></td>-->
1181
 
919
 
1182
-              <span v-if="setAdminUserES(advice[1].advice_doctor) == ''">{{
1183
-                getAdminUser(advice[1].advice_doctor)
1184
-              }}</span>
1185
-              <img
1186
-                class="es-img"
1187
-                :src="setAdminUserES(advice[1].advice_doctor)"
1188
-                alt=""
1189
-                srcset=""
1190
-                v-else
1191
-              />
920
+              <span v-if="setAdminUserES(advice[1].advice_doctor) == ''">{{ getAdminUser(advice[1].advice_doctor) }}</span>
921
+              <img class="es-img" :src="setAdminUserES(advice[1].advice_doctor)" alt="" srcset="" v-else />
1192
             </td>
922
             </td>
1193
 
923
 
1194
             <td v-else>
924
             <td v-else>
1199
               <!--<img class="es-img" :src="setAdminUserES(advice[1].execution_staff)" alt="" srcset=""-->
929
               <!--<img class="es-img" :src="setAdminUserES(advice[1].execution_staff)" alt="" srcset=""-->
1200
               <!--v-show="advice[1].execution_staff>0">-->
930
               <!--v-show="advice[1].execution_staff>0">-->
1201
 
931
 
1202
-              <span v-if="setAdminUserES(advice[1].execution_staff) == ''">{{
1203
-                getAdminUser(advice[1].execution_staff)
1204
-              }}</span>
1205
-              <img
1206
-                class="es-img"
1207
-                :src="setAdminUserES(advice[1].execution_staff)"
1208
-                alt=""
1209
-                srcset=""
1210
-                v-else
1211
-              />
932
+              <span v-if="setAdminUserES(advice[1].execution_staff) == ''">{{ getAdminUser(advice[1].execution_staff) }}</span>
933
+              <img class="es-img" :src="setAdminUserES(advice[1].execution_staff)" alt="" srcset="" v-else />
1212
             </td>
934
             </td>
1213
             <!--<td><span v-if="advice[1].execution_time">{{advice[1].execution_time| parseTime('{y}-{m}-{d} {h}:{i}:{s}')}}</span>-->
935
             <!--<td><span v-if="advice[1].execution_time">{{advice[1].execution_time| parseTime('{y}-{m}-{d} {h}:{i}:{s}')}}</span>-->
1214
             <!--</td>-->
936
             <!--</td>-->
1217
             </td>
939
             </td>
1218
 
940
 
1219
             <td v-if="advice[1] != undefined">
941
             <td v-if="advice[1] != undefined">
1220
-              <span v-if="advice[1].execution_time">{{
1221
-                getTime(advice[1].execution_time, "{h}:{i}")
1222
-              }}</span>
942
+              <span v-if="advice[1].execution_time">{{ getTime(advice[1].execution_time, "{h}:{i}") }}</span>
1223
             </td>
943
             </td>
1224
             <td v-else>
944
             <td v-else>
1225
               <span></span>
945
               <span></span>
1229
               <!--<img class="es-img" :src="setAdminUserES(advice[1].checker)" alt="" srcset=""-->
949
               <!--<img class="es-img" :src="setAdminUserES(advice[1].checker)" alt="" srcset=""-->
1230
               <!--v-show="advice[1].checker>0">-->
950
               <!--v-show="advice[1].checker>0">-->
1231
               <!--<span v-show="advice[1].checker>0">setAdminUserES(advice[1].checker)</span>-->
951
               <!--<span v-show="advice[1].checker>0">setAdminUserES(advice[1].checker)</span>-->
1232
-              <span v-if="setAdminUserES(advice[1].checker) == ''">{{
1233
-                getAdminUser(advice[1].checker)
1234
-              }}</span>
1235
-              <img
1236
-                class="es-img"
1237
-                :src="setAdminUserES(advice[1].checker)"
1238
-                alt=""
1239
-                srcset=""
1240
-                v-else
1241
-              />
952
+              <span v-if="setAdminUserES(advice[1].checker) == ''">{{ getAdminUser(advice[1].checker) }}</span>
953
+              <img class="es-img" :src="setAdminUserES(advice[1].checker)" alt="" srcset="" v-else />
1242
             </td>
954
             </td>
1243
             <td v-else>
955
             <td v-else>
1244
               <span></span>
956
               <span></span>

+ 140 - 502
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue View File

32
             <td width="80">透析机号:</td>
32
             <td width="80">透析机号:</td>
33
             <td width="130">
33
             <td width="130">
34
               <div class="under-line">
34
               <div class="under-line">
35
-                {{
36
-                  dialysisOrder &&
37
-                  dialysisOrder.DeviceNumber &&
38
-                  dialysisOrder.DeviceNumber.number.length > 0
39
-                    ? dialysisOrder.DeviceNumber.number
40
-                    : patientInfo.DialysisSchedule.device_number.number
41
-                }}
35
+                {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
42
               </div>
36
               </div>
43
             </td>
37
             </td>
44
             <td></td>
38
             <td></td>
60
             </td>
54
             </td>
61
             <td width="150">
55
             <td width="150">
62
               <div class="under-line">
56
               <div class="under-line">
63
-                {{
64
-                  receiverTreatmentAccess.admission_number
65
-                    ? receiverTreatmentAccess.admission_number
66
-                    : "/"
67
-                }}
57
+                {{ receiverTreatmentAccess.admission_number ? receiverTreatmentAccess.admission_number : "/" }}
68
               </div>
58
               </div>
69
             </td>
59
             </td>
70
             <td width="10"></td>
60
             <td width="10"></td>
101
                 <tr>
91
                 <tr>
102
                   <td style="text-align:left;margin-left:15px">
92
                   <td style="text-align:left;margin-left:15px">
103
                     病情评估:
93
                     病情评估:
104
-                    <span class="under-line"
105
-                      >&nbsp;{{
106
-                        receiverTreatmentAccess.sick_condition
107
-                          ? receiverTreatmentAccess.sick_condition
108
-                          : "/"
109
-                      }}</span
110
-                    >
94
+                    <span class="under-line">&nbsp;{{ receiverTreatmentAccess.sick_condition ? receiverTreatmentAccess.sick_condition : "/" }}</span>
111
                   </td>
95
                   </td>
112
                   <td style="text-align:left;margin-left:15px">
96
                   <td style="text-align:left;margin-left:15px">
113
                     入科方式:
97
                     入科方式:
114
                     <span class="under-line"
98
                     <span class="under-line"
115
                       >&nbsp;
99
                       >&nbsp;
116
-                      {{
117
-                        receiverTreatmentAccess.way
118
-                          ? receiverTreatmentAccess.way
119
-                          : "/"
120
-                      }}
100
+                      {{ receiverTreatmentAccess.way ? receiverTreatmentAccess.way : "/" }}
121
                     </span>
101
                     </span>
122
                   </td>
102
                   </td>
123
                   <td style="text-align:left;margin-left:15px" colspan="2">
103
                   <td style="text-align:left;margin-left:15px" colspan="2">
124
                     透析次数:
104
                     透析次数:
125
-                    <span class="under-line"
126
-                      >&nbsp;
127
-                      {{
128
-                        patientInfo.total_dialysis +
129
-                        patientInfo.user_sys_before_count
130
-                          ? patientInfo.total_dialysis +
131
-                            patientInfo.user_sys_before_count -
132
-                            1
133
-                          : "/"
134
-                      }}</span
135
-                    >
105
+                    <span class="under-line">&nbsp;
106
+                      {{ patientInfo.total_dialysis + patientInfo.user_sys_before_count ? patientInfo.total_dialysis + patientInfo.user_sys_before_count - 1 : "/" }}
107
+                    </span>
136
                   </td>
108
                   </td>
137
                 </tr>
109
                 </tr>
138
                 <tr>
110
                 <tr>
139
                   <td style="text-align:left;margin-left:15px">
111
                   <td style="text-align:left;margin-left:15px">
140
                     净化治疗方式:
112
                     净化治疗方式:
141
-                    <span class="under-line"
142
-                      >&nbsp;{{
143
-                        prescription.mode ? prescription.mode : "/"
144
-                      }}</span
145
-                    >
113
+                    <span class="under-line">&nbsp;{{ prescription.mode ? prescription.mode : "/" }}</span>
146
                   </td>
114
                   </td>
147
                   <td style="text-align:left;margin-left:15px">
115
                   <td style="text-align:left;margin-left:15px">
148
                     透析器型号:
116
                     透析器型号:
149
-                    <span
150
-                      class="under-line"
151
-                      v-if="
152
-                        prescription.mode_id != 3 &&
153
-                          prescription.mode_id != 4 &&
154
-                          prescription.mode_id != 12 &&
155
-                          prescription.mode_id != 9
156
-                      "
157
-                      >&nbsp;{{
158
-                        prescription.dialyzer_perfusion_apparatus
159
-                          ? prescription.dialyzer_perfusion_apparatus
160
-                          : "/"
161
-                      }}</span
162
-                    >
117
+                    <span class="under-line" v-if="prescription.mode_id != 3 && prescription.mode_id != 4 && prescription.mode_id != 12 && prescription.mode_id != 9">
118
+                      &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }}</span>
163
                     <span class="under-line" v-else>
119
                     <span class="under-line" v-else>
164
                       /
120
                       /
165
                     </span>
121
                     </span>
166
                   </td>
122
                   </td>
167
                   <td style="text-align:left;margin-left:15px">
123
                   <td style="text-align:left;margin-left:15px">
168
                     灌流器型号:
124
                     灌流器型号:
169
-                    <span
170
-                      class="under-line"
171
-                      v-if="
172
-                        prescription.mode_id == 3 ||
173
-                          prescription.mode_id == 4 ||
174
-                          prescription.mode_id == 9 ||
175
-                          prescription.mode_id == 12
176
-                      "
177
-                      >&nbsp;{{
178
-                        prescription.dialyzer_perfusion_apparatus
179
-                          ? prescription.dialyzer_perfusion_apparatus
180
-                          : "/"
181
-                      }}</span
182
-                    >
125
+                    <span class="under-line" v-if="prescription.mode_id == 3 || prescription.mode_id == 4 || prescription.mode_id == 9 || prescription.mode_id == 12">
126
+                      &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "/" }}</span>
183
                     <span v-else class="under-line">
127
                     <span v-else class="under-line">
184
                       /
128
                       /
185
                     </span>
129
                     </span>
186
                   </td>
130
                   </td>
187
                   <td style="text-align:left;margin-left:15px">
131
                   <td style="text-align:left;margin-left:15px">
188
                     血管通路:
132
                     血管通路:
189
-                    <span class="under-line"
190
-                      >&nbsp;{{
191
-                        predialysis.blood_access_part_opera_name
192
-                          ? predialysis.blood_access_part_opera_name
193
-                          : "/"
194
-                      }}</span
195
-                    >
133
+                    <span class="under-line">
134
+                      &nbsp;{{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name : "/" }}
135
+                    </span>
196
                   </td>
136
                   </td>
197
                 </tr>
137
                 </tr>
198
                 <tr>
138
                 <tr>
199
                   <td style="text-align:left;margin-left:15px">
139
                   <td style="text-align:left;margin-left:15px">
200
                     干体重:
140
                     干体重:
201
-                    <span class="under-line"
202
-                      >&nbsp;{{
203
-                        predialysis.dry_weight ? predialysis.dry_weight : "0"
204
-                      }}</span
205
-                    >kg
141
+                    <span class="under-line">
142
+                      &nbsp;{{ predialysis.dry_weight ? predialysis.dry_weight : "0" }}</span>kg
206
                   </td>
143
                   </td>
207
                   <td style="text-align:left;margin-left:15px">
144
                   <td style="text-align:left;margin-left:15px">
208
                     透前体重:
145
                     透前体重:
209
-                    <span class="under-line"
210
-                      >&nbsp;{{
211
-                        predialysis.weight_before
212
-                          ? predialysis.weight_before
213
-                          : "0"
214
-                      }}</span
215
-                    >kg
146
+                    <span class="under-line">
147
+                      &nbsp;{{ predialysis.weight_before ? predialysis.weight_before : "0" }}</span>kg
216
                   </td>
148
                   </td>
217
                   <td style="text-align:left;margin-left:15px">
149
                   <td style="text-align:left;margin-left:15px">
218
                     预脱:
150
                     预脱:
219
-                    <span class="under-line"
220
-                      >&nbsp;{{
221
-                        prescription.target_ultrafiltration
222
-                          ? prescription.target_ultrafiltration
223
-                          : "0"
224
-                      }}</span
225
-                    >L
151
+                    <span class="under-line">
152
+                      &nbsp;{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "0" }}</span>L
226
                   </td>
153
                   </td>
227
                   <td style="text-align:left;margin-left:15px">
154
                   <td style="text-align:left;margin-left:15px">
228
                     治疗时间:
155
                     治疗时间:
229
-                    <span class="under-line"
230
-                      >&nbsp;{{
231
-                        prescription.dialysis_duration_hour
232
-                          ? prescription.dialysis_duration_hour
233
-                          : "0"
234
-                      }}小时{{
235
-                        prescription.dialysis_duration_minute
236
-                          ? prescription.dialysis_duration_minute
237
-                          : "0"
238
-                      }}分钟</span
239
-                    >
156
+                    <span class="under-line">
157
+                      &nbsp;{{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0" }}小时
158
+                      {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }}分钟</span>
240
                   </td>
159
                   </td>
241
                 </tr>
160
                 </tr>
242
                 <tr>
161
                 <tr>
243
                   <td style="text-align:left;margin-left:15px">
162
                   <td style="text-align:left;margin-left:15px">
244
                     血流量:
163
                     血流量:
245
-                    <span class="under-line"
246
-                      >&nbsp;{{
247
-                        prescription.blood_flow_volume
248
-                          ? prescription.blood_flow_volume
249
-                          : "0"
250
-                      }}</span
251
-                    >ml/min
164
+                    <span class="under-line">
165
+                      &nbsp;{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "0" }}</span>ml/min
252
                   </td>
166
                   </td>
253
                   <td style="text-align:left;margin-left:15px">
167
                   <td style="text-align:left;margin-left:15px">
254
                     置换方式:
168
                     置换方式:
255
-                    <span
256
-                      class="under-line"
257
-                      v-if="
258
-                        prescription.mode_id == 2 ||
259
-                          prescription.mode_id == 5 ||
260
-                          prescription.mode_id == 12
261
-                      "
262
-                    >
169
+                    <span class="under-line" v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12">
263
                       &nbsp;
170
                       &nbsp;
264
-                      {{
265
-                        getDisplaceLiquiPart(prescription.displace_liqui_part)
266
-                      }}
171
+                      {{ getDisplaceLiquiPart(prescription.displace_liqui_part) }}
267
                     </span>
172
                     </span>
268
                     <span v-else class="under-line">/</span>
173
                     <span v-else class="under-line">/</span>
269
                   </td>
174
                   </td>
270
                   <td style="text-align:left;margin-left:15px">
175
                   <td style="text-align:left;margin-left:15px">
271
                     置换液总量:
176
                     置换液总量:
272
-                    <span class="under-line"
273
-                      >&nbsp;{{
274
-                        prescription.displace_liqui_value
275
-                          ? prescription.displace_liqui_value
276
-                          : "0"
277
-                      }}</span
278
-                    >
177
+                    <span class="under-line">
178
+                      &nbsp;{{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "0" }}
179
+                    </span>
279
                   </td>
180
                   </td>
280
                 </tr>
181
                 </tr>
281
                 <tr>
182
                 <tr>
282
                   <td style="text-align:left;margin-left:15px">
183
                   <td style="text-align:left;margin-left:15px">
283
                     抗凝剂:
184
                     抗凝剂:
284
-                    <span class="under-line"
285
-                      >&nbsp;{{
286
-                        prescription.anticoagulant
287
-                          ? prescription.anticoagulant
288
-                          : "/"
289
-                      }}</span
290
-                    >
185
+                    <span class="under-line">
186
+                      &nbsp;{{ prescription.anticoagulant ? prescription.anticoagulant : "/" }}
187
+                    </span>
291
                   </td>
188
                   </td>
292
                   <td style="text-align:left;margin-left:15px">
189
                   <td style="text-align:left;margin-left:15px">
293
-                    首剂:<span class="under-line">{{
294
-                      prescription.anticoagulant_shouji
295
-                        ? prescription.anticoagulant_shouji
296
-                        : "0"
297
-                    }}</span>
298
-                    <span v-if="prescription.anticoagulant == '枸橼酸钠'"
299
-                      >mg</span
300
-                    >
301
-                    <span v-if="prescription.anticoagulant == '阿加曲班'"
302
-                      >mg</span
303
-                    >
304
-                    <span v-if="prescription.anticoagulant == '低分子肝素'"
305
-                      >iu</span
306
-                    >
307
-                    <span v-if="prescription.anticoagulant == '普通肝素'"
308
-                      >iu</span
309
-                    >
310
-                    <span v-if="prescription.anticoagulant == '无肝素'"
311
-                      >mg</span
312
-                    >
313
-                    <span v-if="prescription.anticoagulant == '低分子肝素钙'"
314
-                      >iu</span
315
-                    >
316
-                    <span v-if="prescription.anticoagulant == '低分子肝素钠'"
317
-                      >iu</span
318
-                    >&nbsp;
190
+                    首剂:<span class="under-line">
191
+                      {{ prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : "0" }}
192
+                    </span>
193
+                    <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
194
+                    <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
195
+                    <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
196
+                    <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
197
+                    <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
198
+                    <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
199
+                    <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>&nbsp;
319
                   </td>
200
                   </td>
320
                   <td style="text-align:left;margin-left:15px">
201
                   <td style="text-align:left;margin-left:15px">
321
                     维持:
202
                     维持:
322
-                    <span class="under-line"
323
-                      >&nbsp;{{
324
-                        prescription.anticoagulant_weichi
325
-                          ? prescription.anticoagulant_weichi
326
-                          : "0"
327
-                      }}</span
328
-                    >
329
-                    <span v-if="prescription.anticoagulant == '枸橼酸钠'"
330
-                      >ml/h</span
331
-                    >
332
-                    <span v-if="prescription.anticoagulant == '阿加曲班'"
333
-                      >mg/h</span
334
-                    >
335
-                    <span v-if="prescription.anticoagulant == '低分子肝素'"
336
-                      >iu/h</span
337
-                    >
338
-                    <span v-if="prescription.anticoagulant == '普通肝素'"
339
-                      >iu/h</span
340
-                    >
341
-                    <span v-if="prescription.anticoagulant == '无肝素'"
342
-                      >mg/h</span
343
-                    >
344
-                    <span v-if="prescription.anticoagulant == '低分子肝素钙'"
345
-                      >iu/h</span
346
-                    >
347
-                    <span v-if="prescription.anticoagulant == '低分子肝素钠'"
348
-                      >iu/h</span
349
-                    >
203
+                    <span class="under-line">
204
+                      &nbsp;{{ prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : "0" }}
205
+                    </span>
206
+                    <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
207
+                    <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
208
+                    <span v-if="prescription.anticoagulant == '低分子肝素'">iu/h</span>
209
+                    <span v-if="prescription.anticoagulant == '普通肝素'">iu/h</span>
210
+                    <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
211
+                    <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu/h</span>
212
+                    <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu/h</span>
350
                   </td>
213
                   </td>
351
                   <td style="text-align:left;margin-left:15px">
214
                   <td style="text-align:left;margin-left:15px">
352
-                    总量:<span class="under-line"
353
-                      >&nbsp;{{
354
-                        prescription.anticoagulant_zongliang
355
-                          ? prescription.anticoagulant_zongliang
356
-                          : "0"
357
-                      }}</span
358
-                    >
359
-                    <span v-if="prescription.anticoagulant == '枸橼酸钠'"
360
-                      >mg</span
361
-                    >
362
-                    <span v-if="prescription.anticoagulant == '阿加曲班'"
363
-                      >mg</span
364
-                    >
365
-                    <span v-if="prescription.anticoagulant == '低分子肝素'"
366
-                      >iu</span
367
-                    >
368
-                    <span v-if="prescription.anticoagulant == '普通肝素'"
369
-                      >iu</span
370
-                    >
371
-                    <span v-if="prescription.anticoagulant == '无肝素'"
372
-                      >mg</span
373
-                    >
374
-                    <span v-if="prescription.anticoagulant == '低分子肝素钙'"
375
-                      >iu</span
376
-                    >
377
-                    <span v-if="prescription.anticoagulant == '低分子肝素钠'"
378
-                      >iu</span
379
-                    >
215
+                    总量:<span class="under-line">
216
+                      &nbsp;{{ prescription.anticoagulant_zongliang ? prescription.anticoagulant_zongliang : "0"}}
217
+                      </span>
218
+                    <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
219
+                    <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
220
+                    <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
221
+                    <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
222
+                    <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
223
+                    <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
224
+                    <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>
380
                   </td>
225
                   </td>
381
                 </tr>
226
                 </tr>
382
                 <tr>
227
                 <tr>
383
                   <td style="text-align:left;margin-left:15px">
228
                   <td style="text-align:left;margin-left:15px">
384
                     透析液(mmol/L):
229
                     透析液(mmol/L):
385
-                    <span
386
-                      class="under-line"
387
-                      v-if="prescription.dialysate_formulation == 0"
388
-                      >&nbsp; 常规(钾:0&nbsp;,钙:0 &nbsp;,钠:0)
230
+                    <span class="under-line" v-if="prescription.dialysate_formulation == 0">
231
+                      &nbsp; 常规(钾:0&nbsp;,钙:0 &nbsp;,钠:0)
389
                     </span>
232
                     </span>
390
-                    <span
391
-                      class="under-line"
392
-                      v-if="prescription.dialysate_formulation == 1"
393
-                      >&nbsp; 常规(钾:{{ prescription.kalium }}&nbsp;,钙:{{
394
-                        prescription.calcium
395
-                      }}&nbsp;,钠:{{ prescription.sodium }})
233
+                    <span class="under-line" v-if="prescription.dialysate_formulation == 1">
234
+                      &nbsp; 常规(钾:{{ prescription.kalium }}&nbsp;,钙:{{ prescription.calcium }}&nbsp;,钠:{{ prescription.sodium }})
396
                     </span>
235
                     </span>
397
-                    <span
398
-                      class="under-line"
399
-                      v-if="prescription.dialysate_formulation == 2"
400
-                      >&nbsp; 低钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{
401
-                        prescription.calcium
402
-                      }}&nbsp;,钠:{{ prescription.sodium }})
236
+                    <span class="under-line" v-if="prescription.dialysate_formulation == 2">
237
+                      &nbsp; 低钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{ prescription.calcium }}&nbsp;,钠:{{ prescription.sodium }})
403
                     </span>
238
                     </span>
404
-                    <span
405
-                      class="under-line"
406
-                      v-if="prescription.dialysate_formulation == 3"
407
-                      >&nbsp; 高钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{
408
-                        prescription.calcium
409
-                      }}&nbsp;,钠:{{ prescription.sodium }})
239
+                    <span class="under-line" v-if="prescription.dialysate_formulation == 3">
240
+                      &nbsp; 高钙(钾:{{ prescription.kalium }}&nbsp;,钙:{{ prescription.calcium }}&nbsp;,钠:{{ prescription.sodium }})
410
                     </span>
241
                     </span>
411
-                    <span
412
-                      class="under-line"
413
-                      v-if="prescription.dialysate_formulation == 4"
414
-                      >&nbsp; 低钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{
415
-                        prescription.calcium
416
-                      }}&nbsp;,钠:{{ prescription.sodium }})
242
+                    <span class="under-line" v-if="prescription.dialysate_formulation == 4">
243
+                      &nbsp; 低钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{ prescription.calcium }}&nbsp;,钠:{{ prescription.sodium }})
417
                     </span>
244
                     </span>
418
-                    <span
419
-                      class="under-line"
420
-                      v-if="prescription.dialysate_formulation == 5"
421
-                      >&nbsp; 高钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{
422
-                        prescription.calcium
423
-                      }}&nbsp;,钠:{{ prescription.sodium }})
245
+                    <span class="under-line" v-if="prescription.dialysate_formulation == 5">
246
+                      &nbsp; 高钠(钾:{{ prescription.kalium }}&nbsp;,钙:{{ prescription.calcium }}&nbsp;,钠:{{ prescription.sodium }})
424
                     </span>
247
                     </span>
425
                   </td>
248
                   </td>
426
                   <td style="text-align:left;margin-left:15px">
249
                   <td style="text-align:left;margin-left:15px">
427
                     并发症:
250
                     并发症:
428
-                    <span class="under-line">{{
429
-                      predialysis.complication ? predialysis.complication : "/"
430
-                    }}</span>
251
+                    <span class="under-line">{{ predialysis.complication ? predialysis.complication : "/" }}</span>
431
                   </td>
252
                   </td>
432
                   <td style="text-align:left;margin-left:15px">
253
                   <td style="text-align:left;margin-left:15px">
433
                     医生签名:
254
                     医生签名:
434
-                    <span class="under-line" v-if="doctorForm.url == ''"
435
-                      >&nbsp;{{
436
-                        doctorForm.doctor ? doctorForm.doctor : "/"
437
-                      }}</span
438
-                    >
255
+                    <span class="under-line" v-if="doctorForm.url == ''">
256
+                      &nbsp;{{ doctorForm.doctor ? doctorForm.doctor : "/" }}
257
+                    </span>
439
                     <span class="under-line" v-if="doctorForm.url != ''">
258
                     <span class="under-line" v-if="doctorForm.url != ''">
440
                       <img style="height:40px" :src="doctorForm.url" />
259
                       <img style="height:40px" :src="doctorForm.url" />
441
                     </span>
260
                     </span>
493
             {{ getTime(monitor.operate_time, "{h}:{i}") }}
312
             {{ getTime(monitor.operate_time, "{h}:{i}") }}
494
           </td>
313
           </td>
495
           <td>
314
           <td>
496
-            <span v-if="getTime(monitor.operate_time) != ''"
497
-              >{{
498
-                monitor.systolic_blood_pressure
499
-                  ? monitor.systolic_blood_pressure
500
-                  : "0"
501
-              }}/{{
502
-                monitor.diastolic_blood_pressure
503
-                  ? monitor.diastolic_blood_pressure
504
-                  : "0"
505
-              }}
315
+            <span v-if="getTime(monitor.operate_time) != ''">
316
+              {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "0" }}/
317
+              {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "0" }}
506
             </span>
318
             </span>
507
           </td>
319
           </td>
508
           <td>
320
           <td>
511
             </span>
323
             </span>
512
           </td>
324
           </td>
513
           <td>
325
           <td>
514
-            <span v-if="getTime(monitor.operate_time) != ''">{{
515
-              monitor.breathing_rate ? monitor.breathing_rate : "0"
516
-            }}</span>
326
+            <span v-if="getTime(monitor.operate_time) != ''">
327
+              {{ monitor.breathing_rate ? monitor.breathing_rate : "0" }}
328
+            </span>
517
           </td>
329
           </td>
518
           <td>
330
           <td>
519
             <span v-if="getTime(monitor.operate_time) != ''">
331
             <span v-if="getTime(monitor.operate_time) != ''">
520
-              {{
521
-                monitor.blood_flow_volume ? monitor.blood_flow_volume : "0"
522
-              }}</span
523
-            >
332
+              {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "0" }}
333
+            </span>
524
           </td>
334
           </td>
525
           <td>
335
           <td>
526
             <span v-if="getTime(monitor.operate_time) != ''">
336
             <span v-if="getTime(monitor.operate_time) != ''">
527
-              {{
528
-                monitor.ultrafiltration_volume
529
-                  ? monitor.ultrafiltration_volume
530
-                  : "0"
531
-              }}
337
+              {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "0" }}
532
             </span>
338
             </span>
533
           </td>
339
           </td>
534
           <td>
340
           <td>
535
-            <span v-if="getTime(monitor.operate_time) != ''"
536
-              >{{
537
-                monitor.displacement_quantity
538
-                  ? monitor.displacement_quantity
539
-                  : "0"
540
-              }}
341
+            <span v-if="getTime(monitor.operate_time) != ''">
342
+              {{ monitor.displacement_quantity ? monitor.displacement_quantity : "0" }}
541
             </span>
343
             </span>
542
           </td>
344
           </td>
543
           <td>
345
           <td>
547
           </td>
349
           </td>
548
           <td>
350
           <td>
549
             <span v-if="getTime(monitor.operate_time) != ''">
351
             <span v-if="getTime(monitor.operate_time) != ''">
550
-              {{
551
-                monitor.transmembrane_pressure
552
-                  ? monitor.transmembrane_pressure
553
-                  : "0"
554
-              }}
352
+              {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "0" }}
555
             </span>
353
             </span>
556
           </td>
354
           </td>
557
           <td>
355
           <td>
558
-            {{ monitor.symptom }} &nbsp;{{ monitor.dispose }}&nbsp;{{
559
-              monitor.result
560
-            }}
356
+            {{ monitor.symptom }} &nbsp;{{ monitor.dispose }}&nbsp;{{ monitor.result }}
561
           </td>
357
           </td>
562
         </tr>
358
         </tr>
563
       </table>
359
       </table>
587
               <p style="height:20px;line-height:20px">上次透后体重</p>
383
               <p style="height:20px;line-height:20px">上次透后体重</p>
588
             </td>
384
             </td>
589
             <td style="width:60px;height:40px">
385
             <td style="width:60px;height:40px">
590
-              {{
591
-                assessmentafter.weight_after
592
-                  ? assessmentafter.weight_after
593
-                  : "0"
594
-              }}kg
386
+              {{ assessmentafter.weight_after ? assessmentafter.weight_after : "0" }}kg
595
             </td>
387
             </td>
596
           </tr>
388
           </tr>
597
 
389
 
600
             <td>
392
             <td>
601
               <span v-if="advice.parent_id > 0">---></span>
393
               <span v-if="advice.parent_id > 0">---></span>
602
               <span>{{ advice.advice_name }}</span>
394
               <span>{{ advice.advice_name }}</span>
603
-              <span v-if="advice && advice.advice_desc"
604
-                >({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span
605
-              >
606
-              <span v-if="advice.prescribing_number">
607
-                &nbsp;&nbsp; {{ advice.prescribing_number
608
-                }}{{ advice.prescribing_number_unit }}</span
609
-              >
610
-              <span v-if="advice.single_dose != 0">
611
-                {{ advice.single_dose }}{{ advice.single_dose_unit }}</span
612
-              >
613
-              <span v-if="advice.parent_id == 0">{{
614
-                advice.delivery_way
615
-              }}</span>
616
-              <span v-if="advice.parent_id == 0">{{
617
-                advice.execution_frequency
618
-              }}</span>
395
+              <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
396
+              <span v-if="advice.prescribing_number">&nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}</span>
397
+              <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
398
+              <span v-if="advice.parent_id == 0">{{ advice.delivery_way }}</span>
399
+              <span v-if="advice.parent_id == 0">{{ advice.execution_frequency }}</span>
619
             </td>
400
             </td>
620
             <td>
401
             <td>
621
-              <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{
622
-                getAdminUser(advice.advice_doctor)
623
-              }}</span>
624
-              <img
625
-                style="height:40px;"
626
-                :src="setAdminUserES(advice.advice_doctor)"
627
-                alt=""
628
-                srcset=""
629
-                v-else
630
-              />
402
+              <span v-if="setAdminUserES(advice.advice_doctor) == ''">{{ getAdminUser(advice.advice_doctor) }}</span>
403
+              <img style="height:40px;" :src="setAdminUserES(advice.advice_doctor)" alt="" srcset="" v-else />
631
             </td>
404
             </td>
632
             <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
405
             <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
633
             <td>
406
             <td>
634
-              <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
635
-                getAdminUser(advice.execution_staff)
636
-              }}</span>
637
-              <img
638
-                style="height:40px;"
639
-                :src="setAdminUserES(advice.execution_staff)"
640
-                alt=""
641
-                srcset=""
642
-                v-else
643
-              />
407
+              <span v-if="setAdminUserES(advice.execution_staff) == ''">{{ getAdminUser(advice.execution_staff) }}</span>
408
+              <img style="height:40px;" :src="setAdminUserES(advice.execution_staff)" alt="" srcset="" v-else />
644
             </td>
409
             </td>
645
             <td>
410
             <td>
646
-              <span v-if="setAdminUserES(advice.checker) == ''">{{
647
-                getAdminUser(advice.checker)
648
-              }}</span>
649
-              <img
650
-                style="height:40px;"
651
-                :src="setAdminUserES(advice.checker)"
652
-                alt=""
653
-                srcset=""
654
-                v-else
655
-              />
411
+              <span v-if="setAdminUserES(advice.checker) == ''">{{ getAdminUser(advice.checker) }}</span>
412
+              <img style="height:40px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else />
656
             </td>
413
             </td>
657
             <td v-if="advice_index === 0">透前体重:</td>
414
             <td v-if="advice_index === 0">透前体重:</td>
658
             <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
415
             <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
659
             <td v-if="advice_index === 1">体重增加量:</td>
416
             <td v-if="advice_index === 1">体重增加量:</td>
660
-            <td v-if="advice_index === 1">
661
-              {{
662
-                (
663
-                  predialysis.weight_before - assessmentafter.weight_after
664
-                ).toFixed(1)
665
-              }}kg
666
-            </td>
417
+            <td v-if="advice_index === 1">{{ (predialysis.weight_before - assessmentafter.weight_after).toFixed(1) }}kg</td>
667
             <td v-if="advice_index === 2">干体重(DW):</td>
418
             <td v-if="advice_index === 2">干体重(DW):</td>
668
             <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
419
             <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
669
             <td v-if="advice_index === 3">较干体重增加量:</td>
420
             <td v-if="advice_index === 3">较干体重增加量:</td>
670
-            <td v-if="advice_index === 3">
671
-              {{
672
-                (
673
-                  predialysis.weight_before -
674
-                  predialysis.dry_weight -
675
-                  predialysis.additional_weight
676
-                ).toFixed(2)
677
-              }}kg
678
-            </td>
421
+            <td v-if="advice_index === 3">{{ (predialysis.weight_before - predialysis.dry_weight - predialysis.additional_weight).toFixed(2) }}kg</td>
679
             <td v-if="advice_index === 4">净脱水量:</td>
422
             <td v-if="advice_index === 4">净脱水量:</td>
680
-            <td v-if="advice_index === 4">
681
-              {{ afterdialysis.actual_ultrafiltration }}L
682
-            </td>
423
+            <td v-if="advice_index === 4">{{ afterdialysis.actual_ultrafiltration }}L</td>
683
             <td v-if="advice_index === 5">透后体重:</td>
424
             <td v-if="advice_index === 5">透后体重:</td>
684
-            <td v-if="advice_index === 5">
685
-              {{ afterdialysis.weight_after }}kg
686
-            </td>
425
+            <td v-if="advice_index === 5">{{ afterdialysis.weight_after }}kg</td>
687
           </tr>
426
           </tr>
688
         </tbody>
427
         </tbody>
689
       </table>
428
       </table>
693
             <tr>
432
             <tr>
694
               <td style="text-align:left;margin-left:15px;width:25%">
433
               <td style="text-align:left;margin-left:15px;width:25%">
695
                 上机时间:
434
                 上机时间:
696
-                <span class="under-line">
697
-                  {{
698
-                    getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
699
-                      ? getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
700
-                      : "0"
701
-                  }}</span
702
-                >
435
+                <span class="under-line">{{ getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}") ? getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}") : "0" }}</span>
703
               </td>
436
               </td>
704
               <td style="text-align:left;margin-left:15px;width:25%">
437
               <td style="text-align:left;margin-left:15px;width:25%">
705
                 下机时间:
438
                 下机时间:
706
-                <span class="under-line">{{
707
-                  getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
708
-                    ? getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
709
-                    : "0"
710
-                }}</span>
439
+                <span class="under-line">{{ getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}") ? getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}") : "0" }}</span>
711
               </td>
440
               </td>
712
               <td style="text-align:left;margin-left:15px;width:25%">
441
               <td style="text-align:left;margin-left:15px;width:25%">
713
                 上机护士:
442
                 上机护士:
714
-                <span class="under-line" v-if="orderForm.url === ''">{{
715
-                  orderForm.start_nurse ? orderForm.start_nurse : "/"
716
-                }}</span>
717
-                <span class="under-line" v-if="orderForm.url !== ''"
718
-                  ><img :src="orderForm.url" style="height:40px;"
719
-                /></span>
443
+                <span class="under-line" v-if="orderForm.url === ''">{{ orderForm.start_nurse ? orderForm.start_nurse : "/" }}</span>
444
+                <span class="under-line" v-if="orderForm.url !== ''"><img :src="orderForm.url" style="height:40px;" /></span>
720
               </td>
445
               </td>
721
               <td style="text-align:left;margin-left:15px;width:25%">
446
               <td style="text-align:left;margin-left:15px;width:25%">
722
                 核对护士:
447
                 核对护士:
723
-                <span class="under-line"
724
-                  >&nbsp;
725
-                  <span
726
-                    v-if="
727
-                      setAdminUserES(check == null ? 0 : check.modifier) == ''
728
-                    "
729
-                    >{{
730
-                      getAdminUser(check == null ? 0 : check.modifier)
731
-                        ? getAdminUser(check == null ? 0 : check.modifier)
732
-                        : "/"
733
-                    }}</span
734
-                  >
735
-                  <img
736
-                    class="es-img"
737
-                    :src="setAdminUserES(check == null ? 0 : check.modifier)"
738
-                    alt=""
739
-                    srcset=""
740
-                    style="height:40px"
741
-                    v-else
742
-                  />
448
+                <span class="under-line">&nbsp;
449
+                  <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
450
+                    {{ getAdminUser(check == null ? 0 : check.modifier) ? getAdminUser(check == null ? 0 : check.modifier) : "/" }}
451
+                  </span>
452
+                  <img class="es-img" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt="" srcset="" style="height:40px" v-else />
743
                 </span>
453
                 </span>
744
               </td>
454
               </td>
745
             </tr>
455
             </tr>
747
             <tr>
457
             <tr>
748
               <td style="text-align:left;margin-left:15px;width:25%">
458
               <td style="text-align:left;margin-left:15px;width:25%">
749
                 下机护士:
459
                 下机护士:
750
-                <span class="under-line" v-if="finshForm.url === ''"
751
-                  >&nbsp;{{
752
-                    finshForm.finish_nurse ? finshForm.finish_nurse : "/"
753
-                  }}</span
754
-                >
755
-                <span class="under-line" v-if="finshForm.url !== ''"
756
-                  >&nbsp;<img :src="finshForm.url" style="height:40px;"
757
-                /></span>
460
+                <span class="under-line" v-if="finshForm.url === ''">&nbsp;{{ finshForm.finish_nurse ? finshForm.finish_nurse : "/" }}</span>
461
+                <span class="under-line" v-if="finshForm.url !== ''">&nbsp;<img :src="finshForm.url" style="height:40px;" /></span>
758
               </td>
462
               </td>
759
               <td style="text-align:left;margin-left:15px;width:25%">
463
               <td style="text-align:left;margin-left:15px;width:25%">
760
                 下机血压:
464
                 下机血压:
761
-                <span class="under-line"
762
-                  >&nbsp;{{ afterdialysis.systolic_blood_pressure }}/{{
763
-                    afterdialysis.diastolic_blood_pressure
764
-                  }}&nbsp;mmHg</span
765
-                >
465
+                <span class="under-line">
466
+                  &nbsp;{{ afterdialysis.systolic_blood_pressure }}/{{ afterdialysis.diastolic_blood_pressure }}&nbsp;mmHg
467
+                </span>
766
               </td>
468
               </td>
767
               <td style="text-align:left;margin-left:15px;width:25%">
469
               <td style="text-align:left;margin-left:15px;width:25%">
768
                 实际治疗时间:
470
                 实际治疗时间:
769
-                <span class="under-line"
770
-                  >&nbsp;
771
-                  {{
772
-                    afterdialysis.actual_treatment_hour
773
-                      ? afterdialysis.actual_treatment_hour
774
-                      : "0"
775
-                  }}小时{{
776
-                    afterdialysis.actual_treatment_minute
777
-                      ? afterdialysis.actual_treatment_minute
778
-                      : "0"
779
-                  }}分钟
471
+                <span class="under-line">&nbsp;
472
+                  {{ afterdialysis.actual_treatment_hour ? afterdialysis.actual_treatment_hour : "0" }}小时
473
+                  {{ afterdialysis.actual_treatment_minute ? afterdialysis.actual_treatment_minute : "0" }}分钟
780
                 </span>
474
                 </span>
781
               </td>
475
               </td>
782
               <td style="text-align:left;margin-left:15px;width:25%">
476
               <td style="text-align:left;margin-left:15px;width:25%">
783
                 实际超滤量:
477
                 实际超滤量:
784
-                <span class="under-line"
785
-                  >&nbsp;{{
786
-                    afterdialysis.actual_ultrafiltration
787
-                      ? afterdialysis.actual_ultrafiltration
788
-                      : "0"
789
-                  }}&nbsp;L</span
790
-                >
478
+                <span class="under-line">&nbsp;
479
+                  {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "0" }}&nbsp;L</span>
791
               </td>
480
               </td>
792
             </tr>
481
             </tr>
793
             <tr>
482
             <tr>
794
               <td style="text-align:left;margin-left:15px">
483
               <td style="text-align:left;margin-left:15px">
795
                 拔针后穿刺点渗血:
484
                 拔针后穿刺点渗血:
796
-                <span
797
-                  class="under-line"
798
-                  v-if="afterdialysis.puncture_point_oozing_blood === 0"
799
-                  >&nbsp;/</span
800
-                >
801
-                <span
802
-                  class="under-line"
803
-                  v-if="afterdialysis.puncture_point_oozing_blood === 1"
804
-                  >&nbsp;有</span
805
-                >
806
-                <span
807
-                  class="under-line"
808
-                  v-if="afterdialysis.puncture_point_oozing_blood === 2"
809
-                  >&nbsp;无</span
810
-                >
485
+                <span class="under-line" v-if="afterdialysis.puncture_point_oozing_blood === 0">&nbsp;/</span>
486
+                <span class="under-line" v-if="afterdialysis.puncture_point_oozing_blood === 1">&nbsp;有</span>
487
+                <span class="under-line" v-if="afterdialysis.puncture_point_oozing_blood === 2">&nbsp;无</span>
811
               </td>
488
               </td>
812
               <td style="text-align:left;margin-left:15px">
489
               <td style="text-align:left;margin-left:15px">
813
                 穿刺处血肿:
490
                 穿刺处血肿:
814
-                <span
815
-                  class="under-line"
816
-                  v-if="afterdialysis.puncture_point_haematoma === 0"
817
-                  >&nbsp;/</span
818
-                >
819
-                <span
820
-                  class="under-line"
821
-                  v-if="afterdialysis.puncture_point_haematoma === 1"
822
-                  >&nbsp;有</span
823
-                >
824
-                <span
825
-                  class="under-line"
826
-                  v-if="afterdialysis.puncture_point_haematoma === 2"
827
-                  >&nbsp;无</span
828
-                >
491
+                <span class="under-line" v-if="afterdialysis.puncture_point_haematoma === 0">&nbsp;/</span>
492
+                <span class="under-line" v-if="afterdialysis.puncture_point_haematoma === 1">&nbsp;有</span>
493
+                <span class="under-line" v-if="afterdialysis.puncture_point_haematoma === 2">&nbsp;无</span>
829
               </td>
494
               </td>
830
               <td :colspan="2" style="text-align:left;margin-left:15px">
495
               <td :colspan="2" style="text-align:left;margin-left:15px">
831
                 压迫后内瘘震颤:
496
                 压迫后内瘘震颤:
832
-                <label-box
833
-                  :isChecked="
834
-                    afterdialysis.internal_fistula.indexOf('震颤-存在') > -1
835
-                      ? true
836
-                      : false
837
-                  "
838
-                  showValue="存在"
839
-                ></label-box>
497
+                <label-box :isChecked=" afterdialysis.internal_fistula.indexOf('震颤-存在') > -1 ? true : false" showValue="存在"></label-box>
840
                 &nbsp;
498
                 &nbsp;
841
-                <label-box
842
-                  :isChecked="
843
-                    afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1
844
-                      ? true
845
-                      : false
846
-                  "
847
-                  showValue="减弱"
848
-                ></label-box>
499
+                <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-减弱') > -1 ? true : false" showValue="减弱"></label-box>
849
                 &nbsp;
500
                 &nbsp;
850
-                <label-box
851
-                  :isChecked="
852
-                    afterdialysis.internal_fistula.indexOf('震颤-无') > -1
853
-                      ? true
854
-                      : false
855
-                  "
856
-                  showValue="无"
857
-                ></label-box>
501
+                <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-无') > -1 ? true : false" showValue="无"></label-box>
858
               </td>
502
               </td>
859
               <td width="10"></td>
503
               <td width="10"></td>
860
             </tr>
504
             </tr>
861
             <tr>
505
             <tr>
862
               <td style="text-align:left;margin-left:15px;" colspan="2">
506
               <td style="text-align:left;margin-left:15px;" colspan="2">
863
                 并发症:
507
                 并发症:
864
-                <span class="under-line"
865
-                  >&nbsp;{{ afterdialysis.complication }}</span
866
-                >
508
+                <span class="under-line">&nbsp;{{ afterdialysis.complication }}</span>
867
               </td>
509
               </td>
868
               <td style="text-align:left;margin-left:15px" colspan="2">
510
               <td style="text-align:left;margin-left:15px" colspan="2">
869
                 透析器凝血:
511
                 透析器凝血:
870
-                <span class="under-line">{{
871
-                  afterdialysis.cruor ? afterdialysis.cruor : "/"
872
-                }}</span>
512
+                <span class="under-line">{{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}</span>
873
               </td>
513
               </td>
874
             </tr>
514
             </tr>
875
           </table>
515
           </table>
878
             <tr>
518
             <tr>
879
               <td style="text-align:left;margin-left:15px">
519
               <td style="text-align:left;margin-left:15px">
880
                 治疗小结:
520
                 治疗小结:
881
-                <span class="under-line"
882
-                  >&nbsp;{{ summary.dialysis_summary }}</span
883
-                >
521
+                <span class="under-line">&nbsp;{{ summary.dialysis_summary }}</span>
884
               </td>
522
               </td>
885
             </tr>
523
             </tr>
886
           </table>
524
           </table>

File diff suppressed because it is too large
+ 250 - 1179
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue


File diff suppressed because it is too large
+ 249 - 1184
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue


File diff suppressed because it is too large
+ 160 - 946
src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue


+ 107 - 439
src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue View File

11
             </td>
11
             </td>
12
           </tr>
12
           </tr>
13
           <tr>
13
           <tr>
14
-            <td
15
-              width="120"
16
-              style="padding-left:5px;border:none;text-align: left;"
17
-            >
14
+            <td width="120" style="padding-left:5px;border:none;text-align: left;">
18
               <div>
15
               <div>
19
                 姓 名:&nbsp;{{ patientInfo.name ? patientInfo.name : "/" }}
16
                 姓 名:&nbsp;{{ patientInfo.name ? patientInfo.name : "/" }}
20
               </div>
17
               </div>
31
             <td width="50" style="border:none">身 高:</td>
28
             <td width="50" style="border:none">身 高:</td>
32
             <td width="80" style="border:none;text-align: left;">
29
             <td width="80" style="border:none;text-align: left;">
33
               <span>
30
               <span>
34
-                &nbsp;&nbsp;&nbsp;{{
35
-                  patientInfo.height ? patientInfo.height : ""
36
-                }}&nbsp;&nbsp;&nbsp;
31
+                &nbsp;&nbsp;&nbsp;{{ patientInfo.height ? patientInfo.height : "" }}&nbsp;&nbsp;&nbsp;
37
               </span>
32
               </span>
38
               cm
33
               cm
39
             </td>
34
             </td>
40
             <td width="50" style="border:none">科 室:</td>
35
             <td width="50" style="border:none">科 室:</td>
41
             <td width="140" style="border:none;text-align: left;">
36
             <td width="140" style="border:none;text-align: left;">
42
               <div>
37
               <div>
43
-                <label-box
44
-                  showValue="门诊"
45
-                  :isChecked="
46
-                    receiverTreatmentAccess.condition == 2 ? true : false
47
-                  "
48
-                ></label-box>
49
-                <label-box
50
-                  showValue="住院"
51
-                  :isChecked="
52
-                    receiverTreatmentAccess.condition == 1 ? true : false
53
-                  "
54
-                ></label-box>
38
+                <label-box showValue="门诊" :isChecked="receiverTreatmentAccess.condition == 2 ? true : false"></label-box>
39
+                <label-box showValue="住院" :isChecked="receiverTreatmentAccess.condition == 1 ? true : false"></label-box>
55
               </div>
40
               </div>
56
             </td>
41
             </td>
57
 
42
 
58
             <td width="80" style="border:none">透析机号:</td>
43
             <td width="80" style="border:none">透析机号:</td>
59
             <td width="80" style="border:none;text-align: left;">
44
             <td width="80" style="border:none;text-align: left;">
60
               <div>
45
               <div>
61
-                {{
62
-                  dialysisOrder &&
63
-                  dialysisOrder.DeviceNumber &&
64
-                  dialysisOrder.DeviceNumber.number.length > 0
65
-                    ? dialysisOrder.DeviceNumber.number
66
-                    : patientInfo.DialysisSchedule.device_number.number
67
-                }}
46
+                {{ dialysisOrder && dialysisOrder.DeviceNumber && dialysisOrder.DeviceNumber.number.length > 0 ? dialysisOrder.DeviceNumber.number : patientInfo.DialysisSchedule.device_number.number }}
68
               </div>
47
               </div>
69
             </td>
48
             </td>
70
             <!-- <td width="1"></td> -->
49
             <!-- <td width="1"></td> -->
75
           </tr>
54
           </tr>
76
           <tr style="text-align:left">
55
           <tr style="text-align:left">
77
             <td colspan="11" style="padding-left:5px">
56
             <td colspan="11" style="padding-left:5px">
78
-              上机前病情:{{
79
-                predialysis.symptom_before_dialysis
80
-                  ? predialysis.symptom_before_dialysis
81
-                  : ""
82
-              }}
57
+              上机前病情:{{ predialysis.symptom_before_dialysis ? predialysis.symptom_before_dialysis : "" }}
83
             </td>
58
             </td>
84
           </tr>
59
           </tr>
85
           <tr style="text-align:left">
60
           <tr style="text-align:left">
86
             <td colspan="8" style="padding-left:5px">
61
             <td colspan="8" style="padding-left:5px">
87
               治疗方式:&nbsp;
62
               治疗方式:&nbsp;
88
-              <label-box
89
-                :isChecked="prescription.mode_id == 1 ? true : false"
90
-                showValue="HD"
91
-              ></label-box
92
-              >&nbsp;
93
-              <label-box
94
-                :isChecked="prescription.mode_id == 2 ? true : false"
95
-                showValue="HDF"
96
-              ></label-box
97
-              >&nbsp; (
98
-              <label-box
99
-                :isChecked="
100
-                  prescription.displace_liqui_part == 1 ? true : false
101
-                "
102
-                showValue="前稀释"
103
-              ></label-box>
104
-              <label-box
105
-                :isChecked="
106
-                  prescription.displace_liqui_part == 2 ? true : false
107
-                "
108
-                showValue="后稀释"
109
-              ></label-box>
63
+              <label-box :isChecked="prescription.mode_id == 1 ? true : false" showValue="HD"></label-box>&nbsp;
64
+              <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>&nbsp; (
65
+              <label-box :isChecked="prescription.displace_liqui_part == 1 ? true : false" showValue="前稀释"></label-box>
66
+              <label-box :isChecked="prescription.displace_liqui_part == 2 ? true : false" showValue="后稀释"></label-box>
110
               <span>
67
               <span>
111
                 ,置换量
68
                 ,置换量
112
                 <span style="width:50px;display: inline-block;">
69
                 <span style="width:50px;display: inline-block;">
113
-                  {{
114
-                    prescription.displace_liqui_value
115
-                      ? prescription.displace_liqui_value
116
-                      : "/"
117
-                  }}
70
+                  {{ prescription.displace_liqui_value ? prescription.displace_liqui_value : "/" }}
118
                 </span>
71
                 </span>
119
                 L
72
                 L
120
               </span>
73
               </span>
121
74
122
-              <label-box
123
-                :isChecked="prescription.mode_id > 2 ? true : false"
124
-                showValue="其他:"
125
-              ></label-box>
126
-              <span v-if="prescription.mode_id == 3">{{
127
-                prescription.mode_id == 3 ? "HD+HP" : ""
128
-              }}</span>
129
-              <span v-if="prescription.mode_id == 4">{{
130
-                prescription.mode_id == 4 ? "HP" : ""
131
-              }}</span>
132
-              <span v-if="prescription.mode_id == 5">{{
133
-                prescription.mode_id == 5 ? "HF" : ""
134
-              }}</span>
135
-              <span v-if="prescription.mode_id == 6">{{
136
-                prescription.mode_id == 6 ? "SCUF" : ""
137
-              }}</span>
138
-              <span v-if="prescription.mode_id == 7">{{
139
-                prescription.mode_id == 7 ? "IUF" : ""
140
-              }}</span>
141
-              <span v-if="prescription.mode_id == 8">{{
142
-                prescription.mode_id == 8 ? "HFHD" : ""
143
-              }}</span>
144
-              <span v-if="prescription.mode_id == 9">{{
145
-                prescription.mode_id == 9 ? "HFHD+HP" : ""
146
-              }}</span>
147
-              <span v-if="prescription.mode_id == 10">{{
148
-                prescription.mode_id == 10 ? "PHF" : ""
149
-              }}</span>
150
-              <span v-if="prescription.mode_id == 11">{{
151
-                prescription.mode_id == 11 ? "HFR" : ""
152
-              }}</span>
153
-              <span v-if="prescription.mode_id == 12">{{
154
-                prescription.mode_id == 12 ? "HDF+HP" : ""
155
-              }}</span>
156
-              <span v-if="prescription.mode_id == 13">{{
157
-                prescription.mode_id == 13 ? "CRRT" : ""
158
-              }}</span>
159
-              <span v-if="prescription.mode_id == 14">{{
160
-                prescription.mode_id == 14 ? "腹水回输" : ""
161
-              }}</span>
75
+              <label-box :isChecked="prescription.mode_id > 2 ? true : false" showValue="其他:"></label-box>
76
+              <span v-if="prescription.mode_id == 3">{{ prescription.mode_id == 3 ? "HD+HP" : "" }}</span>
77
+              <span v-if="prescription.mode_id == 4">{{ prescription.mode_id == 4 ? "HP" : "" }}</span>
78
+              <span v-if="prescription.mode_id == 5">{{ prescription.mode_id == 5 ? "HF" : "" }}</span>
79
+              <span v-if="prescription.mode_id == 6">{{ prescription.mode_id == 6 ? "SCUF" : "" }}</span>
80
+              <span v-if="prescription.mode_id == 7">{{ prescription.mode_id == 7 ? "IUF" : "" }}</span>
81
+              <span v-if="prescription.mode_id == 8">{{ prescription.mode_id == 8 ? "HFHD" : "" }}</span>
82
+              <span v-if="prescription.mode_id == 9">{{ prescription.mode_id == 9 ? "HFHD+HP" : "" }}</span>
83
+              <span v-if="prescription.mode_id == 10">{{ prescription.mode_id == 10 ? "PHF" : "" }}</span>
84
+              <span v-if="prescription.mode_id == 11">{{ prescription.mode_id == 11 ? "HFR" : "" }}</span>
85
+              <span v-if="prescription.mode_id == 12">{{ prescription.mode_id == 12 ? "HDF+HP" : "" }}</span>
86
+              <span v-if="prescription.mode_id == 13">{{ prescription.mode_id == 13 ? "CRRT" : "" }}</span>
87
+              <span v-if="prescription.mode_id == 14">{{ prescription.mode_id == 14 ? "腹水回输" : "" }}</span>
162
             </td>
88
             </td>
163
             <td colspan="3" style="border-left:1px solid #000;padding-left:5px">
89
             <td colspan="3" style="border-left:1px solid #000;padding-left:5px">
164
               治疗时间:
90
               治疗时间:
165
               <span>
91
               <span>
166
-                &nbsp;{{
167
-                  prescription.dialysis_duration_hour
168
-                    ? prescription.dialysis_duration_hour
169
-                    : "0"
170
-                }}小时{{
171
-                  prescription.dialysis_duration_minute
172
-                    ? prescription.dialysis_duration_minute
173
-                    : "0"
174
-                }}分钟
92
+                &nbsp;{{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : "0" }}小时
93
+                {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : "0" }}分钟
175
               </span>
94
               </span>
176
             </td>
95
             </td>
177
           </tr>
96
           </tr>
178
           <tr style="text-align:left">
97
           <tr style="text-align:left">
179
             <td colspan="11" style="padding-left:5px">
98
             <td colspan="11" style="padding-left:5px">
180
               治疗抗凝:
99
               治疗抗凝:
181
-              <label-box
182
-                :isChecked="
183
-                  prescription.anticoagulant == '低分子肝素钙'
184
-                    ? true
185
-                    : prescription.anticoagulant == '低分子肝素钠'
186
-                    ? true
187
-                    : false
188
-                "
189
-                showValue="低分子肝素:"
190
-              ></label-box>
100
+              <label-box :isChecked="prescription.anticoagulant == '低分子肝素钙' ? true : prescription.anticoagulant == '低分子肝素钠' ? true : false" showValue="低分子肝素:"></label-box>
191
               <span style="width:50px;display: inline-block;">
101
               <span style="width:50px;display: inline-block;">
192
-                {{
193
-                  prescription.anticoagulant_zongliang &&
194
-                  (prescription.anticoagulant == "低分子肝素钙" ||
195
-                    prescription.anticoagulant == "低分子肝素钠")
196
-                    ? prescription.anticoagulant_zongliang
197
-                    : ""
198
-                }} </span
199
-              >iu&nbsp;
200
-              <label-box
201
-                :isChecked="
202
-                  prescription.anticoagulant == '普通肝素' ? true : false
203
-                "
204
-                showValue="普通肝素:"
205
-              ></label-box
206
-              >首剂:
102
+                {{ prescription.anticoagulant_zongliang && (prescription.anticoagulant == "低分子肝素钙" || prescription.anticoagulant == "低分子肝素钠") ? prescription.anticoagulant_zongliang : "" }}
103
+              </span>iu&nbsp;
104
+              <label-box :isChecked="prescription.anticoagulant == '普通肝素' ? true : false" showValue="普通肝素:"></label-box>
105
+              首剂:
207
               <span style="width:35px;display: inline-block;">
106
               <span style="width:35px;display: inline-block;">
208
-                {{
209
-                  prescription.anticoagulant_shouji &&
210
-                  (prescription.anticoagulant != "低分子肝素钙" &&
211
-                    prescription.anticoagulant != "低分子肝素钠") &&
212
-                  prescription.anticoagulant == "普通肝素"
213
-                    ? prescription.anticoagulant_shouji
214
-                    : ""
215
-                }}
107
+                {{ prescription.anticoagulant_shouji && (prescription.anticoagulant != "低分子肝素钙" && prescription.anticoagulant != "低分子肝素钠") && prescription.anticoagulant == "普通肝素" ? prescription.anticoagulant_shouji : "" }}
216
               </span>
108
               </span>
217
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
109
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
218
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
110
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
219
               <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
111
               <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
220
               <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
112
               <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
221
               <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
113
               <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
222
-              <span v-if="prescription.anticoagulant == '低分子肝素钙'"
223
-                >iu</span
224
-              >
225
-              <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span
226
-              >&nbsp; 追加:
114
+              <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
115
+              <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>&nbsp; 
116
+              追加:
227
               <span style="width:35px;display: inline-block;">
117
               <span style="width:35px;display: inline-block;">
228
-                {{
229
-                  prescription.anticoagulant_weichi &&
230
-                  prescription.anticoagulant == "普通肝素"
231
-                    ? prescription.anticoagulant_weichi
232
-                    : ""
233
-                }}
118
+                {{ prescription.anticoagulant_weichi && prescription.anticoagulant == "普通肝素" ? prescription.anticoagulant_weichi : "" }}
234
               </span>
119
               </span>
235
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
120
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
236
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
121
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
237
-              <span v-if="prescription.anticoagulant == '低分子肝素'"
238
-                >iu/h</span
239
-              >
122
+              <span v-if="prescription.anticoagulant == '低分子肝素'">iu/h</span>
240
               <span v-if="prescription.anticoagulant == '普通肝素'">iu/h</span>
123
               <span v-if="prescription.anticoagulant == '普通肝素'">iu/h</span>
241
               <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
124
               <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
242
-              <span v-if="prescription.anticoagulant == '低分子肝素钙'"
243
-                >iu/h</span
244
-              >
245
-              <span v-if="prescription.anticoagulant == '低分子肝素钠'"
246
-                >iu/h</span
247
-              >
125
+              <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu/h</span>
126
+              <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu/h</span>
248
               &nbsp; 总量:
127
               &nbsp; 总量:
249
               <span style="width:50px;display: inline-block;">
128
               <span style="width:50px;display: inline-block;">
250
-                {{
251
-                  prescription.anticoagulant_zongliang &&
252
-                  prescription.anticoagulant == "普通肝素"
253
-                    ? prescription.anticoagulant_zongliang
254
-                    : ""
255
-                }}
129
+                {{ prescription.anticoagulant_zongliang && prescription.anticoagulant == "普通肝素" ? prescription.anticoagulant_zongliang : "" }}
256
               </span>
130
               </span>
257
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
131
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
258
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
132
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
259
               <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
133
               <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
260
               <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
134
               <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
261
               <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
135
               <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
262
-              <span v-if="prescription.anticoagulant == '低分子肝素钙'"
263
-                >iu</span
264
-              >
265
-              <span v-if="prescription.anticoagulant == '低分子肝素钠'"
266
-                >iu</span
267
-              >
136
+              <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
137
+              <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>
268
               &nbsp;
138
               &nbsp;
269
-              <label-box
270
-                :isChecked="
271
-                  prescription.anticoagulant == '无肝素' ? true : false
272
-                "
273
-                showValue="无肝素:"
274
-              ></label-box>
275
-              <label-box
276
-                :isChecked="
277
-                  prescription.anticoagulant == '枸橼酸钠' ? true : false
278
-                "
279
-                showValue="枸橼酸"
280
-              ></label-box>
139
+              <label-box :isChecked="prescription.anticoagulant == '无肝素' ? true : false" showValue="无肝素:"></label-box>
140
+              <label-box :isChecked="prescription.anticoagulant == '枸橼酸钠' ? true : false" showValue="枸橼酸"></label-box>
281
             </td>
141
             </td>
282
           </tr>
142
           </tr>
283
           <tr style="text-align:left">
143
           <tr style="text-align:left">
284
             <td colspan="7" style="padding-left:5px">
144
             <td colspan="7" style="padding-left:5px">
285
               处方脱水量:
145
               处方脱水量:
286
               <span style="width:50px;display: inline-block;">
146
               <span style="width:50px;display: inline-block;">
287
-                {{
288
-                  prescription.target_ultrafiltration
289
-                    ? prescription.target_ultrafiltration
290
-                    : ""
291
-                }} </span
292
-              >L; 透析液流量:
147
+                {{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }}
148
+              </span>L; 透析液流量:
293
               <span style="width:50px;display: inline-block;">
149
               <span style="width:50px;display: inline-block;">
294
-                {{
295
-                  prescription.dialysate_flow ? prescription.dialysate_flow : ""
296
-                }} </span
297
-              >ml/min;
150
+                {{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }}
151
+              </span>ml/min;
298
             </td>
152
             </td>
299
-            <td
300
-              colspan="4"
301
-              style="padding-left:5px;border-left:1px solid #000;padding-left:5px"
302
-            >
153
+            <td colspan="4" style="padding-left:5px;border-left:1px solid #000;padding-left:5px">
303
               医师签名:
154
               医师签名:
304
               <span v-if="setAdminUserES(prescription.creater) == ''">
155
               <span v-if="setAdminUserES(prescription.creater) == ''">
305
                 {{ getAdminUser(prescription.creater) }}
156
                 {{ getAdminUser(prescription.creater) }}
306
               </span>
157
               </span>
307
-              <img
308
-                class="es-img"
309
-                :src="setAdminUserES(prescription.creater)"
310
-                alt
311
-                srcset
312
-                v-else
313
-              />
158
+              <img class="es-img" :src="setAdminUserES(prescription.creater)" alt srcset v-else />
314
             </td>
159
             </td>
315
           </tr>
160
           </tr>
316
           <tr style="text-align:left">
161
           <tr style="text-align:left">
317
             <td colspan="2" style="padding-left:5px">
162
             <td colspan="2" style="padding-left:5px">
318
-              透析机:{{
319
-                predialysis.machine_type ? predialysis.machine_type : ""
320
-              }}
163
+              透析机:{{ predialysis.machine_type ? predialysis.machine_type : "" }}
321
             </td>
164
             </td>
322
-            <td
323
-              colspan="2"
324
-              style="padding-left:5px;border-left:1px solid #000;"
325
-            >
326
-              透析(滤)器:{{
327
-                prescription.dialyzer_perfusion_apparatus
328
-                  ? prescription.dialyzer_perfusion_apparatus
329
-                  : ""
330
-              }}
165
+            <td colspan="2" style="padding-left:5px;border-left:1px solid #000;">
166
+              透析(滤)器:{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : "" }}
331
             </td>
167
             </td>
332
-            <td
333
-              colspan="7"
334
-              style="padding-left:5px;border-left:1px solid #000;"
335
-            >
168
+            <td colspan="7" style="padding-left:5px;border-left:1px solid #000;">
336
               透析液:钾:
169
               透析液:钾:
337
               <span style="width:40px;display: inline-block;">
170
               <span style="width:40px;display: inline-block;">
338
-                {{ prescription.kalium }} </span
339
-              >mmol/L&nbsp; 钙:
340
-              <span style="width:40px;display: inline-block;">{{
341
-                prescription.calcium
342
-              }}</span
343
-              >mmol/L&nbsp; 碳酸氢根:
171
+                {{ prescription.kalium ? prescription.kalium : "" }}
172
+              </span>mmol/L&nbsp; 钙:
344
               <span style="width:40px;display: inline-block;">
173
               <span style="width:40px;display: inline-block;">
345
-                {{
346
-                  prescription.bicarbonate ? prescription.bicarbonate : ""
347
-                }} </span
348
-              >mmol/L
174
+                {{ prescription.calcium ? prescription.calcium : "" }}
175
+              </span>mmol/L&nbsp; 碳酸氢根:
176
+              <span style="width:40px;display: inline-block;">
177
+                {{ prescription.bicarbonate ? prescription.bicarbonate : "" }}
178
+              </span>mmol/L
349
             </td>
179
             </td>
350
           </tr>
180
           </tr>
351
           <tr style="text-align:left">
181
           <tr style="text-align:left">
352
             <td colspan="11" style="padding-left:5px">
182
             <td colspan="11" style="padding-left:5px">
353
               血管通路:
183
               血管通路:
354
-              <label-box
355
-                :isChecked="
356
-                  predialysis.blood_access_part_opera_name == '内瘘'
357
-                    ? true
358
-                    : false
359
-                "
360
-                showValue="内瘘"
361
-              ></label-box
362
-              >&nbsp;
363
-              <label-box
364
-                :isChecked="
365
-                  predialysis.blood_access_part_opera_name.indexOf(
366
-                    '长期静脉导管'
367
-                  ) > -1
368
-                    ? true
369
-                    : false
370
-                "
371
-                showValue="长期静脉导管"
372
-              ></label-box
373
-              >&nbsp;
374
-              <label-box
375
-                :isChecked="
376
-                  predialysis.blood_access_part_opera_name.indexOf('颈内静脉') >
377
-                  -1
378
-                    ? true
379
-                    : false
380
-                "
381
-                showValue="临时颈内静脉导管"
382
-              ></label-box
383
-              >&nbsp;
384
-              <label-box
385
-                :isChecked="
386
-                  predialysis.blood_access_part_opera_name.indexOf('股静脉') >
387
-                  -1
388
-                    ? true
389
-                    : false
390
-                "
391
-                showValue="临时股静脉导管"
392
-              ></label-box
393
-              >&nbsp;
394
-              <label-box
395
-                :isChecked="
396
-                  predialysis.blood_access_part_opera_name.indexOf('人造血管') >
397
-                  -1
398
-                    ? true
399
-                    : predialysis.blood_access_part_opera_name.indexOf(
400
-                        '移植血管'
401
-                      ) > -1
402
-                    ? true
403
-                    : false
404
-                "
405
-                showValue="其他"
406
-              ></label-box
407
-              >&nbsp;
184
+              <label-box :isChecked="predialysis.blood_access_part_opera_name == '内瘘' ? true : false" showValue="内瘘"></label-box>&nbsp;
185
+              <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('长期静脉导管') > -1 ? true : false" showValue="长期静脉导管"></label-box>&nbsp;
186
+              <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('颈内静脉') > -1 ? true : false" showValue="临时颈内静脉导管"></label-box>&nbsp;
187
+              <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('股静脉') > -1 ? true : false" showValue="临时股静脉导管"></label-box>&nbsp;
188
+              <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('人造血管') > -1 ? true : predialysis.blood_access_part_opera_name.indexOf('移植血管') > -1 ? true : false" showValue="其他"></label-box>&nbsp;
408
               <span style="width:50px;display: inline-block;"></span>
189
               <span style="width:50px;display: inline-block;"></span>
409
               穿刺者:
190
               穿刺者:
410
               <span style="width:50px;display: inline-block;">
191
               <span style="width:50px;display: inline-block;">
411
-                <span
412
-                  v-if="
413
-                    setAdminUserES(
414
-                      dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
415
-                    ) == ''
416
-                  "
417
-                >
418
-                  {{
419
-                    getAdminUser(
420
-                      dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
421
-                    )
422
-                  }}
192
+                <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) == ''">
193
+                  {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse) }}
423
                 </span>
194
                 </span>
424
-                <img
425
-                  class="es-img"
426
-                  :src="
427
-                    setAdminUserES(
428
-                      dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse
429
-                    )
430
-                  "
431
-                  alt
432
-                  srcset
433
-                  v-else
434
-                />
195
+                <img class="es-img" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.puncture_nurse)" alt srcset v-else />
435
               </span>
196
               </span>
436
             </td>
197
             </td>
437
           </tr>
198
           </tr>
840
           </td>
601
           </td>
841
           <td>
602
           <td>
842
             <span v-if="getTime(monitor.operate_time) != ''">
603
             <span v-if="getTime(monitor.operate_time) != ''">
843
-              {{
844
-                monitor.transmembrane_pressure
845
-                  ? monitor.transmembrane_pressure
846
-                  : "0"
847
-              }}
604
+              {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "0" }}
848
             </span>
605
             </span>
849
           </td>
606
           </td>
850
           <td>
607
           <td>
859
           </td>
616
           </td>
860
           <td>
617
           <td>
861
             <span v-if="getTime(monitor.operate_time) != ''">
618
             <span v-if="getTime(monitor.operate_time) != ''">
862
-              {{
863
-                monitor.ultrafiltration_volume
864
-                  ? monitor.ultrafiltration_volume
865
-                  : "0"
866
-              }}
619
+              {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "0" }}
867
             </span>
620
             </span>
868
           </td>
621
           </td>
869
           <td>
622
           <td>
870
-            <span v-if="getTime(monitor.operate_time) != ''">{{
871
-              monitor.temperature ? monitor.temperature : "0"
872
-            }}</span>
623
+            <span v-if="getTime(monitor.operate_time) != ''">
624
+              {{ monitor.temperature ? monitor.temperature : "0" }}
625
+            </span>
873
           </td>
626
           </td>
874
           <td>
627
           <td>
875
             <span v-if="getTime(monitor.operate_time) != ''">
628
             <span v-if="getTime(monitor.operate_time) != ''">
883
           </td>
636
           </td>
884
           <td>
637
           <td>
885
             <span v-if="getTime(monitor.operate_time) != ''">
638
             <span v-if="getTime(monitor.operate_time) != ''">
886
-              {{
887
-                monitor.systolic_blood_pressure
888
-                  ? monitor.systolic_blood_pressure
889
-                  : ""
890
-              }}
891
-              /
892
-              {{
893
-                monitor.diastolic_blood_pressure
894
-                  ? monitor.diastolic_blood_pressure
895
-                  : ""
896
-              }}
639
+              {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/
640
+              {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
897
             </span>
641
             </span>
898
           </td>
642
           </td>
899
           <td>
643
           <td>
900
             <span v-if="getTime(monitor.operate_time) != ''">
644
             <span v-if="getTime(monitor.operate_time) != ''">
901
-              {{
902
-                monitor.blood_oxygen_saturation
903
-                  ? monitor.blood_oxygen_saturation
904
-                  : "0"
905
-              }}
645
+              {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "0" }}
906
             </span>
646
             </span>
907
           </td>
647
           </td>
908
           <td>
648
           <td>
909
             <span v-if="monitor.symptom || monitor.dispose || monitor.result">
649
             <span v-if="monitor.symptom || monitor.dispose || monitor.result">
910
-              {{
911
-                monitor.symptom + "," + monitor.dispose + "," + monitor.result
912
-              }}
650
+              {{ monitor.symptom + "," + monitor.dispose + "," + monitor.result }}
913
             </span>
651
             </span>
914
           </td>
652
           </td>
915
           <td width="0" style="border:none;visibility: hidden;padding:0"></td>
653
           <td width="0" style="border:none;visibility: hidden;padding:0"></td>
917
             <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
655
             <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
918
               {{ getAdminUser(monitor.monitoring_nurse) }}
656
               {{ getAdminUser(monitor.monitoring_nurse) }}
919
             </span>
657
             </span>
920
-            <img
921
-              class="es-img"
922
-              :src="setAdminUserES(monitor.monitoring_nurse)"
923
-              alt
924
-              srcset
925
-              v-else
926
-            />
658
+            <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset v-else />
927
           </td>
659
           </td>
928
         </tr>
660
         </tr>
929
       </table>
661
       </table>
957
             <td colspan="5" style="height:30px;">
689
             <td colspan="5" style="height:30px;">
958
               <span v-if="advice.parent_id > 0">---></span>
690
               <span v-if="advice.parent_id > 0">---></span>
959
               <span>{{ advice.advice_name }}</span>
691
               <span>{{ advice.advice_name }}</span>
960
-              <span v-if="advice && advice.advice_desc"
961
-                >({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span
962
-              >
692
+              <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
963
               <span v-if="advice.prescribing_number">
693
               <span v-if="advice.prescribing_number">
964
-                &nbsp;&nbsp; {{ advice.prescribing_number
965
-                }}{{ advice.prescribing_number_unit }}
694
+                &nbsp;&nbsp; {{ advice.prescribing_number }}{{ advice.prescribing_number_unit }}
966
               </span>
695
               </span>
967
-              <span v-if="advice.single_dose != 0"
968
-                >{{ advice.single_dose }}{{ advice.single_dose_unit }}</span
969
-              >
696
+              <span v-if="advice.single_dose != 0">{{ advice.single_dose }}{{ advice.single_dose_unit }}</span>
970
               <span v-if="advice.parent_id == 0">
697
               <span v-if="advice.parent_id == 0">
971
                 {{ advice.delivery_way }}
698
                 {{ advice.delivery_way }}
972
               </span>
699
               </span>
978
               <span v-if="setAdminUserES(advice.advice_doctor) == ''">
705
               <span v-if="setAdminUserES(advice.advice_doctor) == ''">
979
                 {{ getAdminUser(advice.advice_doctor) }}
706
                 {{ getAdminUser(advice.advice_doctor) }}
980
               </span>
707
               </span>
981
-              <img
982
-                style="height:30px;"
983
-                :src="setAdminUserES(advice.advice_doctor)"
984
-                alt
985
-                srcset
986
-                v-else
987
-              />
708
+              <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset v-else />
988
             </td>
709
             </td>
989
             <td colspan="2" style="height:40px">
710
             <td colspan="2" style="height:40px">
990
               <span v-if="setAdminUserES(advice.execution_staff) == ''">
711
               <span v-if="setAdminUserES(advice.execution_staff) == ''">
991
                 {{ getAdminUser(advice.execution_staff) }}
712
                 {{ getAdminUser(advice.execution_staff) }}
992
               </span>
713
               </span>
993
-              <img
994
-                style="height:30px;"
995
-                :src="setAdminUserES(advice.execution_staff)"
996
-                alt
997
-                srcset
998
-                v-else
999
-              />
714
+              <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset v-else />
1000
             </td>
715
             </td>
1001
             <td colspan="3" style="width:130px;">
716
             <td colspan="3" style="width:130px;">
1002
               {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
717
               {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
1049
               <div>
764
               <div>
1050
                 &nbsp;
765
                 &nbsp;
1051
                 <span style="width:70px;display:inline-block">
766
                 <span style="width:70px;display:inline-block">
1052
-                  {{
1053
-                    predialysis.weight_before ? predialysis.weight_before : ""
1054
-                  }} </span
1055
-                >Kg
767
+                  {{ predialysis.weight_before ? predialysis.weight_before : "" }}
768
+                </span>Kg
1056
               </div>
769
               </div>
1057
             </td>
770
             </td>
1058
             <!-- <td width="100" style="border:none;"></td> -->
771
             <!-- <td width="100" style="border:none;"></td> -->
1059
 
772
 
1060
-            <td
1061
-              width="100"
1062
-              style="border:none;border-left:1px solid #000;padding-left:5px;"
1063
-            >
773
+            <td width="100" style="border:none;border-left:1px solid #000;padding-left:5px;">
1064
               干体重:
774
               干体重:
1065
             </td>
775
             </td>
1066
             <td width="180" style="text-align:left;border:none;">
776
             <td width="180" style="text-align:left;border:none;">
1067
               <div>
777
               <div>
1068
                 <span style="width:70px;display:inline-block;border:none;">
778
                 <span style="width:70px;display:inline-block;border:none;">
1069
-                  {{
1070
-                    predialysis.dry_weight ? predialysis.dry_weight : ""
1071
-                  }} </span
1072
-                >Kg
779
+                  {{ predialysis.dry_weight ? predialysis.dry_weight : "" }}
780
+                </span>Kg
1073
               </div>
781
               </div>
1074
             </td>
782
             </td>
1075
             <!-- <td width="10" style="border:none;"></td> -->
783
             <!-- <td width="10" style="border:none;"></td> -->
1076
 
784
 
1077
-            <td
1078
-              width="100"
1079
-              style="border:none;border-left:1px solid #000;padding-left:5px;"
1080
-            >
785
+            <td width="100" style="border:none;border-left:1px solid #000;padding-left:5px;">
1081
               实际脱水量:
786
               实际脱水量:
1082
             </td>
787
             </td>
1083
             <td width="130" style="text-align:left;border:none;">
788
             <td width="130" style="text-align:left;border:none;">
1084
               <div>
789
               <div>
1085
                 <span style="width:70px;display:inline-block">
790
                 <span style="width:70px;display:inline-block">
1086
-                  {{
1087
-                    afterdialysis.actual_ultrafiltration
1088
-                      ? afterdialysis.actual_ultrafiltration
1089
-                      : "/"
1090
-                  }} </span
1091
-                >L
791
+                  {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "/" }}
792
+                </span>L
1092
               </div>
793
               </div>
1093
             </td>
794
             </td>
1094
-            <td
1095
-              width="100"
1096
-              style="border:none;border-left:1px solid #000;padding-left:5px"
1097
-            >
795
+            <td width="100" style="border:none;border-left:1px solid #000;padding-left:5px">
1098
               透后体重:
796
               透后体重:
1099
             </td>
797
             </td>
1100
             <td width="180" style="text-align:left;border:none;">
798
             <td width="180" style="text-align:left;border:none;">
1101
               <div>
799
               <div>
1102
                 <span style="width:70px;display:inline-block">
800
                 <span style="width:70px;display:inline-block">
1103
-                  {{
1104
-                    afterdialysis.weight_after
1105
-                      ? parseFloat(afterdialysis.weight_after).toFixed(1)
1106
-                      : ""
1107
-                  }} </span
1108
-                >Kg
801
+                  {{ afterdialysis.weight_after ? parseFloat(afterdialysis.weight_after).toFixed(1) : "" }}
802
+                </span>Kg
1109
               </div>
803
               </div>
1110
             </td>
804
             </td>
1111
           </tr>
805
           </tr>
1114
       <table class="print-table" border="1">
808
       <table class="print-table" border="1">
1115
         <tbody>
809
         <tbody>
1116
           <tr>
810
           <tr>
1117
-            <td
1118
-              width="100"
1119
-              style="padding-left:5px;border:none;border-right:1px solid #000;"
1120
-            >
811
+            <td width="100" style="padding-left:5px;border:none;border-right:1px solid #000;">
1121
               透后评估
812
               透后评估
1122
             </td>
813
             </td>
1123
 
814
 
1134
             <!-- <td width="10" style="border:none;"></td> -->
825
             <!-- <td width="10" style="border:none;"></td> -->
1135
 
826
 
1136
             <td width="70" style="border:none;padding-left:5px;">内瘘:</td>
827
             <td width="70" style="border:none;padding-left:5px;">内瘘:</td>
1137
-            <td
1138
-              width="200"
1139
-              style="text-align:left;border:none;line-height: 30px;"
1140
-            >
828
+            <td width="200" style="text-align:left;border:none;line-height: 30px;">
1141
               <div>
829
               <div>
1142
                 <span style="width:200px;display:inline-block">
830
                 <span style="width:200px;display:inline-block">
1143
-                  {{
1144
-                    afterdialysis.internal_fistula
1145
-                      ? afterdialysis.internal_fistula
1146
-                      : ""
1147
-                  }}
831
+                  {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "" }}
1148
                 </span>
832
                 </span>
1149
               </div>
833
               </div>
1150
             </td>
834
             </td>
1359
         </td>-->
1043
         </td>-->
1360
         <tr style="height:100px;text-align:left;border:none;">
1044
         <tr style="height:100px;text-align:left;border:none;">
1361
           <td style="padding-left:5px;border:none">
1045
           <td style="padding-left:5px;border:none">
1362
-            治疗小结:{{
1363
-              summary.dialysis_summary ? summary.dialysis_summary : ""
1364
-            }}
1046
+            治疗小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
1365
           </td>
1047
           </td>
1366
         </tr>
1048
         </tr>
1367
         <tr style="height:40px">
1049
         <tr style="height:40px">
1377
             核对护士
1059
             核对护士
1378
             <span style="display: inline-block;width:100px;text-align: left;">
1060
             <span style="display: inline-block;width:100px;text-align: left;">
1379
               &nbsp;
1061
               &nbsp;
1380
-              <span
1381
-                v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''"
1382
-                >{{ getAdminUser(check == null ? 0 : check.modifier) }}</span
1383
-              >
1384
-              <img
1385
-                style="height:20px;"
1386
-                :src="setAdminUserES(check == null ? 0 : check.modifier)"
1387
-                alt
1388
-                srcset
1389
-                v-else
1390
-              />
1062
+              <span v-if="setAdminUserES(check == null ? 0 : check.modifier) == ''">
1063
+                {{ getAdminUser(check == null ? 0 : check.modifier) }}
1064
+              </span>
1065
+              <img style="height:20px;" :src="setAdminUserES(check == null ? 0 : check.modifier)" alt srcset v-else />
1391
             </span>
1066
             </span>
1392
             护士签名
1067
             护士签名
1393
             <span style="display: inline-block;width:100px;text-align: left;">
1068
             <span style="display: inline-block;width:100px;text-align: left;">
1394
               &nbsp;
1069
               &nbsp;
1395
               <p v-if="doctor_advices.length > 0">
1070
               <p v-if="doctor_advices.length > 0">
1396
-                <span
1397
-                  v-if="setAdminUserES(doctor_advices[0].execution_staff) == ''"
1398
-                  >{{ getAdminUser(doctor_advices[0].execution_staff) }}</span
1399
-                >
1400
-                <img
1401
-                  class="es-img"
1402
-                  :src="setAdminUserES(doctor_advices[0].execution_staff)"
1403
-                  alt
1404
-                  srcset
1405
-                  v-else
1406
-                />
1071
+                <span v-if="setAdminUserES(doctor_advices[0].execution_staff) == ''">
1072
+                  {{ getAdminUser(doctor_advices[0].execution_staff) }}
1073
+                </span>
1074
+                <img class="es-img" :src="setAdminUserES(doctor_advices[0].execution_staff)" alt srcset v-else />
1407
               </p>
1075
               </p>
1408
             </span>
1076
             </span>
1409
           </td>
1077
           </td>

File diff suppressed because it is too large
+ 291 - 1660
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue


+ 78 - 29
src/xt_pages/qcd/statisticalConfiguration.vue View File

15
       </el-row>
15
       </el-row>
16
       <div class="configTable">
16
       <div class="configTable">
17
         <el-table :data="tableData" border style="width: 100%">
17
         <el-table :data="tableData" border style="width: 100%">
18
-          <el-table-column prop="date" label="日期" width="180"></el-table-column>
19
-          <el-table-column prop="name" label="姓名" width="180"></el-table-column>
20
-          <el-table-column prop="address" label="地址"></el-table-column>
18
+          <el-table-column prop="date" label="检验检查大项" width="180"></el-table-column>
19
+          <el-table-column prop="name" label="检查小项" width="180"></el-table-column>
20
+          <el-table-column prop="address" label="范围"></el-table-column>
21
+           <el-table-column prop="address" label="单位"></el-table-column>
22
+            <el-table-column prop="address" label="排序"></el-table-column>
21
           <el-table-column label="操作" width="180">
23
           <el-table-column label="操作" width="180">
22
             <template slot-scope="scope">
24
             <template slot-scope="scope">
23
               <el-button size="mini" type="primary" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
25
               <el-button size="mini" type="primary" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
28
       </div>
30
       </div>
29
 
31
 
30
       <el-dialog title="新增" :visible.sync="newDialog">
32
       <el-dialog title="新增" :visible.sync="newDialog">
31
-        <el-form :model="form" ref="form">
32
-          <el-form-item label="检查大项" :label-width="formLabelWidth">
33
-            <el-select v-model="form.inspectionMajor" placeholder="请选择活动区域">
33
+        <el-form :model="form" ref="form" :rules="rules">
34
+          <el-form-item label="检查大项" :label-width="formLabelWidth" required prop="inspectionMajor">
35
+            <el-select v-model="form.inspectionMajor" placeholder="请选择活动区域" @change="changeInspection">
34
                <el-option
36
                <el-option
35
-                  v-for="patient in InspectionMajor"
36
-                  :key="patient.id"
37
-                  :value="patient.id"
38
-                  :label="patient.name"
37
+                  v-for="item in InspectionMajor"
38
+                  :key="item.project_id"
39
+                  :value="item.project_id"
40
+                  :label="item.project_name"
39
                   >
41
                   >
40
                </el-option>
42
                </el-option>
41
             </el-select>
43
             </el-select>
42
           </el-form-item>
44
           </el-form-item>
43
-          <el-form-item label="检查小项" :label-width="formLabelWidth">
44
-            <el-select v-model="form.inspectionMinor" placeholder="请选择活动区域">
45
+          <el-form-item label="检查小项" :label-width="formLabelWidth" required prop="inspectionMinor">
46
+            <el-select v-model="form.inspectionMinor" placeholder="请选择活动区域" @change="changeInspectionMonior">
45
                 <el-option
47
                 <el-option
46
-                  v-for="patient in InspectionMinor"
47
-                  :key="patient.id"
48
-                  :value="patient.id"
49
-                  :label="patient.name"
48
+                  v-for="it in InspectionMinor"
49
+                  :key="it.id"
50
+                  :value="it.id"
51
+                  :label="it.item_name"
50
                   >
52
                   >
51
                 </el-option>
53
                 </el-option>
52
             </el-select>
54
             </el-select>
53
           </el-form-item>
55
           </el-form-item>
54
-          <el-form-item label="指控范围" :label-width="formLabelWidth">
56
+          <el-form-item label="指控范围" :label-width="formLabelWidth" required prop="large_range">
55
             <el-input style="width:200px" v-model="form.min_range"></el-input>&nbsp;
57
             <el-input style="width:200px" v-model="form.min_range"></el-input>&nbsp;
56
             -
58
             -
57
             <el-input style="width:200px" v-model="form.large_range"></el-input>
59
             <el-input style="width:200px" v-model="form.large_range"></el-input>
62
         </el-form>
64
         </el-form>
63
         <div slot="footer" class="dialog-footer">
65
         <div slot="footer" class="dialog-footer">
64
           <el-button @click="newDialog = false">取 消</el-button>
66
           <el-button @click="newDialog = false">取 消</el-button>
65
-          <el-button type="primary" @click="newDialog = false">保存</el-button>
67
+          <el-button type="primary" @click="saveInspection('form')">保存</el-button>
66
         </div>
68
         </div>
67
       </el-dialog>
69
       </el-dialog>
68
       <el-dialog title="编辑" :visible.sync="editDialog">
70
       <el-dialog title="编辑" :visible.sync="editDialog">
73
                   v-for="patient in InspectionMajor"
75
                   v-for="patient in InspectionMajor"
74
                   :key="patient.id"
76
                   :key="patient.id"
75
                   :value="patient.id"
77
                   :value="patient.id"
76
-                  :label="patient.name"
78
+                  :label="patient.project_name"
77
                   >
79
                   >
78
                </el-option>
80
                </el-option>
79
             </el-select>
81
             </el-select>
81
           <el-form-item label="检查小项" :label-width="formLabelWidth">
83
           <el-form-item label="检查小项" :label-width="formLabelWidth">
82
             <el-select v-model="form.inspectionMinor" placeholder="请选择活动区域">
84
             <el-select v-model="form.inspectionMinor" placeholder="请选择活动区域">
83
                <el-option
85
                <el-option
84
-                  v-for="patient in InspectionMinor"
85
-                  :key="patient.id"
86
-                  :value="patient.id"
87
-                  :label="patient.name"
86
+                  v-for="item in InspectionMinor"
87
+                  :key="item.project_id"
88
+                  :value="item.project_id"
89
+                  :label="item.item_name"
88
                   >
90
                   >
89
                 </el-option>
91
                 </el-option>
90
             </el-select>
92
             </el-select>
114
 import PieChart from "../qcd/components/BarChart";
116
 import PieChart from "../qcd/components/BarChart";
115
 import { uParseTime } from "@/utils/tools";
117
 import { uParseTime } from "@/utils/tools";
116
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
118
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
119
+import { getInspectionMajor,getInspectionMinor,getInspectionRange,saveInspection }from "@/api/common/common";
117
 export default {
120
 export default {
118
   name: "dialysisTotal",
121
   name: "dialysisTotal",
119
   data() {
122
   data() {
157
         min_range: "",
160
         min_range: "",
158
         large_range: "",
161
         large_range: "",
159
         sort:"",
162
         sort:"",
160
-        delivery: false,
161
-        type: [],
162
-        resource: "",
163
-        desc: ""
163
+      },
164
+      rules: {
165
+        inspectionMajor: [{ required: true, message: "检查大项不能为空" }],
166
+        inspectionMinor: [{ required: true, message: "检查小项不能为空" }],
167
+        large_range:[{required:true,message:"指控范围不能为空"}]
164
       }
168
       }
165
     };
169
     };
166
   },
170
   },
167
-  created() {},
168
   methods: {
171
   methods: {
169
     handleTabClick(tab, event) {
172
     handleTabClick(tab, event) {
170
       if (this.tabActiveName == "query") {
173
       if (this.tabActiveName == "query") {
173
     },
176
     },
174
     handleEdit() {
177
     handleEdit() {
175
       this.editDialog = true;
178
       this.editDialog = true;
179
+    },
180
+    
181
+    //获取大项数据来源
182
+    getInspectionMajor(){
183
+      getInspectionMajor().then(response=>{
184
+        if(response.data.state == 1){
185
+          var inspection =  response.data.data.inspection
186
+          console.log("inspection",inspection)
187
+          this.InspectionMajor = inspection
188
+
189
+        }
190
+      })
191
+    },
192
+    //获取小项
193
+    changeInspection(id){
194
+      console.log("id----",id)
195
+      getInspectionMinor(id).then(response=>{
196
+        if(response.data.state == 1){
197
+         var inspection =  response.data.data.inspection
198
+         console.log("inspection",inspection)
199
+         this.InspectionMinor = inspection
200
+        }
201
+      })
202
+    },
203
+    // 获取指控范围
204
+    changeInspectionMonior(id){
205
+       getInspectionRange(id).then(response=>{
206
+         if(response.data.state == 1){
207
+           var inspectionRange =  response.data.data.inspectionRange
208
+           console.log("inspectionRange",inspectionRange)
209
+           this.form.min_range = inspectionRange.range_min
210
+           this.form.large_range = inspectionRange.range_max
211
+         }
212
+      })
213
+    },
214
+    saveInspection(formName){
215
+      this.$refs[formName].validate(valid=>{
216
+        if(valid){
217
+          saveInspection(this.form).then(response=>{
218
+          })
219
+        }
220
+      })
176
     }
221
     }
177
   },
222
   },
178
   components: {
223
   components: {
179
     PieChart,
224
     PieChart,
180
     BreadCrumb
225
     BreadCrumb
181
-  }
226
+  },
227
+   created() {
228
+     //获取检查大项数据来源
229
+       this.getInspectionMajor()
230
+   },
182
 };
231
 };
183
 </script>
232
 </script>
184
 <style lang="scss">
233
 <style lang="scss">