|
@@ -615,17 +615,18 @@
|
615
|
615
|
GetPatientTotal().then(response => {
|
616
|
616
|
if (response.data.state == 1) {
|
617
|
617
|
this.patientTotal = response.data.data.total
|
618
|
|
- if ((this.subscibe.state == 2 && this.patientTotal >= 100) || (this.subscibe.state == 1 && this.patientTotal >= 200)) {
|
619
|
|
- this.$alert('患者数已达到当前服务版本病人数,需要升级到更高的版本', '提示', {
|
620
|
|
- confirmButtonText: '确定',
|
621
|
|
- showClose: false,
|
622
|
|
- callback: action => {
|
623
|
|
- this.$router.push('/service/buy')
|
624
|
|
- }
|
625
|
|
- })
|
626
|
|
- } else {
|
627
|
|
- this.subscibeFlag = true
|
628
|
|
- }
|
|
618
|
+ this.subscibeFlag = true;
|
|
619
|
+ // if ((this.subscibe.state == 2 && this.patientTotal >= 100) || (this.subscibe.state == 1 && this.patientTotal >= 200)) {
|
|
620
|
+ // this.$alert('患者数已达到当前服务版本病人数,需要升级到更高的版本', '提示', {
|
|
621
|
+ // confirmButtonText: '确定',
|
|
622
|
+ // showClose: false,
|
|
623
|
+ // callback: action => {
|
|
624
|
+ // this.$router.push('/service/buy')
|
|
625
|
+ // }
|
|
626
|
+ // })
|
|
627
|
+ // } else {
|
|
628
|
+ // this.subscibeFlag = true
|
|
629
|
+ // }
|
629
|
630
|
} else {
|
630
|
631
|
this.$message.error(response.data.msg)
|
631
|
632
|
}
|