From fe683cf22bb9f7a8ec679c94eeefe0e995ca433b Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Thu, 4 Jan 2024 10:35:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=83=AD=E8=BD=A7=E5=A4=A9=E7=84=B6=E6=B0=94?= =?UTF-8?q?=E6=97=A5=E7=BB=9F=E8=AE=A1=E3=80=81=E5=86=B7=E6=8B=94=E5=A4=A9?= =?UTF-8?q?=E7=84=B6=E6=B0=94=E6=97=A5=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/pszc/pszccommon/index.ts | 7 +++++ src/api/tjanalysis/index.ts | 5 ++++ .../tjanalysis/hrelongatordata/index.vue | 4 +-- src/views/tjanalysis/natgasdatacd/index.vue | 28 ++++++++++--------- src/views/tjanalysis/natgasdatahr/index.vue | 27 ++++++++++-------- 5 files changed, 45 insertions(+), 26 deletions(-) diff --git a/src/api/pszc/pszccommon/index.ts b/src/api/pszc/pszccommon/index.ts index 46b7d00..b51e1a3 100644 --- a/src/api/pszc/pszccommon/index.ts +++ b/src/api/pszc/pszccommon/index.ts @@ -19,4 +19,11 @@ export const selectHr108Pros = async (params) => { export const selectHrTrqPros = async (params) => { return await request.get({ url: `/pszccommon/selectHrTrqPros`, params }) +} + +//根据数据点动态获取仪表下拉数据(pszc_hr_natgasdata 热轧-天然气总量 pszc_cd_natgasdata 冷拔-天然气总量) +// flag 1 热轧-天然气总量 ;2 冷拔-天然气总量 +// icode 数据点一般固定 +export const selectMcodeListByIcode = async (params) => { + return await request.get({ url: `/pszccommon/selectMcodeListByIcode`, params }) } \ No newline at end of file diff --git a/src/api/tjanalysis/index.ts b/src/api/tjanalysis/index.ts index 8ce5e33..e4414aa 100644 --- a/src/api/tjanalysis/index.ts +++ b/src/api/tjanalysis/index.ts @@ -35,6 +35,11 @@ export const exportElectricdataAllTj = async (params) => { return await request.download({ url: `/tjanalysis/exportElectricdataAllTj`, params}) } +// 冷拔天然气数据日统计报表 +export const queryNatgasDatacdDay = async (params) => { + return await request.get({ url: `/tjanalysis/queryNatgasDatacdDay`, params}) +} + // 热轧天然气数据日统计报表 export const queryNatgasdataDay = async (params) => { return await request.get({ url: `/tjanalysis/queryNatgasdataDay`, params}) diff --git a/src/views/tjanalysis/hrelongatordata/index.vue b/src/views/tjanalysis/hrelongatordata/index.vue index 1f87643..f885975 100644 --- a/src/views/tjanalysis/hrelongatordata/index.vue +++ b/src/views/tjanalysis/hrelongatordata/index.vue @@ -1,6 +1,6 @@