openatc-components 0.2.65 → 0.2.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/kissui.min.js +1 -1
- package/package.json +1 -1
- package/src/api/cross.js +4 -0
package/package.json
CHANGED
package/src/api/cross.js
CHANGED
|
@@ -22,6 +22,10 @@ export const getDuration = (data) => {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export const getChannelizatonChart = (agentid) => {
|
|
25
|
+
if (!agentid || agentid === '0') {
|
|
26
|
+
console.log('getChannelizatonChart agentid:', agentid)
|
|
27
|
+
return false
|
|
28
|
+
}
|
|
25
29
|
let api = new Authapi('getChannelizatonChart')
|
|
26
30
|
return api.Send({}, {}, [agentid])
|
|
27
31
|
}
|