|
@@ -474,9 +474,13 @@ export default {
|
474
|
474
|
.then(function(response) {
|
475
|
475
|
if (response.data.state == 0) {
|
476
|
476
|
that.$message.error(response.data.msg)
|
|
477
|
+ that.dialogVisible = false
|
|
478
|
+
|
477
|
479
|
return false
|
478
|
480
|
} else {
|
479
|
481
|
if (response.data.data.failed_code == -10) {
|
|
482
|
+ that.dialogVisible = false
|
|
483
|
+
|
480
|
484
|
that.$confirm(response.data.data.msg, '医保错误信息', {
|
481
|
485
|
confirmButtonText: '确 定',
|
482
|
486
|
type: 'warning'
|
|
@@ -485,6 +489,8 @@ export default {
|
485
|
489
|
}).catch(() => {
|
486
|
490
|
})
|
487
|
491
|
} else {
|
|
492
|
+ that.dialogVisible = false
|
|
493
|
+
|
488
|
494
|
that.$message.success('出院成功')
|
489
|
495
|
that.changeRadioAndPatient(1)
|
490
|
496
|
}
|