|
|
@ -82,13 +82,11 @@
|
|
|
|
</q-field>
|
|
|
|
</q-field>
|
|
|
|
<csc-pbx-model-select
|
|
|
|
<csc-pbx-model-select
|
|
|
|
v-model="changes.profile"
|
|
|
|
v-model="changes.profile"
|
|
|
|
:label="$t('pbxConfig.deviceModel')"
|
|
|
|
|
|
|
|
:profile="changes.profile"
|
|
|
|
|
|
|
|
:profiles="profiles"
|
|
|
|
:profiles="profiles"
|
|
|
|
:profile-map="profileMap"
|
|
|
|
:profile-map="profileMap"
|
|
|
|
:model-image-map="modelImageMap"
|
|
|
|
|
|
|
|
:has-reset-button="false"
|
|
|
|
:has-reset-button="false"
|
|
|
|
@opened="$emit('model-select-opened')"
|
|
|
|
@opened="$emit('model-select-opened')"
|
|
|
|
|
|
|
|
@input="selectedProfile"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<template
|
|
|
|
<template
|
|
|
|
v-if="hasProfileChanged"
|
|
|
|
v-if="hasProfileChanged"
|
|
|
@ -266,6 +264,9 @@ export default {
|
|
|
|
resetIdentifier () {
|
|
|
|
resetIdentifier () {
|
|
|
|
this.changes.identifier = this.device.identifier
|
|
|
|
this.changes.identifier = this.device.identifier
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
selectedProfile (profileId) {
|
|
|
|
|
|
|
|
this.changes.profile = profileId
|
|
|
|
|
|
|
|
},
|
|
|
|
resetProfile () {
|
|
|
|
resetProfile () {
|
|
|
|
this.changes.profile = this.device.profile_id
|
|
|
|
this.changes.profile = this.device.profile_id
|
|
|
|
},
|
|
|
|
},
|
|
|
|