|
@@ -75,7 +75,10 @@
|
75
|
75
|
type="primary">挂号
|
76
|
76
|
</el-button>
|
77
|
77
|
|
78
|
|
-
|
|
78
|
+ <el-button v-loading="loadingone" size="small"
|
|
79
|
+ @click="open(20)"
|
|
80
|
+ type="primary">查询备案信息
|
|
81
|
+ </el-button>
|
79
|
82
|
<el-button size="small" @click="open(5)" type="primary"
|
80
|
83
|
v-if="this.radio == 2 && this.hisPatientInfo.id > 0 && this.order.id > 0 && this.order.order_status == 2">
|
81
|
84
|
退费
|
|
@@ -170,16 +173,26 @@
|
170
|
173
|
items.curPrescriptions.order.medfee_sumamt ? items.curPrescriptions.order.medfee_sumamt.toFixed(2) : getTotalFour(items.prescriptions) ? getTotalFour(items.prescriptions) : ''
|
171
|
174
|
}}元</span></span>
|
172
|
175
|
<span>基金支付金额:<span
|
173
|
|
- style="color:red;">{{ items.curPrescriptions.order.hifp_pay ? items.curPrescriptions.order.hifp_pay.toFixed(2) : '' }}元</span></span>
|
|
176
|
+ style="color:red;">{{
|
|
177
|
+ items.curPrescriptions.order.hifp_pay ? items.curPrescriptions.order.hifp_pay.toFixed(2) : ''
|
|
178
|
+ }}元</span></span>
|
174
|
179
|
<span>个人账户支付金额:<span
|
175
|
|
- style="color:red;">{{ items.curPrescriptions.order.acct_pay ? items.curPrescriptions.order.acct_pay.toFixed(2) : '' }}元</span></span>
|
|
180
|
+ style="color:red;">{{
|
|
181
|
+ items.curPrescriptions.order.acct_pay ? items.curPrescriptions.order.acct_pay.toFixed(2) : ''
|
|
182
|
+ }}元</span></span>
|
176
|
183
|
<span v-if="hisPatientInfo.balance_accounts_type != 2">个人支付金额:<span
|
177
|
|
- style="color:red;">{{ items.curPrescriptions.order.psn_cash_pay ? items.curPrescriptions.order.psn_cash_pay.toFixed(2) : '' }}元</span></span>
|
|
184
|
+ style="color:red;">{{
|
|
185
|
+ items.curPrescriptions.order.psn_cash_pay ? items.curPrescriptions.order.psn_cash_pay.toFixed(2) : ''
|
|
186
|
+ }}元</span></span>
|
178
|
187
|
<span v-if="hisPatientInfo.balance_accounts_type == 2">个人支付金额:<span
|
179
|
|
- style="color:red;">{{ items.curPrescriptions.order.medfee_sumamt.toFixed(2) }}元</span></span>
|
|
188
|
+ style="color:red;">{{
|
|
189
|
+ items.curPrescriptions.order.medfee_sumamt.toFixed(2)
|
|
190
|
+ }}元</span></span>
|
180
|
191
|
|
181
|
192
|
<span>个人账户金额:<span
|
182
|
|
- style="color:red;">{{ items.curPrescriptions.order.balc ? items.curPrescriptions.order.balc.toFixed(2) : '' }}元</span></span>
|
|
193
|
+ style="color:red;">{{
|
|
194
|
+ items.curPrescriptions.order.balc ? items.curPrescriptions.order.balc.toFixed(2) : ''
|
|
195
|
+ }}元</span></span>
|
183
|
196
|
|
184
|
197
|
<span v-if="items.curPrescriptions.order_status == 1">待结算</span>
|
185
|
198
|
<span v-if="items.curPrescriptions.order_status == 2">已结算</span>
|
|
@@ -356,19 +369,27 @@
|
356
|
369
|
items.curMonthPrescriptions.order.medfee_sumamt ? items.curMonthPrescriptions.order.medfee_sumamt.toFixed(2) : getTotalFour(items.month_prescriptions) ? getTotalFour(items.month_prescriptions) : ''
|
357
|
370
|
}}元</span></span>
|
358
|
371
|
<span>基金支付金额:<span
|
359
|
|
- style="color:red;">{{ items.curMonthPrescriptions.order.hifp_pay ? items.curMonthPrescriptions.order.hifp_pay.toFixed(2) : '' }}元</span></span>
|
|
372
|
+ style="color:red;">{{
|
|
373
|
+ items.curMonthPrescriptions.order.hifp_pay ? items.curMonthPrescriptions.order.hifp_pay.toFixed(2) : ''
|
|
374
|
+ }}元</span></span>
|
360
|
375
|
<span>个人账户支付金额:<span
|
361
|
|
- style="color:red;">{{ items.curMonthPrescriptions.order.acct_pay ? items.curMonthPrescriptions.order.acct_pay.toFixed(2) : '' }}元</span></span>
|
|
376
|
+ style="color:red;">{{
|
|
377
|
+ items.curMonthPrescriptions.order.acct_pay ? items.curMonthPrescriptions.order.acct_pay.toFixed(2) : ''
|
|
378
|
+ }}元</span></span>
|
362
|
379
|
<!--<span>个人支付金额:<span style="color:red;">{{ items.curMonthPrescriptions.order.psn_cash_pay?items.curMonthPrescriptions.order.psn_cash_pay:''}}元</span></span>-->
|
363
|
380
|
|
364
|
381
|
<span v-if="hisPatientInfo.balance_accounts_type != 2">个人支付金额:<span
|
365
|
|
- style="color:red;">{{ items.curMonthPrescriptions.order.psn_cash_pay ? items.curMonthPrescriptions.order.psn_cash_pay.toFixed(2) : '' }}元</span></span>
|
|
382
|
+ style="color:red;">{{
|
|
383
|
+ items.curMonthPrescriptions.order.psn_cash_pay ? items.curMonthPrescriptions.order.psn_cash_pay.toFixed(2) : ''
|
|
384
|
+ }}元</span></span>
|
366
|
385
|
<span v-if="hisPatientInfo.balance_accounts_type == 2">个人支付金额:<span
|
367
|
386
|
style="color:red;">{{ items.curMonthPrescriptions.order.medfee_sumamt.toFixed(2) }}元</span></span>
|
368
|
387
|
|
369
|
388
|
|
370
|
389
|
<span>个人账户金额:<span
|
371
|
|
- style="color:red;">{{ items.curMonthPrescriptions.order.account_price ? items.curMonthPrescriptions.order.account_price.toFixed(2) : '' }}元</span></span>
|
|
390
|
+ style="color:red;">{{
|
|
391
|
+ items.curMonthPrescriptions.order.account_price ? items.curMonthPrescriptions.order.account_price.toFixed(2) : ''
|
|
392
|
+ }}元</span></span>
|
372
|
393
|
|
373
|
394
|
</div>
|
374
|
395
|
|
|
@@ -468,7 +489,18 @@
|
468
|
489
|
width="30%"
|
469
|
490
|
>
|
470
|
491
|
<span>是否修改医疗类型</span>
|
471
|
|
- <el-select style="width:50%;" v-model="temp_med_type" placeholder="医疗类型" @change="changevalue">
|
|
492
|
+ <el-select v-if="this.$store.getters.xt_user.org_id == 10188" style="width:50%;" v-model="temp_med_type"
|
|
493
|
+ placeholder="医疗类型" @change="changevalue">
|
|
494
|
+ <el-option
|
|
495
|
+ v-for="(item,index) in registerThree"
|
|
496
|
+ :key="index"
|
|
497
|
+ :label="item.label"
|
|
498
|
+ :value="item.value">
|
|
499
|
+ </el-option>
|
|
500
|
+ </el-select>
|
|
501
|
+
|
|
502
|
+ <el-select v-if="this.$store.getters.xt_user.org_id != 10188" style="width:50%;" v-model="temp_med_type"
|
|
503
|
+ placeholder="医疗类型" @change="changevalue">
|
472
|
504
|
<el-option
|
473
|
505
|
v-for="(item,index) in register"
|
474
|
506
|
:key="index"
|
|
@@ -598,7 +630,7 @@ export default {
|
598
|
630
|
sick_type: '',
|
599
|
631
|
diagnosis: [],
|
600
|
632
|
medical_care: '',
|
601
|
|
- diagnosis_time: "",
|
|
633
|
+ diagnosis_time: ''
|
602
|
634
|
},
|
603
|
635
|
current_med_type: '',
|
604
|
636
|
rules: {
|
|
@@ -633,27 +665,29 @@ export default {
|
633
|
665
|
// { value: '91', label: '新冠肺炎门诊' },
|
634
|
666
|
|
635
|
667
|
// ],
|
636
|
|
-
|
637
|
668
|
register: [
|
638
|
669
|
{ value: 11, label: '普通门诊' },
|
639
|
|
- // { value: 12, label: '门诊挂号' },
|
640
|
|
- // { value: 13, label: '急诊' },
|
641
|
670
|
{ value: 14, label: '门诊特殊病' },
|
642
|
671
|
{ value: '1111', label: '精一' },
|
643
|
672
|
{ value: '1112', label: '精二' }
|
644
|
|
- // { value: 15, label: '门诊统筹' },
|
645
|
|
- // { value: 16, label: '门诊慢性病' },
|
646
|
|
- // { value: 21, label: '普通住院' }
|
|
673
|
+ ],
|
|
674
|
+
|
|
675
|
+ registerThree: [
|
|
676
|
+ { value: 11, label: '普通门诊' },
|
|
677
|
+ { value: 14, label: '门诊特殊病' },
|
|
678
|
+ { value: '1111', label: '精一' },
|
|
679
|
+ { value: '1112', label: '精二' },
|
|
680
|
+ { value: '9933', label: '门诊特殊病(9933)' },
|
|
681
|
+ { value: '990602', label: '门诊特殊病(990602)' },
|
|
682
|
+ { value: '1402', label: '门诊特殊病(1402)' }
|
647
|
683
|
|
648
|
684
|
],
|
649
|
685
|
register_two: [
|
650
|
686
|
{ value: '11', label: '普通门诊' },
|
651
|
|
- // { value: '12', label: '门诊挂号' },
|
652
|
|
- // { value: '13', label: '急诊' },
|
653
|
|
- { value: '14', label: '门诊特殊病' }
|
654
|
|
- // { value: '15', label: '门诊统筹' },
|
655
|
|
- // { value: '16', label: '门诊慢性病' },
|
656
|
|
- // { value: '21', label: '普通住院' }
|
|
687
|
+ { value: '14', label: '门诊特殊病' },
|
|
688
|
+ { value: '9933', label: '门诊特殊病(9933)' },
|
|
689
|
+ { value: '990602', label: '门诊特殊病(990602)' },
|
|
690
|
+ { value: '1402', label: '门诊特殊病(1402)' }
|
657
|
691
|
|
658
|
692
|
],
|
659
|
693
|
loading: false,
|
|
@@ -756,7 +790,6 @@ export default {
|
756
|
790
|
var nowMinutes = nowDate.getMinutes()
|
757
|
791
|
var nowSeconds = nowDate.getSeconds()
|
758
|
792
|
|
759
|
|
-
|
760
|
793
|
this.record_date =
|
761
|
794
|
nowYear +
|
762
|
795
|
'-' +
|
|
@@ -764,13 +797,13 @@ export default {
|
764
|
797
|
'-' +
|
765
|
798
|
(nowDay < 10 ? '0' + nowDay : nowDay)
|
766
|
799
|
|
767
|
|
- this.form.diagnosis_time = nowYear +
|
|
800
|
+ this.form.diagnosis_time = nowYear +
|
768
|
801
|
'-' +
|
769
|
802
|
(nowMonth < 10 ? '0' + nowMonth : nowMonth) +
|
770
|
803
|
'-' +
|
771
|
|
- (nowDay < 10 ? '0' + nowDay : nowDay) +" " + (nowHours < 10 ? '0' + nowHours : nowHours) +
|
|
804
|
+ (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + (nowHours < 10 ? '0' + nowHours : nowHours) +
|
772
|
805
|
':' +
|
773
|
|
- (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes) +":"+ (nowSeconds < 10 ? '0' + nowSeconds : nowSeconds)
|
|
806
|
+ (nowMinutes < 10 ? '0' + nowMinutes : nowMinutes) + ':' + (nowSeconds < 10 ? '0' + nowSeconds : nowSeconds)
|
774
|
807
|
|
775
|
808
|
this.getInitData()
|
776
|
809
|
//获取患者信息
|
|
@@ -2400,6 +2433,32 @@ export default {
|
2400
|
2433
|
})
|
2401
|
2434
|
.catch(function(error) {
|
2402
|
2435
|
})
|
|
2436
|
+ } else if (index == 20) {
|
|
2437
|
+ var that = this
|
|
2438
|
+ let params = {
|
|
2439
|
+ 'patient_id': this.patientInfo.id,
|
|
2440
|
+ 'admin_user_id': this.$store.getters.xt_user.user.id
|
|
2441
|
+ }
|
|
2442
|
+ axios.get('http://127.0.0.1:9532/api/psn/info', {
|
|
2443
|
+ params: params
|
|
2444
|
+ })
|
|
2445
|
+ .then(function(response) {
|
|
2446
|
+ if (response.data.state == 0) {
|
|
2447
|
+ that.$message.error(response.data.msg)
|
|
2448
|
+ return false
|
|
2449
|
+ } else {
|
|
2450
|
+ that.$confirm(response.data.data.result, '备案信息', {
|
|
2451
|
+ confirmButtonText: '确 定',
|
|
2452
|
+ type: 'warning'
|
|
2453
|
+ }).then(() => {
|
|
2454
|
+
|
|
2455
|
+ }).catch(() => {
|
|
2456
|
+ })
|
|
2457
|
+ }
|
|
2458
|
+ })
|
|
2459
|
+ .catch(function(error) {
|
|
2460
|
+ })
|
|
2461
|
+
|
2403
|
2462
|
}
|
2404
|
2463
|
},
|
2405
|
2464
|
choosePatient() {
|
|
@@ -3352,6 +3411,12 @@ export default {
|
3352
|
3411
|
break
|
3353
|
3412
|
case 1112:
|
3354
|
3413
|
return '精二' + '处方' + index
|
|
3414
|
+ case 9933:
|
|
3415
|
+ return '门诊特殊病(9933)' + '处方' + index
|
|
3416
|
+ case 990602:
|
|
3417
|
+ return '门诊特殊病(990602)' + '处方' + index
|
|
3418
|
+ case 1402:
|
|
3419
|
+ return '门诊特殊病(1402)' + '处方' + index
|
3355
|
3420
|
break
|
3356
|
3421
|
}
|
3357
|
3422
|
}, unique_four(array) {
|