Commit 288429b6 authored by Kulya's avatar Kulya 😊

Показ звонков в QUEUE3 num

parent 820ebd02
......@@ -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
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment