diff --git a/src/api/dataVisual/index.ts b/src/api/dataVisual/index.ts
index a73f5c8..a13e62f 100644
--- a/src/api/dataVisual/index.ts
+++ b/src/api/dataVisual/index.ts
@@ -64,6 +64,16 @@ export function getPressChartPolling(queryParams: any) {
});
}
+/**
+ * 获取表格header
+ */
+export function getTableHeader(): AxiosPromise<[]> {
+ return request({
+ url: '/dc/heatSourceScreen/heatSource/table/header',
+ method: 'get'
+ });
+}
+
/**
* 获取换热站Table列表
*/
diff --git a/src/assets/icons/icon_curve.svg b/src/assets/icons/icon_curve.svg
new file mode 100644
index 0000000..7b65e30
--- /dev/null
+++ b/src/assets/icons/icon_curve.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/types/auto-imports.d.ts b/src/types/auto-imports.d.ts
index 6f8d200..5742656 100644
--- a/src/types/auto-imports.d.ts
+++ b/src/types/auto-imports.d.ts
@@ -2,6 +2,11 @@
export {}
declare global {
const EffectScope: typeof import('vue')['EffectScope']
+ const ElForm: typeof import('element-plus/es')['ElForm']
+ const ElMessage: typeof import('element-plus/es')['ElMessage']
+ const ElMessageBox: typeof import('element-plus/es')['ElMessageBox']
+ const ElNotification: typeof import('element-plus/es')['ElNotification']
+ const NEllipsis: typeof import('naive-ui')['NEllipsis']
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
const computed: typeof import('vue')['computed']
@@ -268,6 +273,11 @@ import { UnwrapRef } from 'vue'
declare module 'vue' {
interface ComponentCustomProperties {
readonly EffectScope: UnwrapRef
+ readonly ElForm: UnwrapRef
+ readonly ElMessage: UnwrapRef
+ readonly ElMessageBox: UnwrapRef
+ readonly ElNotification: UnwrapRef
+ readonly NEllipsis: UnwrapRef
readonly asyncComputed: UnwrapRef
readonly autoResetRef: UnwrapRef
readonly computed: UnwrapRef
diff --git a/src/utils/request.ts b/src/utils/request.ts
index 45c191c..1587b3b 100644
--- a/src/utils/request.ts
+++ b/src/utils/request.ts
@@ -9,6 +9,7 @@
import axios, { InternalAxiosRequestConfig, AxiosResponse } from 'axios';
import { useUserStoreHook } from '@/store/modules/user';
import { getUrlRouter } from '@/utils/index';
+import { useDateFormat } from '@vueuse/core';
// 创建 axios 实例
const service = axios.create({
@@ -55,6 +56,7 @@ service.interceptors.response.use(
});
} else if (code === 500) {
ElMessage({ message: msg || '未知错误', type: 'error' });
+ console.log(msg || '未知错误', useDateFormat(new Date(), 'YYYY-MM-DD HH:mm:ss').value);
return Promise.reject(new Error(msg));
} else if (code === 601) {
ElMessage({ message: msg || '未知错误', type: 'warning' });
diff --git a/src/views/data-visual/components/header.vue b/src/views/data-visual/components/header.vue
index 8910c9b..e522651 100644
--- a/src/views/data-visual/components/header.vue
+++ b/src/views/data-visual/components/header.vue
@@ -45,7 +45,7 @@
返回