@@ -146,7 +146,7 @@ export default {
getDetail() {
this.isLoading = true;
- API.medicalPersonDetail(this.person_data.id)
+ API.medicalPersonDetail(this.$route.query.id)
.then((res) => {
this.detail = res;
this.isLoading = false;
@@ -104,7 +104,9 @@ export default {
edit() {
this.$router.push({
name: "MasterHospitalArchives",
- query: {},
+ query: {
+ id: this.info.personId
+ },
});
},
add(id) {