Browse Source

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

28169 1 year ago
parent
commit
86a83d6a0d

+ 2 - 1
src/lang/zh.js View File

@@ -299,7 +299,8 @@ export default {
299 299
     dialysis_index:'信息归档',
300 300
     log_index:"日志查询",
301 301
     objectRegistration:"医疗器械登记",
302
-    Dialysisanalysis: '专业质控'
302
+    Dialysisanalysis: '专业质控',
303
+    queryData:"结算数据查询",
303 304
   },
304 305
   navbar: {
305 306
     logOut: '退出登录',

+ 5 - 0
src/router/modules/hisTool.js View File

@@ -95,6 +95,11 @@ export default {
95 95
       component: () => import('@/xt_pages/outpatientTool/yidiClear'),
96 96
       name: 'yidiClear',
97 97
       meta: { title: 'yidiClear', noCache: true }
98
+    }, {
99
+      path: '/hisTool/queryData',
100
+      component: () => import('@/xt_pages/outpatientTool/queryData'),
101
+      name: 'queryData',
102
+      meta: { title: 'queryData', noCache: true }
98 103
     },
99 104
     {
100 105
       path: '/hisTool/statistics',

+ 274 - 200
src/xt_pages/dialysis/details/index.vue View File

@@ -223,232 +223,303 @@
223 223
       </el-tabs>
224 224
 
225 225
 
226
+<!-- 打印上机单弹窗 -->
227
+    <el-dialog
228
+      :visible.sync="startVisibility"
229
+      :close-on-click-modal="false"
230
+      :close-on-press-escape="false"
231
+      :show-close="false"
232
+      width="30%"
233
+    >
234
+      <el-button
235
+        size="small"
236
+        icon="el-icon-printer"
237
+        type="primary"
238
+        @click="printAction"
239
+        style="float:right"
240
+        >打印</el-button
241
+      >
242
+      <div id="print_content">
243
+      <div class="print_main_content">
244
+        <div class="table_panel">
245
+            <div v-for="(main_collection,index) in printList" :key="index">
246
+              <div class="signPrint" style="width: 360px;font-size:16px;">
247
+                <div style="margin-left:50px;">姓名:
248
+                  <span>{{main_collection.patient.name}} </span>
249
+                  ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁)
250
+                </div>
251
+                <div class="printCell" style="display:flex;justify-content: space-around;">
252
+                  <span style="display: block;width: 50%;">
253
+                    床号:{{ main_collection.number.number }}
254
+                    <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
255
+                    <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
256
+                    <span style="width:auto;" v-if="main_collection.schedule_type == 3">晚上</span>
257
+                  </span>
258
+                  <span style="display: block;width: 50%;">{{ printDate }}</span>
259
+                </div>
260
+                <div class="printCell" style="display:flex;justify-content: space-around;">
261
+                  <span style="display: block;width: 50%;">干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
262
+                    <span style="display: block;width: 50%;">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
226 263
 
227
-        <el-dialog
228
-                :visible.sync="startVisibility"
229
-                :close-on-click-modal="false"
230
-                :close-on-press-escape="false"
231
-                :show-close="false"
232
-                width="30%"
233
-        >
234
-         <el-button
235
-            size="small"
236
-            icon="el-icon-printer"
237
-            type="primary"
238
-            @click="printAction"
239
-            style="float:right"
240
-            >打印</el-button
241
-          >
242
-       <div id="print_content">
243
-        <div class="print_main_content">
244
-          <div class="table_panel">
245
-             <div v-for="(main_collection,index) in printList" :key="index">
246
-                <div class="signPrint" style="width: 360px;font-size:16px;">
247
-                  <div style="margin-left:50px;">姓名:
248
-                    <span>{{main_collection.patient.name}} </span>
249
-                    ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁)
250
-                  </div>
251
-                  <div class="printCell" style="display:flex;justify-content: space-around;">
252
-                    <span style="display: block;width: 50%;">
253
-                      床号:{{ main_collection.number.number }}
254
-                      <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
255
-                      <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
256
-                      <span style="width:auto;" v-if="main_collection.schedule_type == 3">晚上</span>
257
-                    </span>
258
-                    <span style="display: block;width: 50%;">{{ printDate }}</span>
259
-                  </div>
260
-                  <div class="printCell" style="display:flex;justify-content: space-around;">
261
-                    <span style="display: block;width: 50%;">干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
262
-                      <span style="display: block;width: 50%;">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
263
-
264
-                  </div>
265
-                  <div class="printCell" style="display:flex;justify-content: space-around;">
266
-                    <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
267
-                    
268
-                    <span style="display: block;width: 50%;">
269
-                      首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
270
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
271
-                      {{main_collection.dialysissolution.anticoagulant_shouji}}mg
272
-                    </span>
273
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
274
-                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
275
-                    </span>
276
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
277
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}mg
278
-                    </span>
279
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
280
-                    {{main_collection.dialysissolution.anticoagulant_shouji}} mg
281
-                    </span>
282
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
283
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
284
-                    </span>
285
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
286
-                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
287
-                    </span>
288
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
289
-                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
290
-                    </span>
291
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
292
-                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
293
-                    </span>
294
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
295
-                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
296
-                      </span>
297
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
298
-                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
299
-                    </span>
300
-                      </span> 
264
+                </div>
265
+                <div class="printCell" style="display:flex;justify-content: space-around;">
266
+                  <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
301 267
                   
