From 89b71d5aa292a321bf3afc0a6a81ab3016690462 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Mon, 17 Jun 2024 13:40:30 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E6=A0=B7=E5=BC=8F2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/report/chipOEEBM/index.vue | 24 +- src/views/report/chipOutputBM/index.vue | 24 +- src/views/report/chipPerCapitaBM/index.vue | 24 +- src/views/report/chipYieldBM/index.vue | 24 +- .../report/completionStatusIntrBM/index.vue | 265 ++++++++++++++++++ src/views/report/components/bmLineBar.vue | 44 ++- .../report/conversionEfficiencyBM/index.vue | 24 +- src/views/report/ftoOutputBM/index.vue | 24 +- src/views/report/packageOEEBM/index.vue | 24 +- src/views/report/scOutputBM/index.vue | 24 +- src/views/report/scPerCapitaBM/index.vue | 24 +- src/views/report/scYieldBM/index.vue | 24 +- src/views/report/turnoverRateBM/index.vue | 24 +- 13 files changed, 456 insertions(+), 117 deletions(-) create mode 100644 src/views/report/completionStatusIntrBM/index.vue diff --git a/src/views/report/chipOEEBM/index.vue b/src/views/report/chipOEEBM/index.vue index ff02fc7..55ee913 100644 --- a/src/views/report/chipOEEBM/index.vue +++ b/src/views/report/chipOEEBM/index.vue @@ -2,6 +2,9 @@
+
+
+
4月芯片OEE
-
-
-
芯片OEE对标
diff --git a/src/views/report/components/bmLineBar.vue b/src/views/report/components/bmLineBar.vue index 81e4354..b1a425b 100644 --- a/src/views/report/components/bmLineBar.vue +++ b/src/views/report/components/bmLineBar.vue @@ -2,10 +2,14 @@
+ > +
+
@@ -47,7 +51,7 @@ export default { color: [], // color: ["#8EF0AB", "#63BDFF", "#288AFF"], grid: { - left: 100, + left: 70, right: 10, bottom: 30, top: 30, @@ -65,17 +69,41 @@ export default { for (var i = 0, l = params.length; i < l; i++) { res += "
" + - `` + + `${ + params[i].seriesType === "line" + ? '' + : `` + }` + `${params[i].seriesName}` + `${ params[i].name === "%" ? (params[i].value ? params[i].value.toFixed(2) : 0.0) + params[i].name - : params[i].value + : String(params[i].value).replace( + /\B(?=(\d{3})+(?!\d))/g, + "," + ) }`; } return res; }, + // formatter: function (params) { + // console.log(params); + // var res = `${params[0].axisValueLabel}`; + // for (var i = 0, l = params.length; i < l; i++) { + // res += + // "
" + + // `` + + // `${params[i].seriesName}` + + // `${ + // params[i].name === "%" + // ? (params[i].value ? params[i].value.toFixed(2) : 0.0) + + // params[i].name + // : params[i].value + // }`; + // } + // return res; + // }, }, xAxis: { type: "category", @@ -181,7 +209,9 @@ export default { diff --git a/src/views/report/completionStatusIntrBM/components/bmSearchBarComplete.vue b/src/views/report/completionStatusIntrBM/components/bmSearchBarComplete.vue new file mode 100644 index 0000000..05e3c9a --- /dev/null +++ b/src/views/report/completionStatusIntrBM/components/bmSearchBarComplete.vue @@ -0,0 +1,138 @@ + + + + diff --git a/src/views/report/completionStatusIntrBM/index.vue b/src/views/report/completionStatusIntrBM/index.vue index 39c0940..eca01e2 100644 --- a/src/views/report/completionStatusIntrBM/index.vue +++ b/src/views/report/completionStatusIntrBM/index.vue @@ -1,17 +1,20 @@