[WIP] Скрыл окно функций, фикс отображения попапа сетей
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.button.relative.w-8.h-8.flex.justify-center.items-center.cursor-pointer
|
.button.relative.w-8.h-8.flex.justify-center.items-center.cursor-pointer
|
||||||
.prompt.absolute.w-fit.left-1.px-2.py-3.bottom-10.bg-amber-600
|
.prompt.fixed.w-fit.left-1.px-2.py-3.bottom-10.bg-amber-600
|
||||||
span.text-sm {{prompt}}
|
span.text-sm {{prompt}}
|
||||||
img(:src="img" :alt="prompt")
|
img(:src="img" :alt="prompt")
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
@click="resetLastName",
|
@click="resetLastName",
|
||||||
:size=40
|
:size=40
|
||||||
) Сбросить
|
) Сбросить
|
||||||
clients-table-header-actions(v-if="!!isOpenActions", :is-selected-one="isOpenActions===1")
|
//- clients-table-header-actions(v-if="!!isOpenActions", :is-selected-one="isOpenActions===1")
|
||||||
.flex.w-fit.h-fit.gap-x-2
|
.flex.w-fit.h-fit.gap-x-2
|
||||||
base-button(left-icon="icon-download", :icon-left-size="16", :size="40", :outlined="true")
|
base-button(left-icon="icon-download", :icon-left-size="16", :size="40", :outlined="true")
|
||||||
base-button(left-icon="icon-plus", :icon-left-size="13", :size="40", @click="openForm")
|
base-button(left-icon="icon-plus", :icon-left-size="13", :size="40", @click="openForm")
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export default {
|
|||||||
dataBtn: [
|
dataBtn: [
|
||||||
{
|
{
|
||||||
img: group,
|
img: group,
|
||||||
prompt: "сгрупировать",
|
prompt: "сгруппировать",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
img: edit,
|
img: edit,
|
||||||
|
|||||||
@@ -316,7 +316,9 @@ export default {
|
|||||||
.then(() => this.fetchDataClients());
|
.then(() => this.fetchDataClients());
|
||||||
},
|
},
|
||||||
postDeleteContact(contact) {
|
postDeleteContact(contact) {
|
||||||
fetchWrapper.del(`general/contact/${contact.id}/delete/`);
|
fetchWrapper
|
||||||
|
.del(`general/contact/${contact.id}/delete/`)
|
||||||
|
.then(() => this.fetchDataClients());
|
||||||
},
|
},
|
||||||
addNetwork(network) {
|
addNetwork(network) {
|
||||||
this.dataClient.contacts.push(network);
|
this.dataClient.contacts.push(network);
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
:size="24"
|
:size="24"
|
||||||
)
|
)
|
||||||
.icon-plus(class="pt-[2px]")
|
.icon-plus(class="pt-[2px]")
|
||||||
base-popup.right-3.top-6(
|
base-popup.right-3.top-6.z-20(
|
||||||
v-if="isOpenPopupAdding",
|
v-if="isOpenPopupAdding",
|
||||||
@click.stop,
|
@click.stop,
|
||||||
v-click-outside.stop="closePopup",
|
v-click-outside.stop="closePopup",
|
||||||
@@ -76,8 +76,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
getNetworks() {
|
getNetworks() {
|
||||||
return this.networks.filter(
|
return this.networks.filter(
|
||||||
(el) =>
|
(el) => el.kind !== "EMAIL" && el.kind !== "PHONE" && !el.deleted_flg
|
||||||
el.kind !== "EMAIL" && el.kind !== "PHONE" && el.deleted_flg !== true
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
getSelectedIcon() {
|
getSelectedIcon() {
|
||||||
|
|||||||
Reference in New Issue
Block a user