Преглед изворни кода

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

陈少旭 пре 1 година
родитељ
комит
27994fb2b5

+ 15 - 12
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Прегледај датотеку

@@ -87,7 +87,7 @@
87 87
                 {{ record.device_zone.name}}
88 88
               </div>
89 89
             </div>
90
-            <div class="inline_block" v-if="org_id!=10510 && org_id!=10460">
90
+            <div class="inline_block" v-if="org_id!=10510 && org_id!=10460 && org_id!=10624">
91 91
               床号:
92 92
               <div class="under_line" style="width: 50px; text-align: center">
93 93
                 {{ record.device_number.number }}
@@ -99,7 +99,7 @@
99 99
                 {{ record.patient.dialysis_no }}
100 100
               </div>
101 101
             </div>
102
-            <div class="inline_block" style="margin-left: 5px" v-if="org_id!=10460">
102
+            <div class="inline_block" style="margin-left: 5px" v-if="org_id!=10460 && org_id!=10624">
103 103
               住院号/门诊号:
104 104
               <div
105 105
                 class="under_line"
@@ -129,7 +129,7 @@
129 129
                 {{ item.name }}
130 130
               </div>
131 131
             </div>
132
-            <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460">
132
+            <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460 && org_id!=10624">
133 133
               诊断:
134 134
               <div
135 135
                 class="under_line"
@@ -928,7 +928,7 @@
928 928
                       style="padding: 2px 0; line-height: 23px; display: flex"
929 929
                     >
930 930
                       <div class="inline_block" style="flex: 1"
931
-                        v-if="org_id!=10440 && org_id!=0  && org_id!=10469 && org_id!=10490 && org_id!=10478 && org_id!=10495 && org_id!=10510 && org_id!=10460 && org_id!=10585 && org_id!=10567">
931
+                        v-if="org_id!=10440 && org_id!=0  && org_id!=10469 && org_id!=10490 && org_id!=10478 && org_id!=10495 && org_id!=10510 && org_id!=10460 && org_id!=10585 && org_id!=10567 && org_id!=10624">
932 932
                         上次透后体重:
933 933
                         <div
934 934
                           class="under_line"
@@ -954,7 +954,7 @@
954 954
                       </div>
955 955
 
956 956
                       <div class="inline_block" style="flex: 1"
957
-                        v-if="(org_id==10440 ||  org_id ==0 || org_id==10469 || org_id==10490 || org_id==10478  || org_id==10495 || org_id == 10460)&& org_id!=10510">
957
+                        v-if="(org_id==10440 ||  org_id ==0 || org_id==10469 || org_id==10490 || org_id==10478  || org_id==10495 || org_id == 10460 || org_id ==10624)&& org_id!=10510">
958 958
                         上次透后体重:
959 959
                         <div
960 960
                           class="under_line"
@@ -1013,8 +1013,8 @@
1013 1013
                               : "/"
1014 1014
                           }}
1015 1015
                         </div>
1016
-                         <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id==10460">ml</span> 
1017
-                         <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471 && org_id!=10460">L</span>
1016
+                         <span v-if="org_id == 10395 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id==10460 || org_id ==10624">ml</span> 
1017
+                         <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471 && org_id!=10460 && org_id!=10624">L</span>
1018 1018
                       </div>
1019 1019
 
1020 1020
                       <div class="inline_block" style="flex: 1" v-if="org_id == 10469">
@@ -1445,7 +1445,8 @@
1445 1445
                               org_id == 9538 ||
1446 1446
                               org_id == 9675 ||
1447 1447
                               org_id == 9671 ||
1448
-                              org_id ==10600
1448
+                              org_id ==10600 ||
1449
+                              org_id ==10629
1449 1450
                             "
1450 1451
                           >
1451 1452
                             KT/V
@@ -1676,7 +1677,8 @@
1676 1677
                               org_id == 9538 ||
1677 1678
                               org_id == 9675 ||
1678 1679
                               org_id == 9671 ||
1679
-                              org_id == 10600
1680
+                              org_id == 10600 ||
1681
+                              org_id ==10629
1680 1682
                             "
1681 1683
                           >
1682 1684
                             {{ monitor_record.ktv }}
@@ -2401,7 +2403,7 @@
2401 2403
                   {{ "/" }}
2402 2404
                 </div>
2403 2405
               </div>
2404
-              <div class="inline_block" v-if="org_id!=10460">
2406
+              <div class="inline_block" v-if="org_id!=10460 && org_id!=10624">
2405 2407
                 床号:
2406 2408
                 <div class="under_line" style="width: 50px; text-align: center">
2407 2409
                   {{ "/" }}
@@ -2413,7 +2415,7 @@
2413 2415
                   {{ record.patient.dialysis_no }}
2414 2416
                 </div>
2415 2417
               </div>
2416
-              <div class="inline_block" style="margin-left: 5px" v-if="org_id!=10460">
2418
+              <div class="inline_block" style="margin-left: 5px" v-if="org_id!=10460 && org_id!=10624">
2417 2419
                 住院号/门诊号:
2418 2420
                 <div
2419 2421
                   class="under_line"
@@ -2445,7 +2447,7 @@
2445 2447
                   {{ item.name }}
2446 2448
                 </div>
2447 2449
               </div>
2448
-              <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460">
2450
+              <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460 && org_id!=10624">
2449 2451
                 诊断:
2450 2452
                 <div
2451 2453
                   class="under_line"
@@ -3401,6 +3403,7 @@ import { jsGetAge, uParseTime } from "@/utils/tools";
3401 3403
 import { getDataConfig } from "@/utils/data";
3402 3404
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
3403 3405
 import print from "print-js";
