Эх сурвалжийг харах

reactor:特殊号码新增配置;

zhangchong 1 сар өмнө
parent
commit
bcba57c20f

+ 1 - 1
.env.development

@@ -3,7 +3,7 @@ VITE_MODE_NAME=development
 # 防止部署多套系统到同一域名不同目录时,变量共用的问题 设置不同的前缀
 VITE_STORAGE_NAME=dev
 # 业务系统基础请求地址
-VITE_API_URL=http://110.188.24.28:50100
+VITE_API_URL=http://110.188.24.28:50300
 # 业务系统socket请求地址
 VITE_API_SOCKET_URL=http://110.188.24.28:50100/hubs/hotline
 # 业务系统文件上传上传请求地址

+ 0 - 2
src/App.vue

@@ -122,8 +122,6 @@ VxeUI.renderer.add('exportAll', {
 				title="导出全部"
 				circle
 				onClick={() => {
-
-					console.log(params);
 					const { $table } = params;
 					const columns = $table.getColumns();
 					const tableParams = $table.getParams();

+ 2 - 28
src/views/snapshot/statistics/hotspot.vue

@@ -37,7 +37,7 @@ import { defineAsyncComponent, onMounted, reactive, ref } from 'vue';
 import { FormInstance } from 'element-plus';
 import { defaultDate } from '@/utils/constants';
 import Other from '@/utils/other';
-import { getSSPStatisticsHotSpotTypeExport } from '@/api/snapshot/statistics';
+import { getSSPStatisticsHotSpotType, getSSPStatisticsHotSpotTypeExport } from '@/api/snapshot/statistics';
 
 const StatisticalTime = defineAsyncComponent(() => import('@/components/StatisticalTime/index.vue')); // 日期类型选择组件
 // 定义变量内容
@@ -107,33 +107,7 @@ const queryList = async () => {
 		requestParams.value.StartTime = state.queryParams.crTime === null ? null : state.queryParams.crTime[0];
 		requestParams.value.EndTime = state.queryParams.crTime === null ? null : state.queryParams.crTime[1];
 		Reflect.deleteProperty(requestParams.value, 'crTime');
-		// const { result } = await centerSatisfaction(requestParams.value);
-		const result = [
-			{
-				name: '公共服务',
-				orderCount: 0,
-			},
-			{
-				name: '社会保障',
-				orderCount: 1,
-			},
-			{
-				name: '医疗卫生',
-				orderCount: 22,
-			},
-			{
-				name: '教育文体',
-				orderCount: 2,
-			},
-			{
-				name: '社区服务',
-				orderCount: 0,
-			},
-			{
-				name: '其他',
-				orderCount: 0,
-			},
-		];
+		const { result } = await getSSPStatisticsHotSpotType(requestParams.value);
 		state.tableData = result ?? [];
 		gridOptions.data = result ?? [];
 		const legendData = state.tableData.map((item: any) => {