FQManagerView Class
_views\_fasterQ\FQManagerView.js:1
Settings Backbone View
Constructor
FQManagerView
()
Object
Returns:
instantiated FQManagerView
Item Index
Methods
- _calcAverages
- _getAnalytics server:lineAnalytics
- _getLines server:getQueues
- _listenCalled
- _listenGoBack
- _listenNextPrev
- _listenOpenRemoteStatus
- _listenServiced
- _listenToPersonSelected
- _pollNowServicing server:LastCalledQueue
- _populatePropsQueue
- _render
- _scrollTo
- _scrollToFirstNotServiced
- _updateTotalToBeServiced
- _watchStart
- _watchStop
- initialize
Methods
_calcAverages
()
Calculate average respond and service line times
_getAnalytics server:lineAnalytics
()
Get line analytics / stats
_getLines server:getQueues
-
i_scrollTo
Get Queues collection from server and render UI
Parameters:
-
i_scrollTo
Booleanscroll to
_listenCalled
()
Listen to queue being called, mark on UI and post to server
_listenGoBack
()
Listen to go back to Line selection
_listenNextPrev
()
Listen to person navigation button selection to scroll to selected queue index
_listenOpenRemoteStatus
()
Open remote status terminal for selected queue
_listenServiced
()
Listen to queue being serviced, mark on UI and post to server
_listenToPersonSelected
()
Listen to UI person / queue click to load selected properties and scroll to selection
_pollNowServicing server:LastCalledQueue
()
Get the last called service_id for line
_populatePropsQueue
-
i_value
Populate the selected queue's properties UI
Parameters:
-
i_value
Number
_render
()
Render the UI queues list from returned server data
_scrollTo
-
i_element
Scroll to position of selected queue / UI person
Parameters:
-
i_element
Element
_scrollToFirstNotServiced
()
Scroll to first queue that has not been serviced yet, if non exist, scroll to first queue
_updateTotalToBeServiced
()
Update the total number of queues left to be serviced
_watchStart
()
Start the stop watch UI
_watchStop
()
Stop the stop watch UI
initialize
()
Constructor