Browse Source

reactor:自贡呼叫中心新增心跳消息;

zhangchong 7 months ago
parent
commit
a313b56e82
2 changed files with 6 additions and 8 deletions
  1. 4 6
      src/views/tels/callLog/zgCallLog.vue
  2. 2 2
      src/views/tels/phoneAction.vue

+ 4 - 6
src/views/tels/callLog/zgCallLog.vue

@@ -240,11 +240,10 @@
 import { defineAsyncComponent, onMounted, reactive, ref, onActivated, onBeforeUnmount } from 'vue';
 import type { FormInstance } from 'element-plus';
 import { ElMessageBox } from 'element-plus';
-import { downloadFileBySrc, downloadFileByStream, getNeedArr } from '@/utils/tools';
+import { downloadFileBySrc, getNeedArr } from '@/utils/tools';
 import { formatDate } from '@/utils/formatTime';
 import { defaultTimeStartEnd, shortcuts } from '@/utils/constants';
 import { useRouter } from 'vue-router';
-import { fileDownload } from '@/api/public/file';
 import mittBus from '@/utils/mitt';
 import Other from '@/utils/other';
 import { getCallCenterCallRecord, getCallCenterCallRecordBaseData } from '@/api/callCenter';
@@ -258,12 +257,11 @@ const OrderDetail = defineAsyncComponent(() => import('@/components/OrderDetail/
 
 const proTableRef = ref<RefType>(); // 表格ref
 // 表格配置项
-const columns = ref<any[]>([]);
 // 定义变量内容
 const state = reactive<any>({
 	queryParams: {
-		PageIndex: 1, // 当前页
-		PageSize: 20, // 每页条数
+		/*PageIndex: 1, // 当前页
+		PageSize: 20, // 每页条数*/
 		type: '1', // 默认呼入列表
 		IsConnected: null, // 接通状态
 		FromNo: null, // 主叫
@@ -388,7 +386,7 @@ const handleCurrentChange = (val: number) => {
 	}
 };
 /** 通话记录列表 */
-const requestParams = ref({});
+const requestParams = ref<EmptyObjectType>({});
 const queryList = async (isQuery: boolean = false) => {
 	state.loading = true;
 	requestParams.value = Other.deepClone(state.queryParams);

+ 2 - 2
src/views/tels/phoneAction.vue

@@ -71,8 +71,8 @@ const columns = ref<any[]>([
 // 定义变量内容
 const state = reactive<any>({
 	queryParams: {
-		PageIndex: 1, // 当前页
-		PageSize: 10, // 每页条数
+	/*	PageIndex: 1, // 当前页
+		PageSize: 10, // 每页条数*/
 		UserName: null, // 话务员名称
 		StaffNo: null, // 工号
 		GroupId: null, // 工作组