302
-                  </div>
303
-                  <div class="printCell" style="display:flex;justify-content: space-around;">
304
-                    <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
305 268
                   <span style="display: block;width: 50%;">
306
-                      维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
307
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 1">
308
-                      mg/h
309
-                    </span>
310
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
311
-                      mg/h
269
+                    首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
270
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
271
+                    {{main_collection.dialysissolution.anticoagulant_shouji}}mg
272
+                  </span>
273
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
274
+                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
275
+                  </span>
276
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
277
+                  {{main_collection.dialysissolution.anticoagulant_shouji}}mg
278
+                  </span>
279
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
280
+                  {{main_collection.dialysissolution.anticoagulant_shouji}} mg
281
+                  </span>
282
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
283
+                  {{main_collection.dialysissolution.anticoagulant_shouji}}iu
284
+                  </span>
285
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
286
+                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
287
+                  </span>
288
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
289
+                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
290
+                  </span>
291
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
292
+                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
293
+                  </span>
294
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
295
+                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
312 296
                     </span>
313
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
297
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
298
+                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
299
+                  </span>
300
+                    </span> 
301
+                
302
+                </div>
303
+                <div class="printCell" style="display:flex;justify-content: space-around;">
304
+                  <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
305
+                <span style="display: block;width: 50%;">
306
+                    维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
307
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 1">
308
+                    mg/h
309
+                  </span>
310
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
311
+                    mg/h
312
+                  </span>
313
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
314
+                  iu/h
315
+                  </span>
316
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
317
+                    mg/h
318
+                  </span>
319
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
320
+                    mg/h
321
+                  </span>
322
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
323
+                  iu/h
324
+                  </span>
325
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
326
+                  iu/h
327
+                  </span>
328
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
314 329
                     iu/h
315
-                    </span>
316
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
317
-                      mg/h
318
-                    </span>
319
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
320
-                      mg/h
321
-                    </span>
322
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
330
+                  </span>
331
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
323 332
                     iu/h
324
-                    </span>
325
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
333
+                  </span>
334
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
326 335
                     iu/h
327 336
                     </span>
328
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
329
-                      iu/h
330
-                    </span>
331
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
332
-                      iu/h
333
-                    </span>
334
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
335
-                      iu/h
336
-                      </span>
337
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
338
-                      iu/h
339
-                    </span>
340
-                    </span>
341
-                  
342
-                  </div>
343
-                  <div class="printCell" style="display:flex;justify-content: space-around;">
344
-                    <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
345
-                      <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138 || $store.getters.xt_user.org.id == 10460">ml</span> 
346
-                      <span v-else>L</span>
347
-                    </span>
348
-                    <span style="display: block;width: 50%;">
349
-                      总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
350
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 1">
351
-                      mg
352
-                    </span>
353
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
354
-                      mg
355
-                    </span>
356
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
357
-                      iu
358
-                    </span>
359
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
337
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
338
+                    iu/h
339
+                  </span>
340
+                  </span>
341
+                
342
+                </div>
343
+                <div class="printCell" style="display:flex;justify-content: space-around;">
344
+                  <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
345
+                    <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138 || $store.getters.xt_user.org.id == 10460">ml</span> 
346
+                    <span v-else>L</span>
347
+                  </span>
348
+                  <span style="display: block;width: 50%;">
349
+                    总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
350
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 1">
360 351
                     mg
361
-                    </span>
362
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
363
-                      mg
364
-                    </span>
365
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
352
+                  </span>
353
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
354
+                    mg
355
+                  </span>
356
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
366 357
                     iu
367
-                    </span>
368
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
369
-                      iu
370
-                    </span>
371
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
372
-                      iu
373
-                    </span>
374
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
358
+                  </span>
359
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
360
+                  mg
361
+                  </span>
362
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
363
+                    mg
364
+                  </span>
365
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
366
+                  iu
367
+                  </span>
368
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
375 369
                     iu
376
-                    </span>
377
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
378
-                      iu
379
-                      </span>
380
-                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
370
+                  </span>
371
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
372
+                    iu
373
+                  </span>
374
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
375
+                  iu
376
+                  </span>
377
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
381 378
                     iu
382 379
                     </span>
383
-                    </span>
384
-                  </div>
380
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
381
+                  iu
382
+                  </span>
383
+                  </span>
385 384
                 </div>
386
-             </div>
385
+              </div>
386
+            </div>
387 387
 
