From 7d4368b81d82fe1c14d0e3a08e0339d858e1b16b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com> Date: Tue, 2 Sep 2025 16:49:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8D=E7=A7=B0=E5=92=8C=E6=9D=83=E9=99=90?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/analysisrule/AnalysisRule.data.ts | 6 +- src/views/analysisrule/AnalysisRuleList.vue | 31 +++-- src/views/analysisrule/AnalysisRuleListJx.vue | 45 ++++--- .../components/AnalysisRuleForm.vue | 4 +- src/views/base/company/ThermalcompanyList.vue | 10 +- .../base/company/ThermalcompanyListJx.vue | 10 +- .../company/components/ThermalcompanyForm.vue | 4 +- src/views/base/heatsource/Heatsource.data.ts | 8 +- src/views/base/heatsource/HeatsourceList.vue | 6 +- .../base/heatsource/HeatsourceListJx.vue | 6 +- .../heatsource/components/HeatsourceForm.vue | 10 +- src/views/base/simconfig/Simconfig.data.ts | 4 +- src/views/base/simconfig/SimconfigList.vue | 10 +- src/views/base/simconfig/SimconfigListJx.vue | 10 +- .../simconfig/components/SimconfigForm.vue | 6 +- .../simconfig/components/SimconfigJxForm.vue | 6 +- .../base/station/Heatsourcestation.data.ts | 2 +- .../base/station/HeatsourcestationList.vue | 14 +- .../components/HeatsourcestationForm.vue | 10 +- .../waterFlowConfig/BlWaterFlowConfig.data.ts | 4 +- .../waterFlowConfig/BlWaterFlowConfigList.vue | 19 +-- .../BlWaterFlowConfigListJx.vue | 22 +-- .../components/BlWaterFlowConfigForm.vue | 6 +- .../heating/extract/DataExtractConfig.data.ts | 6 +- .../heating/extract/DataExtractConfigList.vue | 8 +- .../station/DataExtractStaionList.vue | 8 +- .../station/DataExtractStation.data.ts | 4 +- .../station/extract/StationExtract.data.ts | 4 +- .../station/extract/StationExtractListOne.vue | 6 +- .../extracted/StationExtracted.data.ts | 4 +- .../extracted/StationExtractedListOne.vue | 6 +- .../heating/gwrljc/HeatanalysisListJx.vue | 8 +- .../heating/heatanalysis/Heatanalysis.data.ts | 10 +- .../heating/heatanalysis/HeatanalysisList.vue | 4 +- .../heatanalysis/HeatanalysisListJx.vue | 4 +- .../components/HeatanalysisForm.vue | 8 +- .../heating/heatanalysis/components/ZxtJX.vue | 4 +- .../history/HeatanalysisHistory.api.ts | 14 +- .../history/HeatanalysisHistory.data.ts | 125 ++++++++++++++++-- .../history/HeatanalysisHistoryList.vue | 18 ++- .../history/HeatanalysisHistoryListJx.vue | 21 +-- .../heating/mapmanagement/Markinfo.api.ts | 2 +- .../components/AddSourceForm.vue | 6 +- .../components/AddStationForm.vue | 2 +- .../mapmanagement/components/MarkinfoForm.vue | 8 +- src/views/heating/report/Heatanalysis.data.ts | 4 +- src/views/heating/report/HeatanalysisList.vue | 8 +- .../heating/report/HeatanalysisListJx.vue | 8 +- .../components/extract/StationExtract.data.ts | 4 +- .../extract/StationExtractListOne.vue | 6 +- .../extracted/StationExtracted.data.ts | 4 +- .../extracted/StationExtractedListOne.vue | 6 +- src/views/heating1/Heatanalysis.data.ts | 8 +- src/views/home/home.vue | 8 +- src/views/screen/components/ZxtCQ.vue | 4 +- 55 files changed, 379 insertions(+), 214 deletions(-) diff --git a/src/views/analysisrule/AnalysisRule.data.ts b/src/views/analysisrule/AnalysisRule.data.ts index 14ad57d..1fc0b99 100644 --- a/src/views/analysisrule/AnalysisRule.data.ts +++ b/src/views/analysisrule/AnalysisRule.data.ts @@ -21,7 +21,7 @@ export const columns: BasicColumn[] = [ dataIndex: 'remarks' }, { - title: '热力公司', + title: '供热公司', align: "center", dataIndex: 'companyId_dictText' }, @@ -70,7 +70,7 @@ export const columnsJx: BasicColumn[] = [ dataIndex: 'remarks' }, { - title: '热力公司', + title: '供热公司', align: "center", dataIndex: 'companyId_dictText' }, @@ -105,7 +105,7 @@ export const superQuerySchema = { sim: {title: '卡号',order: 0,view: 'text', type: 'string',}, code: {title: '规则代码 1 2 3 4 5 ',order: 1,view: 'text', type: 'string',}, remarks: {title: '规则描述 1:0141规则码 2:31字节长度 3:73字节长度 4:26字节长度 5:不解析',order: 2,view: 'text', type: 'string',}, - companyId: {title: '热力公司ID',order: 3,view: 'number', type: 'number',dictTable: "bl_thermalcompany", dictCode: 'id', dictText: 'company_name',}, + companyId: {title: '供热公司ID',order: 3,view: 'number', type: 'number',dictTable: "bl_thermalcompany", dictCode: 'id', dictText: 'company_name',}, sourceId: {title: '锅炉房ID',order: 4,view: 'number', type: 'number',dictTable: "bl_heatsource", dictCode: 'id', dictText: 'source_name',}, stationId: {title: '换热站ID',order: 5,view: 'number', type: 'number',dictTable: "bl_heatsourcestation", dictCode: 'id', dictText: 'station_name',}, createDate: {title: '创建时间',order: 6,view: 'date', type: 'string',}, diff --git a/src/views/analysisrule/AnalysisRuleList.vue b/src/views/analysisrule/AnalysisRuleList.vue index fd329f3..c7bdec2 100644 --- a/src/views/analysisrule/AnalysisRuleList.vue +++ b/src/views/analysisrule/AnalysisRuleList.vue @@ -5,27 +5,27 @@ - + - + - - + + - + - + - + 查询 @@ -133,7 +133,7 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ canResize: false, useSearchForm: false, actionColumn: { - width: 120, + width: 140, fixed: 'right', }, beforeFetch: async (params) => { @@ -229,6 +229,19 @@ function getTableAction(record) { { label: '详情', onClick: handleDetail.bind(null, record), + }, + { + label: '编辑', + onClick: handleEdit.bind(null, record), + auth: 'analysisrule:bl_analysis_rule:edit' + }, { + label: '删除', + popConfirm: { + title: '是否确认删除', + confirm: handleDelete.bind(null, record), + placement: 'topLeft', + }, + auth: 'analysisrule:bl_analysis_rule:delete' } ]; } diff --git a/src/views/analysisrule/AnalysisRuleListJx.vue b/src/views/analysisrule/AnalysisRuleListJx.vue index 8920e58..b616777 100644 --- a/src/views/analysisrule/AnalysisRuleListJx.vue +++ b/src/views/analysisrule/AnalysisRuleListJx.vue @@ -5,35 +5,35 @@ - + - + - - + + - + - - - - - - - + + + + + + + + + 查询 @@ -133,7 +133,7 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ canResize: false, useSearchForm: false, actionColumn: { - width: 120, + width: 140, fixed: 'right', }, beforeFetch: async (params) => { @@ -229,6 +229,19 @@ function getTableAction(record) { { label: '详情', onClick: handleDetail.bind(null, record), + }, + { + label: '编辑', + onClick: handleEdit.bind(null, record), + auth: 'analysisrule:bl_analysis_rule:edit' + }, { + label: '删除', + popConfirm: { + title: '是否确认删除', + confirm: handleDelete.bind(null, record), + placement: 'topLeft', + }, + auth: 'analysisrule:bl_analysis_rule:delete' } ]; } diff --git a/src/views/analysisrule/components/AnalysisRuleForm.vue b/src/views/analysisrule/components/AnalysisRuleForm.vue index b90107d..e207589 100644 --- a/src/views/analysisrule/components/AnalysisRuleForm.vue +++ b/src/views/analysisrule/components/AnalysisRuleForm.vue @@ -21,9 +21,9 @@ - - + diff --git a/src/views/base/company/ThermalcompanyList.vue b/src/views/base/company/ThermalcompanyList.vue index 33d9802..67b4556 100644 --- a/src/views/base/company/ThermalcompanyList.vue +++ b/src/views/base/company/ThermalcompanyList.vue @@ -50,7 +50,7 @@ //注册table数据 const { prefixCls,tableContext,onExportXls,onImportXls } = useListPage({ tableProps:{ - title: '热力公司', + title: '供热公司', api: list, defSort: { column: 'id', @@ -69,7 +69,7 @@ ], }, actionColumn: { - width: 120, + width: 140, fixed:'right' }, beforeFetch: (params) => { @@ -78,7 +78,7 @@ }, }, exportConfig: { - name:"热力公司", + name:"供热公司", url: getExportUrl, params: queryParam, }, @@ -134,6 +134,10 @@ */ function getTableAction(record){ return [ + { + label: '详情', + onClick: handleDetail.bind(null, record), + }, { label: '编辑', onClick: handleEdit.bind(null, record), diff --git a/src/views/base/company/ThermalcompanyListJx.vue b/src/views/base/company/ThermalcompanyListJx.vue index 93a7cf5..16a1075 100644 --- a/src/views/base/company/ThermalcompanyListJx.vue +++ b/src/views/base/company/ThermalcompanyListJx.vue @@ -50,7 +50,7 @@ //注册table数据 const { prefixCls,tableContext,onExportXls,onImportXls } = useListPage({ tableProps:{ - title: '热力公司', + title: '供热公司', api: list, defSort: { column: 'id', @@ -69,7 +69,7 @@ ], }, actionColumn: { - width: 120, + width: 140, fixed:'right' }, beforeFetch: (params) => { @@ -78,7 +78,7 @@ }, }, exportConfig: { - name:"热力公司", + name:"供热公司", url: getExportUrl, params: queryParam, }, @@ -134,6 +134,10 @@ */ function getTableAction(record){ return [ + { + label: '详情', + onClick: handleDetail.bind(null, record), + }, { label: '编辑', onClick: handleEdit.bind(null, record), diff --git a/src/views/base/company/components/ThermalcompanyForm.vue b/src/views/base/company/components/ThermalcompanyForm.vue index 1ee1993..2faa685 100644 --- a/src/views/base/company/components/ThermalcompanyForm.vue +++ b/src/views/base/company/components/ThermalcompanyForm.vue @@ -75,8 +75,8 @@ - - + + @@ -164,7 +164,7 @@ setupTime: [{ required: true, message: '请输入建设时间!'},], stationName: [{ required: true, message: '请输入热力站名称!'},], companyId: [{ required: true, message: '请选择公司!'},], - sourceId: [{ required: true, message: '请选择热源!'},], + sourceId: [{ required: true, message: '请选择锅炉房!'},], }); const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: false }); diff --git a/src/views/base/waterFlowConfig/BlWaterFlowConfig.data.ts b/src/views/base/waterFlowConfig/BlWaterFlowConfig.data.ts index 25f98b3..b27ae07 100644 --- a/src/views/base/waterFlowConfig/BlWaterFlowConfig.data.ts +++ b/src/views/base/waterFlowConfig/BlWaterFlowConfig.data.ts @@ -11,7 +11,7 @@ export const columns: BasicColumn[] = [ dataIndex: 'sn' }, { - title: '热力公司', + title: '供热公司', align: "center", dataIndex: 'companyCompanyId_dictText' }, @@ -42,6 +42,6 @@ export const superQuerySchema = { sn: {title: 'SN',order: 0,view: 'text', type: 'string',}, occurtime: {title: '注册设备时间',order: 1,view: 'date', type: 'string',}, companyCompanyId: {title: '公司名称',order: 2,view: 'number', type: 'number',dictTable: "bl_thermalcompany", dictCode: 'id', dictText: 'company_name',}, - sourceSourceId: {title: '热源名称',order: 3,view: 'number', type: 'number',dictTable: "bl_heatsource", dictCode: 'id', dictText: 'source_name',}, + sourceSourceId: {title: '锅炉房名称',order: 3,view: 'number', type: 'number',dictTable: "bl_heatsource", dictCode: 'id', dictText: 'source_name',}, stationStationId: {title: '换热站名称',order: 4,view: 'number', type: 'number',dictTable: "bl_heatsourcestation", dictCode: 'id', dictText: 'station_name',}, }; diff --git a/src/views/base/waterFlowConfig/BlWaterFlowConfigList.vue b/src/views/base/waterFlowConfig/BlWaterFlowConfigList.vue index 061d311..a03241d 100644 --- a/src/views/base/waterFlowConfig/BlWaterFlowConfigList.vue +++ b/src/views/base/waterFlowConfig/BlWaterFlowConfigList.vue @@ -12,8 +12,8 @@ - - + + @@ -49,7 +49,7 @@ @@ -86,7 +86,7 @@ canResize:false, useSearchForm: false, actionColumn: { - width: 120, + width: 140, fixed: 'right', }, beforeFetch: async (params) => { @@ -183,14 +183,6 @@ onClick: handleEdit.bind(null, record), auth: 'waterFlowConfig:bl_water_flow_config:edit' }, - ]; - } - - /** - * 下拉操作栏 - */ - function getDropDownAction(record) { - return [ { label: '详情', onClick: handleDetail.bind(null, record), @@ -203,9 +195,10 @@ }, auth: 'waterFlowConfig:bl_water_flow_config:delete' } - ] + ]; } + /** * 查询 */ diff --git a/src/views/base/waterFlowConfig/BlWaterFlowConfigListJx.vue b/src/views/base/waterFlowConfig/BlWaterFlowConfigListJx.vue index fd7e227..14300f2 100644 --- a/src/views/base/waterFlowConfig/BlWaterFlowConfigListJx.vue +++ b/src/views/base/waterFlowConfig/BlWaterFlowConfigListJx.vue @@ -12,8 +12,8 @@ - - + + @@ -86,7 +86,7 @@ canResize:false, useSearchForm: false, actionColumn: { - width: 120, + width: 140, fixed: 'right', }, beforeFetch: async (params) => { @@ -178,6 +178,10 @@ */ function getTableAction(record) { return [ + { + label: '详情', + onClick: handleDetail.bind(null, record), + }, { label: '编辑', onClick: handleEdit.bind(null, record), @@ -195,18 +199,6 @@ ]; } - /** - * 下拉操作栏 - */ - function getDropDownAction(record) { - return [ - { - label: '详情', - onClick: handleDetail.bind(null, record), - }, - ] - } - /** * 查询 */ diff --git a/src/views/base/waterFlowConfig/components/BlWaterFlowConfigForm.vue b/src/views/base/waterFlowConfig/components/BlWaterFlowConfigForm.vue index c02d517..7136e2a 100644 --- a/src/views/base/waterFlowConfig/components/BlWaterFlowConfigForm.vue +++ b/src/views/base/waterFlowConfig/components/BlWaterFlowConfigForm.vue @@ -10,8 +10,8 @@ - - + + @@ -70,7 +70,7 @@ const validatorRules = reactive({ sn: [{ required: true, message: '请输入sn!'},], companyCompanyId: [{ required: true, message: '请选择公司名称!'},], - sourceSourceId: [{ required: true, message: '请选择热源名称!'},], + sourceSourceId: [{ required: true, message: '请选择锅炉房名称!'},], }); const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: false }); diff --git a/src/views/heating/extract/DataExtractConfig.data.ts b/src/views/heating/extract/DataExtractConfig.data.ts index d170134..1c8b832 100644 --- a/src/views/heating/extract/DataExtractConfig.data.ts +++ b/src/views/heating/extract/DataExtractConfig.data.ts @@ -19,7 +19,7 @@ export const columns: BasicColumn[] = [ dataIndex: 'company' }, { - title: '热源站', + title: '锅炉房', width: 120, align: "center", dataIndex: 'source' @@ -45,7 +45,7 @@ export const columns: BasicColumn[] = [ // dataIndex: 'oneCompany' // }, // { - // title: '热源站', + // title: '锅炉房', // align: "center", // dataIndex: 'oneSource' // }, @@ -87,7 +87,7 @@ export const columns: BasicColumn[] = [ // dataIndex: 'twoCompany' // }, // { - // title: '热源站', + // title: '锅炉房', // align: "center", // dataIndex: 'twoSource' // }, diff --git a/src/views/heating/extract/DataExtractConfigList.vue b/src/views/heating/extract/DataExtractConfigList.vue index 6db0ae8..7708a54 100644 --- a/src/views/heating/extract/DataExtractConfigList.vue +++ b/src/views/heating/extract/DataExtractConfigList.vue @@ -6,9 +6,9 @@ - 热力公司: + 供热公司: @@ -18,9 +18,9 @@ - 热源站: + 锅炉房: diff --git a/src/views/heating/extract/components/station/DataExtractStaionList.vue b/src/views/heating/extract/components/station/DataExtractStaionList.vue index 9b5b652..c3137d1 100644 --- a/src/views/heating/extract/components/station/DataExtractStaionList.vue +++ b/src/views/heating/extract/components/station/DataExtractStaionList.vue @@ -10,9 +10,9 @@ - + @@ -21,9 +21,9 @@ - + diff --git a/src/views/heating/extract/components/station/DataExtractStation.data.ts b/src/views/heating/extract/components/station/DataExtractStation.data.ts index 1f97565..14bb3b1 100644 --- a/src/views/heating/extract/components/station/DataExtractStation.data.ts +++ b/src/views/heating/extract/components/station/DataExtractStation.data.ts @@ -12,14 +12,14 @@ export const columns: BasicColumn[] = [ ellipsis: false }, { - title: '热力公司', + title: '供热公司', align: "center", dataIndex: 'view001Name', width:140, ellipsis: false }, { - title: '热源站', + title: '锅炉房', align: "center", dataIndex: 'view002Name', ellipsis: false diff --git a/src/views/heating/extract/components/station/extract/StationExtract.data.ts b/src/views/heating/extract/components/station/extract/StationExtract.data.ts index ed9a1f2..b75dd84 100644 --- a/src/views/heating/extract/components/station/extract/StationExtract.data.ts +++ b/src/views/heating/extract/components/station/extract/StationExtract.data.ts @@ -12,14 +12,14 @@ export const columns: BasicColumn[] = [ ellipsis: false }, { - title: '热力公司', + title: '供热公司', align: "center", dataIndex: 'view001Name', width:140, ellipsis: false }, { - title: '热源站', + title: '锅炉房', align: "center", dataIndex: 'view002Name', ellipsis: false diff --git a/src/views/heating/extract/components/station/extract/StationExtractListOne.vue b/src/views/heating/extract/components/station/extract/StationExtractListOne.vue index a23352a..0ba8540 100644 --- a/src/views/heating/extract/components/station/extract/StationExtractListOne.vue +++ b/src/views/heating/extract/components/station/extract/StationExtractListOne.vue @@ -4,13 +4,13 @@
- SIM: {{queryParam.sim}} + SIM: {{queryParam.sim}} - 热力公司: {{queryParam.view001Name}} + 供热公司: {{queryParam.view001Name}} - 热源站: {{queryParam.view002Name}} + 锅炉房: {{queryParam.view002Name}} 换热站: {{queryParam.view004Name}} diff --git a/src/views/heating/extract/components/station/extracted/StationExtracted.data.ts b/src/views/heating/extract/components/station/extracted/StationExtracted.data.ts index ed9a1f2..b75dd84 100644 --- a/src/views/heating/extract/components/station/extracted/StationExtracted.data.ts +++ b/src/views/heating/extract/components/station/extracted/StationExtracted.data.ts @@ -12,14 +12,14 @@ export const columns: BasicColumn[] = [ ellipsis: false }, { - title: '热力公司', + title: '供热公司', align: "center", dataIndex: 'view001Name', width:140, ellipsis: false }, { - title: '热源站', + title: '锅炉房', align: "center", dataIndex: 'view002Name', ellipsis: false diff --git a/src/views/heating/extract/components/station/extracted/StationExtractedListOne.vue b/src/views/heating/extract/components/station/extracted/StationExtractedListOne.vue index 3799628..7bfa4fc 100644 --- a/src/views/heating/extract/components/station/extracted/StationExtractedListOne.vue +++ b/src/views/heating/extract/components/station/extracted/StationExtractedListOne.vue @@ -4,13 +4,13 @@
- SIM: {{queryParam.sim}} + SIM: {{queryParam.sim}} - 热力公司: {{queryParam.view001Name}} + 供热公司: {{queryParam.view001Name}} - 热源站: {{queryParam.view002Name}} + 锅炉房: {{queryParam.view002Name}} 换热站: {{queryParam.view004Name}} diff --git a/src/views/heating/gwrljc/HeatanalysisListJx.vue b/src/views/heating/gwrljc/HeatanalysisListJx.vue index 6357c9e..49e4db5 100644 --- a/src/views/heating/gwrljc/HeatanalysisListJx.vue +++ b/src/views/heating/gwrljc/HeatanalysisListJx.vue @@ -5,8 +5,8 @@ - - + {{ item.companyName }} @@ -14,8 +14,8 @@ - - + {{ item.sourceName }} diff --git a/src/views/heating/heatanalysis/Heatanalysis.data.ts b/src/views/heating/heatanalysis/Heatanalysis.data.ts index 4c9bcf4..ef9c6bb 100644 --- a/src/views/heating/heatanalysis/Heatanalysis.data.ts +++ b/src/views/heating/heatanalysis/Heatanalysis.data.ts @@ -5,7 +5,7 @@ import { render } from '/@/utils/common/renderUtils'; //列表数据 export const columns: BasicColumn[] = [ { - title: '热力公司', + title: '供热公司', align: "center", dataIndex: 'view001Name', width:140, @@ -18,7 +18,7 @@ export const columns: BasicColumn[] = [ ellipsis: false }, { - title: '换热站', + title: '锅炉房', align: "center", dataIndex: 'view004Name', ellipsis: false @@ -92,7 +92,7 @@ export const columns: BasicColumn[] = [ //列表数据 export const columnsJx: BasicColumn[] = [ { - title: '热力公司', + title: '供热公司', align: "center", dataIndex: 'view001Name', width:100, @@ -196,7 +196,7 @@ export const searchFormSchema: FormSchema[] = [ //表单数据 export const formSchema: FormSchema[] = [ { - label: '热力公司', + label: '供热公司', field: 'view001Name', }, { @@ -204,7 +204,7 @@ export const formSchema: FormSchema[] = [ field: 'view002Name', }, { - label: '换热站', + label: '锅炉房', field: 'view004Name', }, { diff --git a/src/views/heating/heatanalysis/HeatanalysisList.vue b/src/views/heating/heatanalysis/HeatanalysisList.vue index b6d3477..7ac3dda 100644 --- a/src/views/heating/heatanalysis/HeatanalysisList.vue +++ b/src/views/heating/heatanalysis/HeatanalysisList.vue @@ -5,8 +5,8 @@ - - + {{ item.companyName }} diff --git a/src/views/heating/heatanalysis/HeatanalysisListJx.vue b/src/views/heating/heatanalysis/HeatanalysisListJx.vue index 052ae72..239a156 100644 --- a/src/views/heating/heatanalysis/HeatanalysisListJx.vue +++ b/src/views/heating/heatanalysis/HeatanalysisListJx.vue @@ -5,8 +5,8 @@ - - + {{ item.companyName }} diff --git a/src/views/heating/heatanalysis/components/HeatanalysisForm.vue b/src/views/heating/heatanalysis/components/HeatanalysisForm.vue index 04d718b..b3fdcd2 100644 --- a/src/views/heating/heatanalysis/components/HeatanalysisForm.vue +++ b/src/views/heating/heatanalysis/components/HeatanalysisForm.vue @@ -3,13 +3,13 @@ - - + + - - + + diff --git a/src/views/heating/heatanalysis/components/ZxtJX.vue b/src/views/heating/heatanalysis/components/ZxtJX.vue index 87ec833..cbc621b 100644 --- a/src/views/heating/heatanalysis/components/ZxtJX.vue +++ b/src/views/heating/heatanalysis/components/ZxtJX.vue @@ -23,7 +23,7 @@ import { ref, nextTick, defineProps, onUnmounted } from 'vue'; import * as echarts from 'echarts'; import { useMessage } from '/@/hooks/web/useMessage'; -import {jxpage, list} from '/@/views/heating/history/HeatanalysisHistory.api'; +import {jxlist, list} from '/@/views/heating/history/HeatanalysisHistory.api'; const props = defineProps({}); const { createMessage } = useMessage(); @@ -184,7 +184,7 @@ function init(record_: any) { endDate: formatDateTime(end), }; - jxpage(params).then((res: any) => { + jxlist(params).then((res: any) => { const records = (res && res.list) ? res.list : []; headerText.value = buildHeader(records, record_); initChartsOptions(records); diff --git a/src/views/heating/history/HeatanalysisHistory.api.ts b/src/views/heating/history/HeatanalysisHistory.api.ts index 6aaa825..29c0301 100644 --- a/src/views/heating/history/HeatanalysisHistory.api.ts +++ b/src/views/heating/history/HeatanalysisHistory.api.ts @@ -4,8 +4,10 @@ import { useMessage } from "/@/hooks/web/useMessage"; const { createConfirm } = useMessage(); enum Api { + page = '/heating/heatanalysishistory/page', + jxpage = '/heating/heatanalysishistory/jxpage', list = '/heating/heatanalysishistory/getHistoryList', - jxpage = '/heating/heatanalysishistory/getJxHistoryList', + jxlist = '/heating/heatanalysishistory/getJxHistoryList', companylist = '/heating/thermalcompany/list', heatsourcelist = '/heating/heatsource/list', heatsourcestationlist = '/heating/heatsourcestation/list', @@ -15,12 +17,18 @@ enum Api { * 列表接口 * @param params */ -export const list = (params) => - defHttp.get({url: Api.list, params}); +export const page = (params) => + defHttp.get({url: Api.page, params}); export const jxpage = (params) => defHttp.get({url: Api.jxpage, params}); +export const list = (params) => + defHttp.get({url: Api.list, params}); + +export const jxlist = (params) => + defHttp.get({url: Api.jxlist, params}); + export const companylist = (params) => defHttp.get({url: Api.companylist, params}); diff --git a/src/views/heating/history/HeatanalysisHistory.data.ts b/src/views/heating/history/HeatanalysisHistory.data.ts index 7830447..0d6dc1c 100644 --- a/src/views/heating/history/HeatanalysisHistory.data.ts +++ b/src/views/heating/history/HeatanalysisHistory.data.ts @@ -4,22 +4,22 @@ import { rules} from '/@/utils/helper/validator'; import { render } from '/@/utils/common/renderUtils'; //列表数据 export const columns: BasicColumn[] = [ + // { + // title: '电话号', + // align: "center", + // dataIndex: 'sim', + // width:140, + // ellipsis: false + // }, { - title: '电话号', - align: "center", - dataIndex: 'sim', - width:140, - ellipsis: false - }, - { - title: '热力公司', + title: '供热公司', align: "center", dataIndex: 'view001Name', width:140, ellipsis: false }, { - title: '热源站', + title: '锅炉房', align: "center", dataIndex: 'view002Name', ellipsis: false @@ -95,3 +95,110 @@ export const columns: BasicColumn[] = [ } ]}, ]; + +export const jxcolumns: BasicColumn[] = [ + // { + // title: '电话号', + // align: "center", + // dataIndex: 'sim', + // width:140, + // ellipsis: false + // }, + { + title: '供热公司', + align: "center", + dataIndex: 'view001Name', + width:140, + ellipsis: false + }, + { + title: '锅炉房', + align: "center", + dataIndex: 'view002Name', + ellipsis: false + }, + { + title: '数据时间', + align: "center", + dataIndex: 'view032', + ellipsis: false + }, + { + title: '供水温度', + align: "center", + width: 90, + dataIndex: 'view005', + }, + { + title: '回水温度', + align: "center", + width: 90, + dataIndex: 'view006' + }, + { + title: '供水压力', + align: "center", + width: 90, + dataIndex: 'view007' + }, + { + title: '回水压力', + align: "center", + width: 90, + dataIndex: 'view008' + }, + { + title: '瞬时热量', + align: "center", + width: 90, + dataIndex: 'view041' + }, + { + title: '正累积热量', + align: 'center', + width: 90, + dataIndex: 'view042', + }, + { + title: '负累积热量', + align: 'center', + width: 90, + dataIndex: 'view043', + }, + { + title: '净累积热量', + align: "center", + width: 90, + dataIndex: 'view044' + }, + { + title: '瞬时流量', + align: "center", + width: 90, + dataIndex: 'view037' + }, + { + title: '正累积流量', + align: 'center', + width: 90, + dataIndex: 'view038', + }, + { + title: '负累积流量', + align: 'center', + width: 90, + dataIndex: 'view039', + }, + { + title: '净累积流量', + align: "center", + width: 90, + dataIndex: 'view040' + }, + { + title: '流体速度', + align: 'center', + width: 90, + dataIndex: 'view045', + }, +]; diff --git a/src/views/heating/history/HeatanalysisHistoryList.vue b/src/views/heating/history/HeatanalysisHistoryList.vue index 2f2df13..520dca3 100644 --- a/src/views/heating/history/HeatanalysisHistoryList.vue +++ b/src/views/heating/history/HeatanalysisHistoryList.vue @@ -5,8 +5,8 @@ - - + {{ item.companyName }} @@ -14,8 +14,8 @@ - - + {{ item.sourceName }} @@ -70,7 +70,13 @@ import { ref, reactive, onMounted, watch, unref } from 'vue'; import { BasicTable, useTable, TableAction } from '/@/components/Table'; import { useListPage } from '/@/hooks/system/useListPage'; import { columns } from './HeatanalysisHistory.data'; -import { list, companylist, heatsourcelist, heatsourcestationlist } from './HeatanalysisHistory.api'; +import { + list, + companylist, + heatsourcelist, + heatsourcestationlist, + page +} from './HeatanalysisHistory.api'; const queryParam = ref({}); const toggleSearchStatus = ref(false); @@ -79,7 +85,7 @@ const registerModal = ref(); const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ tableProps: { title: '', - api: list, + api: page, columns, canResize: false, useSearchForm: false, diff --git a/src/views/heating/history/HeatanalysisHistoryListJx.vue b/src/views/heating/history/HeatanalysisHistoryListJx.vue index 1d48b3e..d1be0ac 100644 --- a/src/views/heating/history/HeatanalysisHistoryListJx.vue +++ b/src/views/heating/history/HeatanalysisHistoryListJx.vue @@ -5,8 +5,8 @@ - - + {{ item.companyName }} @@ -14,8 +14,8 @@ - - + {{ item.sourceName }} @@ -69,8 +69,13 @@ import { ref, reactive, onMounted, watch, unref } from 'vue'; import { BasicTable, useTable, TableAction } from '/@/components/Table'; import { useListPage } from '/@/hooks/system/useListPage'; -import { columns } from './HeatanalysisHistory.data'; -import { list, companylist, heatsourcelist, heatsourcestationlist } from './HeatanalysisHistory.api'; +import { jxcolumns } from './HeatanalysisHistory.data'; +import { + companylist, + heatsourcelist, + heatsourcestationlist, + jxpage +} from './HeatanalysisHistory.api'; const queryParam = ref({}); const toggleSearchStatus = ref(false); @@ -79,8 +84,8 @@ const registerModal = ref(); const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ tableProps: { title: '', - api: list, - columns, + api: jxpage, + columns: jxcolumns, canResize: false, useSearchForm: false, clickToRowSelect: false, diff --git a/src/views/heating/mapmanagement/Markinfo.api.ts b/src/views/heating/mapmanagement/Markinfo.api.ts index 5c669ed..c4dbbe3 100644 --- a/src/views/heating/mapmanagement/Markinfo.api.ts +++ b/src/views/heating/mapmanagement/Markinfo.api.ts @@ -31,7 +31,7 @@ export const list = (params) => defHttp.get({ url: Api.list, params }); export const getMarkinfo = (params) => defHttp.get({ url: Api.getMarkinfo, params }); /** - * 热源信息 + * 锅炉房信息 * @param params */ export const getPointInfo = (params) => defHttp.get({ url: Api.getPointInfo, params }); diff --git a/src/views/heating/mapmanagement/components/AddSourceForm.vue b/src/views/heating/mapmanagement/components/AddSourceForm.vue index bc68739..d261d50 100644 --- a/src/views/heating/mapmanagement/components/AddSourceForm.vue +++ b/src/views/heating/mapmanagement/components/AddSourceForm.vue @@ -5,9 +5,9 @@ - + (false); //表单验证 const validatorRules = reactive({ - name: [{ required: true, message: '请选择热源站!'},], + name: [{ required: true, message: '请选择锅炉房!'},], }); //注册表单 const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: false }); diff --git a/src/views/heating/mapmanagement/components/AddStationForm.vue b/src/views/heating/mapmanagement/components/AddStationForm.vue index 54bfa05..edb60e6 100644 --- a/src/views/heating/mapmanagement/components/AddStationForm.vue +++ b/src/views/heating/mapmanagement/components/AddStationForm.vue @@ -5,7 +5,7 @@ - + - - + {{ item.companyName }} @@ -14,8 +14,8 @@ - - + {{ item.sourceName }} diff --git a/src/views/heating/report/HeatanalysisListJx.vue b/src/views/heating/report/HeatanalysisListJx.vue index 5ec4d57..5dfce5e 100644 --- a/src/views/heating/report/HeatanalysisListJx.vue +++ b/src/views/heating/report/HeatanalysisListJx.vue @@ -5,8 +5,8 @@ - - + {{ item.companyName }} @@ -14,8 +14,8 @@ - - + {{ item.sourceName }} diff --git a/src/views/heating/report/components/extract/StationExtract.data.ts b/src/views/heating/report/components/extract/StationExtract.data.ts index ed9a1f2..b75dd84 100644 --- a/src/views/heating/report/components/extract/StationExtract.data.ts +++ b/src/views/heating/report/components/extract/StationExtract.data.ts @@ -12,14 +12,14 @@ export const columns: BasicColumn[] = [ ellipsis: false }, { - title: '热力公司', + title: '供热公司', align: "center", dataIndex: 'view001Name', width:140, ellipsis: false }, { - title: '热源站', + title: '锅炉房', align: "center", dataIndex: 'view002Name', ellipsis: false diff --git a/src/views/heating/report/components/extract/StationExtractListOne.vue b/src/views/heating/report/components/extract/StationExtractListOne.vue index a23352a..0ba8540 100644 --- a/src/views/heating/report/components/extract/StationExtractListOne.vue +++ b/src/views/heating/report/components/extract/StationExtractListOne.vue @@ -4,13 +4,13 @@
- SIM: {{queryParam.sim}} + SIM: {{queryParam.sim}} - 热力公司: {{queryParam.view001Name}} + 供热公司: {{queryParam.view001Name}} - 热源站: {{queryParam.view002Name}} + 锅炉房: {{queryParam.view002Name}} 换热站: {{queryParam.view004Name}} diff --git a/src/views/heating/report/components/extracted/StationExtracted.data.ts b/src/views/heating/report/components/extracted/StationExtracted.data.ts index ed9a1f2..b75dd84 100644 --- a/src/views/heating/report/components/extracted/StationExtracted.data.ts +++ b/src/views/heating/report/components/extracted/StationExtracted.data.ts @@ -12,14 +12,14 @@ export const columns: BasicColumn[] = [ ellipsis: false }, { - title: '热力公司', + title: '供热公司', align: "center", dataIndex: 'view001Name', width:140, ellipsis: false }, { - title: '热源站', + title: '锅炉房', align: "center", dataIndex: 'view002Name', ellipsis: false diff --git a/src/views/heating/report/components/extracted/StationExtractedListOne.vue b/src/views/heating/report/components/extracted/StationExtractedListOne.vue index 3799628..7bfa4fc 100644 --- a/src/views/heating/report/components/extracted/StationExtractedListOne.vue +++ b/src/views/heating/report/components/extracted/StationExtractedListOne.vue @@ -4,13 +4,13 @@
- SIM: {{queryParam.sim}} + SIM: {{queryParam.sim}} - 热力公司: {{queryParam.view001Name}} + 供热公司: {{queryParam.view001Name}} - 热源站: {{queryParam.view002Name}} + 锅炉房: {{queryParam.view002Name}} 换热站: {{queryParam.view004Name}} diff --git a/src/views/heating1/Heatanalysis.data.ts b/src/views/heating1/Heatanalysis.data.ts index 545f4a6..bba7667 100644 --- a/src/views/heating1/Heatanalysis.data.ts +++ b/src/views/heating1/Heatanalysis.data.ts @@ -6,7 +6,7 @@ import { getWeekMonthQuarterYear } from '/@/utils'; //列表数据 export const columns: BasicColumn[] = [ { - title: '热源/换热站', + title: '锅炉房/换热站', align:"center", dataIndex: 'view002Name', customRender:({record}) =>{ @@ -72,14 +72,14 @@ export const columns: BasicColumn[] = [ //查询数据 export const searchFormSchema: FormSchema[] = [ { - label: "热力公司", + label: "供热公司", field: 'view001', component: 'InputNumber', colProps: {span: 4}, slot:'company', }, { - label: "热源站", + label: "锅炉房", field: 'view002', component: 'InputNumber', colProps: {span: 4}, @@ -104,7 +104,7 @@ export const searchFormSchema: FormSchema[] = [ //表单数据 export const formSchema: FormSchema[] = [ { - label: '热源站', + label: '锅炉房', field: 'view002', component: 'InputNumber', }, diff --git a/src/views/home/home.vue b/src/views/home/home.vue index d7e3d6c..796714c 100644 --- a/src/views/home/home.vue +++ b/src/views/home/home.vue @@ -48,8 +48,8 @@ - - + + @@ -93,8 +93,8 @@
热力公司热源供热公司锅炉房 数据时间 供水温度 回水温度
- - + + diff --git a/src/views/screen/components/ZxtCQ.vue b/src/views/screen/components/ZxtCQ.vue index 83100fb..4285023 100644 --- a/src/views/screen/components/ZxtCQ.vue +++ b/src/views/screen/components/ZxtCQ.vue @@ -22,7 +22,7 @@ import { ref, nextTick, defineProps, onUnmounted } from 'vue'; import * as echarts from 'echarts'; import { useMessage } from '/@/hooks/web/useMessage'; -import {jxpage, list} from '/@/views/heating/history/HeatanalysisHistory.api'; +import {jxlist, list} from '/@/views/heating/history/HeatanalysisHistory.api'; const emit = defineEmits(['close']); @@ -194,7 +194,7 @@ function init(record_: any) { } if(record_.regionType == '郊县'){ - jxpage(params).then((res: any) => { + jxlist(params).then((res: any) => { const records = (res && res.list) ? res.list : []; headerText.value = buildHeader(records, record_); initChartsOptions(records,record_);
热力公司热源供热公司锅炉房 换热站 数据时间 供水温度