|
@@ -500,16 +500,16 @@ export default {
|
500
|
500
|
});
|
501
|
501
|
return false
|
502
|
502
|
} else {
|
503
|
|
- this.isloading = true
|
|
503
|
+ that.isloading = true
|
504
|
504
|
|
505
|
505
|
//有打开则调用接口
|
506
|
506
|
axios.get('http://127.0.0.1:9532/api/changedrug/five', {params: params}).then(function (response) {
|
507
|
507
|
if (response.data.state == 0) {
|
508
|
|
- this.isloading = false
|
|
508
|
+ that.isloading = false
|
509
|
509
|
that.$message.error(response.data.data.msg);
|
510
|
510
|
return false
|
511
|
511
|
} else {
|
512
|
|
- this.isloading = false
|
|
512
|
+ that.isloading = false
|
513
|
513
|
if (response.data.data.failed_code == -10) {
|
514
|
514
|
that.$confirm(response.data.data.msg, '医保错误信息', {
|
515
|
515
|
confirmButtonText: '确 定',
|
|
@@ -523,7 +523,7 @@ export default {
|
523
|
523
|
}
|
524
|
524
|
}
|
525
|
525
|
}).catch(function (error) {
|
526
|
|
- this.isloading = false
|
|
526
|
+ that.isloading = false
|
527
|
527
|
})
|
528
|
528
|
}
|
529
|
529
|
}).catch(function (error) {
|