diff --git a/src/api/pbx-config.js b/src/api/pbx-config.js index e53993ce..ca01bc89 100644 --- a/src/api/pbx-config.js +++ b/src/api/pbx-config.js @@ -200,12 +200,16 @@ export function getDeviceList(options) { let params = { page: options.page, profile_id: options.profile_id, + identifier: options.identifier, order_by: PBX_CONFIG_ORDER_BY, order_by_direction: PBX_CONFIG_ORDER_DIRECTION }; if(params.profile_id === null) { delete params['profile_id']; } + if(params.identifier === null) { + delete params['identifier']; + } return getDevices({ params: params }).then((devices)=>{ diff --git a/src/components/pages/PbxConfiguration/CscPbxDeviceAddForm.vue b/src/components/pages/PbxConfiguration/CscPbxDeviceAddForm.vue index 19d664a5..0e624fcc 100644 --- a/src/components/pages/PbxConfiguration/CscPbxDeviceAddForm.vue +++ b/src/components/pages/PbxConfiguration/CscPbxDeviceAddForm.vue @@ -1,6 +1,6 @@ + + + + + + diff --git a/src/components/pages/PbxConfiguration/CscPbxDevicesToolbar.vue b/src/components/pages/PbxConfiguration/CscPbxDevicesToolbar.vue new file mode 100644 index 00000000..25b2c0a0 --- /dev/null +++ b/src/components/pages/PbxConfiguration/CscPbxDevicesToolbar.vue @@ -0,0 +1,163 @@ + + + + + diff --git a/src/components/pages/PbxConfiguration/CscPbxMacInput.vue b/src/components/pages/PbxConfiguration/CscPbxMacInput.vue new file mode 100644 index 00000000..b1d3af64 --- /dev/null +++ b/src/components/pages/PbxConfiguration/CscPbxMacInput.vue @@ -0,0 +1,93 @@ + + + + + diff --git a/src/components/pages/PbxConfiguration/CscPbxModelSelect.vue b/src/components/pages/PbxConfiguration/CscPbxModelSelect.vue index a313d687..4799c671 100644 --- a/src/components/pages/PbxConfiguration/CscPbxModelSelect.vue +++ b/src/components/pages/PbxConfiguration/CscPbxModelSelect.vue @@ -8,10 +8,23 @@ :float-label="label" :after="clearButton" /> - - - + + + @@ -24,16 +37,31 @@ -
- +
+