Kaynağa Gözat

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

csx 4 yıl önce
ebeveyn
işleme
db1be9b45e

+ 35 - 0
src/api/common/common.js Dosyayı Görüntüle

@@ -0,0 +1,35 @@
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 Dosyayı Görüntüle

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

+ 56 - 344
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue Dosyayı Görüntüle

@@ -680,23 +680,9 @@
680 680
                       压迫后内瘘震颤:
681 681
                       <label-box :isChecked="afterdialysis.internal_fistula.indexOf('存在') > -1 ? true : false" showValue="存在"></label-box>
682 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 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 686
                     </td>
701 687
                     <td></td>
702 688
                   </tr>
@@ -708,94 +694,17 @@
708 694
                   <tr>
709 695
                     <td width="55">并发症:</td>
710 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 708
                     </td>
800 709
                     <td></td>
801 710
                   </tr>
@@ -808,9 +717,7 @@
808 717
                     <!-- <td width="70">其他记录:</td> -->
809 718
                     <td width="70">透析小结:</td>
810 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 721
                         {{ summary.dialysis_summary }}
815 722
                       </div>
816 723
                     </td>
@@ -832,59 +739,22 @@
832 739
                   <tr>
833 740
                     <td width="70">患者去向:</td>
834 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 745
                     </td>
