|
|
@ -99,6 +99,19 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</q-item-section>
|
|
|
|
</q-item-section>
|
|
|
|
</q-item>
|
|
|
|
</q-item>
|
|
|
|
|
|
|
|
<q-item
|
|
|
|
|
|
|
|
class="no-padding"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<q-item-section>
|
|
|
|
|
|
|
|
<q-toggle
|
|
|
|
|
|
|
|
v-model="changes.musicOnHold"
|
|
|
|
|
|
|
|
class="q-pa-sm"
|
|
|
|
|
|
|
|
:label="$t('Music on hold')"
|
|
|
|
|
|
|
|
:disable="loading"
|
|
|
|
|
|
|
|
@input="changeMusicOnHold"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</q-item-section>
|
|
|
|
|
|
|
|
</q-item>
|
|
|
|
</csc-more-menu>
|
|
|
|
</csc-more-menu>
|
|
|
|
</q-item-section>
|
|
|
|
</q-item-section>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -243,6 +256,13 @@
|
|
|
|
:disable="loading"
|
|
|
|
:disable="loading"
|
|
|
|
@click="jumpToCallQueue"
|
|
|
|
@click="jumpToCallQueue"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
<q-toggle
|
|
|
|
|
|
|
|
v-model="changes.musicOnHold"
|
|
|
|
|
|
|
|
class="q-pa-sm"
|
|
|
|
|
|
|
|
:label="$t('Music on hold')"
|
|
|
|
|
|
|
|
:disable="loading"
|
|
|
|
|
|
|
|
@input="changeMusicOnHold"
|
|
|
|
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</q-expansion-item>
|
|
|
|
</q-expansion-item>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -318,6 +338,10 @@ export default {
|
|
|
|
hasCallQueue: {
|
|
|
|
hasCallQueue: {
|
|
|
|
type: Boolean,
|
|
|
|
type: Boolean,
|
|
|
|
default: undefined
|
|
|
|
default: undefined
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
musicOnHold: {
|
|
|
|
|
|
|
|
type: Boolean,
|
|
|
|
|
|
|
|
default: undefined
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data () {
|
|
|
|
data () {
|
|
|
@ -398,6 +422,7 @@ export default {
|
|
|
|
aliasNumbers: this.getAliasNumberIds(),
|
|
|
|
aliasNumbers: this.getAliasNumberIds(),
|
|
|
|
webPassword: this.seat.webpassword,
|
|
|
|
webPassword: this.seat.webpassword,
|
|
|
|
clirIntrapbx: this.intraPbx,
|
|
|
|
clirIntrapbx: this.intraPbx,
|
|
|
|
|
|
|
|
musicOnHold: this.musicOnHold,
|
|
|
|
groups: this.getGroupIds(),
|
|
|
|
groups: this.getGroupIds(),
|
|
|
|
soundSet: this.getSoundSetId()
|
|
|
|
soundSet: this.getSoundSetId()
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -511,6 +536,12 @@ export default {
|
|
|
|
seatId: this.seat.id,
|
|
|
|
seatId: this.seat.id,
|
|
|
|
intraPbx: this.changes.clirIntrapbx
|
|
|
|
intraPbx: this.changes.clirIntrapbx
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
changeMusicOnHold () {
|
|
|
|
|
|
|
|
this.$emit('save-music-on-hold', {
|
|
|
|
|
|
|
|
seatId: this.seat.id,
|
|
|
|
|
|
|
|
musicOnHold: this.changes.musicOnHold
|
|
|
|
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|