Merge pull request 'fix : 修复话务配置管理搜索功能' (#82) from dd into master

Reviewed-on: http://git.feashow.cn/feashow/SmartOpsWeb/pulls/82
This commit is contained in:
2024-09-16 13:25:47 +00:00
2 changed files with 4 additions and 4 deletions

View File

@@ -122,13 +122,13 @@ const initWebSocket = () => {
console.log("服务器返回的信息: ", data);
if(data.type=='1'){
recordLeftObj.value.content.push(data.content)
console.info("🚀 ~method:onmessage -----", recordLeftObj.value)
// console.info("🚀 ~method:onmessage -----", recordLeftObj.value)
nextTick(() => {
scrollToBottom(recordLeftRef.value)
})
}else {
recordRightObj.value.content.push(data.content)
console.info("🚀 ~method:onmessage -----", recordRightObj.value)
// console.info("🚀 ~method:onmessage -----", recordRightObj.value)
nextTick(() => {
scrollToBottom(recordRightRef.value);
})
@@ -138,7 +138,7 @@ const initWebSocket = () => {
}
//连接关闭的回调方法
socket.onclose = function () {
initWebSocket()
// initWebSocket()
console.log("ws连接关闭");
}
setInterval(() => {

View File

@@ -222,7 +222,7 @@ const phoneTrafficTableConfig = reactive({
]
})
const searchPhoneTraffic = (val) => {
let obj = {...val}
let obj = {...val,extraConfigType:extraConfigType.value}
if (obj.dateValue) {
obj.startTime = obj.dateValue[0]
obj.endTime = obj.dateValue[1]