diff --git a/.env.dev b/.env.dev index a7b51f3b..df86e35e 100644 --- a/.env.dev +++ b/.env.dev @@ -12,8 +12,8 @@ ENV = 'development' VUE_APP_TITLE = 智能监控分析系统 # 芋道管理系统/开发环境 -VUE_APP_BASE_API = 'http://172.16.32.79:48082' -# VUE_APP_BASE_API = 'http://line.kszny.picaiba.com' +# VUE_APP_BASE_API = 'http://172.16.32.79:48082' +VUE_APP_BASE_API = 'http://line.kszny.picaiba.com' # 路由懒加载 diff --git a/dist.zip b/dist.zip index 3a3a8dca..26ae3c52 100644 Binary files a/dist.zip and b/dist.zip differ diff --git a/src/api/core/monitoring/auto.js b/src/api/core/monitoring/auto.js index bc1cf860..47c6f166 100644 --- a/src/api/core/monitoring/auto.js +++ b/src/api/core/monitoring/auto.js @@ -111,3 +111,10 @@ export function getProcessAutoReportNew(data) { data: data, }); } +export function getProcessAutoReportLastGroup(data) { + return request({ + url: '/monitoring/production-monitor/getProcessAutoReportLastGroup', + method: 'post', + data: data, + }); +} diff --git a/src/views/core/base/product/add-or-updata.vue b/src/views/core/base/product/add-or-updata.vue index 5d984222..cd97c63a 100644 --- a/src/views/core/base/product/add-or-updata.vue +++ b/src/views/core/base/product/add-or-updata.vue @@ -80,7 +80,7 @@ - + diff --git a/src/views/core/monitoring/groupReport/index.vue b/src/views/core/monitoring/groupReport/index.vue index 2e01f3dc..0d13308d 100644 --- a/src/views/core/monitoring/groupReport/index.vue +++ b/src/views/core/monitoring/groupReport/index.vue @@ -348,7 +348,7 @@ export default { dataListLoading: false, tableProps, tableBtn: [ - this.$auth.hasPermi(`monitoring:group-off:update`) + this.$auth.hasPermi(`monitoring:group-off:detail`) ? { type: 'eq', btnName: '详情', diff --git a/src/views/core/monitoring/lineAuto/index.vue b/src/views/core/monitoring/lineAuto/index.vue index 9b2a871d..68cf54d0 100644 --- a/src/views/core/monitoring/lineAuto/index.vue +++ b/src/views/core/monitoring/lineAuto/index.vue @@ -34,9 +34,9 @@ + :page="1" :limit="100" :table-props="tableProps" :table-data="tableData" :max-height="220" /> - +
@@ -59,7 +59,7 @@ - +
@@ -72,50 +72,30 @@
-
- 上一班数据 - - - - - - - -
- -
-
-
-
-
-
+ + {{ reportTypeMap[listQuery.reportType] }} + + {{ parseTime(listQuery.startTime) }} 至{{ + parseTime(listQuery.endTime) }} + + + 生产数据 +
+ +
-
- 当天数据 - - - - - - - -
- -
-
-
-
-
-
+ 生产折线图 +
+ +
+
@@ -126,10 +106,10 @@ {{ reportTypeMap[listQuery.reportType] }} {{ parseTime(listQuery.startTime) }} 至{{ - parseTime(listQuery.endTime) }} + parseTime(listQuery.endTime) }} - 生产表格数据 + 生产数据
@@ -183,10 +163,10 @@ {{ reportTypeMap[listQuery.reportType] }} {{ parseTime(listQuery.startTime) }} 至{{ - parseTime(listQuery.endTime) }} + parseTime(listQuery.endTime) }} - 生产表格数据 + 生产数据
@@ -199,7 +179,7 @@