3406
+import org from "../../../router/modules/org";
3404 3407
 export default {
3405 3408
   name: "BatchPrintOrderSix",
3406 3409
   components: {

+ 28 - 11
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue Прегледај датотеку

@@ -155,22 +155,35 @@
155 155
         </el-table-column>
156 156
          <el-table-column align="center" label="目标脱水量"  v-if="dialysisSett.ultrafiltration_volume==1">
157 157
            <template slot-scope="scope">
158
-             <span v-if="scope.row.dialysis_solution.target_ultrafiltration>0">{{scope.row.dialysis_solution.target_ultrafiltration}}</span>
158
+             <span v-if="scope.row.dialysis_prescription.target_ultrafiltration==0">{{scope.row.dialysis_solution.target_ultrafiltration}}</span>
159
+
160
+             <span v-if="scope.row.dialysis_prescription.target_ultrafiltration>0">{{scope.row.dialysis_prescription.target_ultrafiltration}}</span>
159 161
            </template>
160 162
         </el-table-column>
161 163
         <el-table-column align="center" label="抗凝剂(首剂)(维持)(总量)"  v-if="dialysisSett.anticoagulant==1">
162 164
            <template slot-scope="scope">
163
-             <span>{{getAnticoagualnt(scope.row.dialysis_solution.anticoagulant)}}</span>
164
-             <span v-if="scope.row.dialysis_solution.anticoagulant_shouji > 0">({{scope.row.dialysis_solution.anticoagulant_shouji}})</span>
165
-             <span v-if="scope.row.dialysis_solution.anticoagulant_weichi > 0">({{scope.row.dialysis_solution.anticoagulant_weichi}})</span>
166
-             <span v-if="scope.row.dialysis_solution.anticoagulant_zongliang > 0">({{scope.row.dialysis_solution.anticoagulant_zongliang}})</span>
165
+             <span v-if="scope.row.dialysis_prescription.anticoagulant==''">{{getAnticoagualnt(scope.row.dialysis_solution.anticoagulant)}}</span>
166
+             <span v-if="scope.row.dialysis_prescription.anticoagulant!=''">{{getAnticoagualnt(scope.row.dialysis_prescription.anticoagulant)}}</span>
167
+
168
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_shouji == 0">({{scope.row.dialysis_solution.anticoagulant_shouji}})</span>
169
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_shouji > 0">({{scope.row.dialysis_prescription.anticoagulant_shouji}})</span>
170
+
171
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_weichi == 0">({{scope.row.dialysis_solution.anticoagulant_weichi}})</span>
172
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_weichi > 0">({{scope.row.dialysis_prescription.anticoagulant_weichi}})</span>
173
+
174
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_zongliang == 0">({{scope.row.dialysis_solution.anticoagulant_zongliang}})</span>
175
+             
176
+             <span v-if="scope.row.dialysis_prescription.anticoagulant_zongliang > 0">({{scope.row.dialysis_prescription.anticoagulant_zongliang}})</span>
167 177
            </template>
168 178
         </el-table-column>
169 179
 
170 180
         <el-table-column align="center" label="透析时长" v-if="dialysisSett.dialysis_time ==1">
171 181
            <template slot-scope="scope">
172
-             <span v-if="scope.row.dialysis_solution.dialysis_duration_hour >0">{{scope.row.dialysis_solution.dialysis_duration_hour}}时</span>
173
-             <span v-if="scope.row.dialysis_solution.dialysis_duration_minute >0">{{scope.row.dialysis_solution.dialysis_duration_minute}}分</span>
182
+             <span v-if="scope.row.dialysis_prescription.dialysis_duration_hour  == 0">{{scope.row.dialysis_solution.dialysis_duration_hour}}时</span>
183
+             <span v-if="scope.row.dialysis_prescription.dialysis_duration_hour  > 0">{{scope.row.dialysis_prescription.dialysis_duration_hour}}时</span>
184
+
185
+             <span v-if="scope.row.dialysis_prescription.dialysis_duration_minute ==0">{{scope.row.dialysis_solution.dialysis_duration_minute}}分</span>
186
+             <span v-if="scope.row.dialysis_prescription.dialysis_duration_minute >0">{{scope.row.dialysis_prescription.dialysis_duration_minute}}分</span>
174 187
            </template>
175 188
         </el-table-column>
176 189
 
@@ -188,19 +201,22 @@
188 201
 
189 202
         <el-table-column align="center" label="透析器"  v-if="dialysisSett.dialysis_dialyszers == 1">
190 203
            <template slot-scope="scope">
191
-             <span>{{scope.row.dialysis_solution.dialysis_dialyszers}}</span>
204
+             <span v-if="scope.row.dialysis_prescription.dialysis_dialyszers==''">{{scope.row.dialysis_solution.dialysis_dialyszers}}</span>
205
+             <span v-if="scope.row.dialysis_prescription.dialysis_dialyszers!=''">{{scope.row.dialysis_prescription.dialysis_dialyszers}}</span>
192 206
            </template>
193 207
         </el-table-column>
194 208
 
195 209
          <el-table-column align="center" label="灌流器"  v-if="dialysisSett.dialysis_irrigation ==1">
196 210
            <template slot-scope="scope">
197
-             <span>{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
211
+             <span v-if="scope.row.dialysis_prescription.dialysis_irrigation==''">{{scope.row.dialysis_solution.dialysis_irrigation}}</span>
212
+             <span v-if="scope.row.dialysis_prescription.dialysis_irrigation!=''">{{scope.row.dialysis_prescription.dialysis_irrigation}}</span>
198 213
            </template>
199 214
         </el-table-column>
200 215
 
201 216
         <el-table-column align="center" label="滤过器"  v-if="dialysisSett.dialysis_irrigation ==1">
202 217
            <template slot-scope="scope">
203
-             <span>{{scope.row.dialysis_solution.dialysis_strainer}}</span>
218
+             <span v-if="scope.row.dialysis_prescription.dialysis_strainer!=''">{{scope.row.dialysis_prescription.dialysis_strainer}}</span>
219
+             <span v-if="scope.row.dialysis_prescription.dialysis_strainer==''">{{scope.row.dialysis_solution.dialysis_strainer}}</span>
204 220
            </template>
205 221
         </el-table-column>
206 222
         
@@ -246,7 +262,8 @@
246 262
 
247 263
         <el-table-column align="center" label="血管通路" v-if="dialysisSett.blood_access==1">
248 264
            <template slot-scope="scope">
249
-             <span>{{getBloodAccessOption(scope.row.dialysis_solution.blood_access)}}</span>
265
+             <span v-if="scope.row.dialysis_prescription.blood_access==''">{{getBloodAccessOption(scope.row.dialysis_solution.blood_access)}}</span>
266
+             <span v-if="scope.row.dialysis_prescription.blood_access!=''">{{getBloodAccessOption(scope.row.dialysis_prescription.blood_access)}}</span>
250 267
            </template>
251 268
         </el-table-column>
252 269
 

+ 11 - 8
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Прегледај датотеку

@@ -266,7 +266,8 @@
266 266
                 org_id == 10599 ||
267 267
                 org_id == 10597 ||
268 268
                 org_id == 10599 || 
269
-                org_id == 10612) &&
269
+                org_id == 10612 ||
270
+                org_id ==10580) &&
270 271
                 org_id!=10387
271 272
             "
272 273
           >
@@ -337,7 +338,7 @@
337 338
               && org_id!=10432 && org_id!=10445
338 339
               && org_id!=10410 && org_id!=10495 &&
339 340
                org_id!=10485 && org_id!=10395 && org_id!=10375
340
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612)
341
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10580)
341 342
               || org_id == 10387
