From e8cc1fc50b32559fd6e1c07a9c2635805dde76d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’>
Date: Wed, 13 Sep 2023 16:00:43 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E5=88=86=E6=9E=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.dev | 10 +-
src/api/core/analysis/index.js | 24 ++
src/api/core/monitoring/index.js | 16 +
src/assets/images/pay/icon/alipay_app.svg | 2 +-
src/views/base/equipmentPlcConnect/http.js | 9 +-
src/views/core/analysis/LineChart.vue | 93 +++++
.../core/analysis/balanceAnalysis/index.vue | 331 ++++++++++--------
.../core/analysis/yieldAnalysis/index.vue | 233 +++++++-----
.../sectionStatisticsSearch/index.vue | 79 +++--
9 files changed, 534 insertions(+), 263 deletions(-)
create mode 100644 src/api/core/analysis/index.js
create mode 100644 src/api/core/monitoring/index.js
create mode 100644 src/views/core/analysis/LineChart.vue
diff --git a/.env.dev b/.env.dev
index e5856184..ab61468a 100644
--- a/.env.dev
+++ b/.env.dev
@@ -1,10 +1,10 @@
###
# @Author: Do not edit
# @Date: 2023-08-29 09:40:39
- # @LastEditTime: 2023-09-11 15:55:29
- # @LastEditors: DY
- # @Description:
-###
+ # @LastEditTime: 2023-09-12 14:01:15
+ # @LastEditors: zhp
+ # @Description:
+###
# 开发环境配置
ENV = 'development'
@@ -12,7 +12,7 @@ ENV = 'development'
VUE_APP_TITLE = 芋道管理系统
# 芋道管理系统/开发环境
-VUE_APP_BASE_API = 'http://192.168.1.49:48080'
+VUE_APP_BASE_API = 'http://192.168.1.188:48080'
# VUE_APP_BASE_API = 'http://192.168.1.8:48080'
# VUE_APP_BASE_API = 'http://192.168.0.33:48080'
# VUE_APP_BASE_API = 'http://192.168.1.188:48080'
diff --git a/src/api/core/analysis/index.js b/src/api/core/analysis/index.js
new file mode 100644
index 00000000..af791ff5
--- /dev/null
+++ b/src/api/core/analysis/index.js
@@ -0,0 +1,24 @@
+/*
+ * @Author: zhp
+ * @Date: 2023-09-12 14:07:04
+ * @LastEditTime: 2023-09-13 09:53:45
+ * @LastEditors: zhp
+ * @Description:
+ */
+import request from '@/utils/request'
+
+export function getYieldAnalysisPageData(data) {
+ return request({
+ url: '/analysis/production-analysis/getOutput',
+ method: 'post',
+ data: data
+ })
+}
+
+export function getCT(data) {
+ return request({
+ url: '/analysis/production-analysis/getCT',
+ method: 'post',
+ data: data
+ })
+}
diff --git a/src/api/core/monitoring/index.js b/src/api/core/monitoring/index.js
new file mode 100644
index 00000000..13eb6963
--- /dev/null
+++ b/src/api/core/monitoring/index.js
@@ -0,0 +1,16 @@
+/*
+ * @Author: zhp
+ * @Date: 2023-09-12 14:07:04
+ * @LastEditTime: 2023-09-13 09:46:44
+ * @LastEditors: zhp
+ * @Description:
+ */
+import request from '@/utils/request'
+
+export function getSectionDataSearch(data) {
+ return request({
+ url: '/monitoring/production-monitor/getSectionDataSearch',
+ method: 'post',
+ data: data
+ })
+}
diff --git a/src/assets/images/pay/icon/alipay_app.svg b/src/assets/images/pay/icon/alipay_app.svg
index ebf11883..c77a3d9f 100644
--- a/src/assets/images/pay/icon/alipay_app.svg
+++ b/src/assets/images/pay/icon/alipay_app.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/src/views/base/equipmentPlcConnect/http.js b/src/views/base/equipmentPlcConnect/http.js
index 16544450..b87d0ed7 100644
--- a/src/views/base/equipmentPlcConnect/http.js
+++ b/src/views/base/equipmentPlcConnect/http.js
@@ -1,6 +1,13 @@
+/*
+ * @Author: zhp
+ * @Date: 2023-09-11 16:18:44
+ * @LastEditTime: 2023-09-12 14:25:01
+ * @LastEditors: zhp
+ * @Description:
+ */
import Mock from 'mockjs';
-const baseURL = 'http://192.168.1.49:48080/admin-api';
+const baseURL = 'http://192.168.1.188:48080/admin-api';
Mock.setup({
timeout: 200,
diff --git a/src/views/core/analysis/LineChart.vue b/src/views/core/analysis/LineChart.vue
new file mode 100644
index 00000000..49c1565f
--- /dev/null
+++ b/src/views/core/analysis/LineChart.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
diff --git a/src/views/core/analysis/balanceAnalysis/index.vue b/src/views/core/analysis/balanceAnalysis/index.vue
index e0de210b..a3a2ca3f 100644
--- a/src/views/core/analysis/balanceAnalysis/index.vue
+++ b/src/views/core/analysis/balanceAnalysis/index.vue
@@ -1,159 +1,200 @@
-
-
diff --git a/src/views/core/analysis/yieldAnalysis/index.vue b/src/views/core/analysis/yieldAnalysis/index.vue
index ee6a5ce5..ed38a9fb 100644
--- a/src/views/core/analysis/yieldAnalysis/index.vue
+++ b/src/views/core/analysis/yieldAnalysis/index.vue
@@ -1,114 +1,95 @@
-