From fc4600187e35c14814a48db3bf2a007ae5d88a34 Mon Sep 17 00:00:00 2001 From: volodymyr Date: Mon, 20 Nov 2023 12:28:15 +0200 Subject: [PATCH 1/3] feature: cc-queues-parameters timeout switcher added [ENPF-136] --- src/app/locale/en/en.js | 9 +- src/app/locale/ru/ru.js | 1 + src/app/locale/ua/ua.js | 1 + .../queues/components/opened-queue-params.vue | 24 +- .../lookups/QueueTypeProperties.lookup.js | 487 +++++++++--------- .../queueSchema/chatInboundQueue.js | 3 +- 6 files changed, 268 insertions(+), 257 deletions(-) diff --git a/src/app/locale/en/en.js b/src/app/locale/en/en.js index 68dc509cc..8814ffcc5 100644 --- a/src/app/locale/en/en.js +++ b/src/app/locale/en/en.js @@ -21,7 +21,7 @@ export default { text1: 'Security policy does not allow to store data and use cloud services? With Webitel, you can build a contact center on your site!', title2: 'Multichannel VS Omni-Channel', - text2: "Be always and everywhere in touch with your customers! IVR-menu of any complexity, outbound, inbound interaction campaigns or message on social networks - now it's easier than ever!", + text2: 'Be always and everywhere in touch with your customers! IVR-menu of any complexity, outbound, inbound interaction campaigns or message on social networks - now it\'s easier than ever!', title3: 'Fault-tolerant infrastructure', text3: 'No more unplanned downtime. Fast scaling and fault-tolerant architecture allows you to simultaneously serve more than 1000 customer calls per minute from different communication channels.', @@ -194,7 +194,7 @@ export default { license: 'License', devices: 'Devices', defaultDevice: 'Default device (from list of selected devices)', - deviceNotFound: "Didn't find the device?", + deviceNotFound: 'Didn\'t find the device?', createNewDevice: 'Add new', variables: 'Variables', varKey: 'Key', @@ -264,7 +264,7 @@ export default { dialog: 'Dialog', onhold: 'On hold', }, - passwordSetFromAccount: "If you won't set password, it would be the same as account", + passwordSetFromAccount: 'If you won\'t set password, it would be the same as account', }, }, permissions: { @@ -817,6 +817,7 @@ export default { statisticTime: 'Recalculation interval', communications: 'Communication type', manualDistribution: 'Manual distribution', + timeoutFromTheLastMessage: 'Timeout from the last message', processing: { processing: 'Processing', enabled: 'Waiting for call result', @@ -1059,7 +1060,7 @@ export default { text: 'Sorry, you have not enough privileges to see this page.', }, page404: { - title: "Looks like you're lost", + title: 'Looks like you\'re lost', text: 'Sorry, we can\'t find the page you want.', }, }, diff --git a/src/app/locale/ru/ru.js b/src/app/locale/ru/ru.js index eb8674797..3c94c0798 100644 --- a/src/app/locale/ru/ru.js +++ b/src/app/locale/ru/ru.js @@ -816,6 +816,7 @@ export default { statisticTime: 'Интервал пересчета', communications: 'Тип связи', manualDistribution: 'Ручное распределение', + timeoutFromTheLastMessage: 'Время ожидания от последнего сообщения', processing: { processing: 'Обработка', enabled: 'Ожидание результата задачи', diff --git a/src/app/locale/ua/ua.js b/src/app/locale/ua/ua.js index 0b65a5d0f..df034ef57 100644 --- a/src/app/locale/ua/ua.js +++ b/src/app/locale/ua/ua.js @@ -817,6 +817,7 @@ export default { statisticTime: 'Інтервал перерахунку', communications: 'Тип зв\'язку', manualDistribution: 'Ручне розподілення', + timeoutFromTheLastMessage: 'Час очікування від останнього повідомлення', processing: { processing: 'Обробка', enabled: 'Очікування результату задачі', diff --git a/src/modules/contact-center/modules/queues/components/opened-queue-params.vue b/src/modules/contact-center/modules/queues/components/opened-queue-params.vue index 1fe023b51..df31e1b54 100644 --- a/src/modules/contact-center/modules/queues/components/opened-queue-params.vue +++ b/src/modules/contact-center/modules/queues/components/opened-queue-params.vue @@ -136,11 +136,11 @@ > @@ -187,16 +187,16 @@ {{ $t('objects.ccenter.queues.loadFactor') }}
@@ -275,6 +275,13 @@ :value="itemInstance.payload.manualDistribution" @change="setItemPayloadProp({ prop: 'manualDistribution', value: $event })" > +
@@ -309,7 +316,6 @@ export default { || this.itemInstance.type === QueueType.PREDICTIVE_DIALER) { return this.ToneList.find((tone) => tone.value === 'default'); } - return; }, set(value) { this.setItemPayloadProp({ prop: 'autoAnswerTone', value: value.value }); @@ -352,8 +358,8 @@ export default {