Actual prod

This commit is contained in:
Vladimir 2026-07-04 13:43:36 +03:00
parent 04cc2a787e
commit c2907a08f0
2 changed files with 7 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<p style="color: #757575"> <p style="color: #757575">
В данном окне вы можете объединить стороны сделки, проставить условия, ответственных сотрудников и добавить документы. В данном окне вы можете объединить стороны сделки, проставить условия, ответственных сотрудников и добавить документы.
</p> </p>
<form class="form addDeal__form" @submit.prevent="handleSubmit"> <form class="form addDeal__form" @submit.prevent>
<div class="form__item flex flex-col gap-1 w-full"> <div class="form__item flex flex-col gap-1 w-full">
<label for="title">Название сделки:</label> <label for="title">Название сделки:</label>
<InputText <InputText
@ -405,6 +405,7 @@
<div class="form-footer mt-6" style="display: flex; justify-content: center; width: 100%;"> <div class="form-footer mt-6" style="display: flex; justify-content: center; width: 100%;">
<MyButton <MyButton
:theme="'green'" :theme="'green'"
type="button"
class="submit mt-7.5" class="submit mt-7.5"
style="background: linear-gradient(to bottom, rgba(67, 160, 71, 1) 0%, rgba(56, 142, 60, 1) 100%); color: #fff; padding: 10px 130px; font-size: 18px; border: none; border-radius: 3px; cursor: pointer; font-weight: bold;" style="background: linear-gradient(to bottom, rgba(67, 160, 71, 1) 0%, rgba(56, 142, 60, 1) 100%); color: #fff; padding: 10px 130px; font-size: 18px; border: none; border-radius: 3px; cursor: pointer; font-weight: bold;"
@click="saveDeal" @click="saveDeal"

View File

@ -1,10 +1,14 @@
<template> <template>
<button :disabled="disabled" :class="['btn', theme]"><slot /></button> <button :type="type" :disabled="disabled" :class="['btn', theme]"><slot /></button>
</template> </template>
<script setup> <script setup>
const props =defineProps({ const props =defineProps({
theme: "green" | "grey-icon", theme: "green" | "grey-icon",
type: {
type: String,
default: 'submit'
},
disabled: { disabled: {
type: Boolean, type: Boolean,
default: false default: false