854 746
                     <td width="10">(</td>
855 747
                     <td width="35">科室</td>
856 748
                     <td width="">
857 749
                       <div class="under-line">
858 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 752
                       </div>
863 753
                     </td>
864 754
                     <td width="220">交待病房护士/患者/陪人观察内容:</td>
865 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 758
                     </td>
889 759
                   </tr>
890 760
                 </tbody>
@@ -894,47 +764,15 @@
894 764
                 <tbody>
895 765
                   <tr>
896 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 770
                     </td>
931 771
                     <td width="40">其他:</td>
932 772
                     <td width="">
933 773
                       <div class="under-line">
934 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 776
                       </div>
939 777
                     </td>
940 778
                   </tr>
@@ -950,52 +788,17 @@
950 788
                         <!--<span v-if="afterdialysis.creater==0">&nbsp;</span>-->
951 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 793
                       </div>
965 794
                     </td>
966 795
                     <td width=""></td>
967 796
                     <td width="70">下机护士:</td>
968 797
                     <td width="100">
969 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 802
                       </div>
1000 803
                     </td>
1001 804
                   </tr>
@@ -1033,40 +836,19 @@
1033 836
             <td class="advice-name">
1034 837
               <span v-if="advice[0].parent_id > 0">└</span>
1035 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 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 843
               <span>{{ advice[0].delivery_way }}</span>
1049 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 846
                 <div>▲</div>
1056 847
                 <div>
1057 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 852
                 </div>
1071 853
               </div>
1072 854
             </td>
@@ -1075,31 +857,15 @@
1075 857
               <!--<img class="es-img" :src="setAdminUserES(advice[0].advice_doctor)" alt="" srcset=""-->
1076 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 862
             </td>
1089 863
             <td>
1090 864
               <!--<img class="es-img" :src="setAdminUserES(advice[0].execution_staff)" alt="" srcset=""-->
1091 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 869
             </td>
1104 870
             <td>
1105 871
               <span v-if="advice[0].execution_time">
@@ -1111,16 +877,8 @@
1111 877
               <!--<img class="es-img" :src="setAdminUserES(advice[0].checker)" alt="" srcset=""-->
1112 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 882
             </td>
1125 883
             <td></td>
1126 884
             <td v-if="advice[1] != undefined">
@@ -1134,41 +892,21 @@
1134 892
             </td>
1135 893
             <td class="advice-name" v-if="advice[1] != undefined">
1136 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 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 899
               <span>{{ advice[1].delivery_way }}</span>
1150 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 903
                 <div>▲</div>
1158 904
                 <div>
1159 905
                   <span>{{ child.advice_name }}</span>
1160 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 910
                 </div>
1173 911
               </div>
1174 912
             </td>
@@ -1179,16 +917,8 @@
1179 917
               <!--<img class="es-img" :src="setAdminUserES(advice[1].advice_doctor)" alt="" srcset=""-->
1180 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 922
             </td>
1193 923
 
1194 924
             <td v-else>
@@ -1199,16 +929,8 @@
1199 929
               <!--<img class="es-img" :src="setAdminUserES(advice[1].execution_staff)" alt="" srcset=""-->
1200 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 934
             </td>
1213 935
             <!--<td><span v-if="advice[1].execution_time">{{advice[1].execution_time| parseTime('{y}-{m}-{d} {h}:{i}:{s}')}}</span>-->
1214 936
             <!--</td>-->
@@ -1217,9 +939,7 @@
1217 939
             </td>
1218 940
 
1219 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 943
             </td>
1224 944
             <td v-else>
1225 945
               <span></span>
@@ -1229,16 +949,8 @@
1229 949
               <!--<img class="es-img" :src="setAdminUserES(advice[1].checker)" alt="" srcset=""-->
1230 950
               <!--v-show="advice[1].checker>0">-->
1231 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 954
             </td>
1243 955
             <td v-else>
1244 956
               <span></span>

+ 140 - 502
src/xt_pages/dialysis/template/DialysisPrintOrderSeven.vue Dosyayı Görüntüle

@@ -32,13 +32,7 @@
32 32
             <td width="80">透析机号:</td>
33 33
             <td width="130">
34 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 36
               </div>
43 37
             </td>
44 38
             <td></td>
@@ -60,11 +54,7 @@
60 54
             </td>
61 55
             <td width="150">
62 56
               <div class="under-line">
63
-                {{
64
-                  receiverTreatmentAccess.admission_number
65
-                    ? receiverTreatmentAccess.admission_number
66
-                    : "/"
67
-                }}
57
+                {{ receiverTreatmentAccess.admission_number ? receiverTreatmentAccess.admission_number : "/" }}
68 58
               </div>
69 59
             </td>
70 60
             <td width="10"></td>
@@ -101,341 +91,170 @@
101 91
                 <tr>
102 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 95
                   </td>
112 96
                   <td style="text-align:left;margin-left:15px">
113 97
                     入科方式:
114 98
                     <span class="under-line"
115 99
                       >&nbsp;
116
-                      {{
117
-                        receiverTreatmentAccess.way
118
-                          ? receiverTreatmentAccess.way
119
-                          : "/"
120
-                      }}
100
+                      {{ receiverTreatmentAccess.way ? receiverTreatmentAccess.way : "/" }}
121 101
                     </span>
122 102
                   </td>
123 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 108
                   </td>
137 109
                 </tr>
138 110
                 <tr>
139 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 114
                   </td>
147 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 119
                     <span class="under-line" v-else>
164 120
                       /
165 121
                     </span>
166 122
                   </td>
167 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 127
                     <span v-else class="under-line">
184 128
                       /
185 129
                     </span>
186 130
                   </td>
187 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 136
                   </td>
197 137
                 </tr>
198 138
                 <tr>
199 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 143
                   </td>
207 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 148
                   </td>
217 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 153
                   </td>
227 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 159
                   </td>
241 160
                 </tr>
242 161
                 <tr>
243 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 166
                   </td>
253 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 170
                       &nbsp;
264
-                      {{
265
-                        getDisplaceLiquiPart(prescription.displace_liqui_part)
266
-                      }}
171
+                      {{ getDisplaceLiquiPart(prescription.displace_liqui_part) }}
267 172
                     </span>
268 173
                     <span v-else class="under-line">/</span>
269 174
                   </td>
270 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 180
                   </td>
280 181
                 </tr>
281 182
                 <tr>
282 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 188
                   </td>
292 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 200
                   </td>
320 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 213
                   </td>
351 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 225
                   </td>
381 226
                 </tr>
382 227
                 <tr>
383 228
                   <td style="text-align:left;margin-left:15px">
384 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 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 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 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 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 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 247
                     </span>
425 248
                   </td>
426 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 252
                   </td>
432 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 258
                     <span class="under-line" v-if="doctorForm.url != ''">
440 259
                       <img style="height:40px" :src="doctorForm.url" />
441 260
                     </span>
@@ -493,16 +312,9 @@
493 312
             {{ getTime(monitor.operate_time, "{h}:{i}") }}
494 313
           </td>
495 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 318
             </span>
507 319
           </td>
508 320
           <td>
@@ -511,33 +323,23 @@
511 323
             </span>
512 324
           </td>
513 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 329
           </td>
518 330
           <td>
519 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 334
           </td>
525 335
           <td>
526 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 338
             </span>
533 339
           </td>
534 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 343
             </span>
542 344
           </td>
543 345
           <td>
@@ -547,17 +349,11 @@
547 349
           </td>
548 350
           <td>
549 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 353
             </span>
556 354
           </td>
557 355
           <td>
558
-            {{ monitor.symptom }} &nbsp;{{ monitor.dispose }}&nbsp;{{
559
-              monitor.result
560
-            }}
356
+            {{ monitor.symptom }} &nbsp;{{ monitor.dispose }}&nbsp;{{ monitor.result }}
561 357
           </td>
562 358
         </tr>
563 359
       </table>
@@ -587,11 +383,7 @@
587 383
               <p style="height:20px;line-height:20px">上次透后体重</p>
588 384
             </td>
589 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 387
             </td>
596 388
           </tr>
597 389
 
@@ -600,90 +392,37 @@
600 392
             <td>
601 393
               <span v-if="advice.parent_id > 0">---></span>
602 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 400
             </td>
620 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 404
             </td>
632 405
             <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
633 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 409
             </td>
645 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 413
             </td>
657 414
             <td v-if="advice_index === 0">透前体重:</td>
658 415
             <td v-if="advice_index === 0">{{ predialysis.weight_before }}kg</td>
659 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 418
             <td v-if="advice_index === 2">干体重(DW):</td>
668 419
             <td v-if="advice_index === 2">{{ predialysis.dry_weight }}kg</td>
669 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 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 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 426
           </tr>
688 427
         </tbody>
689 428
       </table>
@@ -693,53 +432,24 @@
693 432
             <tr>
694 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 436
               </td>
704 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 440
               </td>
712 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 445
               </td>
721 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 453
                 </span>
744 454
               </td>
745 455
             </tr>
@@ -747,129 +457,59 @@
747 457
             <tr>
748 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 462
               </td>
759 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 468
               </td>
767 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 474
                 </span>
781 475
               </td>
782 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 480
               </td>
792 481
             </tr>
793 482
             <tr>
794 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 488
               </td>
812 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 494
               </td>
830 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 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 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 502
               </td>
859 503
               <td width="10"></td>
860 504
             </tr>
861 505
             <tr>
862 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 509
               </td>
868 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 513
               </td>
874 514
             </tr>
875 515
           </table>
@@ -878,9 +518,7 @@
878 518
             <tr>
879 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 522
               </td>
885 523
             </tr>
886 524
           </table>

Dosya farkı çok büyük olduğundan ihmal edildi
+ 250 - 1179
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue


Dosya farkı çok büyük olduğundan ihmal edildi
+ 249 - 1184
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue


Dosya farkı çok büyük olduğundan ihmal edildi
+ 160 - 946
src/xt_pages/dialysis/template/DialysisPrintOrderThree.vue


+ 107 - 439
src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue Dosyayı Görüntüle

@@ -11,10 +11,7 @@
11 11
             </td>
12 12
           </tr>
13 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 15
               <div>
19 16
                 姓 名:&nbsp;{{ patientInfo.name ? patientInfo.name : "/" }}
20 17
               </div>
@@ -31,40 +28,22 @@
31 28
             <td width="50" style="border:none">身 高:</td>
32 29
             <td width="80" style="border:none;text-align: left;">
33 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 32
               </span>
38 33
               cm
39 34
             </td>
40 35
             <td width="50" style="border:none">科 室:</td>
41 36
             <td width="140" style="border:none;text-align: left;">
42 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 40
               </div>
56 41
             </td>
57 42
 
58 43
             <td width="80" style="border:none">透析机号:</td>
59 44
             <td width="80" style="border:none;text-align: left;">
60 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 47
               </div>
69 48
             </td>
70 49
             <!-- <td width="1"></td> -->
@@ -75,363 +54,145 @@
75 54
           </tr>
76 55
           <tr style="text-align:left">
77 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 58
             </td>
84 59
           </tr>
85 60
           <tr style="text-align:left">
86 61
             <td colspan="8" style="padding-left:5px">
87 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 67
               <span>
111 68
                 ,置换量
112 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 71
                 </span>
119 72
                 L
120 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 88
             </td>
163 89
             <td colspan="3" style="border-left:1px solid #000;padding-left:5px">
164 90
               治疗时间:
165 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 94
               </span>
176 95
             </td>
177 96
           </tr>
178 97
           <tr style="text-align:left">
179 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 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 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 108
               </span>
217 109
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
218 110
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
219 111
               <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
220 112
               <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
221 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 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 119
               </span>
235 120
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
236 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 123
               <span v-if="prescription.anticoagulant == '普通肝素'">iu/h</span>
241 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 127
               &nbsp; 总量:
249 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 130
               </span>
257 131
               <span v-if="prescription.anticoagulant == '枸橼酸钠'">mg</span>
258 132
               <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
259 133
               <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
260 134
               <span v-if="prescription.anticoagulant == '普通肝素'">iu</span>
261 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 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 141
             </td>
282 142
           </tr>
283 143
           <tr style="text-align:left">
284 144
             <td colspan="7" style="padding-left:5px">
285 145
               处方脱水量:
286 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 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 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 155
               <span v-if="setAdminUserES(prescription.creater) == ''">
305 156
                 {{ getAdminUser(prescription.creater) }}
306 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 159
             </td>
315 160
           </tr>
316 161
           <tr style="text-align:left">
317 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 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 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 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 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 179
             </td>
350 180
           </tr>
351 181
           <tr style="text-align:left">
352 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 189
               <span style="width:50px;display: inline-block;"></span>
409 190
               穿刺者:
410 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 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 196
               </span>
436 197
             </td>
437 198
           </tr>
@@ -840,11 +601,7 @@
840 601
           </td>
841 602
           <td>
842 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 605
             </span>
849 606
           </td>
850 607
           <td>
@@ -859,17 +616,13 @@
859 616
           </td>
860 617
           <td>
861 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 620
             </span>
868 621
           </td>
869 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 626
           </td>
874 627
           <td>
875 628
             <span v-if="getTime(monitor.operate_time) != ''">
@@ -883,33 +636,18 @@
883 636
           </td>
884 637
           <td>
885 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 641
             </span>
898 642
           </td>
899 643
           <td>
900 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 646
             </span>
907 647
           </td>
908 648
           <td>
909 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 651
             </span>
914 652
           </td>
915 653
           <td width="0" style="border:none;visibility: hidden;padding:0"></td>
@@ -917,13 +655,7 @@
917 655
             <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
918 656
               {{ getAdminUser(monitor.monitoring_nurse) }}
919 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 659
           </td>
928 660
         </tr>
929 661
       </table>
@@ -957,16 +689,11 @@
957 689
             <td colspan="5" style="height:30px;">
958 690
               <span v-if="advice.parent_id > 0">---></span>
959 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 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 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 697
               <span v-if="advice.parent_id == 0">
971 698
                 {{ advice.delivery_way }}
972 699
               </span>
@@ -978,25 +705,13 @@
978 705
               <span v-if="setAdminUserES(advice.advice_doctor) == ''">
979 706
                 {{ getAdminUser(advice.advice_doctor) }}
980 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 709
             </td>
989 710
             <td colspan="2" style="height:40px">
990 711
               <span v-if="setAdminUserES(advice.execution_staff) == ''">
991 712
                 {{ getAdminUser(advice.execution_staff) }}
992 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 715
             </td>
1001 716
             <td colspan="3" style="width:130px;">
1002 717
               {{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}
@@ -1049,63 +764,42 @@
1049 764
               <div>
1050 765
                 &nbsp;
1051 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 769
               </div>
1057 770
             </td>
1058 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 775
             </td>
1066 776
             <td width="180" style="text-align:left;border:none;">
1067 777
               <div>
1068 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 781
               </div>
1074 782
             </td>
1075 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 787
             </td>
1083 788
             <td width="130" style="text-align:left;border:none;">
1084 789
               <div>
1085 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 793
               </div>
1093 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 797
             </td>
1100 798
             <td width="180" style="text-align:left;border:none;">
1101 799
               <div>
1102 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 803
               </div>
1110 804
             </td>
1111 805
           </tr>
@@ -1114,10 +808,7 @@
1114 808
       <table class="print-table" border="1">
1115 809
         <tbody>
1116 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 813
             </td>
1123 814
 
@@ -1134,17 +825,10 @@
1134 825
             <!-- <td width="10" style="border:none;"></td> -->
1135 826
 
1136 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 829
               <div>
1142 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 832
                 </span>
1149 833
               </div>
1150 834
             </td>
@@ -1359,9 +1043,7 @@
1359 1043
         </td>-->
1360 1044
         <tr style="height:100px;text-align:left;border:none;">
1361 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 1047
           </td>
1366 1048
         </tr>
1367 1049
         <tr style="height:40px">
@@ -1377,33 +1059,19 @@
1377 1059
             核对护士
1378 1060
             <span style="display: inline-block;width:100px;text-align: left;">
1379 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 1066
             </span>
1392 1067
             护士签名
1393 1068
             <span style="display: inline-block;width:100px;text-align: left;">
1394 1069
               &nbsp;
1395 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 1075
               </p>
1408 1076
             </span>
1409 1077
           </td>

Dosya farkı çok büyük olduğundan ihmal edildi
+ 291 - 1660
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue


+ 78 - 29
src/xt_pages/qcd/statisticalConfiguration.vue Dosyayı Görüntüle

@@ -15,9 +15,11 @@
15 15
       </el-row>
16 16
       <div class="configTable">
17 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 23
           <el-table-column label="操作" width="180">
22 24
             <template slot-scope="scope">
23 25
               <el-button size="mini" type="primary" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
@@ -28,30 +30,30 @@
28 30
       </div>
29 31
 
30 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 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 42
                </el-option>
41 43
             </el-select>
42 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 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 53
                 </el-option>
52 54
             </el-select>
53 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 57
             <el-input style="width:200px" v-model="form.min_range"></el-input>&nbsp;
56 58
             -
57 59
             <el-input style="width:200px" v-model="form.large_range"></el-input>
@@ -62,7 +64,7 @@
62 64
         </el-form>
63 65
         <div slot="footer" class="dialog-footer">
64 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 68
         </div>
67 69
       </el-dialog>
68 70
       <el-dialog title="编辑" :visible.sync="editDialog">
@@ -73,7 +75,7 @@
73 75
                   v-for="patient in InspectionMajor"
74 76
                   :key="patient.id"
75 77
                   :value="patient.id"
76
-                  :label="patient.name"
78
+                  :label="patient.project_name"
77 79
                   >
78 80
                </el-option>
79 81
             </el-select>
@@ -81,10 +83,10 @@
81 83
           <el-form-item label="检查小项" :label-width="formLabelWidth">
82 84
             <el-select v-model="form.inspectionMinor" placeholder="请选择活动区域">
83 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 91
                 </el-option>
90 92
             </el-select>
@@ -114,6 +116,7 @@ import { GetOICData } from "@/api/qcd";
114 116
 import PieChart from "../qcd/components/BarChart";
115 117
 import { uParseTime } from "@/utils/tools";
116 118
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
119
+import { getInspectionMajor,getInspectionMinor,getInspectionRange,saveInspection }from "@/api/common/common";
117 120
 export default {
118 121
   name: "dialysisTotal",
119 122
   data() {
@@ -157,14 +160,14 @@ export default {
157 160
         min_range: "",
158 161
         large_range: "",
159 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 171
   methods: {
169 172
     handleTabClick(tab, event) {
170 173
       if (this.tabActiveName == "query") {
@@ -173,12 +176,58 @@ export default {
173 176
     },
174 177
     handleEdit() {
175 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 223
   components: {
179 224
     PieChart,
180 225
     BreadCrumb
181
-  }
226
+  },
227
+   created() {
228
+     //获取检查大项数据来源
229
+       this.getInspectionMajor()
230
+   },
182 231
 };
183 232
 </script>
184 233
 <style lang="scss">