Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AmiBX
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitrix
AmiBX
Commits
288429b6
Commit
288429b6
authored
Jan 10, 2022
by
Kulya
😊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Показ звонков в QUEUE3 num
parent
820ebd02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
footer_queues.js
template/js/footer_queues.js
+4
-4
No files found.
template/js/footer_queues.js
View file @
288429b6
...
...
@@ -985,7 +985,7 @@ function getQuesue() {
queueCallView
(
data
,
key
)
{
const
view
=
$
(
`<div class="row align-items-center p-1 m-0 mt-1"
style="background:
${
data
.
bgColor
}
">
${
keyView
(
key
)}
${
phoneView
(
data
.
phone1
)}
->
${
phoneView
(
data
.
phone2
)}
${
timeView
(
data
.
duration
)}
${
keyView
(
key
)}
${
phoneView
(
data
.
phone1
)}${
phoneView
(
data
.
phone2
)}
${
timeView
(
data
.
duration
)}
</div>`
)
function
keyView
(
val
=
""
)
{
...
...
@@ -1005,7 +1005,7 @@ function getQuesue() {
}
function
phoneToView
(
phone
=
""
)
{
if
(
!
phone
.
length
){
return
""
;}
const
view
=
`<div class="col-4 p-0">
${
phone
}
</div>`
const
view
=
`
<div class="col-4 p-0">
${
phone
}
</div>`
return
view
}
...
...
@@ -1031,7 +1031,7 @@ function getQuesue() {
duration
:
""
,
}
console
.
log
(
"
CHECK:
"
,
"
_getCurrentCallData
"
,
data
);
//
console.log("CHECK: ", "_getCurrentCallData", data);
switch
(
data
.
_type
)
{
case
"
ivr
"
:
...
...
@@ -1062,7 +1062,7 @@ function getQuesue() {
result
.
duration
=
data
.
duration
console
.
log
(
"
CallRES:
"
,
result
);
//
console.log("CallRES: ",result);
return
result
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment