WIP Убрала лишнее
This commit is contained in:
@@ -61,36 +61,36 @@
|
|||||||
@click="closeAddImage",
|
@click="closeAddImage",
|
||||||
icon="app:icon-ok"
|
icon="app:icon-ok"
|
||||||
)
|
)
|
||||||
base-input.w-full(v-model="infoClient.basic.full_name", placeholder="ФИО*", outlined)
|
base-input.w-full(v-model="infoClient.basic.full_name", placeholder="ФИО*", outlined)
|
||||||
.flex.flex-col.flex-auto.l.gap-y-8
|
.flex.flex-col.flex-auto.l.gap-y-8
|
||||||
.flex
|
.flex
|
||||||
button.title-info.px-6.py-2.cursor-pointer.w-full.text-sm(
|
button.title-info.px-6.py-2.cursor-pointer.w-full.text-sm(
|
||||||
v-for="form in forms",
|
v-for="form in forms",
|
||||||
@click="selectForm(form.component)",
|
@click="selectForm(form.component)",
|
||||||
:class="{active: form.component === currentForm}",
|
:class="{active: form.component === currentForm}",
|
||||||
:key="form.id",
|
:key="form.id",
|
||||||
:id="form.id"
|
:id="form.id"
|
||||||
) {{form.title}}
|
) {{form.title}}
|
||||||
component(
|
component(
|
||||||
v-bind:is="currentForm",
|
v-bind:is="currentForm",
|
||||||
:basic-info="infoClient.basic",
|
:basic-info="infoClient.basic",
|
||||||
:phone="infoClient.phone",
|
:phone="infoClient.phone",
|
||||||
:email="infoClient.email",
|
:email="infoClient.email",
|
||||||
:add-network="addNewNetwork",
|
:add-network="addNewNetwork",
|
||||||
:priority-list="priorityList",
|
:priority-list="priorityList",
|
||||||
:identity-document="infoClient.identity_document",
|
:identity-document="infoClient.identity_document",
|
||||||
:addresses="infoClient.addresses",
|
:addresses="infoClient.addresses",
|
||||||
:save-file="saveDocFile",
|
:save-file="saveDocFile",
|
||||||
:networks-list="getNetworksList",
|
:networks-list="getNetworksList",
|
||||||
)
|
)
|
||||||
q-btn(
|
q-btn(
|
||||||
label="Создать клиента",
|
label="Создать клиента",
|
||||||
color="primary",
|
color="primary",
|
||||||
style="height: 40px; width: 180px",
|
style="height: 40px; width: 180px",
|
||||||
no-caps,
|
no-caps,
|
||||||
padding="8px 24px",
|
padding="8px 24px",
|
||||||
@click="saveClient",
|
@click="saveClient",
|
||||||
)
|
)
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -267,9 +267,9 @@ export default {
|
|||||||
closePopup() {
|
closePopup() {
|
||||||
this.showPopup = false;
|
this.showPopup = false;
|
||||||
},
|
},
|
||||||
closeModal() {
|
/*closeModal() {
|
||||||
!this.showModal ? this.closeForm() : null;
|
!this.showModal ? this.closeForm() : null;
|
||||||
},
|
},*/
|
||||||
async createIdentityDocument(id) {
|
async createIdentityDocument(id) {
|
||||||
let doc = null;
|
let doc = null;
|
||||||
let filteredData = Object.keys(
|
let filteredData = Object.keys(
|
||||||
@@ -395,7 +395,7 @@ export default {
|
|||||||
saveClient() {
|
saveClient() {
|
||||||
if (this.checkFormFullness()) {
|
if (this.checkFormFullness()) {
|
||||||
this.postNewClient();
|
this.postNewClient();
|
||||||
this.closeForm();
|
//this.closeForm();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
changeOpenModal() {
|
changeOpenModal() {
|
||||||
|
|||||||
@@ -106,7 +106,6 @@ export default {
|
|||||||
backdropEl.style.background = "rgba(37, 40, 80, 0.2)";
|
backdropEl.style.background = "rgba(37, 40, 80, 0.2)";
|
||||||
backdropEl.style.backdropFilter = "blur(4px)";
|
backdropEl.style.backdropFilter = "blur(4px)";
|
||||||
} else backdropEl.style.background = "rgba(0,0,0,0)";
|
} else backdropEl.style.background = "rgba(0,0,0,0)";
|
||||||
console.log("123");
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
value(val) {
|
value(val) {
|
||||||
|
|||||||
Reference in New Issue
Block a user