Actual prod
This commit is contained in:
parent
04cc2a787e
commit
c2907a08f0
@ -3,7 +3,7 @@
|
||||
<p style="color: #757575">
|
||||
В данном окне вы можете объединить стороны сделки, проставить условия, ответственных сотрудников и добавить документы.
|
||||
</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">
|
||||
<label for="title">Название сделки:</label>
|
||||
<InputText
|
||||
@ -405,6 +405,7 @@
|
||||
<div class="form-footer mt-6" style="display: flex; justify-content: center; width: 100%;">
|
||||
<MyButton
|
||||
:theme="'green'"
|
||||
type="button"
|
||||
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;"
|
||||
@click="saveDeal"
|
||||
|
||||
@ -1,10 +1,14 @@
|
||||
<template>
|
||||
<button :disabled="disabled" :class="['btn', theme]"><slot /></button>
|
||||
<button :type="type" :disabled="disabled" :class="['btn', theme]"><slot /></button>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const props =defineProps({
|
||||
theme: "green" | "grey-icon",
|
||||
type: {
|
||||
type: String,
|
||||
default: 'submit'
|
||||
},
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user