[WIP] Добавил разделение по формам создания, редактирования и просмотра осмотра
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template lang="pug">
|
||||
.wrapper.flex.gap-x-2
|
||||
medical-protocols-list(:open-inspection="openInspection")
|
||||
medical-protocols-inspection(:inspection="inspection")
|
||||
medical-protocols-list(:open-inspection="openInspection", :create-inspection="createInspection")
|
||||
medical-protocols-inspection(:inspection="inspection", :fill-inspection="fillInspection")
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -13,12 +13,16 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
inspection: false,
|
||||
fillInspection: false,
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
openInspection() {
|
||||
this.inspection = !this.inspection;
|
||||
},
|
||||
createInspection() {
|
||||
this.fillInspection = !this.fillInspection;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user