From 2b355aaf8fb9e6046ef6cef93a55587cbc29a63b Mon Sep 17 00:00:00 2001
From: helloDy <1615073571@qq.com>
Date: Mon, 16 Oct 2023 15:47:31 +0800
Subject: [PATCH] ui
---
.env.dev | 6 +-
src/views/core/analysis/LineChart.vue | 2 +-
.../core/analysis/balanceAnalysis/index.vue | 10 ++-
.../core/analysis/yieldAnalysis/index.vue | 18 +++--
src/views/core/base/factory/add-or-updata.vue | 52 ++++++++------
src/views/core/base/factory/index.vue | 2 +-
.../core/base/lineBindProductLog/index.vue | 8 +--
.../base/workshopSection/add-or-updata.vue | 68 +++++++++++--------
src/views/core/base/workshopSection/index.vue | 36 ++++------
src/views/core/monitoring/auto/index.vue | 7 +-
src/views/core/monitoring/data/index.vue | 7 +-
src/views/core/monitoring/data24/index.vue | 25 +++----
.../monitoring/sectionStatistics/index.vue | 7 +-
.../sectionStatisticsSearch/index.vue | 36 +++++-----
14 files changed, 161 insertions(+), 123 deletions(-)
diff --git a/.env.dev b/.env.dev
index 40051292..2f15db72 100644
--- a/.env.dev
+++ b/.env.dev
@@ -1,7 +1,7 @@
###
# @Author: Do not edit
# @Date: 2023-08-29 09:40:39
- # @LastEditTime: 2023-09-18 10:44:07
+ # @LastEditTime: 2023-10-16 09:22:52
# @LastEditors: DY
# @Description:
###
@@ -12,9 +12,9 @@ ENV = 'development'
VUE_APP_TITLE = 产线监控系统
# 芋道管理系统/开发环境
-VUE_APP_BASE_API = 'http://192.168.1.49:48080'
+# VUE_APP_BASE_API = 'http://192.168.1.49: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.0.33:48080'
# VUE_APP_BASE_API = 'http://192.168.1.188:48080'
# 路由懒加载
diff --git a/src/views/core/analysis/LineChart.vue b/src/views/core/analysis/LineChart.vue
index 8341dc05..5fb4a056 100644
--- a/src/views/core/analysis/LineChart.vue
+++ b/src/views/core/analysis/LineChart.vue
@@ -1,7 +1,7 @@
diff --git a/src/views/core/analysis/balanceAnalysis/index.vue b/src/views/core/analysis/balanceAnalysis/index.vue
index 9ffabe19..d9f2ecee 100644
--- a/src/views/core/analysis/balanceAnalysis/index.vue
+++ b/src/views/core/analysis/balanceAnalysis/index.vue
@@ -1,8 +1,12 @@
-
-
+
+
+
+
+
+
@@ -12,21 +12,30 @@
ref="dataForm"
@keyup.enter.native="dataFormSubmit()"
label-width="80px">
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
diff --git a/src/views/core/base/factory/index.vue b/src/views/core/base/factory/index.vue
index 236967b2..7f6b4152 100644
--- a/src/views/core/base/factory/index.vue
+++ b/src/views/core/base/factory/index.vue
@@ -29,7 +29,7 @@
@cancel="handleCancel"
@confirm="handleConfirm"
:before-close="handleCancel"
- width="70%">
+ width="50%">
diff --git a/src/views/core/base/lineBindProductLog/index.vue b/src/views/core/base/lineBindProductLog/index.vue
index 50ec8e33..e8a1f613 100644
--- a/src/views/core/base/lineBindProductLog/index.vue
+++ b/src/views/core/base/lineBindProductLog/index.vue
@@ -28,24 +28,20 @@ import { getProductPage } from '@/api/core/base/product';
const tableProps = [
{
prop: 'productionLineName',
- label: '产线',
- align: 'center',
+ label: '产线'
},
{
prop: 'productName',
- label: '在制产品',
- align: 'center',
+ label: '在制产品'
},
{
prop: 'startTime',
label: '开始时间',
- align: 'center',
filter: parseTime,
},
{
prop: 'endTime',
label: '结束时间',
- align: 'center',
filter: parseTime,
},
];
diff --git a/src/views/core/base/workshopSection/add-or-updata.vue b/src/views/core/base/workshopSection/add-or-updata.vue
index d709fe67..d0b5afc9 100644
--- a/src/views/core/base/workshopSection/add-or-updata.vue
+++ b/src/views/core/base/workshopSection/add-or-updata.vue
@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2023-08-01 13:52:10
* @LastEditors: DY
- * @LastEditTime: 2023-09-21 10:48:54
+ * @LastEditTime: 2023-10-16 13:40:00
* @Description:
-->
@@ -12,33 +12,45 @@
ref="dataForm"
@keyup.enter.native="dataFormSubmit()"
label-width="90px">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/core/base/workshopSection/index.vue b/src/views/core/base/workshopSection/index.vue
index 4829cd93..7bc1514f 100644
--- a/src/views/core/base/workshopSection/index.vue
+++ b/src/views/core/base/workshopSection/index.vue
@@ -29,7 +29,7 @@
@cancel="handleCancel"
@confirm="handleConfirm"
:before-close="handleCancel"
- width="70%">
+ width="50%">
@@ -50,34 +50,28 @@ import {
const tableProps = [
{
prop: 'code',
- label: '工段编码',
- align: 'center',
+ label: '工段编码'
},
{
prop: 'name',
- label: '工段名称',
- align: 'center',
+ label: '工段名称'
},
{
prop: 'productionLineName',
- label: '产线',
- align: 'center',
+ label: '产线'
},
{
prop: 'sort',
- label: '排序',
- align: 'center',
+ label: '排序'
},
{
prop: 'remark',
- label: '备注',
- align: 'center',
+ label: '备注'
},
{
prop: 'createTime',
label: '创建时间',
- align: 'center',
- filter: parseTime,
+ filter: parseTime
},
];
@@ -119,14 +113,14 @@ export default {
name: 'search',
color: 'primary',
},
- {
- type: 'separate',
- },
- {
- type: 'button',
- btnName: '重置',
- name: 'reset',
- },
+ // {
+ // type: 'separate',
+ // },
+ // {
+ // type: 'button',
+ // btnName: '重置',
+ // name: 'reset',
+ // },
{
type: 'separate',
},
diff --git a/src/views/core/monitoring/auto/index.vue b/src/views/core/monitoring/auto/index.vue
index 7bb07b68..3f07f50f 100644
--- a/src/views/core/monitoring/auto/index.vue
+++ b/src/views/core/monitoring/auto/index.vue
@@ -1,7 +1,7 @@
@@ -12,6 +12,7 @@
ref="searchBarForm"
@headBtnClick="buttonClick" />
+
@@ -12,6 +12,7 @@
ref="searchBarForm"
@headBtnClick="buttonClick" />
+
+
-
+ @emitFun="handleEmitFun"
+ />
+
@@ -65,10 +66,10 @@ export default {
label: times.slice(0, 10) + ' ' + times.slice(11),
align: 'center',
children: [
- { prop: times + '_in', label: '投入数量', align: 'center' },
- { prop: times + '_out', label: '产出数量', align: 'center' },
- { prop: times + '_junk', label: '报废数量', align: 'center' },
- { prop: times + '_area', label: '产出面积', align: 'center' }
+ { prop: times + '_in', label: '投入数量' },
+ { prop: times + '_out', label: '产出数量' },
+ { prop: times + '_junk', label: '报废数量' },
+ { prop: times + '_area', label: '产出面积' }
]
}
this.arr.push(subprop)
@@ -149,14 +150,14 @@ export default {
{
prop: 'proLineName',
label: '生产线',
- align: 'center',
- fixed: 'left'
+ fixed: 'left',
+ showOverflowTooltip: true
},
{
prop: 'spec',
label: '产品规格',
- align: 'center',
- fixed: 'left'
+ fixed: 'left',
+ showOverflowTooltip: true
}
]
this.buildProps(res.data.nameData);
diff --git a/src/views/core/monitoring/sectionStatistics/index.vue b/src/views/core/monitoring/sectionStatistics/index.vue
index d1279159..a3b1640d 100644
--- a/src/views/core/monitoring/sectionStatistics/index.vue
+++ b/src/views/core/monitoring/sectionStatistics/index.vue
@@ -1,7 +1,7 @@
@@ -13,6 +13,7 @@
ref="searchBarForm"
@headBtnClick="buttonClick" />
+
+