Parcourir la source

reactor:修复部门满意度统计明细导出

zhangchong il y a 1 mois
Parent
commit
1547ed62b4

+ 1 - 1
src/api/snapshot/statistics.ts

@@ -767,7 +767,7 @@ export const getSSPStatisticsReprocessing = (params?: object) => {
 export const getSSPStatisticsReprocessingExport = (data: object) => {
 	return request(
 		{
-			url: '/api/v1/BiSnapshot/reprocessing-statistics/export_excel',
+			url: '/api/v1/BiSnapshot/re_transact-statistics/export_excel',
 			method: 'post',
 			data,
 			responseType: 'blob',

+ 2 - 2
src/views/snapshot/config/volunteer/components/Report-detail.vue

@@ -71,8 +71,7 @@ import { formatDate } from '@/utils/formatTime';
 
 const pagination = defineAsyncComponent(() => import('@/components/ProTable/components/Pagination.vue')); // 分页
 const OrderDetail = defineAsyncComponent(() => import('@/components/OrderDetail/index.vue')); // 工单详情
-// 定义子组件向父组件传值/事件
-const emit = defineEmits(['updateList']);
+
 
 // 定义变量内容
 const state = reactive<any>({
@@ -122,6 +121,7 @@ const searchHistory = async () => {
 	state.loading = true;
 	let request = {
 		PhoneNo: state.ruleForm.phoneNumber,
+		...state.queryParams
 	};
 	try {
 		const response = await historyOrder(request);

+ 1 - 2
src/views/snapshot/statistics/redo.vue

@@ -24,7 +24,7 @@
 import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
 import { FormInstance } from 'element-plus';
 import { defaultDate } from '@/utils/constants';
-import { getSSPStatisticsBaseData, getSSPStatisticsReprocessing, getSSPStatisticsReprocessingExport } from '@/api/snapshot/statistics';
+import { getSSPStatisticsReprocessing, getSSPStatisticsReprocessingExport } from '@/api/snapshot/statistics';
 import Other from '@/utils/other';
 import { useRouter } from 'vue-router';
 
@@ -80,7 +80,6 @@ const gridOptions = reactive<any>({
 });
 /** 搜索按钮操作 节流操作 */
 const handleQuery = () => {
-	state.queryParams.PageIndex = 1;
 	queryList();
 };
 // 获取参数列表