388
-             <!-- <div v-for="(main_collection,index) in printList" :key="index" style="width: 80%;">
389
-                <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; text-align: center; margin: auto;">
390
-                
391
-                  <tr style="height: 20px;">
392
-                    <td>{{ printDate }}</td>
393
-                    <td>机号:{{ main_collection.number.number }}</td>
394
-                  </tr>
395
-                  <tr style="height: 20px;">
396
-                    <td>姓名</td>
397
-                    <td>{{main_collection.patient.name}}</td>
398
-                  </tr>
399
-                  <tr style="height: 20px;">
400
-                    <td>治疗方式</td>
401
-                    <td></td>
402
-                  </tr>
403
-                  <tr style="height: 20px;">
404
-                    <td>透析时间</td>
405
-                    <td>{{ printDate }}</td>
406
-                  </tr>
407
-                  <tr style="height: 20px;">
408
-                    <td>透前体重</td>
409
-                    <td></td>
410
-                  </tr>
411
-                  <tr style="height: 20px;">
412
-                    <td>干体重</td>
413
-                    <td>{{main_collection.assessmentbefor.dry_weight}}Kg</td>
414
-                  </tr>
415
-                  <tr style="height: 20px;">
416
-                    <td>超滤量</td>
417
-                    <td></td>
418
-                  </tr>
419
-                  <tr style="height: 20px;">
420
-                    <td>透前血压</td>
421
-                    <td>-</td>
422
-                  </tr>
423
-                  <tr style="height: 20px;">
424
-                    <td></td>
425
-                    <td></td>
426
-                  </tr>
427
-                  <tr style="height: 20px;">
428
-                    <td></td>
429
-                    <td></td>
430
-                  </tr>
431
-                </table>
432
-             </div> -->
388
+            <!-- <div v-for="(main_collection,index) in printList" :key="index" style="width: 80%;">
389
+              <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; text-align: center; margin: auto;">
390
+              
391
+                <tr style="height: 20px;">
392
+                  <td>{{ printDate }}</td>
393
+                  <td>机号:{{ main_collection.number.number }}</td>
394
+                </tr>
395
+                <tr style="height: 20px;">
396
+                  <td>姓名</td>
397
+                  <td>{{main_collection.patient.name}}</td>
398
+                </tr>
399
+                <tr style="height: 20px;">
400
+                  <td>治疗方式</td>
401
+                  <td></td>
402
+                </tr>
403
+                <tr style="height: 20px;">
404
+                  <td>透析时间</td>
405
+                  <td>{{ printDate }}</td>
406
+                </tr>
407
+                <tr style="height: 20px;">
408
+                  <td>透前体重</td>
409
+                  <td></td>
410
+                </tr>
411
+                <tr style="height: 20px;">
412
+                  <td>干体重</td>
413
+                  <td>{{main_collection.assessmentbefor.dry_weight}}Kg</td>
414
+                </tr>
415
+                <tr style="height: 20px;">
416
+                  <td>超滤量</td>
417
+                  <td></td>
418
+                </tr>
419
+                <tr style="height: 20px;">
420
+                  <td>透前血压</td>
421
+                  <td>-</td>
422
+                </tr>
423
+                <tr style="height: 20px;">
424
+                  <td></td>
425
+                  <td></td>
426
+                </tr>
427
+                <tr style="height: 20px;">
428
+                  <td></td>
429
+                  <td></td>
430
+                </tr>
431
+              </table>
432
+            </div> -->
433 433
 
434
-          </div>
435 434
         </div>
436 435
       </div>
436
+      </div>
437 437
 
438 438
       <span slot="footer" class="dialog-footer">
439 439
         <el-button @click="startVisibility = false">取 消</el-button>
440 440
       </span>
441 441
     </el-dialog>
442 442
 
443
+<!-- 打印上机单弹窗----新 -->
444
+    <el-dialog
445
+      :visible.sync="centerDialogVisible"
446
+      width="30%"
447
+      >
448
+      <el-button
449
+        size="small"
450
+        icon="el-icon-printer"
451
+        type="primary"
452
+        @click="printAction"
453
+        style="float:right"
454
+        >打印</el-button
455
+      >
456
+      <div id="print_content">
457
+        <div class="print_main_content">
458
+          <div class="table_panel">
459
+            <div style="border: 1px solid black;width: 82%;">
460
+              <div style="margin: 5px 0;">
461
+                <span style="font-weight: bolder;">柴镜洋</span>&nbsp;&nbsp;<span>男</span>&nbsp;&nbsp;
462
+                <span>37岁</span>&nbsp;&nbsp;<span>2023-9-26</span>&nbsp;&nbsp;
463
+                <span>V区</span>&nbsp;&nbsp;<span>上午</span>&nbsp;&nbsp;<span>V80床</span>
464
+              </div>
465
+              <div style="margin: 5px 0;">
466
+                <span>身高:180cm</span>&nbsp;&nbsp;<span>干体重:67.2kg</span>&nbsp;&nbsp;
467
+                 <span>HCT:%</span>&nbsp;&nbsp;<span>KTV目标:</span> 
468
+              </div>
469
+            </div>
470
+            <div style="height: 30px;width: 82%;border: 1px solid black;">
471
+
472
+            </div>
473
+            <div style="border: 1px solid black;width: 82%;">
474
+              <div style="display: flex;margin: 5px 0;">
475
+                <div style="flex: 1;">透析模式:</div>
476
+                <div style="flex: 1;">透析器:</div>
477
+                <div style="flex: 1;">灌流器:</div>
478
+              </div>
479
+              <div style="display: flex;margin: 5px 0;">
480
+                <div style="flex: 1;">血流量:ml/分</div>
481
+                <div style="flex: 1;">置换液总量:L</div>
482
+              </div>
483
+              <div style="margin: 5px 0;">
484
+                <div>透析液类型:
485
+                  <span>Na:138</span>
486
+                  <span>K:2.0</span>
487
+                  <span>Ca:1.5</span>
488
+                  <span>不含HCO3:35</span>
489
+                </div>
490
+              </div>
491
+              <div style="display: flex;margin: 5px 0;">
492
+                <div style="flex: 1;">超滤曲线:</div>
493
+                <div style="flex: 1;">Na曲线:</div>
494
+              </div>
495
+              <div style="margin: 5px 0;">
496
+                <span>抗凝方案:</span>
497
+                <span>低分子肝素钙</span>
498
+                <span>首剂:iu</span>
499
+                <span>追加:iu</span>              
500
+              </div>
501
+              <div style="margin: 5px 0;">
502
+                血管通路:自体动静脉内瘘
503
+              </div>
504
+            </div>
505
+            <div style="border: 1px solid black;width: 82%;">
506
+              <div style="margin: 5px 0;">高危因素:</div>
507
+            </div>
508
+          </div>
509
+        </div>
510
+      </div>
443 511
 
