Actual prod
This commit is contained in:
parent
04cc2a787e
commit
c2907a08f0
@ -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"
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user