diff --git a/src/views/analysisrule/AnalysisRuleList.vue b/src/views/analysisrule/AnalysisRuleList.vue
index d8a2588..bf585c7 100644
--- a/src/views/analysisrule/AnalysisRuleList.vue
+++ b/src/views/analysisrule/AnalysisRuleList.vue
@@ -8,7 +8,7 @@
电话号
-
+
@@ -21,14 +21,15 @@
锅炉房
-
+
换热站
-
@@ -63,10 +64,10 @@
- 批量操作
-
-
- -->
+ 批量操作
+
+
+ -->
diff --git a/src/views/analysisrule/AnalysisRuleListJx.vue b/src/views/analysisrule/AnalysisRuleListJx.vue
index 80d86ff..93422f3 100644
--- a/src/views/analysisrule/AnalysisRuleListJx.vue
+++ b/src/views/analysisrule/AnalysisRuleListJx.vue
@@ -8,7 +8,7 @@
电话号
-
+
@@ -21,14 +21,15 @@
锅炉房
-
+
换热站
-
@@ -45,7 +46,7 @@
-
+
- 批量操作
-
-
- -->
+ 批量操作
+
+
+ -->
diff --git a/src/views/heating/gwrljc/Heatanalysis.api.ts b/src/views/heating/gwrljc/Heatanalysis.api.ts
new file mode 100644
index 0000000..4378eef
--- /dev/null
+++ b/src/views/heating/gwrljc/Heatanalysis.api.ts
@@ -0,0 +1,76 @@
+import {defHttp} from '/@/utils/http/axios';
+import { useMessage } from "/@/hooks/web/useMessage";
+
+const { createConfirm } = useMessage();
+
+enum Api {
+ list = '/heating/heatanalysis/page',
+ save='/heating/heatanalysis/add',
+ edit='/heating/heatanalysis/edit',
+ deleteOne = '/heating/heatanalysis/delete',
+ deleteBatch = '/heating/heatanalysis/deleteBatch',
+ importExcel = '/heating/heatanalysis/importExcel',
+ exportXls = '/heating/heatanalysis/exportXls',
+ companylist = '/heating/thermalcompany/list',
+ heatsourcelist = '/heating/heatsource/list',
+ heatsourcestationlist = '/heating/heatsourcestation/list',
+}
+/**
+ * 导出apif
+ * @param params
+ */
+export const getExportUrl = Api.exportXls;
+/**
+ * 导入api
+ */
+export const getImportUrl = Api.importExcel;
+/**
+ * 列表接口
+ * @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});
+
+/**
+ * 删除单个
+ */
+export const deleteOne = (params,handleSuccess) => {
+ return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+}
+/**
+ * 批量删除
+ * @param params
+ */
+export const batchDelete = (params, handleSuccess) => {
+ createConfirm({
+ iconType: 'warning',
+ title: '确认删除',
+ content: '是否删除选中数据',
+ okText: '确认',
+ cancelText: '取消',
+ onOk: () => {
+ return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => {
+ handleSuccess();
+ });
+ }
+ });
+}
+/**
+ * 保存或者更新
+ * @param params
+ */
+export const saveOrUpdate = (params, isUpdate) => {
+ let url = isUpdate ? Api.edit : Api.save;
+ return defHttp.post({url: url, params});
+}
diff --git a/src/views/heating/gwrljc/Heatanalysis.data.ts b/src/views/heating/gwrljc/Heatanalysis.data.ts
new file mode 100644
index 0000000..4fcf09e
--- /dev/null
+++ b/src/views/heating/gwrljc/Heatanalysis.data.ts
@@ -0,0 +1,111 @@
+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: '流量设备SN',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view031',
+ },
+ {
+ title: '流量数据上报时间',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view032',
+ },
+ {
+ title: '仪表ID',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view033',
+ },
+ {
+ title: '数据是否有效',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view034',
+ },
+ {
+ title: '供水温度',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view035',
+ },
+ {
+ title: '回水温度',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view036',
+ },
+ {
+ title: '瞬时流量',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view037',
+ },
+ {
+ title: '正累积流量',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view038',
+ },
+ {
+ title: '负累积流量',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view039',
+ },
+ {
+ title: '净累积流量',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view040',
+ },
+ {
+ title: '瞬时热量',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view041',
+ },
+ {
+ title: '正累积热量',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view042',
+ },
+ {
+ title: '负累积热量',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view043',
+ },
+ {
+ title: '净累积热量',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view044',
+ },
+ {
+ title: '流体速度',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view045',
+ },
+ {
+ title: '流量因子',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view046',
+ },
+ {
+ title: '热量因子',
+ align: 'center',
+ width: 120,
+ dataIndex: 'view047',
+ },
+];
+//查询数据
+export const searchFormSchema: FormSchema[] = [];
diff --git a/src/views/heating/gwrljc/HeatanalysisListJx.vue b/src/views/heating/gwrljc/HeatanalysisListJx.vue
new file mode 100644
index 0000000..6357c9e
--- /dev/null
+++ b/src/views/heating/gwrljc/HeatanalysisListJx.vue
@@ -0,0 +1,218 @@
+
+
+
+
+
+
+
+
+ 有效
+ 无效
+
+
+
+
+
+
+
+
+
diff --git a/src/views/heating/heatanalysis/Heatanalysis.data.ts b/src/views/heating/heatanalysis/Heatanalysis.data.ts
index fce37b0..12998f8 100644
--- a/src/views/heating/heatanalysis/Heatanalysis.data.ts
+++ b/src/views/heating/heatanalysis/Heatanalysis.data.ts
@@ -37,7 +37,7 @@ export const columns: BasicColumn[] = [
title: '供水温度',
align:"center",
width:120,
- dataIndex: 'view005'
+ dataIndex: 'view005',
},
{
title: '回水温度',
diff --git a/src/views/heating/heatanalysis/HeatanalysisList.vue b/src/views/heating/heatanalysis/HeatanalysisList.vue
index 80ac3b2..101bbc9 100644
--- a/src/views/heating/heatanalysis/HeatanalysisList.vue
+++ b/src/views/heating/heatanalysis/HeatanalysisList.vue
@@ -6,37 +6,28 @@
-
- {{item.companyName}}
+
+ {{ item.companyName
+ }}
-
- {{item.sourceName}}
+
+ {{ item.sourceName
+ }}
-
- {{item.stationName}}
+
+ {{ item.stationName
+ }}
@@ -48,7 +39,7 @@
-
+
+
+ {{ record.view005 }}
+ {{ record.view035 }}
+ {{ record.view005 || record.view035 || 0 }}
+
+
+ {{ record.view006 }}
+ {{ record.view036 }}
+ {{ record.view005 || record.view035 || 0 }}
+
+