Объединил функции в один метод
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
label="Медкарта",
|
label="Медкарта",
|
||||||
:style="{'font-weight': 500}"
|
:style="{'font-weight': 500}"
|
||||||
size="14px",
|
size="14px",
|
||||||
@click="getMedicalCardData(memberData?.id), $router.push('medical-card')"
|
@click="openMedicalCard(memberData.id)"
|
||||||
)
|
)
|
||||||
q-icon.arrow.ml-1(name="app:long-arrow", size="20px")
|
q-icon.arrow.ml-1(name="app:long-arrow", size="20px")
|
||||||
.flex.gap-x-1.flex-1.h-full(v-if="field?.title === 'Услуги'")
|
.flex.gap-x-1.flex-1.h-full(v-if="field?.title === 'Услуги'")
|
||||||
@@ -123,6 +123,10 @@ export default {
|
|||||||
// },
|
// },
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
openMedicalCard(id) {
|
||||||
|
this.getMedicalCardData(id);
|
||||||
|
this.$router.push("medical-card");
|
||||||
|
},
|
||||||
hidePreview() {
|
hidePreview() {
|
||||||
this.internalPreview = false;
|
this.internalPreview = false;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user