Исправил фильтрацию второго отображения формулы
This commit is contained in:
@@ -21,28 +21,31 @@
|
|||||||
:form-config="formConfig"
|
:form-config="formConfig"
|
||||||
)
|
)
|
||||||
.flex(v-else)
|
.flex(v-else)
|
||||||
.cell.flex.flex-col.gap-y-7px.py-11px.items-center.justify-around(
|
.cell.flex(
|
||||||
v-for="cell in config.columns",
|
v-for="cell in config.columns",
|
||||||
:class="{'flex-col-reverse': config.name === 'upper'}"
|
|
||||||
:style="{'width': '6.25%', 'minWidth': '55px'}",
|
:style="{'width': '6.25%', 'minWidth': '55px'}",
|
||||||
)
|
)
|
||||||
span.text-smm.font-medium {{cell.tooth_number}}
|
.flex.flex-col.w-full.h-full.gap-y-7px.py-11px.items-center.justify-around(
|
||||||
.flex.items-center.justify-center(
|
v-if="filtredTooths.includes(cell.tooth_number)",
|
||||||
:style="{'width': '35px', 'height': '35px'}"
|
:class="{'flex-col-reverse': config.name === 'upper'}"
|
||||||
)
|
|
||||||
detailed-tooth-svg(
|
|
||||||
part-tooth="crown",
|
|
||||||
:tooth-config="cell",
|
|
||||||
:data="getToothImageConfig(data.formula[cell.tooth_number].dental_condition)"
|
|
||||||
:view="data.formula[cell.tooth_number].dental_condition.general === 'И' ? 'artificial': 'native'",
|
|
||||||
)
|
|
||||||
detailed-tooth-svg(
|
|
||||||
part-tooth="general",
|
|
||||||
:view="data.formula[cell.tooth_number].dental_condition.general === 'И' ? 'artificial': 'native'",
|
|
||||||
:tooth-config="cell",
|
|
||||||
:jaw-position="config.name",
|
|
||||||
:data="getToothImageConfig(data.formula[cell.tooth_number].dental_condition)"
|
|
||||||
)
|
)
|
||||||
|
span.text-smm.font-medium {{cell.tooth_number}}
|
||||||
|
.flex.items-center.justify-center(
|
||||||
|
:style="{'width': '35px', 'height': '35px'}"
|
||||||
|
)
|
||||||
|
detailed-tooth-svg(
|
||||||
|
part-tooth="crown",
|
||||||
|
:tooth-config="cell",
|
||||||
|
:data="getToothImageConfig(data.formula[cell.tooth_number].dental_condition)"
|
||||||
|
:view="data.formula[cell.tooth_number].dental_condition.general === 'И' ? 'artificial': 'native'",
|
||||||
|
)
|
||||||
|
detailed-tooth-svg(
|
||||||
|
part-tooth="general",
|
||||||
|
:view="data.formula[cell.tooth_number].dental_condition.general === 'И' ? 'artificial': 'native'",
|
||||||
|
:tooth-config="cell",
|
||||||
|
:jaw-position="config.name",
|
||||||
|
:data="getToothImageConfig(data.formula[cell.tooth_number].dental_condition)"
|
||||||
|
)
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user