@ -234,6 +234,16 @@
/ >
/ >
< / c s c - f a d e >
< / c s c - f a d e >
< / q - f i e l d >
< / q - f i e l d >
< q -field
: labelWidth = "labelWidth"
: label = "$t('pbxConfig.toggleIntraPbx')"
dark
>
< q -toggle
v - model = "changes.clirIntrapbx"
@ change = "changeIntraPbx"
/ >
< / q - f i e l d >
< q -field
< q -field
v - if = "hasCallQueue"
v - if = "hasCallQueue"
: labelWidth = "labelWidth"
: labelWidth = "labelWidth"
@ -268,7 +278,8 @@
QItemTile ,
QItemTile ,
QTransition ,
QTransition ,
QList ,
QList ,
QSlideTransition
QSlideTransition ,
QToggle
} from 'quasar-framework'
} from 'quasar-framework'
import CscListItem from "../../CscListItem" ;
import CscListItem from "../../CscListItem" ;
import CscListItemTitle from "../../CscListItemTitle" ;
import CscListItemTitle from "../../CscListItemTitle" ;
@ -284,6 +295,7 @@
name : 'csc-pbx-seat' ,
name : 'csc-pbx-seat' ,
props : [
props : [
'seat' ,
'seat' ,
'intraPbx' ,
'groups' ,
'groups' ,
'soundSet' ,
'soundSet' ,
'expanded' ,
'expanded' ,
@ -320,6 +332,7 @@
QItemTile ,
QItemTile ,
QTransition ,
QTransition ,
QList ,
QList ,
QToggle ,
CscFormSaveButton ,
CscFormSaveButton ,
CscFormResetButton ,
CscFormResetButton ,
CscChangePasswordDialog
CscChangePasswordDialog
@ -370,6 +383,7 @@
extension : this . seat . pbx _extension ,
extension : this . seat . pbx _extension ,
aliasNumbers : this . getAliasNumberIds ( ) ,
aliasNumbers : this . getAliasNumberIds ( ) ,
webPassword : this . seat . webpassword ,
webPassword : this . seat . webpassword ,
clirIntrapbx : this . intraPbx ,
groups : this . getGroupIds ( ) ,
groups : this . getGroupIds ( ) ,
soundSet : this . getSoundSetId ( )
soundSet : this . getSoundSetId ( )
} ;
} ;
@ -458,6 +472,12 @@
seatWebPassword : data . password
seatWebPassword : data . password
} ) ;
} ) ;
this . $refs . changePasswordDialog . close ( ) ;
this . $refs . changePasswordDialog . close ( ) ;
} ,
changeIntraPbx ( ) {
this . $emit ( 'save-intra-pbx' , {
seatId : this . seat . id ,
intraPbx : this . changes . clirIntrapbx
} ) ;
}
}
} ,
} ,
watch : {
watch : {