diff --git a/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ToothFormulaForm.vue b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ToothFormula/ToothFormulaForm.vue similarity index 69% rename from src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ToothFormulaForm.vue rename to src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ToothFormula/ToothFormulaForm.vue index 1b8b201..489c1be 100644 --- a/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ToothFormulaForm.vue +++ b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ToothFormula/ToothFormulaForm.vue @@ -1,41 +1,46 @@ + + diff --git a/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ToothFormula/ToothLowSvg.vue b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ToothFormula/ToothLowSvg.vue new file mode 100644 index 0000000..9869493 --- /dev/null +++ b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ToothFormula/ToothLowSvg.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/src/pages/newMedicalCard/components/InitialInspectionProtocol/MedicalProtocolsInspection.vue b/src/pages/newMedicalCard/components/InitialInspectionProtocol/MedicalProtocolsInspection.vue index 5982fc2..ec0e610 100644 --- a/src/pages/newMedicalCard/components/InitialInspectionProtocol/MedicalProtocolsInspection.vue +++ b/src/pages/newMedicalCard/components/InitialInspectionProtocol/MedicalProtocolsInspection.vue @@ -41,7 +41,7 @@ import DiseaseForm from "@/pages/newMedicalCard/components/InitialInspectionProt import BaseButton from "@/components/base/BaseButton.vue"; import IndexForm from "@/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/IndexForm.vue"; import MainFactorsForm from "@/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/MainFactorsForm.vue"; -import ToothFormulaForm from "@/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ToothFormulaForm.vue"; +import ToothFormulaForm from "@/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ToothFormula/ToothFormulaForm.vue"; import { protocolForms } from "@/pages/newMedicalCard/utils/medicalConfig.js"; export default { name: "MedicalProtocolsInspection", diff --git a/src/pages/newMedicalCard/utils/medicalConfig.js b/src/pages/newMedicalCard/utils/medicalConfig.js index 5334fc9..8b3faf4 100644 --- a/src/pages/newMedicalCard/utils/medicalConfig.js +++ b/src/pages/newMedicalCard/utils/medicalConfig.js @@ -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: "План обследования", diff --git a/tailwind.config.js b/tailwind.config.js index 2b01caa..be3f5ea 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -30,6 +30,7 @@ module.exports = { "7xl": ["40px", { lineHeight: "54px" }], }, gap: { + "5px": "5px", "6px": "6px", "7px": "7px", "10px": "10px",