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: '历史数据',
+ },
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 最大值: {{ dataStats.max }}
+ 最小值: {{ dataStats.min }}
+ 平均值: {{ dataStats.average }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+ {{ item.gas }}
+
+ 气量
+ {{ formatNumber(item.dailyVolume) || '-' }}
+
+
+ 年累计
+ {{ formatNumber(item.yearVolume) || '-' }}
+
+
+
+
+
+
+ {{ item.yearPerCent }}%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 历史
+
+
+
+
+
+
+
+
+
+
\ 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 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 日油量
+ {{ item.rcwy || '-' }}
+
+
+ 月累计
+ {{ item.yl || '-' }}
+
+
+ 年累计
+ {{ item.nl || '-' }}
+
+
+
+
+
+
+ {{ item.yearPerCent }}%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 历史
+
+
+
+
+
+
+
+
+
+
\ 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: '历史数据图表',
+ },
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 序号
+ 日期时间
+ 温度(℃)
+ 压力(MPa)
+ 压差(kPa)
+ 瞬时量(Nm³/d)
+ 今日量(m³)
+ 今日时间(分)
+ 仪表状态
+
+
+ {{ index + 1 }}
+ {{ formatTableTime(item.createTime) }}
+ {{ item.wd }}
+ {{ item.yl }}
+ {{ item.yc }}
+ {{ item.ssll }}
+ {{ item.jrl }}
+ {{ item.jrsj }}
+ {{ item.zt }}
+
+
+
+
+
+
+
+
+
+
+
+
\ 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: '生产数据',
+ },
+ }
+
+
+
+
+
+
+ {{caijiText}}
+ 选择站场
+
+
+
+
+
+
+
+ {{ item.jldname }}
+
+ {{item.yxzt}}
+
+
+
+
+
+
+
+ 压力(MPa)
+ {{ formatNumber(item.yl) || '-' }}
+
+
+
+ 差压(kPa)
+ {{ formatNumber(item.yc) || '-' }}
+
+
+
+ 温度(℃)
+ {{ formatNumber(item.wd) || '-' }}
+
+
+
+ 瞬时流量(m³/d)
+ {{ formatNumber(item.ssll) || '-' }}
+
+
+
+
+ 今日流量(m³)
+ {{ formatNumber(item.jrl) || '-' }}
+
+
+
+
+ 昨日流量(m³)
+ {{ formatNumber(item.zrl) || '-' }}
+
+
+
+
+ 昨日时间(min)
+ {{ formatNumber(item.zrsj) || '-' }}
+
+
+
+
+ 今日时间(min)
+ {{ formatNumber(item.jrsj) || '-' }}
+
+
+
+
+
+
+ 选择采输气站场
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 全年时间进度:{{ timePercent }}%
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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