[WIP] Добавил таблицу зубной формулы

This commit is contained in:
DwCay
2023-05-26 18:10:15 +03:00
parent 3521ea73f7
commit 364d2a776a
6 changed files with 395 additions and 8 deletions

View File

@@ -933,6 +933,250 @@ export const protocolForms = [
component: "ToothFormulaForm",
key: "toothFormula",
state: "toothFormula",
formulaConfig: [
{
name: "upper",
rowMap: [
{
label: "Подвижность",
key: "tooth_mobility",
},
{
label: "Cостояние зубов",
key: "dental_condition",
},
{
label: "Верхняя челюсть",
key: "tooth_number",
},
],
columns: [
{
type: "molars",
tooth_number: 18,
dental_condition: "",
tooth_mobility: "",
},
{
type: "molars",
tooth_number: 17,
dental_condition: "",
tooth_mobility: "",
},
{
type: "molars",
tooth_number: 16,
dental_condition: "",
tooth_mobility: "",
},
{
position: "left",
type: "pre-molars",
tooth_number: 15,
dental_condition: "",
tooth_mobility: "",
},
{
position: "left",
type: "pre-molars",
tooth_number: 14,
dental_condition: "",
tooth_mobility: "",
},
{
position: "left",
type: "fangs",
tooth_number: 13,
dental_condition: "",
tooth_mobility: "",
},
{
type: "incisors",
tooth_number: 12,
dental_condition: "",
tooth_mobility: "",
},
{
type: "incisors",
tooth_number: 11,
dental_condition: "",
tooth_mobility: "",
},
{
type: "incisors",
tooth_number: 21,
dental_condition: "",
tooth_mobility: "",
},
{
type: "incisors",
tooth_number: 22,
dental_condition: "",
tooth_mobility: "",
},
{
position: "right",
type: "fangs",
tooth_number: 23,
dental_condition: "",
tooth_mobility: "",
},
{
position: "right",
type: "pre-molars",
tooth_number: 24,
dental_condition: "",
tooth_mobility: "",
},
{
position: "right",
type: "pre-molars",
tooth_number: 25,
dental_condition: "",
tooth_mobility: "",
},
{
type: "molars",
tooth_number: 26,
dental_condition: "",
tooth_mobility: "",
},
{
type: "molars",
tooth_number: 27,
dental_condition: "",
tooth_mobility: "",
},
{
type: "molars",
tooth_number: 28,
dental_condition: "",
tooth_mobility: "",
},
],
},
{
name: "lower",
rowMap: [
{
label: "Нижняя челюсть",
key: "tooth_number",
},
{
label: "Cостояние зубов",
key: "dental_condition",
},
{
label: "Подвижность",
key: "tooth_mobility",
},
],
columns: [
{
type: "molars",
tooth_number: 48,
dental_condition: "",
tooth_mobility: "",
},
{
type: "molars",
tooth_number: 47,
dental_condition: "",
tooth_mobility: "",
},
{
type: "molars",
tooth_number: 46,
dental_condition: "",
tooth_mobility: "",
},
{
position: "left",
type: "pre-molars",
tooth_number: 45,
dental_condition: "",
tooth_mobility: "",
},
{
position: "left",
type: "pre-molars",
tooth_number: 44,
dental_condition: "",
tooth_mobility: "",
},
{
position: "left",
type: "fangs",
tooth_number: 43,
dental_condition: "",
tooth_mobility: "",
},
{
type: "incisors",
tooth_number: 42,
dental_condition: "",
tooth_mobility: "",
},
{
type: "incisors",
tooth_number: 41,
dental_condition: "",
tooth_mobility: "",
},
{
type: "incisors",
tooth_number: 31,
dental_condition: "",
tooth_mobility: "",
},
{
type: "incisors",
tooth_number: 32,
dental_condition: "",
tooth_mobility: "",
},
{
position: "right",
type: "fangs",
tooth_number: 33,
dental_condition: "",
tooth_mobility: "",
},
{
position: "right",
type: "pre-molars",
tooth_number: 34,
dental_condition: "",
tooth_mobility: "",
},
{
position: "right",
type: "pre-molars",
tooth_number: 35,
dental_condition: "",
tooth_mobility: "",
},
{
type: "molars",
tooth_number: 36,
dental_condition: "",
tooth_mobility: "",
},
{
type: "molars",
tooth_number: 37,
dental_condition: "",
tooth_mobility: "",
},
{
type: "molars",
tooth_number: 38,
dental_condition: "",
tooth_mobility: "",
},
],
},
],
},
{
title: "План обследования",