From 76056b45a7e9c40d27fe51253868678bcaa7fb41 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com>
Date: Tue, 10 Dec 2024 16:06:16 +0800
Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=8A=A5=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../station/DataExtractStaionList.vue | 6 +-
src/views/heating/report/Heatanalysis.api.ts | 24 ++
src/views/heating/report/Heatanalysis.data.ts | 111 +++++++
src/views/heating/report/HeatanalysisList.vue | 294 ++++++++++++++++++
.../components/extract/StationExtract.api.ts | 16 +
.../components/extract/StationExtract.data.ts | 81 +++++
.../extract/StationExtractListOne.vue | 142 +++++++++
.../extract/StationExtractListTwo.vue | 120 +++++++
.../extract/StationExtractModal.vue | 66 ++++
.../extracted/StationExtracted.api.ts | 16 +
.../extracted/StationExtracted.data.ts | 81 +++++
.../extracted/StationExtractedListOne.vue | 142 +++++++++
.../extracted/StationExtractedListTwo.vue | 120 +++++++
.../extracted/StationExtractedModal.vue | 66 ++++
14 files changed, 1282 insertions(+), 3 deletions(-)
create mode 100644 src/views/heating/report/Heatanalysis.api.ts
create mode 100644 src/views/heating/report/Heatanalysis.data.ts
create mode 100644 src/views/heating/report/HeatanalysisList.vue
create mode 100644 src/views/heating/report/components/extract/StationExtract.api.ts
create mode 100644 src/views/heating/report/components/extract/StationExtract.data.ts
create mode 100644 src/views/heating/report/components/extract/StationExtractListOne.vue
create mode 100644 src/views/heating/report/components/extract/StationExtractListTwo.vue
create mode 100644 src/views/heating/report/components/extract/StationExtractModal.vue
create mode 100644 src/views/heating/report/components/extracted/StationExtracted.api.ts
create mode 100644 src/views/heating/report/components/extracted/StationExtracted.data.ts
create mode 100644 src/views/heating/report/components/extracted/StationExtractedListOne.vue
create mode 100644 src/views/heating/report/components/extracted/StationExtractedListTwo.vue
create mode 100644 src/views/heating/report/components/extracted/StationExtractedModal.vue
diff --git a/src/views/heating/extract/components/station/DataExtractStaionList.vue b/src/views/heating/extract/components/station/DataExtractStaionList.vue
index 67d8a12..1ba954f 100644
--- a/src/views/heating/extract/components/station/DataExtractStaionList.vue
+++ b/src/views/heating/extract/components/station/DataExtractStaionList.vue
@@ -63,20 +63,20 @@
v-model:value="queryParam.isExtract"
style="width: 150px">
全部
- 否
是
+ 否
全部
- 否
是
+ 否
diff --git a/src/views/heating/report/Heatanalysis.api.ts b/src/views/heating/report/Heatanalysis.api.ts
new file mode 100644
index 0000000..c4283df
--- /dev/null
+++ b/src/views/heating/report/Heatanalysis.api.ts
@@ -0,0 +1,24 @@
+import {defHttp} from '/@/utils/http/axios';
+
+enum Api {
+ list = '/heating/heatanalysis/page',
+ companylist = '/heating/thermalcompany/list',
+ heatsourcelist = '/heating/heatsource/list',
+ heatsourcestationlist = '/heating/heatsourcestation/list',
+}
+
+/**
+ * 列表接口
+ * @param params
+ */
+export const list = (params) =>
+ defHttp.get({url: Api.list, params});
+
+export const companylist = (params) =>
+ defHttp.get({url: Api.companylist, params});
+
+export const heatsourcelist = (params) =>
+ defHttp.get({url: Api.heatsourcelist, params});
+
+export const heatsourcestationlist = (params) =>
+ defHttp.get({url: Api.heatsourcestationlist, params});
diff --git a/src/views/heating/report/Heatanalysis.data.ts b/src/views/heating/report/Heatanalysis.data.ts
new file mode 100644
index 0000000..b5256e4
--- /dev/null
+++ b/src/views/heating/report/Heatanalysis.data.ts
@@ -0,0 +1,111 @@
+import {BasicColumn} from '/@/components/Table';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: '热力公司',
+ align: "center",
+ dataIndex: 'view001Name',
+ width:140,
+ ellipsis: false
+ },
+ {
+ title: '热源站',
+ align: "center",
+ dataIndex: 'view002Name',
+ ellipsis: false
+ },
+ {
+ title: '换热站',
+ align: "center",
+ dataIndex: 'view004Name',
+ ellipsis: false
+ },
+ {
+ title: '数据时间',
+ align: "center",
+ dataIndex: 'datatime',
+ ellipsis: false
+ },
+ {
+ title:'一次网',
+ width:100,
+ children:[
+ {
+ title: '供水温度',
+ align:"center",
+ width:100,
+ dataIndex: 'view005'
+ },
+ {
+ title: '回水温度',
+ align:"center",
+ width:100,
+ dataIndex: 'view006'
+ },
+ {
+ title: '供水压力',
+ align:"center",
+ width:100,
+ dataIndex: 'view007'
+ },
+ {
+ title: '回水压力',
+ align:"center",
+ width:100,
+ dataIndex: 'view008'
+ }
+ ]},
+ {
+ title:'二次网',
+ width:100,
+ children:[
+ {
+ title: '供水温度',
+ align:"center",
+ width:100,
+ dataIndex: 'view009'
+ },
+ {
+ title: '回水温度',
+ align:"center",
+ width:100,
+ dataIndex: 'view010'
+ },
+ {
+ title: '供水压力',
+ align:"center",
+ width:100,
+ dataIndex: 'view011'
+ },
+ {
+ title: '回水压力',
+ align:"center",
+ width:100,
+ dataIndex: 'view012'
+ }
+ ]},
+ {
+ title: '上报类型',
+ align: "center",
+ dataIndex: 'reportType',
+ width:100,
+ ellipsis: false,
+ slots: { customRender: 'reportType' },
+ },
+ {
+ title: '已抽取',
+ align: "center",
+ dataIndex: 'isExtract',
+ width:100,
+ ellipsis: false,
+ slots: { customRender: 'isExtract' },
+ },
+ {
+ title: '被抽取',
+ align: "center",
+ dataIndex: 'isExtracted',
+ width:100,
+ ellipsis: false,
+ slots: { customRender: 'isExtracted' },
+ },
+];
diff --git a/src/views/heating/report/HeatanalysisList.vue b/src/views/heating/report/HeatanalysisList.vue
new file mode 100644
index 0000000..3cdb7b3
--- /dev/null
+++ b/src/views/heating/report/HeatanalysisList.vue
@@ -0,0 +1,294 @@
+
+
+
+
+
+
+
+ 上报
+ 模拟
+
+
+ 是
+ 否
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/heating/report/components/extract/StationExtract.api.ts b/src/views/heating/report/components/extract/StationExtract.api.ts
new file mode 100644
index 0000000..9a22732
--- /dev/null
+++ b/src/views/heating/report/components/extract/StationExtract.api.ts
@@ -0,0 +1,16 @@
+import {defHttp} from '/@/utils/http/axios';
+
+enum Api {
+ list1 = '/heating/heatanalysis/onePage',
+ list2 = '/heating/heatanalysis/twoPage',
+}
+
+/**
+ * 列表接口
+ * @param params
+ */
+export const list1 = (params) =>
+ defHttp.get({url: Api.list1, params});
+
+export const list2 = (params) =>
+ defHttp.get({url: Api.list2, params});
diff --git a/src/views/heating/report/components/extract/StationExtract.data.ts b/src/views/heating/report/components/extract/StationExtract.data.ts
new file mode 100644
index 0000000..ed9a1f2
--- /dev/null
+++ b/src/views/heating/report/components/extract/StationExtract.data.ts
@@ -0,0 +1,81 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+import { rules} from '/@/utils/helper/validator';
+import { render } from '/@/utils/common/renderUtils';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: 'SIM',
+ align: "center",
+ dataIndex: 'sim',
+ width:120,
+ ellipsis: false
+ },
+ {
+ title: '热力公司',
+ align: "center",
+ dataIndex: 'view001Name',
+ width:140,
+ ellipsis: false
+ },
+ {
+ title: '热源站',
+ align: "center",
+ dataIndex: 'view002Name',
+ ellipsis: false
+ },
+ {
+ title: '换热站',
+ align: "center",
+ dataIndex: 'view004Name',
+ ellipsis: false
+ },
+ {
+ title: '数据时间',
+ align: "center",
+ dataIndex: 'datatime',
+ ellipsis: false
+ },
+ {
+ title:'一次网',
+ width:100,
+ children:[
+ {
+ title: '供水温度',
+ align:"center",
+ width:120,
+ dataIndex: 'view005'
+ },
+ {
+ title: '回水温度',
+ align:"center",
+ width:120,
+ dataIndex: 'view006'
+ },
+ ]},
+ {
+ title:'二次网',
+ width:100,
+ children:[
+ {
+ title: '供水温度',
+ align:"center",
+ width:120,
+ dataIndex: 'view009'
+ },
+ {
+ title: '回水温度',
+ align:"center",
+ width:120,
+ dataIndex: 'view010'
+ },
+ ]},
+ {
+ title: '上报类型',
+ align: "center",
+ dataIndex: 'reportType',
+ width:120,
+ ellipsis: false,
+ slots: { customRender: 'reportType' },
+ },
+];
diff --git a/src/views/heating/report/components/extract/StationExtractListOne.vue b/src/views/heating/report/components/extract/StationExtractListOne.vue
new file mode 100644
index 0000000..f766c87
--- /dev/null
+++ b/src/views/heating/report/components/extract/StationExtractListOne.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+ 上报
+ 模拟
+
+
+
+
+
+
+
+
diff --git a/src/views/heating/report/components/extract/StationExtractListTwo.vue b/src/views/heating/report/components/extract/StationExtractListTwo.vue
new file mode 100644
index 0000000..f3809bf
--- /dev/null
+++ b/src/views/heating/report/components/extract/StationExtractListTwo.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
diff --git a/src/views/heating/report/components/extract/StationExtractModal.vue b/src/views/heating/report/components/extract/StationExtractModal.vue
new file mode 100644
index 0000000..c4ee640
--- /dev/null
+++ b/src/views/heating/report/components/extract/StationExtractModal.vue
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/heating/report/components/extracted/StationExtracted.api.ts b/src/views/heating/report/components/extracted/StationExtracted.api.ts
new file mode 100644
index 0000000..9477fae
--- /dev/null
+++ b/src/views/heating/report/components/extracted/StationExtracted.api.ts
@@ -0,0 +1,16 @@
+import {defHttp} from '/@/utils/http/axios';
+
+enum Api {
+ list1 = '/heating/heatanalysis/extractedOnePage',
+ list2 = '/heating/heatanalysis/extractedTwoPage',
+}
+
+/**
+ * 列表接口
+ * @param params
+ */
+export const list1 = (params) =>
+ defHttp.get({url: Api.list1, params});
+
+export const list2 = (params) =>
+ defHttp.get({url: Api.list2, params});
diff --git a/src/views/heating/report/components/extracted/StationExtracted.data.ts b/src/views/heating/report/components/extracted/StationExtracted.data.ts
new file mode 100644
index 0000000..ed9a1f2
--- /dev/null
+++ b/src/views/heating/report/components/extracted/StationExtracted.data.ts
@@ -0,0 +1,81 @@
+import {BasicColumn} from '/@/components/Table';
+import {FormSchema} from '/@/components/Table';
+import { rules} from '/@/utils/helper/validator';
+import { render } from '/@/utils/common/renderUtils';
+//列表数据
+export const columns: BasicColumn[] = [
+ {
+ title: 'SIM',
+ align: "center",
+ dataIndex: 'sim',
+ width:120,
+ ellipsis: false
+ },
+ {
+ title: '热力公司',
+ align: "center",
+ dataIndex: 'view001Name',
+ width:140,
+ ellipsis: false
+ },
+ {
+ title: '热源站',
+ align: "center",
+ dataIndex: 'view002Name',
+ ellipsis: false
+ },
+ {
+ title: '换热站',
+ align: "center",
+ dataIndex: 'view004Name',
+ ellipsis: false
+ },
+ {
+ title: '数据时间',
+ align: "center",
+ dataIndex: 'datatime',
+ ellipsis: false
+ },
+ {
+ title:'一次网',
+ width:100,
+ children:[
+ {
+ title: '供水温度',
+ align:"center",
+ width:120,
+ dataIndex: 'view005'
+ },
+ {
+ title: '回水温度',
+ align:"center",
+ width:120,
+ dataIndex: 'view006'
+ },
+ ]},
+ {
+ title:'二次网',
+ width:100,
+ children:[
+ {
+ title: '供水温度',
+ align:"center",
+ width:120,
+ dataIndex: 'view009'
+ },
+ {
+ title: '回水温度',
+ align:"center",
+ width:120,
+ dataIndex: 'view010'
+ },
+ ]},
+ {
+ title: '上报类型',
+ align: "center",
+ dataIndex: 'reportType',
+ width:120,
+ ellipsis: false,
+ slots: { customRender: 'reportType' },
+ },
+];
diff --git a/src/views/heating/report/components/extracted/StationExtractedListOne.vue b/src/views/heating/report/components/extracted/StationExtractedListOne.vue
new file mode 100644
index 0000000..ca3284b
--- /dev/null
+++ b/src/views/heating/report/components/extracted/StationExtractedListOne.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+ 上报
+ 模拟
+
+
+
+
+
+
+
+
diff --git a/src/views/heating/report/components/extracted/StationExtractedListTwo.vue b/src/views/heating/report/components/extracted/StationExtractedListTwo.vue
new file mode 100644
index 0000000..a6ede48
--- /dev/null
+++ b/src/views/heating/report/components/extracted/StationExtractedListTwo.vue
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
diff --git a/src/views/heating/report/components/extracted/StationExtractedModal.vue b/src/views/heating/report/components/extracted/StationExtractedModal.vue
new file mode 100644
index 0000000..f1a56ea
--- /dev/null
+++ b/src/views/heating/report/components/extracted/StationExtractedModal.vue
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+