342 343
             "
343 344
           >
@@ -393,7 +394,7 @@
393 394
                 org_id == 10410 ||
394 395
                 org_id == 10495  ||
395 396
                 org_id == 10395
396
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612)
397
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id ==10580)
397 398
                 && org_id!=10387
398 399
             "
399 400
           >
@@ -446,7 +447,7 @@
446 447
               org_id!=10432 &&
447 448
               org_id!=10445 &&
448 449
               org_id!=10410 && org_id!=10495
449
-              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 ) ||
450
+              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10580) ||
450 451
               org_id == 10387
451 452
             "
452 453
           >
@@ -1177,7 +1178,7 @@
1177 1178
                 org_id== 10432 ||
1178 1179
                 org_id== 10445 ||
1179 1180
                 org_id== 10410 ||
1180
-                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612) &&
1181
+                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580) &&
1181 1182
                 org_id!=10387
1182 1183
             "
1183 1184
           >
@@ -1225,7 +1226,7 @@
1225 1226
               org_id!=10445 &&
1226 1227
               org_id!=10410 &&
1227 1228
               org_id!=10485 &&
1228
-              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612)
1229
+              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10580)
1229 1230
               || org_id == 10387
1230 1231
             "
1231 1232
           >
@@ -1289,7 +1290,8 @@
1289 1290
                 org_id == 10551 ||
1290 1291
                 org_id == 10597||
1291 1292
                 org_id == 10599 ||
1292
-                org_id ==10612)
1293
+                org_id ==10612 || 
1294
+                org_id==10580)
1293 1295
                 && org_id!=10387
1294 1296
             "
1295 1297
           >
@@ -1353,7 +1355,8 @@
1353 1355
               org_id!=10551 &&
1354 1356
               org_id!=10597 &&
1355 1357
               org_id!=10599 &&
1356
-              org_id!=10612
1358
+              org_id!=10612 &&
1359
+              org_id!=10580
1357 1360
               )
1358 1361
               || org_id == 10387
1359 1362
             "

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue Прегледај датотеку

@@ -15,10 +15,10 @@
15 15
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16 16
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
17 17
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
18
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
19
-          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
20
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
21
-          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
18
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10580) &&this.$store.getters.xt_user.template_info.org_id!=10387 " width="76px" > 超滤量(ml)</th>
19
+          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10580) || this.$store.getters.xt_user.template_info.org_id == 10387"  width="76px"> 超滤量(L) </th>
20
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10580) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
21
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10580 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
22 22
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
23 23
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
24 24
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410) && org_id!=10558" width="92px" > 置换率(ml/min) </th>

+ 1 - 1
src/xt_pages/dialysis/longSignPrint.vue Прегледај датотеку

@@ -33,7 +33,7 @@
33 33
                             
34 34
                             </div>  
35 35
                             <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10223) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
36
-                            <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138">执行频率:{{it.execution_frequency}}</div>  
36
+                            <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
37 37
                             <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
38 38
                             <div v-if="org_id == 0 || org_id==10223">
39 39
                                 <span>配药者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

+ 8 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyTwo.vue Прегледај датотеку

@@ -67,25 +67,25 @@
67 67
           <div class="inline_block">
68 68
             病区:
69 69
             <div class="under_line" style="width: 50px; text-align: center">
70
-              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447 || org_id == 0 || org_id ==10460 || org_id ==10567">{{
70
+              <!-- <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447  || org_id ==10460 || org_id ==10567">{{
71 71
                 patientInfo.DialysisSchedule.device_zone.name
72 72
                   ? patientInfo.DialysisSchedule.device_zone.name
73 73
                   : ""
74 74
               }}</span>
75
-              <span v-else>{{ "/" }}</span>
75
+              <span v-else>{{ "/" }}</span> -->
76 76
             </div>
77 77
           </div>
78 78
           <div class="inline_block" >
79 79
             床号:
80 80
             <div class="under_line" style="width: 50px; text-align: center">
81
-              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id == 0 || org_id ==10460 || org_id ==10515 || org_id == 10567">{{
81
+              <!-- <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id == 0 || org_id ==10460 || org_id ==10515 || org_id == 10567">{{
82 82
                 dialysisOrder &&
83 83
                 dialysisOrder.DeviceNumber &&
84 84
                 dialysisOrder.DeviceNumber.number.length > 0
85 85
                   ? dialysisOrder.DeviceNumber.number
86 86
                   : patientInfo.DialysisSchedule.device_number.number
87 87
               }}</span>
88
-              <span v-else>{{ "/" }}</span>
88
+              <span v-else>{{ "/" }}</span> -->
89 89
             </div>
90 90
           </div>
91 91
           <div class="inline_block">
@@ -1087,7 +1087,7 @@
1087 1087
                   <div style="width: 100%;text-align: center;">
1088 1088
                     <div style="border-bottom: 1px solid black;">治疗记录</div>
1089 1089
                     <div style="display: flex;">
1090
-                      <div style="flex: 0.8;border-right: 1px solid black;">时间</div>
1090
+                      <div style="flex: 0.8;border-right: 1px solid black;"><span>时间</span></div>
1091 1091
                       <div style="flex: 0.8;border-right: 1px solid black;">血压<br/>(mmHg)</div>
