From 79d70be37ce3515cb28f4c8eea37aaf1a74df315 Mon Sep 17 00:00:00 2001 From: "daikun1@bosssoft.com.cn" Date: Wed, 13 Dec 2023 16:32:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 4 +- .env.production | 13 +- .env.test | 4 +- src/api/pszc/pselectricdata/index.ts | 4 + src/api/tjanalysis/index.ts | 6 + src/views/Home/Index.vue | 17 +-- src/views/Login/components/LoginForm.vue | 6 +- src/views/lab/platscale/index.vue | 2 +- src/views/lab/platscale/platscale.data.ts | 136 +++++++++--------- src/views/report/goview/index.vue | 1 + src/views/tjanalysis/electricdata/index.vue | 64 ++++----- src/views/tjanalysis/irealdata/index.vue | 3 +- .../tjanalysis/natgasdatatotal/index.vue | 120 ++++++++++++++++ src/views/tjanalysis/platscale/index.vue | 2 +- 14 files changed, 253 insertions(+), 129 deletions(-) create mode 100644 src/views/tjanalysis/natgasdatatotal/index.vue diff --git a/.env b/.env index 2308eb6..b175ee6 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # 标题 -VITE_APP_TITLE=闻荫管理系统 +VITE_APP_TITLE=铸诚钢管 # 项目本地运行端口号 VITE_PORT=80 @@ -8,7 +8,7 @@ VITE_PORT=80 VITE_OPEN=true # 租户开关 -VITE_APP_TENANT_ENABLE=true +VITE_APP_TENANT_ENABLE=false # 验证码的开关 VITE_APP_CAPTCHA_ENABLE=true diff --git a/.env.production b/.env.production index 8e25d23..6b18463 100644 --- a/.env.production +++ b/.env.production @@ -4,16 +4,19 @@ NODE_ENV=production VITE_DEV=false # 请求路径 -VITE_BASE_URL='http://localhost:12080' +# VITE_BASE_URL='http://dev.ccwin-in.com:26110' +VITE_BASE_URL='http://10.140.10.4:26110' # 上传路径 -VITE_UPLOAD_URL='http://localhost:12080/admin-api/infra/file/upload' +# VITE_UPLOAD_URL='http://dev.ccwin-in.com:26110/api/admin-api/infra/file/upload' +VITE_UPLOAD_URL='http://10.140.10.4:26110/api/admin-api/infra/file/upload' # 接口前缀 VITE_API_BASEPATH= # 接口地址 -VITE_API_URL=/admin-api +# VITE_API_URL=/api/admin-api +VITE_API_URL=/api # 是否删除debugger VITE_DROP_DEBUGGER=true @@ -31,4 +34,6 @@ VITE_BASE_PATH=/ VITE_OUT_DIR=dist-pro # 积木报表请求路径 -VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:25110' +# VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:26110' +VITE_JMREPORT_BASE_URL='http://10.140.10.4:26110' + diff --git a/.env.test b/.env.test index 84edcdf..6f4058b 100644 --- a/.env.test +++ b/.env.test @@ -31,7 +31,7 @@ VITE_BASE_PATH=/ VITE_OUT_DIR=dist-test # 自定义接口路径 -VITE_INTERFACE_URL='http://dev.ccwin-in.com:25110/magic/web/index.html' +# VITE_INTERFACE_URL='http://dev.ccwin-in.com:25110/magic/web/index.html' # 积木报表请求路径 -VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:25110' +# VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:25110' diff --git a/src/api/pszc/pselectricdata/index.ts b/src/api/pszc/pselectricdata/index.ts index 0130d28..d950af7 100644 --- a/src/api/pszc/pselectricdata/index.ts +++ b/src/api/pszc/pselectricdata/index.ts @@ -48,4 +48,8 @@ export const exportPsElectricdata = async (params) => { // 下载导入模板 export const importTemplate = () => { return request.download({ url: '/pszc/pselectricdata/get-import-template' }) +} + +export const getAllDbTypes = async () => { + return await request.get({ url: `/pszc/pselectricdata/getAllDbTypes`}) } \ No newline at end of file diff --git a/src/api/tjanalysis/index.ts b/src/api/tjanalysis/index.ts index 9a42851..f37559b 100644 --- a/src/api/tjanalysis/index.ts +++ b/src/api/tjanalysis/index.ts @@ -19,3 +19,9 @@ export const queryTjPlatScales = async (params) => { export const exportPsales = async (params) => { return await request.download({ url: `/tjanalysis/exportPsales`, params}) } + +// 天然气总流量日统计 +export const queryNatgasdatatotal = async (params) => { + return await request.get({ url: `/tjanalysis/queryNatgasdatatotal`, params }) +} + diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index 2743af1..114e8d5 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -1,16 +1,13 @@