512
+      <span slot="footer" class="dialog-footer">
513
+        <el-button @click="centerDialogVisible = false">取 消</el-button>
514
+      </span>
515
+    </el-dialog>
444 516
 
445
-  
446 517
       <el-dialog
447
-                :visible.sync="endVisibility"
448
-                :close-on-click-modal="false"
449
-                :close-on-press-escape="false"
450
-                :show-close="false"
451
-                width="30%"
518
+          :visible.sync="endVisibility"
519
+          :close-on-click-modal="false"
520
+          :close-on-press-escape="false"
521
+          :show-close="false"
522
+          width="30%"
452 523
         >
453 524
          <el-button
454 525
             size="small"
@@ -614,6 +685,7 @@
614 685
 
615 686
 
616 687
     </div>
688
+
617 689
     <div style="width:75%" v-show="!showView">
618 690
       <div style="margin-left:60px;color:#34495e">
619 691
         <span>{{ patient.name }}({{ patient.dialysis_no }})</span>
@@ -1098,6 +1170,7 @@ export default {
1098 1170
       his_doctor_advices:[],
1099 1171
       startVisibility:false,
1100 1172
       endVisibility:false,
1173
+      centerDialogVisible:false,//新上机单弹窗
1101 1174
       printList:[],
1102 1175
       anticoagulants_confit:null,
1103 1176
       printDate:'',
@@ -2441,7 +2514,8 @@ export default {
2441 2514
           console.log("list2332322332",list)
2442 2515
           this.printList = list
2443 2516
           this.assessmentAfterDislysis = assessmentAfterDislysis
2444
-          this.startVisibility = true
2517
+          // this.startVisibility = true
2518
+          this.centerDialogVisible =true
2445 2519
           loading.close()
2446 2520
         }
2447 2521
       })

+ 14 - 322
src/xt_pages/outpatientCharges/newStatementPrintThree.vue View File