1092 1092
                       <div style="flex: 0.9;border-right: 1px solid black;">脉搏<br/>(次/分)</div>
1093 1093
                       <div style="flex: 0.9;border-right: 1px solid black;">血流量<br />(ml/min)</div>
@@ -1096,8 +1096,7 @@
1096 1096
                       <div style="flex: 0.9;border-right: 1px solid black;">钠浓度<br/>(mmol/L)</div>
1097 1097
                       <div style="flex: 0.9;border-right: 1px solid black;">超滤量<br/>(ml)</div>
1098 1098
                       <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">置换液速度<br/>(ml/h)</div>
1099
-                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name == 7 && 
1100
-                        prescription.anticoagulant_name != ''">肝素剩余量度(ml)
1099
+                      <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name=='低分子肝素钠'">肝素剩余量度(ml)
1101 1100
                       </div>
1102 1101
                       <div style="flex: 2;">病情变化及处理</div>
1103 1102
                     </div>
@@ -1151,9 +1150,10 @@
1151 1150
                     <div style="flex: 1;border-right: 1px solid black;" v-if="prescription.mode_id == 2">
1152 1151
                       {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}
1153 1152
                     </div>
1154
-                    <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant == 7 && prescription.anticoagulant_name != ''">
1153
+                    <div style="flex: 1.2;border-right: 1px solid black;" v-if="prescription.anticoagulant_name=='低分子肝素钠'">
1155 1154
 
1156 1155
                     </div>
1156
+                    <!-- v-if="prescription.anticoagulant == 7 && prescription.anticoagulant_name != ''" -->
1157 1157
                     <div style="flex: 2;">
1158 1158
                       <div style="min-height: 35px;
1159 1159
                           line-height: 35px; overflow: hidden; "

+ 38 - 24
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Прегледај датотеку

@@ -79,10 +79,10 @@
79 79
               <check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
80 80
             </div>
81 81
           </div>
82
-          <div class="inline_block">
82
+          <div class="inline_block" v-if="org_id!=10624">
83 83
             病区:
84 84
             <div class="under_line" style="width: 50px; text-align: center">
85
-              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447 || org_id == 0 || org_id ==10460 || org_id ==10567">{{
85
+              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447  || org_id ==10567">{{
86 86
                 patientInfo.DialysisSchedule.device_zone.name
87 87
                   ? patientInfo.DialysisSchedule.device_zone.name
88 88
                   : ""
@@ -90,10 +90,10 @@
90 90
               <span v-else>{{ "/" }}</span>
91 91
             </div>
92 92
           </div>
93
-          <div class="inline_block" v-if="org_id!=10460">
93
+          <div class="inline_block" v-if="org_id!=10460&&org_id!=10624">
94 94
             床号:
95 95
             <div class="under_line" style="width: 50px; text-align: center">
96
-              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id == 0 || org_id ==10460 || org_id ==10515 || org_id == 10567">{{
96
+              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id ==10515 || org_id == 10567">{{
97 97
                 dialysisOrder &&
98 98
                 dialysisOrder.DeviceNumber &&
99 99
                 dialysisOrder.DeviceNumber.number.length > 0
@@ -109,7 +109,7 @@
109 109
               {{ patientInfo.dialysis_no }}
110 110
             </div>
111 111
           </div>
112
-          <div class="inline_block" style="margin-left: 5px;" v-if="org_id!=9675 && org_id!=10447&&org_id!=10460">
112
+          <div class="inline_block" style="margin-left: 5px;" v-if="org_id!=9675 && org_id!=10447&&org_id!=10460&&org_id!=10624">
113 113
             住院号/门诊号:
114 114
             <div class="under_line" style="width: 70px;text-align: left" v-if="receiverTreatmentAccess.admission_number">
115 115
               {{ receiverTreatmentAccess.admission_number }}
@@ -136,7 +136,7 @@
136 136
            
137 137
           </div>
138 138
 
139
-          <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460">
139
+          <div class="inline_block" style="margin-left: 10px" v-if="org_id!=10460&&org_id!=10624">
140 140
             诊断:
141 141
             <div
142 142
               class="under_line"
@@ -203,7 +203,7 @@
203 203
                         }}
204 204
                       </div>
205 205
                     </div>
206
-                    <div class="inline_block" style="flex: 1">
206
+                    <div class="inline_block" style="flex: 1" v-if="org_id!=10624">
207 207
                       透前症状:
208 208
                       <div
209 209
                         class="under_line"
@@ -896,11 +896,19 @@
896 896
                         class="under_line"
897 897
                         style="width: 30px; text-align: center"
898 898
                       >
