|
@@ -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);
|