diff --git a/src/api/pbx-config.js b/src/api/pbx-config.js index ca01bc89..84bc0f53 100644 --- a/src/api/pbx-config.js +++ b/src/api/pbx-config.js @@ -201,6 +201,7 @@ export function getDeviceList(options) { page: options.page, profile_id: options.profile_id, identifier: options.identifier, + station_name: options.station_name, order_by: PBX_CONFIG_ORDER_BY, order_by_direction: PBX_CONFIG_ORDER_DIRECTION }; @@ -210,6 +211,9 @@ export function getDeviceList(options) { if(params.identifier === null) { delete params['identifier']; } + if(params.station_name === null) { + delete params['station_name']; + } return getDevices({ params: params }).then((devices)=>{ diff --git a/src/components/pages/PbxConfiguration/CscPbxDevice.vue b/src/components/pages/PbxConfiguration/CscPbxDevice.vue index 46b136a2..3c413a43 100644 --- a/src/components/pages/PbxConfiguration/CscPbxDevice.vue +++ b/src/components/pages/PbxConfiguration/CscPbxDevice.vue @@ -7,6 +7,7 @@ @@ -350,4 +351,11 @@ .csc-pbx-device-buttons margin-top 32px + + .csc-device-title + text-overflow ellipsis + white-space: nowrap; + width 100% + overflow hidden + padding-right 80px diff --git a/src/components/pages/PbxConfiguration/CscPbxDeviceAddForm.vue b/src/components/pages/PbxConfiguration/CscPbxDeviceAddForm.vue index 0e624fcc..3ce1d05c 100644 --- a/src/components/pages/PbxConfiguration/CscPbxDeviceAddForm.vue +++ b/src/components/pages/PbxConfiguration/CscPbxDeviceAddForm.vue @@ -1,51 +1,49 @@