@@ -83,320 +83,15 @@ export default {
83 83
     printThisPage() {
84 84
       var ptime = Math.round(new Date().getTime() / 1000)
85 85
       this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
86
-
87
-      if (
88
-        this.$store.getters.xt_user.org_id == 10138 ||
89
-        this.$store.getters.xt_user.org_id == 4 ||
90
-        this.$store.getters.xt_user.org_id == 10278
91
-      ) {
92
-        setTimeout(() => {
93
-          const style =
94
-            '@media print {#statement-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 47%;}}}'
95
-          const style2 =
96
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 50%;}}}'
97
-          const style3 =
98
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 55%;}}}'
99
-          const style4 =
100
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 58%;}}}'
101
-          const style5 =
102
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 61%;}}}'
103
-          const style6 =
104
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 66%;}}}'
105
-          const style7 =
106
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 71%;}}}'
107
-          const style8 =
108
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 75%;}}}'
109
-          const style9 =
110
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 80%;}}}'
111
-          const style10 =
112
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 85%;}}}'
113
-          const style11 =
114
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 87%;}}}'
115
-          const style12 =
116
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 89%;}}}'
117
-          if (this.num >= 13) {
118
-            printJS({
119
-              printable: 'prescription-print',
120
-              type: 'html',
121
-              style: style,
122
-              scanStyles: false
123
-            })
124
-          } else if (this.num == 12) {
125
-            printJS({
126
-              printable: 'prescription-print',
127
-              type: 'html',
128
-              style: style2,
129
-              scanStyles: false
130
-            })
131
-          } else if (this.num == 11) {
132
-            printJS({
133
-              printable: 'prescription-print',
134
-              type: 'html',
135
-              style: style3,
136
-              scanStyles: false
137
-            })
138
-          } else if (this.num == 10) {
139
-            printJS({
140
-              printable: 'prescription-print',
141
-              type: 'html',
142
-              style: style4,
143
-              scanStyles: false
144
-            })
145
-          } else if (this.num == 9) {
146
-            printJS({
147
-              printable: 'prescription-print',
148
-              type: 'html',
149
-              style: style5,
150
-              scanStyles: false
151
-            })
152
-          } else if (this.num == 8) {
153
-            printJS({
154
-              printable: 'prescription-print',
155
-              type: 'html',
156
-              style: style6,
157
-              scanStyles: false
158
-            })
159
-          } else if (this.num == 7) {
160
-            printJS({
161
-              printable: 'prescription-print',
162
-              type: 'html',
163
-              style: style7,
164
-              scanStyles: false
165
-            })
166
-          } else if (this.num == 6) {
167
-            printJS({
168
-              printable: 'prescription-print',
169
-              type: 'html',
170
-              style: style8,
171
-              scanStyles: false
172
-            })
173
-          } else if (this.num == 5) {
174
-            printJS({
175
-              printable: 'prescription-print',
176
-              type: 'html',
177
-              style: style9,
178
-              scanStyles: false
179
-            })
180
-          } else if (this.num == 4) {
181
-            printJS({
182
-              printable: 'prescription-print',
183
-              type: 'html',
184
-              style: style10,
185
-              scanStyles: false
186
-            })
187
-          } else if (this.num == 3) {
188
-            printJS({
189
-              printable: 'prescription-print',
190
-              type: 'html',
191
-              style: style11,
192
-              scanStyles: false
193
-            })
194
-          } else if (this.num <= 2) {
195
-            printJS({
196
-              printable: 'prescription-print',
197
-              type: 'html',
198
-              style: style12,
199
-              scanStyles: false
200
-            })
201
-          }
202
-        }, 500)
203
-      } else if (
204
-        this.$store.getters.xt_user.org_id == 9504 ||
205
-        this.$store.getters.xt_user.org_id == 10028
206
-      ) {
207
-        const style =
208
-          '@media print {.printTitle{font-size: 20px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;font-size:12px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;font-size:12px;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none;font-size:12px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;font-size:12px;}.actionBar div{width:150px;}}'
209
-        printJS({
210
-          printable: 'prescription-print',
211
-          type: 'html',
212
-          style: style,
213
-          scanStyles: false
214
-        })
215
-      } else {
216
-        // 医保环境打印格式
217
-        if (
218
-          this.$store.getters.xt_user.org_id == 9919 ||
219
-          this.$store.getters.xt_user.org_id == 10106
220
-        ) {
221
-          const style =
222
-            '@media print {.statementTitle{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;}.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 16px;border-color: #000;}}'
223
-          printJS({
224
-            printable: 'statement-print',
225
-            type: 'html',
226
-            style: style,
227
-            scanStyles: false
228
-          })
229
-        } else if (
230
-          // this.$store.getters.xt_user.org_id == 0 ||
231
-          this.$store.getters.xt_user.org_id == 10191
232
-        ) {
233
-          const style =
234
-            '@media print {#statement-print{font-size:14px;border:1px solid white}.statementTitle{font-size: 22px;text-align: center;font-weight: bold;}table{border-collapse: collapse;text-align: center;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 57%;}}}'
235
-          printJS({
236
-            printable: 'statement-print',
237
-            type: 'html',
238
-            style: style,
239
-            scanStyles: false
240
-          })
241
-          // const style =
242
-          //     "@media print {.statementTable{width: 100%;text-align: center;border-collapse: collapse;line-height: 40px;font-size: 14px;border-color: #000;} .statementTable thead{font-size: 28px;text-align: center;font-weight: bold;margin-bottom: 10px;} .statementTable tbody{text-align:left;} .statementTable tbody .view_tr{text-align:center;border: 1px solid;} tbody .dashed_tr{border: 1px dashed;text-align:center} .list_table{width: 100%;margin-bottom: 100px;} tbody tr td div{height:25px;}}";
243
-          // printJS({
244
-          //   printable: "statement-print",
245
-          //   type: "html",
246
-          //   style: style,
247
-          //   scanStyles: false,
248
-          // });
249
-        }  else {
250
-          const style =
251
-            '@media print {#statement-print{font-size:14px;border:1px solid white}.statementTitle{font-size: 22px;text-align: center;font-weight: bold;}table{border-collapse: collapse;text-align: center;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 57%;}}}'
252
-          printJS({
253
-            printable: 'statement-print',
254
-            type: 'html',
255
-            style: style,
256
-            scanStyles: false
257
-          })
258
-        }
259
-      }
260
-
261
-      // if (this.org_template_info.template_id == 1) {
262
-      //   printJS({
263
-      //     printable: "dialysis-print-box",
264
-      //     type: "html",
265
-      //     style: style,
266
-      //     scanStyles: false
267
-      //   });
268
-      // }
269
-    },
270
-    getAllDoctorList() {
271
-      getAllDoctorList().then((response) => {
272
-        if (response.data.state == 1) {
273
-          var doctor = response.data.data.doctor
274
-
275
-          this.doctorList = doctor
276
-        }
86
+      const style =
87
+        '@media print {#statement-print{font-size:14px;border:1px solid white}.statementTitle{font-size: 22px;text-align: center;font-weight: bold;}table{border-collapse: collapse;text-align: center;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 57%;}}}'
88
+      printJS({
89
+        printable: 'statement-print',
90
+        type: 'html',
91
+        style: style,
92
+        scanStyles: false
277 93
       })
278 94
 
279
-    }, getType(med_chrgitm_type) {
280
-      switch (med_chrgitm_type) {
281
-        case '01':
282
-          return '床位费'
283
-          break
284
-        case '02':
285
-          return '诊察费'
286
-
287
-          break
288
-        case '03':
289
-          return '检查费'
290
-
291
-          break
292
-        case '04':
293
-          return '化验费'
294
-          break
295
-        case '05':
296
-          return '治疗费'
297
-
298
-          break
299
-        case '06':
300
-          return '手术费'
301
-
302
-          break
303
-        case '07':
304
-          return '护理费'
305
-          break
306
-        case '08':
307
-          return '材料费'
308
-
309
-          break
310
-        case '09':
311
-          return '西药费'
312
-
313
-          break
314
-        case '10':
315
-          return '中药饮片费'
316
-
317
-          break
318
-        case '11':
319
-          return '中成药费'
320
-
321
-          break
322
-        case '12':
323
-          return '一般诊疗费'
324
-
325
-          break
326
-        case '13':
327
-          return '挂号费'
328
-
329
-          break
330
-        case '14':
331
-          return '其他费'
332
-
333
-          break
334
-
335
-      }
336
-
337
-    },
338
-    getAllHisPatientList() {
339
-      const params = {
340
-        record_date: this.record_date
341
-      }
342
-      getAllHisPatientList(params).then((response) => {
343
-        if (response.data.state == 1) {
344
-          this.patientTableData = response.data.data.list
345
-          this.patientTableDataTwo = response.data.data.list
346
-
347
-          let cal_one = 0
348
-          let cal_two = 0
349
-          for (let i = 0; i < response.data.data.list.length; i++) {
350
-            if (
351
-              response.data.data.list[i].prescription == null ||
352
-              response.data.data.list[i].prescription.length == 0
353
-            ) {
354
-              cal_one = cal_one + 1
355
-            }
356
-            if (
357
-              response.data.data.list[i].prescription != null &&
358
-              response.data.data.list[i].prescription.length > 0
359
-            ) {
360
-              cal_two = cal_two + 1
361
-            }
362
-          }
363
-          // this.$refs.tab.setCurrentRow(this.patientTableData[0])
364
-          // console.log(this.patientTableData[0])
365
-          // this.choosePatient(this.patientTableData[0])
366
-          this.cal_one = cal_one
367
-          this.cal_two = cal_two
368
-        }
369
-      })
370
-    },
371
-
372
-    changePatient(row) {
373
-      console.log('row', row)
374
-      this.patient_id = row.patient_id
375
-      this.record_date = this.record_date
376
-      this.prescription_id = this.prescription_id
377
-      //   var params = {
378
-      //     patient_id:row.patient_id,
379
-      //     record_date:this.record_date,
380
-      //     prescription_id:this.prescription_id,
381
-      //   }
382
-      // getPrescriptionPrint(params).then(response=>{
383
-      //     if(response.data.state == 1){
384
-      //       var advicePrint =  response.data.data.advicePrint
385
-      //       console.log("adviceprint",advicePrint)
386
-      //       this.advicePrint = advicePrint
387
-      //       // var hisPatient =  response.data.data.hisPatient
388
-      //       // console.log("hispatient",hisPatient)
389
-      //       // this.hisPatient = hisPatient
390
-      //       var patient =  response.data.data.patient
391
-      //       console.log("patient",patient)
392
-      //       this.patient = patient
393
-      //       var doctorPorject = response.data.data.doctorPorject
394
-      //       console.log("doctorporject",doctorPorject)
395
-      //     }
396
-      // })
397
-    },
398
-    getTimes(time) {
399
-      return uParseTime(time, '{y}-{m}-{d}')
400 95
     }, getTotal: function(items) {
401 96
       let total = 0
402 97
       for (let i = 0; i < items.length; i++) {
@@ -408,7 +103,7 @@ export default {
408 103
       var list = []
409 104
       for (let a = 0; a < details.length; a++) {
410 105
         let obj = {}
411
-        if(details[a].advice_id > 0 && details[a].project_id == 0) {
106
+        if (details[a].advice_id > 0 && details[a].project_id == 0) {
412 107
           obj['yibao_code'] = details[a].advice.drug.medical_insurance_number
413 108
           obj['yiyuan_code'] = details[a].advice.drug.id
414 109
           obj['name'] = details[a].advice.advice_name
@@ -423,12 +118,12 @@ export default {
423 118
           list.push(obj)
424 119
         }
425 120
 
426
-        if(details[a].advice_id == 0 && details[a].project_id > 0 && details[a].project.type == 2) {
121
+        if (details[a].advice_id == 0 && details[a].project_id > 0 && details[a].project.type == 2) {
427 122
           obj['yibao_code'] = details[a].project.project.medical_code
428 123
           obj['yiyuan_code'] = details[a].project.project.id
429 124
           obj['name'] = details[a].project.project.project_name
430 125
           obj['unit'] = details[a].project.project.unit
431
-          obj['spec'] = ""
126
+          obj['spec'] = ''
432 127
           obj['count'] = details[a].cnt
433 128
           obj['price'] = parseFloat(details[a].pric)
434 129
           obj['psn_pay'] = (details[a].selfpay_prop * details[a].det_item_fee_sumamt).toFixed(2)
@@ -436,7 +131,7 @@ export default {
436 131
           list.push(obj)
437 132
         }
438 133
 
439
-        if(details[a].advice_id == 0 && details[a].project_id > 0 && details[a].project.type == 3) {
134
+        if (details[a].advice_id == 0 && details[a].project_id > 0 && details[a].project.type == 3) {
440 135
           obj['yibao_code'] = details[a].project.good_info.medical_insurance_number
441 136
           obj['yiyuan_code'] = details[a].project.good_info.id
442 137
           obj['name'] = details[a].project.good_info.good_name
@@ -544,7 +239,7 @@ export default {
544 239
               console.log('this.num', this.num)
545 240
             }
546 241
           })
547
-        } else if (this.org_id == 10028  || this.org_id == 9504) {
242
+        } else if (this.org_id == 10028 || this.org_id == 9504) {
548 243
           getPrivateExpenses(params).then((response) => {
549 244
             if (response.data.state == 0) {
550 245
               // this.$message.error(response.data.msg)
@@ -715,7 +410,7 @@ export default {
715 410
                 let obj9 = {
716 411
                   details: [],
717 412
                   med_chrgitm_name: that.getType(med_chrgitm_types[i]),
718
-                  total:0,
413
+                  total: 0
719 414
                 }
720 415
 
721 416
                 // if(med_chrgitm_types[i] == '09'){
@@ -811,7 +506,6 @@ export default {
811 506
           })
812 507
         }
813 508
       } else {
814
-        console.log(this.org_id)
815 509
         if (this.org_id == 0) {
816 510
           let params = {
817 511
             order_id: obj.order_id,
@@ -1103,7 +797,6 @@ export default {
1103 797
                 that.info['otherSelfTotal'] =
1104 798
                   response.data.data.otherSelfTotal
1105 799
 
1106
-
1107 800
                 //org_id 10485,此代码为阳春恒健血液透析中心结算单模版数据处理逻辑
1108 801
                 var list = []
1109 802
                 //获取所有项目类型进行去重
@@ -1121,7 +814,7 @@ export default {
1121 814
                   let obj9 = {
1122 815
                     details: [],
1123 816
                     med_chrgitm_name: that.getType(med_chrgitm_types[i]),
1124
-                    total:0,
817
+                    total: 0
1125 818
                   }
1126 819
 
1127 820
                   let tempDetails = []
@@ -1137,7 +830,6 @@ export default {
1137 830
                 that.info['new_list'] = list
1138 831
                 //org_id 10485,此代码为阳春恒健血液透析中心结算单模版数据处理逻辑
1139 832
 
1140
-
1141 833
                 let obj = {
1142 834
                   type: 1,
1143 835
                   details: [],

+ 1 - 1
src/xt_pages/outpatientCharges/statementTemplate/printeEleven.vue View File

@@ -107,7 +107,7 @@
107 107
           <td colspan="2" >医院盖章:</td>
108 108
         </tr>
109 109
         <tr>
110
-          <td colspan="8">医师签名:</td>
110
+          <td colspan="8" style="padding-top: 20px;">医师签名:</td>
111 111
         </tr>
112 112
       </table>
113 113
     </div>

src/xt_pages/outpatientTool/QueryData.vue → src/xt_pages/outpatientTool/queryData.vue View File

@@ -12,7 +12,7 @@
12 12
         "
13 13
       >
14 14
         <div>
15
-          <el-select v-model="query_type" placeholder="退费标志" >
15
+          <el-select v-model="query_type" placeholder="类别" >
16 16
             <el-option label="本地" value="1"></el-option>
17 17
             <el-option label="异地" value="2"></el-option>
18 18
           </el-select>
@@ -30,51 +30,41 @@
30 30
             <el-option label="门诊特殊病(14)" value="14"></el-option>
31 31
           </el-select>
32 32
         </div>
33
+        <div style="margin-bottom: 10px;">
34
+          <el-date-picker
35
+            size="small"
36
+            v-model="start_time"
37
+            prefix-icon="el-icon-date"
38
+            :editable="false"
39
+            :clearable="false"
40
+            style="width: 150px; "
41
+            type="date"
42
+            placeholder="选择开始日期"
43
+            format="yyyy-MM-dd"
44
+            value-format="yyyy-MM-dd"
45
+            align="right"
46
+          ></el-date-picker>
47
+          <span style="text-align: center;">-</span>
48
+          <el-date-picker
49
+            size="small"
50
+            v-model="end_time"
51
+            prefix-icon="el-icon-date"
52
+            :editable="false"
53
+            :clearable="false"
54
+            style="width: 150px; "
55
+            type="date"
56
+            placeholder="选择结束日期"
57
+            format="yyyy-MM-dd"
58
+            value-format="yyyy-MM-dd"
59
+            align="right"
60
+          ></el-date-picker>
61
+        </div>
33 62
         <div>
34
-          <el-select placeholder="证件号码" >
35
-            <el-input v-model="certno" placeholder="" style="width:150px;"></el-input>
36
-          </el-select>
37
-          <el-button @click="queryPsn">获取人员信息</el-button>
63
+            <el-input v-model="certno" placeholder="证件号码" style="width:150px;"></el-input>
38 64
         </div>
39
-
40 65
         <div>
41
-          <el-select placeholder="人员编号" >
42
-            <el-input disabled v-model="psn_no" placeholder="" style="width:150px;"></el-input>
43
-          </el-select>
66
+          <el-button @click="queryData">查询</el-button>
44 67
         </div>
45
-
46
-
47
-      </div>
48
-      <div style="margin-bottom: 10px;">
49
-        <el-date-picker
50
-          size="small"
51
-          v-model="start_time"
52
-          prefix-icon="el-icon-date"
53
-          @change="handleStartTimeChange"
54
-          :editable="false"
55
-          :clearable="false"
56
-          style="width: 196px; "
57
-          type="date"
58
-          placeholder="选择开始日期"
59
-          format="yyyy-MM-dd"
60
-          value-format="yyyy-MM-dd"
61
-          align="right"
62
-        ></el-date-picker>
63
-        <span style="text-align: center;">-</span>
64
-        <el-date-picker
65
-          size="small"
66
-          v-model="end_time"
67
-          prefix-icon="el-icon-date"
68
-          @change="handleEndTimeChange"
69
-          :editable="false"
70
-          :clearable="false"
71
-          style="width: 196px; "
72
-          type="date"
73
-          placeholder="选择结束日期"
74
-          format="yyyy-MM-dd"
75
-          value-format="yyyy-MM-dd"
76
-          align="right"
77
-        ></el-date-picker>
78 68
       </div>
79 69
       <el-table
80 70
         :data="tableData"
@@ -157,8 +147,8 @@ export default {
157 147
       zone_options: [
158 148
         { id: 0, text: '全部分区' }
159 149
       ],
160
-      refd_setl_flag:"0",
161
-      med_type:"14",
150
+      refd_setl_flag:"",
151
+      med_type:"",
162 152
       certno:"",
163 153
       psn_no:"",
164 154
       start_time:"",
@@ -171,6 +161,7 @@ export default {
171 161
       tableData: [],
172 162
       limit: 10,
173 163
       page: 1,
164
+      total:0,
174 165
     };
175 166
   },
176 167
   created() {
@@ -178,18 +169,21 @@ export default {
178 169
   },
179 170
 
180 171
   methods: {
181
-    queryData(row){
172
+    queryData(){
182 173
       var that = this;
183 174
       axios
184 175
         .get("http://127.0.0.1:9532/api/querydata", {
185 176
           params: {
186
-            refd_setl_flag:this.refd_setl_flag,
187
-            med_type: this.med_type,
188
-            admin_user_id: this.$store.getters.xt_user.user.id,
189
-            certno:"",
190
-            psn_no:"",
191
-            start_time:this.start_time,
192
-            end_time: this.end_time,
177
+            type:that.query_type,
178
+            refd_setl_flag:that.refd_setl_flag,
179
+            med_type: that.med_type,
180
+            admin_user_id: that.$store.getters.xt_user.user.id,
181
+            certno:that.certno,
182
+            psn_no:that.psn_no,
183
+            start_time:that.start_time,
184
+            end_time: that.end_time,
185
+            page:this.page,
186
+            limit:this.limit
193 187
           },
194 188
         })
195 189
         .then(function (response) {
@@ -208,65 +202,22 @@ export default {
208 202
                 .catch(() => {
209 203
                 });
210 204
             } else {
211
-                that.tableData = response.data.data.order
212
-            }
213
-          }
214
-        })
215
-        .catch(function (error) {
216
-        });
217
-
205
+              that.tableData = response.data.data.order
206
+              that.total = response.data.data.total
218 207
 
219
-    },
220
-    queryPsn(){
221
-      var that = this;
222
-      axios
223
-        .get("http://127.0.0.1:9532/api/querydata", {
224
-          params: {
225
-            admin_user_id: this.$store.getters.xt_user.user.id,
226
-            certno:this.certno,
227
-          },
228
-        })
229
-        .then(function (response) {
230
-          if (response.data.state == 0) {
231
-            that.$message.error(response.data.msg);
232
-            return false;
233
-          } else {
234
-            if (response.data.data.failed_code == -10) {
235
-              that
236
-                .$confirm(response.data.data.msg, "医保错误信息", {
237
-                  confirmButtonText: "确 定",
238
-                  type: "warning",
239
-                })
240
-                .then(() => {
241
-                })
242
-                .catch(() => {
243
-                });
244
-            } else {
245
-              that.psn_no = response.data.data.psn_no
246 208
             }
247 209
           }
248 210
         })
249 211
         .catch(function (error) {
250 212
         });
251
-
252 213
     },
253 214
     handleSizeChange(limit) {
254 215
       this.limit = limit;
255
-      this.getHisOrderList();
216
+      this.queryData();
256 217
     },
257 218
     handleCurrentChange(page) {
258 219
       this.page = page;
259
-      this.getHisOrderList();
260
-    },
261
-    handleStartTimeChange() {
262
-      this.page = 1;
263
-      this.keywords = "";
264
-      this.getHisOrderList();
265
-    },
266
-    handleEndTimeChange() {
267
-      this.page = 1;
268
-      this.keywords = "";
269
-      this.getHisOrderList();
220
+      this.queryData();
270 221
     },
271 222
     getTimes(time) {
272 223
       return uParseTime(time, "{y}-{m}-{d}");