|
@@ -19,14 +19,17 @@ export const callList = (params: object) => {
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callListExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/BiCall/calls_export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- });
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/calls_export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
};
|
|
|
/**
|
|
|
* @description 话务统计明细列表查询
|
|
@@ -44,14 +47,17 @@ export const callDetailList = (params: object) => {
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callDetailListExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/BiCall/query_calls_detail_export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- });
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query_calls_detail_export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
};
|
|
|
/**
|
|
|
* @description 话务统计明细日期查询
|
|
@@ -69,14 +75,17 @@ export const callDateListDate = (params: object) => {
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callDetailListDateExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/BiCall/query_calls_hour_detail_list_export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- });
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query_calls_hour_detail_list_export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
};
|
|
|
/**
|
|
|
* @description 话务统计列表明细
|
|
@@ -94,14 +103,17 @@ export const callDetailListDetail = (params: object) => {
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callDetailListDetailExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/BiCall/query_incall_calls_list_export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- });
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query_incall_calls_list_export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
};
|
|
|
/**
|
|
|
* @description 坐席话务统计分析
|
|
@@ -119,16 +131,18 @@ export const callAgent = (params: object) => {
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callAgentExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/BiCall/seats/export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- }
|
|
|
- )
|
|
|
-}
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/seats/export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
/**
|
|
|
* @description 坐席小休统计
|
|
|
* @param {object} params
|
|
@@ -151,7 +165,7 @@ export const callTransfer = (params: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 通话时段统计基础信息
|
|
|
* @param {object} params
|
|
@@ -162,7 +176,7 @@ export const callPeriodBase = (params?: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 通话时段统计明细
|
|
|
* @param {object} params
|
|
@@ -173,7 +187,7 @@ export const callPeriodDetail = (params?: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 通话时段统计
|
|
|
* @param {object} params
|
|
@@ -184,22 +198,24 @@ export const callPeriod = (params: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 通话时段统计导出
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callPeriodExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/BiCall/hourcall/export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- }
|
|
|
- )
|
|
|
-}
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/hourcall/export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
/**
|
|
|
* @description 热线号码统计
|
|
|
* @param {object} params
|
|
@@ -210,22 +226,24 @@ export const callHotline = (params: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 热线号码统计导出
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callHotlineExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/Bicall/gateway-query/export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- }
|
|
|
- )
|
|
|
-}
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/Bicall/gateway-query/export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
/**
|
|
|
* @description 坐席动作列表基础数据
|
|
|
* @param {object} params
|
|
@@ -236,7 +254,7 @@ export const callActionBase = (params?: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 坐席动作列表
|
|
|
* @param {object} params
|
|
@@ -247,7 +265,7 @@ export const callAction = (params: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 话务日期统计简单
|
|
|
* @param {object} params
|
|
@@ -258,22 +276,24 @@ export const callDateSimple = (params: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 话务日期统计简单导出
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callDateSimpleExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/BiCall/query_calls_statistics_export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- }
|
|
|
- )
|
|
|
-}
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query_calls_statistics_export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
/**
|
|
|
* @description 话务日期统计简单详情
|
|
|
* @param {object} params
|
|
@@ -284,22 +304,24 @@ export const callDateSimpleDetail = (params: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 话务日期统计简单详情导出
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callDateSimpleDetailExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/BiCall/query_calls_statistics_detail/export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- }
|
|
|
- )
|
|
|
-}
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query_calls_statistics_detail/export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
/**
|
|
|
* @description 话务日期统计简单详情基础信息
|
|
|
* @param {object} params
|
|
@@ -310,7 +332,7 @@ export const callDateSimpleDetailBase = (params?: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 话务日期统计明细列表
|
|
|
* @param {object} params
|
|
@@ -321,22 +343,24 @@ export const callDateDetail = (params: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 话务日期统计明细列表导出
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callDateDetailExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/BiCall/query-calldate-statistics/export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- }
|
|
|
- )
|
|
|
-}
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query-calldate-statistics/export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
/**
|
|
|
* @description 个人服务话务明细
|
|
|
* @param {object} params
|
|
@@ -347,22 +371,24 @@ export const callPersonal = (params: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 个人服务话务明细导出
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callPersonalExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/BiCall/query-person-calldate-statistics/export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- }
|
|
|
- )
|
|
|
-}
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query-person-calldate-statistics/export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
/**
|
|
|
* @description 企业服务话务明细
|
|
|
* @param {object} params
|
|
@@ -373,22 +399,24 @@ export const callCompany = (params: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 企业服务话务明细导出
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
- export const callCompanyExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/BiCall/query-enterprise-calldate-statistics/export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- }
|
|
|
- )
|
|
|
-}
|
|
|
+export const callCompanyExport = (data: object) => {
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query-enterprise-calldate-statistics/export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
/**
|
|
|
* @description 呼出话务统计明细
|
|
|
* @param {object} params
|
|
@@ -399,19 +427,94 @@ export const callOutDetailList = (params: object) => {
|
|
|
method: 'get',
|
|
|
params,
|
|
|
});
|
|
|
-}
|
|
|
+};
|
|
|
/**
|
|
|
* @description 呼出话务统计明细导出
|
|
|
* @param {object} data
|
|
|
*/
|
|
|
export const callOutDetailListExport = (data: object) => {
|
|
|
- return request({
|
|
|
- url: `/api/v1/Bicall/query-callout-date-statistics/export`,
|
|
|
- method: 'post',
|
|
|
- data,
|
|
|
- responseType: 'blob',
|
|
|
- }, {
|
|
|
- reduce_data_format: false
|
|
|
- }
|
|
|
- )
|
|
|
-}
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/Bicall/query-callout-date-statistics/export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
+/**
|
|
|
+ * @description 坐席月接通率基础数据
|
|
|
+ * @param {object} params
|
|
|
+ */
|
|
|
+export const callAgentMonthBase = (params?: object) => {
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query-seat-monthcall-basedata`,
|
|
|
+ method: 'get',
|
|
|
+ params,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
+/**
|
|
|
+ * @description 坐席月接通率
|
|
|
+ * @param {object} params
|
|
|
+ */
|
|
|
+export const callAgentMonth = (params: object) => {
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query-seat-monthcall`,
|
|
|
+ method: 'get',
|
|
|
+ params,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
+/**
|
|
|
+ * @description 坐席月接通率导出
|
|
|
+ * @param {object} data
|
|
|
+ */
|
|
|
+export const callAgentMonthExport = (data: object) => {
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query-seat-monthcall/export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
+/**
|
|
|
+ * @description 坐席月接通率明细
|
|
|
+ * @param {object} params
|
|
|
+ */
|
|
|
+export const callAgentMonthDetail = (params: object) => {
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query-seat-monthcall-detail`,
|
|
|
+ method: 'get',
|
|
|
+ params,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|
|
|
+/**
|
|
|
+ * @description 坐席月接通率明细导出
|
|
|
+ * @param {object} data
|
|
|
+ */
|
|
|
+export const callAgentMonthDetailExport = (data: object) => {
|
|
|
+ return request(
|
|
|
+ {
|
|
|
+ url: `/api/v1/BiCall/query-seat-monthcall-detail/export`,
|
|
|
+ method: 'post',
|
|
|
+ data,
|
|
|
+ responseType: 'blob',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ reduce_data_format: false,
|
|
|
+ }
|
|
|
+ );
|
|
|
+};
|