From 72855a6f0460484310e537dc732ebe3f07217922 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’>
Date: Mon, 8 Jul 2024 16:54:58 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8D=95=E5=AF=BC=E5=87=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Breadcrumb/index.vue | 22 +-
.../components/sub/bar/BarChartChipOEE.vue | 7 +-
.../components/sub/bar/BarChartChipTrans.vue | 5 +-
src/views/dashboard/charts/ChipYieldChart.vue | 4 +-
src/views/dashboard/charts/LeftChartBase.vue | 6 +-
src/views/dashboard/charts/RightChartBase.vue | 12 +-
.../dashboard/components/CompanyInfo.vue | 3 +-
src/views/dashboard/components/Container.vue | 24 +--
.../dashboard/components/leftContainer.vue | 204 ++++++++++++++++++
src/views/index.vue | 12 +-
src/views/produce/data/index.vue | 8 +-
src/views/produce/workOrder/add-or-updata.vue | 8 +-
.../dayReportComponents/ExportDayReport.vue | 129 +++++++++++
.../dayReportExportChart/beProcessed.vue | 111 ++++++++++
.../dayReportExportChart/hisChart.vue | 110 ++++++++++
.../dayReportExportChart/produceDetail.vue | 110 ++++++++++
.../dayReportExportChart/productYield.vue | 110 ++++++++++
src/views/produce/workOrder/index.vue | 106 +++++++--
src/views/report/chipOEEBM/index.vue | 8 +-
src/views/report/chipOutputBM/index.vue | 8 +-
src/views/report/chipPerCapitaBM/index.vue | 8 +-
src/views/report/chipYieldBM/index.vue | 8 +-
.../report/completionStatusIntrBM/index.vue | 16 +-
.../report/components/produceLineBar.vue | 9 +-
src/views/report/comprehensiveData.vue | 8 +-
.../report/conversionEfficiencyBM/index.vue | 8 +-
src/views/report/ftoOutputBM/index.vue | 8 +-
src/views/report/packageOEEBM/index.vue | 8 +-
src/views/report/produceConversion.vue | 14 +-
src/views/report/productionSituationMW.vue | 22 +-
.../report/productionSituationTablets.vue | 54 ++---
src/views/report/productionYield.vue | 26 +--
src/views/report/scOutputBM/index.vue | 8 +-
src/views/report/scPerCapitaBM/index.vue | 8 +-
src/views/report/scYieldBM/index.vue | 8 +-
src/views/report/turnoverRateBM/index.vue | 24 +--
36 files changed, 1047 insertions(+), 197 deletions(-)
create mode 100644 src/views/dashboard/components/leftContainer.vue
create mode 100644 src/views/produce/workOrder/dayReportComponents/ExportDayReport.vue
create mode 100644 src/views/produce/workOrder/dayReportComponents/dayReportExportChart/beProcessed.vue
create mode 100644 src/views/produce/workOrder/dayReportComponents/dayReportExportChart/hisChart.vue
create mode 100644 src/views/produce/workOrder/dayReportComponents/dayReportExportChart/produceDetail.vue
create mode 100644 src/views/produce/workOrder/dayReportComponents/dayReportExportChart/productYield.vue
diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue
index 9f7f611..2a1c286 100644
--- a/src/components/Breadcrumb/index.vue
+++ b/src/components/Breadcrumb/index.vue
@@ -22,7 +22,7 @@ export default {
},
computed: {
changeColor() {
- console.log(this.$route);
+ // console.log(this.$route);
if (this.$route.path == '/copilot/efficiency-container' || this.$route.path == '/copilot/main' || this.$route.path == '/factoryData/hdIndex' || this.$route.path === '/factoryData/factory-data') {
return true
} else {
@@ -34,19 +34,17 @@ export default {
changeColor(val) {
if (val == true) {
let item = document.getElementsByClassName('el-breadcrumb__separator')
- for (let i in item) {
- console.log(item[i])
- if (item[i]) {
- item[i].style.color = 'rgba(255, 255, 255, 0.45)'
- }
- }
+ // for (let i in item) {
+ // console.log('item[i]',item, item[i])
+ // if (item[i].style) {
+ item[0].style.color = 'rgba(255, 255, 255, 0.45)'
+ item[1].style.color = 'rgba(255, 255, 255, 0.45)'
+ // }
+ // }
} else {
let item = document.getElementsByClassName('el-breadcrumb__separator')
- for (let i in item) {
- if (item[i]) {
- // item[i].style.color = '#c0c4cc'
- }
- }
+ item[0].style.color = ''
+ item[1].style.color = ''
}
},
$route(route) {
diff --git a/src/views/copilot/efficiency/components/sub/bar/BarChartChipOEE.vue b/src/views/copilot/efficiency/components/sub/bar/BarChartChipOEE.vue
index 6255da3..ea6a832 100644
--- a/src/views/copilot/efficiency/components/sub/bar/BarChartChipOEE.vue
+++ b/src/views/copilot/efficiency/components/sub/bar/BarChartChipOEE.vue
@@ -1,7 +1,7 @@
@@ -81,7 +81,10 @@ export default {
// console.log(item.color, color);
res +=
"
" +
- `` +
+ `${params[i].seriesType === "line"
+ ? ''
+ : ``
+ }` +
`${params[i].seriesName}` +
`${params[i].value ? params[i].value + '%' : 0 + '%'}`;
}
diff --git a/src/views/copilot/efficiency/components/sub/bar/BarChartChipTrans.vue b/src/views/copilot/efficiency/components/sub/bar/BarChartChipTrans.vue
index 571f4f4..27d681e 100644
--- a/src/views/copilot/efficiency/components/sub/bar/BarChartChipTrans.vue
+++ b/src/views/copilot/efficiency/components/sub/bar/BarChartChipTrans.vue
@@ -81,7 +81,10 @@ export default {
// console.log(item.color, color);
res +=
"
" +
- `` +
+ `${params[i].seriesType === "line"
+ ? ''
+ : ``
+ }` +
`${params[i].seriesName}` +
`${params[i].value ? params[i].value + '%' : 0 + '%'}`;
}
diff --git a/src/views/dashboard/charts/ChipYieldChart.vue b/src/views/dashboard/charts/ChipYieldChart.vue
index 543d4a6..f6a5da1 100644
--- a/src/views/dashboard/charts/ChipYieldChart.vue
+++ b/src/views/dashboard/charts/ChipYieldChart.vue
@@ -1,7 +1,7 @@
@@ -91,7 +91,7 @@ export default {
},
subtext: `\u2002${year}年累计产出\u2002`,
subtextStyle: {
- fontSize: 12,
+ fontSize: 15,
fontWeight: 100,
color: "#fffd",
align: "right",
diff --git a/src/views/dashboard/charts/LeftChartBase.vue b/src/views/dashboard/charts/LeftChartBase.vue
index e172432..439ee34 100644
--- a/src/views/dashboard/charts/LeftChartBase.vue
+++ b/src/views/dashboard/charts/LeftChartBase.vue
@@ -84,7 +84,7 @@ export default {
// console.log(item.color, color);
res +=
"
" +
- `` +
+ `` +
`${params[i].seriesName}` +
`${params[i].value ? params[i].value + '片' : 0 + '片'}`;
}
@@ -137,7 +137,7 @@ export default {
{
name: '', // this.series[0].name,
type: "bar",
- barWidth: 12,
+ barWidth: 16,
label: {
show: true, //开启显示
align: 'right', //在上方显示
@@ -181,7 +181,7 @@ export default {
{
name: '', // this.series[1].name,
type: "bar",
- barWidth: 12,
+ barWidth: 16,
label: {
show: true, //开启显示
align: 'left', //在上方显示
diff --git a/src/views/dashboard/charts/RightChartBase.vue b/src/views/dashboard/charts/RightChartBase.vue
index 4082e49..7bf2e05 100644
--- a/src/views/dashboard/charts/RightChartBase.vue
+++ b/src/views/dashboard/charts/RightChartBase.vue
@@ -1,7 +1,7 @@
@@ -90,12 +90,16 @@ export default {
// console.log(item.color, color);
res +=
"
" +
- `` +
+ `${params[i].seriesType === "line"
+ ? ''
+ : ``
+ }` +
`${params[i].seriesName}` +
`${params[i].value ? params[i].value + '片' : 0 + '片'}`;
}
return res;
},
+
},
xAxis: {
axisTick: {
@@ -178,7 +182,7 @@ export default {
{
name: "", // "2023年",
type: "bar",
- barWidth: 12,
+ barWidth: 16,
itemStyle: {
borderRadius: [10, 10, 0, 0],
color: {
@@ -213,7 +217,7 @@ export default {
{
name: "", // "2024年",
type: "bar",
- barWidth: 12,
+ barWidth: 16,
// tooltip: {
// valueFormatter: function (value) {
// return value + " ml";
diff --git a/src/views/dashboard/components/CompanyInfo.vue b/src/views/dashboard/components/CompanyInfo.vue
index 6158c62..80b175f 100644
--- a/src/views/dashboard/components/CompanyInfo.vue
+++ b/src/views/dashboard/components/CompanyInfo.vue
@@ -96,7 +96,8 @@ h2 {
margin: 6px 0;
font-family: 优设标题黑;
color: #fff;
- letter-spacing:5px;
+ letter-spacing:4px;
+ text-align: left;
// font-size: 24px;
font-size: 1.276em;
}
diff --git a/src/views/dashboard/components/Container.vue b/src/views/dashboard/components/Container.vue
index 33e914f..d577d11 100644
--- a/src/views/dashboard/components/Container.vue
+++ b/src/views/dashboard/components/Container.vue
@@ -90,18 +90,18 @@ export default {
position: relative;
box-shadow: inset 0 0 20px 1px #fff1;
- // &::after {
- // content: "";
- // position: absolute;
- // display: inline-block;
- // width: 60%;
- // height: 0.31415vh;
- // border-radius: 2px;
- // left: 8%;
- // bottom: 0;
- // background: linear-gradient(to right, #024798, transparent);
- // z-index: 0;
- // }
+ &::after {
+ content: "";
+ position: absolute;
+ display: inline-block;
+ width: 85%;
+ height: 0.31415vh;
+ border-radius: 2px;
+ left: 8%;
+ bottom: 0;
+ background: linear-gradient(to left, #024798, transparent);
+ z-index: 0;
+ }
.container-head {
// height: 40px;
diff --git a/src/views/dashboard/components/leftContainer.vue b/src/views/dashboard/components/leftContainer.vue
new file mode 100644
index 0000000..d671eb8
--- /dev/null
+++ b/src/views/dashboard/components/leftContainer.vue
@@ -0,0 +1,204 @@
+
+
+
+ {{ title }}
+