From 645ba2843fb8d6bcec9ce63a56831feedbf8f0a9 Mon Sep 17 00:00:00 2001 From: helloDy <1615073571@qq.com> Date: Mon, 11 Sep 2023 15:53:43 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=9B=91=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 11 +- package.json | 3 +- src/views/core/monitoring/auto/index.vue | 296 ++++++++++++++++++ src/views/core/monitoring/data/index.vue | 205 ++++++++++++ .../monitoring/sectionStatistics/index.vue | 240 ++++++++++++++ 5 files changed, 752 insertions(+), 3 deletions(-) create mode 100644 src/views/core/monitoring/auto/index.vue create mode 100644 src/views/core/monitoring/data/index.vue create mode 100644 src/views/core/monitoring/sectionStatistics/index.vue diff --git a/.env.dev b/.env.dev index 9e1d10f4..9c122cee 100644 --- a/.env.dev +++ b/.env.dev @@ -1,3 +1,10 @@ +### + # @Author: Do not edit + # @Date: 2023-08-29 09:40:39 + # @LastEditTime: 2023-08-29 09:59:47 + # @LastEditors: DY + # @Description: +### # 开发环境配置 ENV = 'development' @@ -5,8 +12,8 @@ ENV = 'development' VUE_APP_TITLE = 芋道管理系统 # 芋道管理系统/开发环境 -# VUE_APP_BASE_API = 'http://192.168.0.33:48080' -VUE_APP_BASE_API = 'http://192.168.1.188:48080' +VUE_APP_BASE_API = 'http://192.168.0.33:48080' +# VUE_APP_BASE_API = 'http://192.168.1.188:48080' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/package.json b/package.json index b7ef11cc..29018f12 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "crypto-js": "^4.0.0", "echarts": "5.4.0", "element-ui": "2.15.12", - "file-saver": "2.0.5", + "file-saver": "^2.0.5", "fuse.js": "6.6.2", "highlight.js": "9.18.5", "js-beautify": "1.13.0", @@ -74,6 +74,7 @@ "vue-video-player": "^5.0.2", "vuedraggable": "2.24.3", "vuex": "3.6.2", + "xlsx": "^0.18.5", "xml-js": "1.6.11" }, "devDependencies": { diff --git a/src/views/core/monitoring/auto/index.vue b/src/views/core/monitoring/auto/index.vue new file mode 100644 index 00000000..6b90674a --- /dev/null +++ b/src/views/core/monitoring/auto/index.vue @@ -0,0 +1,296 @@ + + + + diff --git a/src/views/core/monitoring/data/index.vue b/src/views/core/monitoring/data/index.vue new file mode 100644 index 00000000..5ca3f08e --- /dev/null +++ b/src/views/core/monitoring/data/index.vue @@ -0,0 +1,205 @@ + + + + diff --git a/src/views/core/monitoring/sectionStatistics/index.vue b/src/views/core/monitoring/sectionStatistics/index.vue new file mode 100644 index 00000000..0aeaf6ad --- /dev/null +++ b/src/views/core/monitoring/sectionStatistics/index.vue @@ -0,0 +1,240 @@ + + + + From 6f0040a0ae25a0926984ef49c494054c77e6f47c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Mon, 11 Sep 2023 16:09:07 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=9B=91=E6=8E=A7?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/core/base/workshopSection.js | 7 + .../core/analysis/balanceAnalysis/index.vue | 159 +++++++++++++++++ .../core/analysis/yieldAnalysis/index.vue | 152 +++++++++++++++++ src/views/core/base/productionLine/index.vue | 2 +- .../sectionStatisticsSearch/index.vue | 160 ++++++++++++++++++ 5 files changed, 479 insertions(+), 1 deletion(-) create mode 100644 src/views/core/analysis/balanceAnalysis/index.vue create mode 100644 src/views/core/analysis/yieldAnalysis/index.vue create mode 100644 src/views/core/monitoring/sectionStatisticsSearch/index.vue diff --git a/src/api/core/base/workshopSection.js b/src/api/core/base/workshopSection.js index b460590f..b864282d 100644 --- a/src/api/core/base/workshopSection.js +++ b/src/api/core/base/workshopSection.js @@ -1,3 +1,10 @@ +/* + * @Author: zhp + * @Date: 2023-08-28 14:29:51 + * @LastEditTime: 2023-08-31 14:33:46 + * @LastEditors: zhp + * @Description: + */ import request from '@/utils/request' // 创建产线工段 diff --git a/src/views/core/analysis/balanceAnalysis/index.vue b/src/views/core/analysis/balanceAnalysis/index.vue new file mode 100644 index 00000000..e0de210b --- /dev/null +++ b/src/views/core/analysis/balanceAnalysis/index.vue @@ -0,0 +1,159 @@ + + + + diff --git a/src/views/core/analysis/yieldAnalysis/index.vue b/src/views/core/analysis/yieldAnalysis/index.vue new file mode 100644 index 00000000..ee6a5ce5 --- /dev/null +++ b/src/views/core/analysis/yieldAnalysis/index.vue @@ -0,0 +1,152 @@ + + + diff --git a/src/views/core/base/productionLine/index.vue b/src/views/core/base/productionLine/index.vue index a3e27792..29ac73d2 100644 --- a/src/views/core/base/productionLine/index.vue +++ b/src/views/core/base/productionLine/index.vue @@ -195,7 +195,7 @@ export default { switch (val.btnName) { case 'search': this.listQuery.pageNo = 1; - this.listQuery.pageSize = 10; + this.listQuery.pageSize = 10;.7 this.listQuery.name = val.name; this.getDataList(); break; diff --git a/src/views/core/monitoring/sectionStatisticsSearch/index.vue b/src/views/core/monitoring/sectionStatisticsSearch/index.vue new file mode 100644 index 00000000..e09e0ea3 --- /dev/null +++ b/src/views/core/monitoring/sectionStatisticsSearch/index.vue @@ -0,0 +1,160 @@ + + +