|
|
|
@ -61,9 +61,6 @@
|
|
|
|
|
</template>
|
|
|
|
|
<template
|
|
|
|
|
slot="body"
|
|
|
|
|
>
|
|
|
|
|
<q-field
|
|
|
|
|
:label="$t('pbxConfig.msConfigNumbersLabel')"
|
|
|
|
|
>
|
|
|
|
|
<q-select
|
|
|
|
|
v-model="changes.secretaryNumbers"
|
|
|
|
@ -75,43 +72,36 @@
|
|
|
|
|
:readonly="loading"
|
|
|
|
|
:float-label="$t('pbxConfig.msConfigNumberSelectionLabel')"
|
|
|
|
|
:options="numberOptions"
|
|
|
|
|
/>
|
|
|
|
|
<csc-fade>
|
|
|
|
|
<csc-form-save-button
|
|
|
|
|
>
|
|
|
|
|
<template
|
|
|
|
|
v-if="hasSecretaryNumbersChanged"
|
|
|
|
|
@click="saveSecretaryNumbers"
|
|
|
|
|
v-slot:append
|
|
|
|
|
>
|
|
|
|
|
<csc-input-button-save
|
|
|
|
|
@click.stop="saveSecretaryNumbers"
|
|
|
|
|
/>
|
|
|
|
|
</csc-fade>
|
|
|
|
|
<csc-fade>
|
|
|
|
|
<csc-form-reset-button
|
|
|
|
|
v-if="hasSecretaryNumbersChanged"
|
|
|
|
|
@click="resetSecretaryNumbers"
|
|
|
|
|
<csc-input-button-reset
|
|
|
|
|
@click.stop="resetSecretaryNumbers"
|
|
|
|
|
/>
|
|
|
|
|
</csc-fade>
|
|
|
|
|
</q-field>
|
|
|
|
|
</template>
|
|
|
|
|
</q-select>
|
|
|
|
|
</template>
|
|
|
|
|
</csc-list-item>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import _ from 'lodash'
|
|
|
|
|
import CscFade from '../../transitions/CscFade'
|
|
|
|
|
import CscListItem from '../../CscListItem'
|
|
|
|
|
import CscListItemTitle from '../../CscListItemTitle'
|
|
|
|
|
import CscListItemSubtitle from '../../CscListItemSubtitle'
|
|
|
|
|
import CscListMenuItem from '../../CscListMenuItem'
|
|
|
|
|
import CscFormSaveButton from '../../form/CscFormSaveButton'
|
|
|
|
|
import CscFormResetButton from '../../form/CscFormResetButton'
|
|
|
|
|
export default {
|
|
|
|
|
name: 'CscPbxCallQueue',
|
|
|
|
|
components: {
|
|
|
|
|
CscFormResetButton,
|
|
|
|
|
CscFormSaveButton,
|
|
|
|
|
CscListItem,
|
|
|
|
|
CscListItemTitle,
|
|
|
|
|
CscListItemSubtitle,
|
|
|
|
|
CscListMenuItem,
|
|
|
|
|
CscFade
|
|
|
|
|
CscListMenuItem
|
|
|
|
|
},
|
|
|
|
|
props: {
|
|
|
|
|
odd: {
|
|
|
|
|