Pārlūkot izejas kodu

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

zhangchong 1 mēnesi atpakaļ
vecāks
revīzija
b11702f315

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

@@ -783,7 +783,7 @@ export const getSSPStatisticsReprocessingExport = (data: object) => {
  */
 export const getSSPStatisticsReprocessingDetail = (params?: object) => {
 	return request({
-		url: '/api/v1/BiSnapshot/reprocessing-statistics-detail',
+		url: '/api/v1/BiSnapshot/re_transact-statistics-detail',
 		method: 'get',
 		params,
 	}
@@ -796,7 +796,7 @@ export const getSSPStatisticsReprocessingDetail = (params?: object) => {
 export const getSSPStatisticsReprocessingDetailExport = (data: object) => {
 	return request(
 		{
-			url: '/api/v1/BiSnapshot/reprocessing-statistics-detail/export_excel',
+			url: '/api/v1/BiSnapshot/re_transact-statistics-detail/export_excel',
 			method: 'post',
 			data,
 			responseType: 'blob',

+ 5 - 4
src/views/snapshot/statistics/detailRedo.vue

@@ -118,16 +118,16 @@ const gridOptions = reactive<any>({
 			slots: { default: 'order_detail' },
 		},
 
-		{ field: 'industryName', title: '被重办部门', width: 100 },
-		{ field: 'industryName', title: '被重办一级部门', width: 140 },
+		{ field: 'reTransactOrgName', title: '被重办部门', width: 100 },
+		{ field: 'reTransactOneOrgName', title: '被重办一级部门', width: 140 },
 		{
-			field: 'expiredTime',
+			field: 'reTransactTime',
 			title: '重办时间',
 			width: 160,
 			sortable: true,
 			formatter: 'formatDate',
 		},
-		{ field: 'industryName', title: '重办操作人', width: 120 },
+		{ field: 'reTransactHandlerName', title: '重办操作人', width: 120 },
 		{
 			field: 'expiredTime',
 			title: '期满时间',
@@ -185,6 +185,7 @@ const queryList = () => {
 		requestParams.value.StartTime = routeQueryParams.StartTime;
 		requestParams.value.EndTime = routeQueryParams.EndTime;
 		requestParams.value.FieldName = routeQueryParams.FieldName;
+		requestParams.value.OrgCode = routeQueryParams.OrgCode;
 		state.loading = true;
 		gridOptions.loading = true;
 		getSSPStatisticsReprocessingDetail(requestParams.value)

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

@@ -100,7 +100,7 @@ const queryList = () => {
 					slots: {
 						default(scope: any) {
 							return (
-								<el-button type="primary" onClick={() => linkDetail(scope.row, scope)} link>
+								<el-button type="primary" onClick={() => linkDetail(scope.row, item.dicDataValue)} link>
 									{scope.row[item.dicDataValue] ? scope.row[item.dicDataValue] : 0}
 								</el-button>
 							);
@@ -136,12 +136,11 @@ const resetQuery = (formEl: FormInstance | undefined) => {
 // 跳转详情
 const router = useRouter();
 const linkDetail = (row: any, FieldName: string) => {
-	console.log(row, '11');
 	router.push({
 		path: '/snapshot/statistic/detailRedo',
 		query: {
 			FieldName,
-			OrgId: row.orgCode,
+			OrgCode: row.OrgCode,
 			StartTime: state.queryParams.crTime[0],
 			EndTime: state.queryParams.crTime[1],
 		},