$route (to, from) {if (to.name == 'infant-birth-registration') {this.inpatNum = this.$route.params.getVal ? this.$route.params.getVal.inpatNum : ''if (this.inpatNum != '') {setTimeout(() => {this.inpatNumGetData()}, 100)}}},