diff --git a/src/components/base/BaseNumberInput.vue b/src/components/base/BaseNumberInput.vue
new file mode 100644
index 0000000..ac600fb
--- /dev/null
+++ b/src/components/base/BaseNumberInput.vue
@@ -0,0 +1,169 @@
+
+ base-input-container.gap-y-2(:label="label", :style="{width: width + 'px' }")
+ q-input(
+ v-model="value",
+ :name="name",
+ :multiple="multiple"
+ :class="{'circle': circle, 'font-input': true, 'doc': doc}",
+ :input-style="{ color: textColor, borderColor: borderColor, resize: resize}",
+ :borderless="borderless",
+ :placeholder="placeholder",
+ :outlined="outlined",
+ :dense="dense",
+ :type="type",
+ :readonly="readonly",
+ :disable="disabled",
+ :filled="filled",
+ :bg-color="filled || standout ? '' : 'white'",
+ :rules="rule",
+ :lazy-rules="lazyRule",
+ :item-aligned="itemAligned",
+ :no-error-icon="noErrorIcon",
+ :mask="mask",
+ :maxlength="maxLength",
+ :autogrow="autogrow",
+ :square="square",
+ :standout="standout"
+ :accept="accept",
+ :debounce="debounce",
+ :shadow-text="shadowText"
+ hide-bottom-space
+ )
+ .flex.flex-col.mb-1
+ q-icon.cursor-pointer.-rotate-90.arrow(
+ name="arrow_forward_ios",
+ size="15px",
+ @click="increment",
+ @mousedown="fastIncrement",
+ @mouseup="deleteInterval"
+ )
+ q-icon.cursor-pointer.-rotate-90.arrow(
+ name="arrow_back_ios",
+ size="15px",
+ @click="decrement",
+ @mousedown="fastDecrement",
+ @mouseup="deleteInterval"
+ )
+
+
+
+
+
+
+
diff --git a/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ThermometryForm.vue b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ThermometryForm.vue
index dfac41a..1fa2335 100644
--- a/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ThermometryForm.vue
+++ b/src/pages/newMedicalCard/components/InitialInspectionProtocol/Forms/ThermometryForm.vue
@@ -3,12 +3,11 @@
.thermometry-wrapper.grid.gap-x-20.gap-y-5
.flex.flex-col.gap-y-4.items-start(v-if="isEdit" v-for="(thermometry, key) in protocol[data.key]")
span.font-semibold.text-smm {{ data.config.temperature[key].title }}
- base-input.w-full(
+ base-number-input.w-full(
v-model="thermometry.temperature",
- type="number"
- label="Температура"
- outlined
- text-color="black"
+ :step="1",
+ label="Температура",
+ outlined,
shadow-text="º"
placeholder="0º"
)
@@ -19,7 +18,6 @@
outlined
text-color="black"
placeholder="Введите диагноз..."
- max="40"
)
.results-wrapper.flex.flex-col.rounded.w-full.px-4.py-2
.result.flex.w-full.justify-between.items-center.h-9(v-for="result in data.config.results")
@@ -54,11 +52,12 @@