add create patient popup
This commit is contained in:
@@ -47,7 +47,7 @@ export default {
|
||||
BaseSelect,
|
||||
},
|
||||
mixins: [v_model],
|
||||
emits: ["createPerson"],
|
||||
emits: ["create-person"],
|
||||
data() {
|
||||
return {
|
||||
fullName: "",
|
||||
@@ -76,7 +76,8 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
createPerson() {
|
||||
this.$emit("createPerson");
|
||||
this.$refs?.selectRef?.hidePopup();
|
||||
this.$emit("create-person");
|
||||
},
|
||||
filterFn(val, update) {
|
||||
fetchWrapper.get(`persons/?full_name=${val}`).then((result) => {
|
||||
|
||||
Reference in New Issue
Block a user