899
-                        {{
899
+                        <span v-if="org_id!=10624">{{
900 900
                           prescription.dialysis_duration_minute
901 901
                             ? prescription.dialysis_duration_minute
902 902
                             : "/"
903 903
                         }}
904
+                        </span> 
905
+
906
+                        <span v-if="org_id ==10624">{{
907
+                          prescription.dialysis_duration_minute
908
+                            ? prescription.dialysis_duration_minute
909
+                            : "0"
910
+                        }}
911
+                        </span> 
904 912
                       </div>
905 913
                       min
906 914
                     </div>
@@ -1576,7 +1584,7 @@
1576 1584
                           置换量<br />(ml)
1577 1585
                         </td>
1578 1586
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1579
-                        <td width="50" v-if="org_id == 9538 || org_id ==10600">KT/V</td>
1587
+                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629">KT/V</td>
1580 1588
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1581 1589
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1582 1590
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
@@ -1683,8 +1691,13 @@
1683 1691
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1684 1692
                         </td>
1685 1693
                         <td v-if="org_id!=10600">
1686
-                          <span v-if="org_id!=9671 && org_id!=10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1687
-                          <span v-if="org_id==9671 || org_id==10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1694
+                          <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10617"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1695
+                          <span v-if="org_id==9671 || org_id==10440 || org_id ==10617">
1696
+                              <span v-if="org_id ==10617 && monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1697
+                              <span v-if="org_id ==10617 && monindex == monitors.length-1">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1698
+                              <span v-if="org_id ==10617 && (monindex != monitors.length-1 || monindex != 0)">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>    
1699
+                              <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span> 
1700
+                           </span>
1688 1701
                         </td>
1689 1702
                         <td width="50" v-if="org_id == 10600 || org_id == 10598"><br/> {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: "0"}}</td>
1690 1703
                         <td
@@ -1705,7 +1718,7 @@
1705 1718
                           </span>
1706 1719
                         </td>
1707 1720
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
1708
-                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600">
1721
+                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629">
1709 1722
                           {{ monitor.ktv?monitor.ktv:"" }}
1710 1723
                         </td>
1711 1724
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
@@ -2358,7 +2371,7 @@
2358 2371
               <check-box :checked="receiverTreatmentAccess.condition == 1"></check-box>
2359 2372
             </div>
2360 2373
           </div>
2361
-            <div class="inline_block" v-if="org_id!=10510">
2374
+            <div class="inline_block" v-if="org_id!=10510 && org_id!=10624">
2362 2375
               病区:
2363 2376
               <div class="under_line" style="width: 50px; text-align: center">
2364 2377
               <span v-if="org_id == 10121||org_id == 10138 || org_id == 9675 || org_id == 10447 || org_id == 0 || org_id ==10460">{{
@@ -2369,7 +2382,7 @@
2369 2382
               <span v-else>{{ "/" }}</span>
2370 2383
             </div>
2371 2384
             </div>
2372
-            <div class="inline_block" v-if="org_id!=10510 && org_id!=10460" >
2385
+            <div class="inline_block" v-if="org_id!=10510 && org_id!=10460 && org_id!=10624" >
2373 2386
               床号:
2374 2387
               <div class="under_line" style="width: 50px; text-align: center">
2375 2388
               <span v-if="org_id == 10121 || org_id == 9675 || org_id == 10447 || org_id == 0 ||org_id == 10460">{{
@@ -2389,7 +2402,7 @@
2389 2402
               </div>
2390 2403
             </div>
2391 2404
             <div class="inline_block" style="margin-left: 5px"
2392
-            v-if="org_id!=9675 && org_id!=10447 && org_id!=10460">
2405
+            v-if="org_id!=9675 && org_id!=10447 && org_id!=10460&&org_id!=10624">
2393 2406
             住院号/门诊号:
2394 2407
             <div
2395 2408
               class="under_line"
@@ -2811,12 +2824,7 @@
2811 2824
                       style="flex: 1"
2812 2825
                       v-if="org_id != 10223 && org_id!=10375 && org_id!=10598"
2813 2826
                     >
2814
-                       <span v-if="org_id!=10460 ">
2815
-                          透析中入量(L):
2816
-                        </span>
2817
-                        <span v-if="org_id==10460">
2818
-                          透析中入量(ml):
2819
-                        </span>
2827
+
2820 2828
                       <div
2821 2829
                         class="under_line"
2822 2830
                         style="width: 70px; text-align: center"
@@ -2827,6 +2835,12 @@
2827 2835
                             : "/"
2828 2836
                         }}
2829 2837
                       </div>
2838
+                      <span v-if="org_id!=10460">
2839
+                          透析中入量(L):
2840
+                        </span>
2841
+                        <span v-if="org_id==10460">
2842
+                          透析中入量(ml):
2843
+                        </span>
2830 2844
                       {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
2831 2845
                     </div>
2832 2846
 
@@ -2842,8 +2856,8 @@
2842 2856
                             : "/"
2843 2857
                         }}
2844 2858
                       </div>
2845
-                      <span v-if="org_id!=9675&&org_id!=10447"> ml</span>
2846
-                      <span v-if="org_id ==9675||org_id==10447">L</span>
2859
+                      <span v-if="org_id!=9675&&org_id!=10447 &&org_id!=10624"> ml</span>
2860
+                      <span v-if="org_id ==9675||org_id==10447 || org_id==10624">L</span>
2847 2861
                     </div>
2848 2862
                   </div>
2849 2863
                   <div
@@ -3011,7 +3025,7 @@
3011 3025
                     </div>
3012 3026
                   </div>
3013 3027
                   <div
3014
-                    v-if="org_id!=10460"
3028
+                    v-if="org_id!=10460 &&org_id!=10624"
3015 3029
                     class="row"
3016 3030
                     style="padding: 2px 0; line-height: 23px; display: flex"
3017 3031
                   >

+ 42 - 18
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Прегледај датотеку

@@ -277,7 +277,7 @@
277 277
                                   <el-input style="width:50%;" @input="searchAction"
278 278
                                             @keyup.enter.native='searchAction'
279 279
                                             v-model.trim="search_keyword"
280
-                                            placeholder="请输入药品名字"></el-input>
280
+                                            placeholder="请输入药品名字" :clearable="true"></el-input>
281 281
                                   <el-select style="margin-left:5px;width:50%;" v-model="value" placeholder=""
282 282
                                              @change="changeKind">
283 283
                                       <el-option
@@ -393,7 +393,7 @@
393 393
                                   <el-input style="width:50%;" @input="searchProjectAction"
394 394
                                             @keyup.enter.native='searchProjectAction'
395 395
                                             v-model.trim="search_project_keyword"
396
-                                            placeholder="请输入项目名称"></el-input>
396
+                                            placeholder="请输入项目名称" :clearable="true"></el-input>
397 397
 
398 398
                                   <el-select style="float: right;width: 49%;" v-model="value" placeholder=""
399 399
                                              @change="changeClass">
@@ -1752,23 +1752,34 @@ export default {
1752 1752
       }
1753 1753
       this.$refs.additionalCharges.hide()
1754 1754
 
1755
-    }, searchProjectAction() {
1755
+    }, 
1756
+    // 项目
1757
+    searchProjectAction() {
1756 1758
       console.log('~~~~',this.search_project_keyword)
1757
-      console.log('5555',this.tabProject)
1758
-      console.log('6666',this.allProject)
1759
-      // console.log('4444',this.tabProject[1].first_letter.indexOf(this.search_project_keyword) != -1)
1759
+      const tabProjects = this.allProject
1760
+      console.log('4444',tabProjects)
1760 1761
       if (this.search_project_keyword.length == 0) {
1761 1762
         this.tabProject = this.allProject
1762 1763
       } else {
1763 1764
         let arr = []
1764
-        for (let i = 0; i < this.tabProject.length; i++) {
1765
+
1766
+        for (let i = 0; i < tabProjects.length; i++) {
1765 1767
             // console.log('4444',this.tabProject[i].first_letter.indexOf(this.search_project_keyword) != -1)
1766
-            if (this.tabProject[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1767
-            this.tabProject[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
1768
-              arr = arr.concat(this.tabProject[i])
1768
+            if (tabProjects[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1769
+                tabProjects[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
1770
+              arr = arr.concat(tabProjects[i])
1769 1771
             }
1770 1772
 
1771 1773
         }
1774
+
1775
+        // for (let i = 0; i < this.tabProject.length; i++) {
1776
+        //     // console.log('4444',this.tabProject[i].first_letter.indexOf(this.search_project_keyword) != -1)
1777
+        //     if (this.tabProject[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1778
+        //     this.tabProject[i].first_letter.indexOf(this.search_project_keyword) !=-1) {
1779
+        //       arr = arr.concat(this.tabProject[i])
1780
+        //     }
1781
+
1782
+        // }
1772 1783
         this.tabProject = arr
1773 1784
         console.log('kkkk',this.tabProject);
1774 1785
       }
@@ -1788,22 +1799,34 @@ export default {
1788 1799
       }
1789 1800
 
1790 1801
     },
1802
+    // 药品
1791 1803
     searchAction() {
1804
+      const drug2 =this.allDrugs
1805
+      console.log('this.allDrugs',drug2);
1792 1806
       if (this.search_keyword.length == 0) {
1793 1807
         this.drugs = this.allDrugs
1794 1808
       } else {
1809
+       
1795 1810
         let arr = []
1796
-        for (let i = 0; i < this.drugs.length; i++) {
1797
-          if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 ||
1798
-           this.drugs[i].wubi.indexOf(this.search_keyword) != -1 ||
1799
-           this.drugs[i].pinyin.indexOf(this.search_keyword) != -1 ||
1800
-           this.drugs[i].first_letter.indexOf(this.search_keyword) != -1
1811
+        for (let i = 0; i < drug2.length; i++) {
1812
+          if (drug2[i].drug_name.indexOf(this.search_keyword) != -1 ||
1813
+            drug2[i].wubi.indexOf(this.search_keyword) != -1 ||
1814
+            drug2[i].pinyin.indexOf(this.search_keyword) != -1 ||
1815
+            drug2[i].first_letter.indexOf(this.search_keyword) != -1
1801 1816
            ) {
1802
-            arr = arr.concat(this.drugs[i])
1817
+            arr = arr.concat(drug2[i])
1803 1818
           }
1804 1819
         }
1820
+        // for (let i = 0; i < this.drugs.length; i++) {
1821
+        //   if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 ||
1822
+        //    this.drugs[i].wubi.indexOf(this.search_keyword) != -1 ||
1823
+        //    this.drugs[i].pinyin.indexOf(this.search_keyword) != -1 ||
1824
+        //    this.drugs[i].first_letter.indexOf(this.search_keyword) != -1
1825
+        //    ) {
1826
+        //     arr = arr.concat(this.drugs[i])
1827
+        //   }
1828
+        // }
1805 1829
         this.drugs = arr
1806
-
1807 1830
       }
1808 1831
 
1809 1832
     },
@@ -3877,6 +3900,8 @@ export default {
3877 3900
       getHisProject().then(response => {
3878 3901
         if (response.data.state == 1) {
3879 3902
           var project = response.data.data.project
3903
+          // this.tabProject = project
3904
+          console.log('zzzzzzzzzz',project);
3880 3905
           for (let i = 0; i < project.length; i++) {
3881 3906
             let obj = {
3882 3907
               id: project[i].id,
@@ -3899,7 +3924,6 @@ export default {
3899 3924
               bbx01:project[i].bbx01,
3900 3925
               zuobiao_stock_num:0,
3901 3926
               number:""
3902
-
3903 3927
             }
3904 3928
             this.tabProject.push(obj)
3905 3929
           }

+ 31 - 1
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue Прегледај датотеку

@@ -6,7 +6,7 @@
6 6
             <el-table-column align="center" prop="day" width="70" label="序号" fixed>
7 7
                 <template slot-scope="scope">
8 8
                     <div style="display:flex;align-items:center;">
9
-                        <el-input :disabled="prescription.is_medicine_status" v-model="scope.row.groupno" placeholder=""></el-input>
9
+                        <el-input :disabled="prescription.is_medicine_status" v-model="scope.row.groupno" placeholder="" @input="getAllIndex(scope.row)"></el-input>
10 10
                     </div>
11 11
                 </template>
12 12
             </el-table-column>
@@ -716,6 +716,36 @@
716 716
         }
717 717
         return num
718 718
       },
719
+      getAllIndex(val){
720
+        console.log("val",val)
721
+        console.log("prescription.advices",this.prescription.advices)
722
+        var obj = {id:0,day:"",delivery_way:"",execution_frequency:""}
723
+        if(this.prescription.advices!=null && this.prescription.advices.length>0){
724
+           for(let i=0;i<this.prescription.advices.length;i++){
725
+            console.log("this.prescription.advices[i].groupno",this.prescription.advices[i].groupno)
726
+            if(parseInt(val.groupno) == parseInt(this.prescription.advices[i].groupno) && parseInt(val.id)!= parseInt(this.prescription.advices[i].id)){
727
+              console.log("this.prescription.advices[i]",this.prescription.advices[i])
728
+               obj.id = val.id
729
+               obj.day = this.prescription.advices[i].day
730
+               obj.delivery_way = this.prescription.advices[i].delivery_way
731
+               obj.execution_frequency = this.prescription.advices[i].execution_frequency
732
+               console.log("-----------------",obj)
733
+             }
734
+           }
735
+        }
736
+        console.log("-----------------",obj)
737
+
738
+        if(this.prescription.advices!=null && this.prescription.advices.length>0){
739
+           for(let i=0;i<this.prescription.advices.length;i++){
740
+            if(obj.id == parseInt(val.id)){
741
+              this.prescription.advices[i].delivery_way = obj.delivery_way
742
+              this.prescription.advices[i].execution_frequency =obj.execution_frequency
743
+              this.prescription.advices[i].day = obj.day
744
+             }
745
+           }
746
+        }
747
+        console.log("hahhhahdhha",this.prescription.advices)
748
+      },
719 749
 
720 750
     }, mounted() {
721 751
       this.getInitData()

+ 12 - 4
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Прегледај датотеку

@@ -6,7 +6,6 @@
6 6
     <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
7 7
       <div class="mainLeft">
8 8
 
9
-
10 9
         <el-date-picker
11 10
           v-model="record_date"
12 11
           prefix-icon="el-icon-date"
@@ -313,7 +312,17 @@
313 312
           <checkPrint ref="checkPrint" v-if="selecting_schs3.length > 0" :paramsObj='paramsObj3'
314 313
                       :newHisPatient="hisPatientInfo"></checkPrint>
315 314
         </div>
316
-
315
+        <template>
316
+          <el-button
317
+            style="float:right;"
318
+            size="small"
319
+            icon="el-icon-printer"
320
+            @click="printThisPage"
321
+            type="primary"
322
+          >打印
323
+          </el-button
324
+          >
325
+        </template>
317 326
       </el-dialog>
318 327
       <span slot="footer" class="dialog-footer">
319 328
         <el-button @click="centerDialogVisible = false">取 消</el-button>
@@ -510,7 +519,6 @@
510 519
           </div>
511 520
         </div>
512 521
       </div>
513
-
514 522
       <span slot="footer" class="dialog-footer">
515 523
         <el-button @click="startVisibility = false">取 消</el-button>
516 524
       </span>
@@ -983,7 +991,7 @@ export default {
983 991
 
984 992
           //排班
985 993
           for (let i = 0; i < response.data.data.list_two.length; i++) {
986
-            console.log('hahhahahahahahahah', response.data.data.list_two)
994
+            // console.log('hahhahahahahahahah', response.data.data.list_two)
987 995
             //未就诊
988 996
             if (response.data.data.list_two[i].prescription.length == 0 && response.data.data.list_two[i].his_patient.id == 0) {
989 997
               let obj = {

+ 19 - 9
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Прегледај датотеку

@@ -613,21 +613,25 @@
613 613
 
614 614
           }
615 615
 
616
+          console.log("数据wwwwwwwwwwwww",this.prescriptions[i].project)
617
+          
616 618
           for (let b = 0; b < this.prescriptions[i].project.length; b++) {
619
+            this.prescriptions[i].project[b].single_dose = this.prescriptions[i].project[b].single_dose.toString()
617 620
             this.prescriptions[i].project[b].price = this.prescriptions[i].project[b].price.toString()
618 621
             this.prescriptions[i].project[b].total = this.prescriptions[i].project[b].total.toString()
619 622
             this.prescriptions[i].project[b].delivery_way = this.prescriptions[i].project[b].delivery_way.toString()
620 623
 
621 624
             this.prescriptions[i].project[b].day_count = parseInt(this.prescriptions[i].project[b].day_count)
622 625
             this.prescriptions[i].project[b].frequency_type = parseInt(this.prescriptions[i].project[b].frequency_type)
623
-            this.prescriptions[i].project[b].week_day = this.prescriptions[i].project[b].week_day.toString()
626
+            this.prescriptions[i].project[b].week_day = this.prescriptions[i].project[b].number_days.toString()
624 627
 
625 628
           }
626 629
         }
627 630
         let data = {
628 631
           'prescriptions': this.prescriptions
629 632
         }
630
-
633
+        console.log("paramoowowowowoowowowowowowowow",data)
634
+       
631 635
         createdTemplate(params, data).then(response => {
632 636
           if (response.data.state == 1) {
633 637
             this.$message.success('保存成功')
@@ -1507,6 +1511,7 @@
1507 1511
       },
1508 1512
 
1509 1513
       comfirm() {
1514
+        console.log("temlist",this.teamList)
1510 1515
         // if (this.curPrescriptions.order_status == 2) {
1511 1516
         //   this.$message.error('该处方已经结算,无法继续添加药品或者项目')
1512 1517
         //   this.teamList = []
@@ -1733,7 +1738,7 @@
1733 1738
                   type: temp2[b].type,
1734 1739
                   frequency_type: 1,
1735 1740
                   day_count: 0,
1736
-                  week_day: ''
1741
+                  week_day:temp2[b].number_days
1737 1742
                 }
1738 1743
                 if (temp2[b].type == 2) {
1739 1744
                   obj['project'] = temp2[b].project
@@ -1784,7 +1789,8 @@
1784 1789
           }
1785 1790
         }
1786 1791
         this.teamList = selection
1787
-      }, getPrescriptionTemplateInfo() {
1792
+      }, 
1793
+      getPrescriptionTemplateInfo() {
1788 1794
         let params = {
1789 1795
           id: this.$route.query.id
1790 1796
         }
@@ -1797,6 +1803,7 @@
1797 1803
             if (response.data.data.template.id > 0) {
1798 1804
               this.tempForm.name = response.data.data.template.name
1799 1805
               this.tempForm.mode_id = response.data.data.template.mode
1806
+              console.log("数据woowowowo",response.data.data.prescriptions)
1800 1807
               for (let i = 0; i < response.data.data.prescriptions.length; i++) {
1801 1808
                 var prescription = response.data.data.prescriptions[i]
1802 1809
                 let tempAdvice = []
@@ -1852,8 +1859,8 @@
1852 1859
                         type: prescription.project[b].type,
1853 1860
                         frequency_type: prescription.project[b].frequency_type,
1854 1861
                         day_count: prescription.project[b].day_count,
1855
-                        week_day: prescription.project[b].week_day
1856
-
1862
+                        week_day: prescription.project[b].week_day,
1863
+                        number_days:prescription.project[b].week_day
1857 1864
 
1858 1865
                       }
1859 1866
 
@@ -1893,7 +1900,8 @@
1893 1900
                           type: prescription.project[b].type,
1894 1901
                           frequency_type: prescription.project[b].frequency_type,
1895 1902
                           day_count: prescription.project[b].day_count,
1896
-                          week_day: prescription.project[b].week_day
1903
+                          week_day: prescription.project[b].week_day,
1904
+                          number_days:prescription.project[b].week_day
1897 1905
 
1898 1906
                         }
1899 1907
 
@@ -1930,7 +1938,8 @@
1930 1938
                         type: prescription.project[b].type,
1931 1939
                         frequency_type: prescription.project[b].frequency_type,
1932 1940
                         day_count: prescription.project[b].day_count,
1933
-                        week_day: prescription.project[b].week_day
1941
+                        week_day: prescription.project[b].week_day,
1942
+                        number_days:prescription.project[b].week_day
1934 1943
 
1935 1944
 
1936 1945
                       }
@@ -1971,7 +1980,8 @@
1971 1980
                           type: prescription.project[b].type,
1972 1981
                           frequency_type: prescription.project[b].frequency_type,
1973 1982
                           day_count: prescription.project[b].day_count,
1974
-                          week_day: prescription.project[b].week_day
1983
+                          week_day: prescription.project[b].week_day,
1984
+                          number_days:prescription.project[b].week_day
1975 1985
 
1976 1986
                         }
1977 1987
 

+ 10 - 13
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue Прегледај датотеку

@@ -136,7 +136,7 @@
136 136
                         &nbsp;&nbsp;<span>
137 137
                           {{ it.execution_frequency }}&nbsp;{{
138 138
                             it.delivery_way
139
-                          }}&nbsp;</span>&nbsp;&nbsp;<span>{{ it.advice_desc}}</span>
139
+                          }}&nbsp;共{{ it.day}}天</span>&nbsp;&nbsp;<span>{{ it.advice_desc}}</span>
140 140
                       </template>
141 141
                     </div>
142 142
 
@@ -195,7 +195,7 @@
195 195
                         &nbsp;&nbsp;<span>
196 196
                           {{ it.execution_frequency }}&nbsp;{{
197 197
                             it.delivery_way
198
-                          }}&nbsp;</span>&nbsp;&nbsp;<span>{{ it.advice_desc}}</span>
198
+                          }}&nbsp;共{{ it.day}}天</span><span>{{ it.advice_desc}} </span>
199 199
                       </template>
200 200
                     </div>
201 201
 
@@ -404,7 +404,7 @@
404 404
             <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
405 405
           </div> -->
406 406
           <div  style="border-bottom: 2px solid #000; width: 100%;margin-right: 30px;padding: 0 10px;line-height: 24px;" >
407
-            <p style="text-align: right;">医师:{{ item.creator ? item.creator : "" }}</p>
407
+            <p style="text-align: right;">医师:{{ item.doctor ? item.doctor : "" }}</p>
408 408
           </div>
409 409
           <!-- <div style="display: flex;justify-content: space-around;border-bottom: 2px solid #000;">
410 410
             <p style="width:300px;">大额处方患者意见:
@@ -558,20 +558,17 @@ export default{
558 558
     },
559 559
     getPrescriptionPrint() {
560 560
       var params = {
561
-        // patient_id:this.patient_id,
562
-        // record_date:this.record_date,
563
-        // prescription_id:this.prescription_id,
564 561
         patient_id: this.patient_id,
565 562
         record_date: this.record_date,
566 563
         prescription_id: this.prescription_id,
567 564
         ids: this.ids,
568 565
         p_type: 2,
569 566
       };
570
-      console.log("params", params);
571 567
       getPrescriptionPrint(params).then((response) => {
572 568
         if (response.data.state == 1) {
573 569
           var advicePrint = response.data.data.advicePrint;
574 570
           console.log("adviceprint9999", advicePrint);
571
+          console.log("response.data.data", response.data.data);
575 572
           this.advicePrint = advicePrint;
576 573
           this.prescriptions = advicePrint;
577 574
 
@@ -602,10 +599,10 @@ export default{
602 599
           }
603 600
         }
604 601
 
605
-          console.log('4444444',this.advicePrint);
602
+          // console.log('4444444',this.advicePrint);
606 603
         //  console.log('55555555',this.arr);
607 604
 
608
-          console.log(this.doctorList_1, "医生列表");
605
+          // console.log(this.doctorList_1, "医生列表");
609 606
           if (this.doctorList_1.length > 0) {
610 607
             var operatorsLen = this.doctorList_1.length;
611 608
             for (var index = 0; index < operatorsLen; index++) {
@@ -617,12 +614,12 @@ export default{
617 614
             }
618 615
           }
619 616
 
620
-          console.log("处方222222", this.prescriptions);
617
+          // console.log("处方222222", this.prescriptions);
621 618
           var hisPatient = response.data.data.hisPatient;
622
-          console.log("hisPatient", hisPatient);
619
+          // console.log("hisPatient", hisPatient);
623 620
           this.hisPatient = hisPatient;
624 621
           var projectlist = response.data.data.projectlist;
625
-          console.log("所有项目列表", projectlist);
622
+          // console.log("所有项目列表", projectlist);
626 623
           this.projectList = projectlist;
627 624
         }
628 625
       });
@@ -658,7 +655,7 @@ export default{
658 655
       return name;
659 656
     },
660 657
     getTotalOne(id) {
661
-      console.log('999999999',this.prescriptions);
658
+      // console.log('999999999',this.prescriptions);
662 659
       var total = 0;
663 660
       var addtotal = 0;
664 661
       var zimuyao = 0;

+ 3 - 2
src/xt_pages/user/components/PatientDetail.vue Прегледај датотеку

@@ -1224,11 +1224,12 @@
1224 1224
             <div class="print_footnote_panel">
1225 1225
               <div class="proj">
1226 1226
                 <span class="proj_title">日期:</span>
1227
-                <!-- {{ getTime(patientPrint.created_time) }} -->
1228
-                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394">{{
1227
+               
1228
+                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394 || org_id ==10612 || org_id == 0">{{
1229 1229
                   getTime(patientPrint.created_time)
1230 1230
                 }}</span>
1231 1231
                 <span v-else>{{ printDate }}</span>
1232
+              
1232 1233
               </div>
1233 1234
               <div class="proj">
1234 1235
                  <span class="proj_title">医生签名: