From 6bac6dc89d003510a5a762640bf505a0941bb091 Mon Sep 17 00:00:00 2001 From: liaodeyun Date: Thu, 11 Sep 2025 17:58:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=9F=E4=BA=A7=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=A2=9E=E5=8A=A0=E9=A1=B6?= =?UTF-8?q?=E9=83=A8=E6=A0=87=E7=AD=BE=EF=BC=8C=E6=96=B0=E5=BB=BA=E5=88=86?= =?UTF-8?q?=E5=8C=85pages-production=EF=BC=8C=E5=B0=86=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=A7=BB=E5=8A=A8=E8=87=B3=E5=88=86=E5=8C=85?= =?UTF-8?q?=E4=B8=8B=E9=9D=A2=E3=80=82=20=E4=B8=8B=E4=B8=80=E6=AD=A5?= =?UTF-8?q?=E5=88=B6=E4=BD=9C=E6=9B=B2=E7=BA=BF=E9=A1=B5=E9=9D=A2=EF=BC=8C?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E9=A1=B5=E9=9D=A2=EF=BC=8C=E7=BB=A7=E7=BB=AD?= =?UTF-8?q?=E5=81=9A=E5=A5=BD=E8=AE=BE=E5=A4=87=EF=BC=8C=E5=AE=89=E9=98=B2?= =?UTF-8?q?=E7=AD=89=E9=A1=B5=E9=9D=A2=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.config.ts | 322 ++++----- src/api/production/index.ts | 8 + src/manifest.json | 4 +- src/pages-production/ribaoshuju/rbsjLsxq.vue | 274 ++++++++ src/pages-production/ribaoshuju/trqRbsj.vue | 633 ++++++++++++++++++ src/pages-production/ribaoshuju/yyRbsj.vue | 317 +++++++++ src/pages-production/shishishuju/aqbjSssj.vue | 8 + .../shishishuju/chart/lssjChart.vue | 507 ++++++++++++++ .../shishishuju/chart/sssjChart.vue | 231 +++++++ src/pages-production/shishishuju/gycsSssj.vue | 8 + src/pages-production/shishishuju/index.vue | 7 + src/pages-production/shishishuju/nyxhSssj.vue | 8 + src/pages-production/shishishuju/trqSssj.vue | 360 ++++++++++ src/pages-production/shishishuju/ysjSssj.vue | 8 + src/pages/production/index.vue | 171 ++--- .../cxc-szcx-multiLineChart/changelog.md | 0 .../cxc-szcx-multiLineChart.vue | 373 +++++++++++ .../cxc-szcx-multiLineChart/package.json | 97 +++ .../cxc-szcx-multiLineChart/readme.md | 34 + 19 files changed, 3091 insertions(+), 279 deletions(-) create mode 100644 src/pages-production/ribaoshuju/rbsjLsxq.vue create mode 100644 src/pages-production/ribaoshuju/trqRbsj.vue create mode 100644 src/pages-production/ribaoshuju/yyRbsj.vue create mode 100644 src/pages-production/shishishuju/aqbjSssj.vue create mode 100644 src/pages-production/shishishuju/chart/lssjChart.vue create mode 100644 src/pages-production/shishishuju/chart/sssjChart.vue create mode 100644 src/pages-production/shishishuju/gycsSssj.vue create mode 100644 src/pages-production/shishishuju/index.vue create mode 100644 src/pages-production/shishishuju/nyxhSssj.vue create mode 100644 src/pages-production/shishishuju/trqSssj.vue create mode 100644 src/pages-production/shishishuju/ysjSssj.vue create mode 100644 src/uni_modules/cxc-szcx-multiLineChart/changelog.md create mode 100644 src/uni_modules/cxc-szcx-multiLineChart/components/cxc-szcx-multiLineChart/cxc-szcx-multiLineChart.vue create mode 100644 src/uni_modules/cxc-szcx-multiLineChart/package.json create mode 100644 src/uni_modules/cxc-szcx-multiLineChart/readme.md diff --git a/manifest.config.ts b/manifest.config.ts index 4af61d1..17aa39a 100644 --- a/manifest.config.ts +++ b/manifest.config.ts @@ -6,169 +6,169 @@ import { loadEnv } from 'vite' // 获取环境变量的范例 const env = loadEnv(process.env.NODE_ENV!, path.resolve(process.cwd(), 'env')) const { - VITE_APP_TITLE, - VITE_UNI_APPID, - VITE_WX_APPID, - VITE_APP_PUBLIC_BASE, - VITE_FALLBACK_LOCALE, + VITE_APP_TITLE, + VITE_UNI_APPID, + VITE_WX_APPID, + VITE_APP_PUBLIC_BASE, + VITE_FALLBACK_LOCALE, } = env export default defineManifestConfig({ - name: VITE_APP_TITLE, - appid: VITE_UNI_APPID, - description: '', - versionName: '2.2.0', - versionCode: '20250903', - transformPx: false, - locale: VITE_FALLBACK_LOCALE, // 'zh-Hans' - /* 5+App特有相关 */ - 'app-plus': { - usingComponents: true, - nvueStyleCompiler: 'uni-app', - compilerVersion: 3, - android: { - webView: { - domStorageEnabled: true, - databaseEnabled: true, - allowFileAccess: true - } + name: VITE_APP_TITLE, + appid: VITE_UNI_APPID, + description: '', + versionName: '2.3.0', + versionCode: '202509011', + transformPx: false, + locale: VITE_FALLBACK_LOCALE, // 'zh-Hans' + /* 5+App特有相关 */ + 'app-plus': { + usingComponents: true, + nvueStyleCompiler: 'uni-app', + compilerVersion: 3, + android: { + webView: { + domStorageEnabled: true, + databaseEnabled: true, + allowFileAccess: true + } + }, + compatible: { + ignoreVersion: true, + }, + webview: { + debug: true, + crossDomain: true // 允许跨域通信 + }, + splashscreen: { + alwaysShowBeforeRender: true, + waiting: true, + autoclose: true, + delay: 0, + }, + /* 模块配置 */ + modules: { + Maps: {}, + Messaging: {}, + Camera: {}, + }, + /* 应用发布信息 */ + distribute: { + /* android打包配置 */ + android: { + minSdkVersion: 26, + targetSdkVersion: 30, + abiFilters: ['armeabi-v7a', 'arm64-v8a'], + permissions: [ + '', + '', + '', + '', + '', + '', + '', + '', + '', + '', + '', + '', + '', + '', + '', + ], + // app外连接访问 by 闵 + schemes: "szcxapp" + }, + /* ios打包配置 */ + ios: {}, + /* SDK配置 */ + sdkConfigs: { + maps: { + amap: { + name: 'amap_15931993294Bqxlq8EgG', + appkey_ios: 'c913e46ffdf548ebc56ac1cf4d883e7e', + appkey_android: 'c913e46ffdf548ebc56ac1cf4d883e7e', + }, + }, + }, + /* 图标配置 */ + icons: { + android: { + hdpi: 'src/static/app/icons/72x72.png', + xhdpi: 'src/static/app/icons/96x96.png', + xxhdpi: 'src/static/app/icons/144x144.png', + xxxhdpi: 'src/static/app/icons/192x192.png', + }, + ios: { + appstore: 'src/static/app/icons/1024x1024.png', + ipad: { + app: 'src/static/app/icons/76x76.png', + 'app@2x': 'src/static/app/icons/152x152.png', + notification: 'src/static/app/icons/20x20.png', + 'notification@2x': 'src/static/app/icons/40x40.png', + 'proapp@2x': 'src/static/app/icons/167x167.png', + settings: 'src/static/app/icons/29x29.png', + 'settings@2x': 'src/static/app/icons/58x58.png', + spotlight: 'src/static/app/icons/40x40.png', + 'spotlight@2x': 'src/static/app/icons/80x80.png', + }, + iphone: { + 'app@2x': 'src/static/app/icons/120x120.png', + 'app@3x': 'src/static/app/icons/180x180.png', + 'notification@2x': 'src/static/app/icons/40x40.png', + 'notification@3x': 'src/static/app/icons/60x60.png', + 'settings@2x': 'src/static/app/icons/58x58.png', + 'settings@3x': 'src/static/app/icons/87x87.png', + 'spotlight@2x': 'src/static/app/icons/80x80.png', + 'spotlight@3x': 'src/static/app/icons/120x120.png', + }, + }, + }, + }, }, - compatible: { - ignoreVersion: true, - }, - webview: { - debug: true, - crossDomain: true // 允许跨域通信 + /* 快应用特有相关 */ + quickapp: {}, + /* 小程序特有相关 */ + 'mp-weixin': { + appid: VITE_WX_APPID, + setting: { + urlCheck: false, + minified: true + }, + usingComponents: true, + // __usePrivacyCheck__: true, }, - splashscreen: { - alwaysShowBeforeRender: true, - waiting: true, - autoclose: true, - delay: 0, - }, - /* 模块配置 */ - modules: { - Maps: {}, - Messaging: {}, - Camera: {}, - }, - /* 应用发布信息 */ - distribute: { - /* android打包配置 */ - android: { - minSdkVersion: 26, - targetSdkVersion: 30, - abiFilters: ['armeabi-v7a', 'arm64-v8a'], - permissions: [ - '', - '', - '', - '', - '', - '', - '', - '', - '', - '', - '', - '', - '', - '', - '', - ], - // app外连接访问 by 闵 - schemes : "szcxapp" - }, - /* ios打包配置 */ - ios: {}, - /* SDK配置 */ - sdkConfigs: { - maps: { - amap: { - name: 'amap_15931993294Bqxlq8EgG', - appkey_ios: 'c913e46ffdf548ebc56ac1cf4d883e7e', - appkey_android: 'c913e46ffdf548ebc56ac1cf4d883e7e', - }, - }, - }, - /* 图标配置 */ - icons: { - android: { - hdpi: 'src/static/app/icons/72x72.png', - xhdpi: 'src/static/app/icons/96x96.png', - xxhdpi: 'src/static/app/icons/144x144.png', - xxxhdpi: 'src/static/app/icons/192x192.png', - }, - ios: { - appstore: 'src/static/app/icons/1024x1024.png', - ipad: { - app: 'src/static/app/icons/76x76.png', - 'app@2x': 'src/static/app/icons/152x152.png', - notification: 'src/static/app/icons/20x20.png', - 'notification@2x': 'src/static/app/icons/40x40.png', - 'proapp@2x': 'src/static/app/icons/167x167.png', - settings: 'src/static/app/icons/29x29.png', - 'settings@2x': 'src/static/app/icons/58x58.png', - spotlight: 'src/static/app/icons/40x40.png', - 'spotlight@2x': 'src/static/app/icons/80x80.png', - }, - iphone: { - 'app@2x': 'src/static/app/icons/120x120.png', - 'app@3x': 'src/static/app/icons/180x180.png', - 'notification@2x': 'src/static/app/icons/40x40.png', - 'notification@3x': 'src/static/app/icons/60x60.png', - 'settings@2x': 'src/static/app/icons/58x58.png', - 'settings@3x': 'src/static/app/icons/87x87.png', - 'spotlight@2x': 'src/static/app/icons/80x80.png', - 'spotlight@3x': 'src/static/app/icons/120x120.png', - }, - }, - }, - }, - }, - /* 快应用特有相关 */ - quickapp: {}, - /* 小程序特有相关 */ - 'mp-weixin': { - appid: VITE_WX_APPID, - setting: { - urlCheck: false, - minified: true - }, - usingComponents: true, - // __usePrivacyCheck__: true, - }, - 'mp-alipay': { - usingComponents: true, - styleIsolation: 'shared', - }, - 'mp-baidu': { - usingComponents: true, - }, - 'mp-toutiao': { - usingComponents: true, - }, - h5: { - router: { - base: VITE_APP_PUBLIC_BASE, - }, - sdkConfigs: { - maps: { - amap: { - key: '21f194a0d33197f874f7bbdd198419be', - securityJsCode: 'a46b425f31a4de445b2966d998fba851', - serviceHost: '', - }, - }, - }, - }, - 'app-harmony': { - distribute: { - bundleName: 'uniapp.demo.test', - }, - }, - uniStatistics: { - enable: false, - }, - vueVersion: '3', -}) + 'mp-alipay': { + usingComponents: true, + styleIsolation: 'shared', + }, + 'mp-baidu': { + usingComponents: true, + }, + 'mp-toutiao': { + usingComponents: true, + }, + h5: { + router: { + base: VITE_APP_PUBLIC_BASE, + }, + sdkConfigs: { + maps: { + amap: { + key: '21f194a0d33197f874f7bbdd198419be', + securityJsCode: 'a46b425f31a4de445b2966d998fba851', + serviceHost: '', + }, + }, + }, + }, + 'app-harmony': { + distribute: { + bundleName: 'uniapp.demo.test', + }, + }, + uniStatistics: { + enable: false, + }, + vueVersion: '3', +}) \ No newline at end of file diff --git a/src/api/production/index.ts b/src/api/production/index.ts index d35c63c..6eb4093 100644 --- a/src/api/production/index.ts +++ b/src/api/production/index.ts @@ -48,4 +48,12 @@ export function queryJldDataByZc(params : object) { // 获取站场计量点实 method: 'GET', data: params }) +} + +export function queryJldDataByJldID(params : object) { // 获取计量点五分钟实时采集的历史数据 + return http({ + url: 'http://10.75.166.6:9999/Gyk/jldls/cxcSssjLssjJldls/getLssjByJldId', + method: 'GET', + data: params + }) } \ No newline at end of file diff --git a/src/manifest.json b/src/manifest.json index c83b07e..b9286e3 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,8 +2,8 @@ "name": "数智产销", "appid": "__UNI__9F097F0", "description": "", - "versionName": "2.2.0", - "versionCode": "20250903", + "versionName": "2.3.0", + "versionCode": "202509011", "transformPx": false, "app-plus": { "usingComponents": true, diff --git a/src/pages-production/ribaoshuju/rbsjLsxq.vue b/src/pages-production/ribaoshuju/rbsjLsxq.vue new file mode 100644 index 0000000..8520956 --- /dev/null +++ b/src/pages-production/ribaoshuju/rbsjLsxq.vue @@ -0,0 +1,274 @@ + + { + layout: 'default', + style: { + navigationStyle: 'custom', + navigationBarTitleText: '历史数据', + }, + } + + + + + + \ No newline at end of file diff --git a/src/pages-production/ribaoshuju/trqRbsj.vue b/src/pages-production/ribaoshuju/trqRbsj.vue new file mode 100644 index 0000000..9861942 --- /dev/null +++ b/src/pages-production/ribaoshuju/trqRbsj.vue @@ -0,0 +1,633 @@ + + + + + \ No newline at end of file diff --git a/src/pages-production/ribaoshuju/yyRbsj.vue b/src/pages-production/ribaoshuju/yyRbsj.vue new file mode 100644 index 0000000..94ed949 --- /dev/null +++ b/src/pages-production/ribaoshuju/yyRbsj.vue @@ -0,0 +1,317 @@ + + + + + \ No newline at end of file diff --git a/src/pages-production/shishishuju/aqbjSssj.vue b/src/pages-production/shishishuju/aqbjSssj.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/src/pages-production/shishishuju/aqbjSssj.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/pages-production/shishishuju/chart/lssjChart.vue b/src/pages-production/shishishuju/chart/lssjChart.vue new file mode 100644 index 0000000..3b58067 --- /dev/null +++ b/src/pages-production/shishishuju/chart/lssjChart.vue @@ -0,0 +1,507 @@ + + { + layout: 'default', + style: { + navigationStyle: 'custom', + navigationBarTitleText: '历史数据图表', + }, + } + + + + + + + \ No newline at end of file diff --git a/src/pages-production/shishishuju/chart/sssjChart.vue b/src/pages-production/shishishuju/chart/sssjChart.vue new file mode 100644 index 0000000..46e9fcd --- /dev/null +++ b/src/pages-production/shishishuju/chart/sssjChart.vue @@ -0,0 +1,231 @@ + + { + layout: 'default', + style: { + navigationStyle: 'custom', + navigationBarTitleText: '历史数据图表', + }, + } + + + + + + + \ No newline at end of file diff --git a/src/pages-production/shishishuju/gycsSssj.vue b/src/pages-production/shishishuju/gycsSssj.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/src/pages-production/shishishuju/gycsSssj.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/pages-production/shishishuju/index.vue b/src/pages-production/shishishuju/index.vue new file mode 100644 index 0000000..467da78 --- /dev/null +++ b/src/pages-production/shishishuju/index.vue @@ -0,0 +1,7 @@ + + + \ No newline at end of file diff --git a/src/pages-production/shishishuju/nyxhSssj.vue b/src/pages-production/shishishuju/nyxhSssj.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/src/pages-production/shishishuju/nyxhSssj.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/pages-production/shishishuju/trqSssj.vue b/src/pages-production/shishishuju/trqSssj.vue new file mode 100644 index 0000000..534f863 --- /dev/null +++ b/src/pages-production/shishishuju/trqSssj.vue @@ -0,0 +1,360 @@ + + { + layout: 'default', + style: { + navigationStyle: 'custom', + navigationBarTitleText: '生产数据', + }, + } + + + + + \ No newline at end of file diff --git a/src/pages-production/shishishuju/ysjSssj.vue b/src/pages-production/shishishuju/ysjSssj.vue new file mode 100644 index 0000000..02409e3 --- /dev/null +++ b/src/pages-production/shishishuju/ysjSssj.vue @@ -0,0 +1,8 @@ + + + + + \ No newline at end of file diff --git a/src/pages/production/index.vue b/src/pages/production/index.vue index 0181ff7..503b8f4 100644 --- a/src/pages/production/index.vue +++ b/src/pages/production/index.vue @@ -9,51 +9,35 @@ \ No newline at end of file diff --git a/src/uni_modules/cxc-szcx-multiLineChart/changelog.md b/src/uni_modules/cxc-szcx-multiLineChart/changelog.md new file mode 100644 index 0000000..e69de29 diff --git a/src/uni_modules/cxc-szcx-multiLineChart/components/cxc-szcx-multiLineChart/cxc-szcx-multiLineChart.vue b/src/uni_modules/cxc-szcx-multiLineChart/components/cxc-szcx-multiLineChart/cxc-szcx-multiLineChart.vue new file mode 100644 index 0000000..67244a0 --- /dev/null +++ b/src/uni_modules/cxc-szcx-multiLineChart/components/cxc-szcx-multiLineChart/cxc-szcx-multiLineChart.vue @@ -0,0 +1,373 @@ + + { + layout: 'default', + style: { + navigationStyle: 'custom', + navigationBarTitleText: '历史数据图表', + }, + } + + + + + + \ No newline at end of file diff --git a/src/uni_modules/cxc-szcx-multiLineChart/package.json b/src/uni_modules/cxc-szcx-multiLineChart/package.json new file mode 100644 index 0000000..62b3818 --- /dev/null +++ b/src/uni_modules/cxc-szcx-multiLineChart/package.json @@ -0,0 +1,97 @@ +{ + "id": "cxc-szcx-multiLineChart", + "displayName": "cxc-szcx-multiLineChart", + "version": "1.0.0", + "description": "cxc-szcx-multiLineChart", + "keywords": [ + "cxc-szcx-multiLineChart" + ], + "repository": "", + "engines": { + "HBuilderX": "^3.1.0", + "uni-app": "^3.1.0", + "uni-app-x": "^3.1.0" + }, + "dcloudext": { + "type": "component-vue", + "sale": { + "regular": { + "price": "0.00" + }, + "sourcecode": { + "price": "0.00" + } + }, + "contact": { + "qq": "" + }, + "declaration": { + "ads": "", + "data": "", + "permissions": "" + }, + "npmurl": "", + "darkmode": "-", + "i18n": "-", + "widescreen": "-" + }, + "uni_modules": { + "dependencies": [], + "encrypt": [], + "platforms": { + "cloud": { + "tcb": "-", + "aliyun": "-", + "alipay": "-" + }, + "client": { + "uni-app": { + "vue": { + "vue2": "-", + "vue3": "-" + }, + "web": { + "safari": "-", + "chrome": "-" + }, + "app": { + "vue": "-", + "nvue": "-", + "android": "-", + "ios": "-", + "harmony": "-" + }, + "mp": { + "weixin": "-", + "alipay": "-", + "toutiao": "-", + "baidu": "-", + "kuaishou": "-", + "jd": "-", + "harmony": "-", + "qq": "-", + "lark": "-" + }, + "quickapp": { + "huawei": "-", + "union": "-" + } + }, + "uni-app-x": { + "web": { + "safari": "-", + "chrome": "-" + }, + "app": { + "android": "-", + "ios": "-", + "harmony": "-" + }, + "mp": { + "weixin": "-" + } + } + } + } + } +} \ No newline at end of file diff --git a/src/uni_modules/cxc-szcx-multiLineChart/readme.md b/src/uni_modules/cxc-szcx-multiLineChart/readme.md new file mode 100644 index 0000000..c9dc1ab --- /dev/null +++ b/src/uni_modules/cxc-szcx-multiLineChart/readme.md @@ -0,0 +1,34 @@ +# cxc-szcx-multiLineChart +# 这个多字段趋势图组件具有以下特点和功能: +类型安全:使用 TypeScript 定义了清晰的接口,确保数据类型正确 +灵活配置:通过 props 参数可以配置需要展示的字段、时间字段、标题等 +多字段展示:支持同时展示多个数据字段的趋势线(如 yl, wd, yc 等) +参考线功能:每个字段都可以设置参考值,自动生成对应的参考线 +交互功能: +支持图例筛选,可单独显示 / 隐藏某个字段 +提供数据缩放功能,可查看局部数据 +悬停时显示详细数据信息 +窗口大小变化时自动调整图表 +使用示例: + + + \ No newline at end of file