|
@@ -128,13 +128,16 @@
|
128
|
128
|
type="primary">挂号
|
129
|
129
|
</el-button>
|
130
|
130
|
|
|
131
|
+<!-- <el-button size="small"-->
|
|
132
|
+<!-- @click="open(10086)"-->
|
|
133
|
+<!-- type="primary">查询医保参保信息-->
|
|
134
|
+<!-- </el-button>-->
|
|
135
|
+
|
131
|
136
|
<el-button v-loading="loadingone" size="small"
|
132
|
137
|
@click="open(20)"
|
133
|
138
|
type="primary">查询备案信息
|
134
|
139
|
</el-button>
|
135
|
140
|
|
136
|
|
-
|
137
|
|
-
|
138
|
141
|
<el-button size="small" v-if="(org_id == 10138 && this.order.is_upload_diagnose == 0 && this.order.order_status == 2) || (org_id == 10278 && this.order.is_upload_diagnose == 0 && this.order.order_status == 2)"
|
139
|
142
|
@click="openZF(1)"
|
140
|
143
|
type="primary">自费门诊就医上传(4205)
|
|
@@ -218,7 +221,7 @@
|
218
|
221
|
</el-button>
|
219
|
222
|
|
220
|
223
|
<el-select style="margin-right:5px;width:300px;"
|
221
|
|
- v-model="item.diagnoses" multiple placeholder="诊断" v-if="org_id == 10721">
|
|
224
|
+ v-model="item.diagnoses" multiple placeholder="诊断" v-if="org_id == 10721 || org_id == 0">
|
222
|
225
|
<el-option
|
223
|
226
|
v-for="(item,index) in diagnoses"
|
224
|
227
|
:key="index"
|
|
@@ -3398,6 +3401,9 @@ export default {
|
3398
|
3401
|
this.other_prescriptions = prescriptions
|
3399
|
3402
|
|
3400
|
3403
|
if (index == 1) {
|
|
3404
|
+ }else if (index == 10086) {
|
|
3405
|
+
|
|
3406
|
+
|
3401
|
3407
|
} else if (index == 2) {
|
3402
|
3408
|
this.$router.push('/outpatientDoctorStation/printtwo?record=' + this.record_date)
|
3403
|
3409
|
} else if (index == 3) {
|
|
@@ -3539,59 +3545,41 @@ export default {
|
3539
|
3545
|
if (this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 10088 || this.$store.getters.xt_user.org_id == 10278) {
|
3540
|
3546
|
this.$refs.register9504.show()
|
3541
|
3547
|
} else {
|
3542
|
|
-
|
3543
|
|
- if(this.$store.getters.xt_user.org_id == 10721000){
|
|
3548
|
+ if(this.$store.getters.xt_user.org_id == 10721 || this.org_id == 0){
|
3544
|
3549
|
var that= this
|
3545
|
3550
|
axios.get('http://127.0.0.1:9532/test/net',{}).then(function(response) {
|
3546
|
3551
|
if (response.data.state == 0) {
|
3547
|
|
- // that.$message.error(response.data.data.msg);
|
3548
|
|
- that.$confirm("请检查医保程序是否有打开", "提示", {
|
3549
|
|
- confirmButtonText: "确 定",
|
3550
|
|
- cancelButtonText: "取 消",
|
3551
|
|
- type: "warning",
|
3552
|
|
- }).then(() => {
|
3553
|
|
- var that = this
|
3554
|
|
- let params={
|
3555
|
|
- id_card_no: this.patientInfo.id_card_no,
|
3556
|
|
- admin_user_id:this.$store.getters.xt_user.user.id,
|
|
3552
|
+ that.$refs.register.showTwo(that.doctors, that.department,"",that.patientInfo,"")
|
|
3553
|
+ return false
|
|
3554
|
+ } else {
|
|
3555
|
+ let params={
|
|
3556
|
+ id_card_no: that.patientInfo.id_card_no,
|
|
3557
|
+ admin_user_id:that.$store.getters.xt_user.user.id,
|
|
3558
|
+ }
|
|
3559
|
+ axios.get('http://127.0.0.1:9532/zh/api/patient/info', {
|
|
3560
|
+ params: params,
|
|
3561
|
+ headers: {
|
|
3562
|
+ 'Permission': 5
|
3557
|
3563
|
}
|
3558
|
|
- axios.get('http://127.0.0.1:9532/zh/api/patient/info', {
|
3559
|
|
- params: params,
|
3560
|
|
- headers: {
|
3561
|
|
- 'Permission': 5
|
3562
|
|
- }
|
3563
|
|
- })
|
3564
|
|
- .then(function(response) {
|
3565
|
|
- if (response.data.state == 0) {
|
3566
|
|
- that.$message.error(response.data.msg)
|
3567
|
|
- that.loadingone = false
|
3568
|
|
- return false
|
|
3564
|
+ })
|
|
3565
|
+ .then(function(response) {
|
|
3566
|
+ if (response.data.state == 0) {
|
|
3567
|
+ that.$message.error(response.data.msg)
|
|
3568
|
+ that.$refs.register.showTwo(that.doctors, that.department,"",that.patientInfo,"")
|
|
3569
|
+ return false
|
|
3570
|
+ } else {
|
|
3571
|
+ if (response.data.data.failed_code == -10) {
|
|
3572
|
+ that.$refs.register.showTwo(that.doctors, that.department,"",that.patientInfo,"")
|
3569
|
3573
|
} else {
|
3570
|
|
- that.loadingone = false
|
3571
|
|
- if (response.data.data.failed_code == -10) {
|
3572
|
|
- // that.$message.error(response.data.data.msg)
|
3573
|
|
- this.$refs.register.showTwo(this.doctors, this.department,"")
|
3574
|
|
- } else {
|
3575
|
|
- this.$refs.register.showTwo(this.doctors, this.department,response.data.data.info)
|
3576
|
|
- }
|
|
3574
|
+ that.$refs.register.showTwo(that.doctors, that.department,response.data.data.info,that.patientInfo,response.data.data.insutype)
|
3577
|
3575
|
}
|
3578
|
|
- })
|
3579
|
|
- .catch(function(error) {
|
3580
|
|
- })
|
3581
|
|
- })
|
3582
|
|
- .catch(() => {});
|
3583
|
|
- return false
|
3584
|
|
- } else {
|
3585
|
|
-
|
|
3576
|
+ }
|
|
3577
|
+ })
|
|
3578
|
+ .catch(function(error) {
|
|
3579
|
+ })
|
3586
|
3580
|
}
|
3587
|
3581
|
}).catch(function(error) {
|
3588
|
|
- that.$confirm("数据异常,请检查医保程序是否有打开", "提示", {
|
3589
|
|
- confirmButtonText: "确 定",
|
3590
|
|
- cancelButtonText: "取 消",
|
3591
|
|
- type: "warning",
|
3592
|
|
- }).then(() => {
|
3593
|
|
- })
|
3594
|
|
- .catch(() => {});
|
|
3582
|
+ that.$refs.register.showTwo(that.doctors, that.department,"",that.patientInfo,"")
|
3595
|
3583
|
})
|
3596
|
3584
|
|
3597
|
3585
|
}else{
|
|
@@ -3668,7 +3656,6 @@ export default {
|
3668
|
3656
|
form['end_time'] = this.other_end_time_two
|
3669
|
3657
|
form['settle_accounts_type'] = 2
|
3670
|
3658
|
}
|
3671
|
|
-
|
3672
|
3659
|
if (this.hisPatientInfo.balance_accounts_type == 2) {
|
3673
|
3660
|
this.$confirm('是否进行预结算', '预结算', {
|
3674
|
3661
|
confirmButtonText: '确 定',
|