From 8eeea8314a9d45b6c8bc4dd23692a43a98d1211a Mon Sep 17 00:00:00 2001 From: lucungang Date: Fri, 23 Aug 2024 15:54:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/quality/qcTable.js | 27 + src/views/quality/llAnalysisReport/index.vue | 610 ++++++++++++++++++ .../quality/qcTableCheckDevelop/index.vue | 6 +- src/views/quality/qcTableCheckOrder/index.vue | 61 +- src/views/quality/qcTableIncome/index.vue | 148 +++-- src/views/quality/sjAnalysisReport/index.vue | 608 +++++++++++++++++ 6 files changed, 1409 insertions(+), 51 deletions(-) create mode 100644 src/views/quality/llAnalysisReport/index.vue create mode 100644 src/views/quality/sjAnalysisReport/index.vue diff --git a/src/api/quality/qcTable.js b/src/api/quality/qcTable.js index b5c6628..625d967 100644 --- a/src/api/quality/qcTable.js +++ b/src/api/quality/qcTable.js @@ -109,6 +109,8 @@ export function getTableHzTitle(query) { params: query }); } + +/**巡检分析报表 */ //巡检缺陷不良率表头 export function getTableHzTitleTh(query) { return request({ @@ -140,4 +142,29 @@ export function getDictData(data) { method: 'get', params: data }); +} +/**首检、来料分析报表接口 */ +//不良率表体 +export function getTableHzDataSC(query) { + return request({ + url: '/quality/staticTable/getTableHzDataSC', + method: 'post', + data: query + }); +} +//不良占比分析报表 +export function getTableHzNoOkDataSC(query) { + return request({ + url: '/quality/staticTable/getTableHzNoOkDataSC', + method: 'post', + data: query + }); +} +//供应商柱状图 +export function getIncomeChartList(query) { + return request({ + url: '/quality/staticTable/getIncomeChartList', + method: 'post', + data: query + }); } \ No newline at end of file diff --git a/src/views/quality/llAnalysisReport/index.vue b/src/views/quality/llAnalysisReport/index.vue new file mode 100644 index 0000000..6f2167a --- /dev/null +++ b/src/views/quality/llAnalysisReport/index.vue @@ -0,0 +1,610 @@ + + + + \ No newline at end of file diff --git a/src/views/quality/qcTableCheckDevelop/index.vue b/src/views/quality/qcTableCheckDevelop/index.vue index afa9e36..7524f5a 100644 --- a/src/views/quality/qcTableCheckDevelop/index.vue +++ b/src/views/quality/qcTableCheckDevelop/index.vue @@ -106,7 +106,7 @@ import moment from 'moment'; import * as echarts from "echarts"; export default { - name: "qcTableCheckDevelop", + name: "QcTableCheckDevelop", components: {}, data() { return { @@ -197,7 +197,9 @@ export default { methods: { handleClick(){ - + this.$nextTick(()=>{ + this.$refs.tables.doLayout()//对table进行重新布局 + }) }, async getThead(){ let res=await getTableHzTitleTh({checkType:'checkTypeSCXJ'}) diff --git a/src/views/quality/qcTableCheckOrder/index.vue b/src/views/quality/qcTableCheckOrder/index.vue index e2ec88d..bf04c73 100644 --- a/src/views/quality/qcTableCheckOrder/index.vue +++ b/src/views/quality/qcTableCheckOrder/index.vue @@ -31,7 +31,7 @@ > - + @@ -55,18 +55,27 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +
不良项目{{item}}多放支架
不良品数{{item}}11
不良比例***问题______次
\ No newline at end of file From 79bf271791e0c40275b9c1218fdb8f8fd1e9c5c9 Mon Sep 17 00:00:00 2001 From: shaoyong Date: Fri, 23 Aug 2024 18:03:40 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=AE=B1=E5=9E=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/mesBox/detail.vue | 36 ++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/src/views/mes/mesBox/detail.vue b/src/views/mes/mesBox/detail.vue index 64ce24b..1150fca 100644 --- a/src/views/mes/mesBox/detail.vue +++ b/src/views/mes/mesBox/detail.vue @@ -11,10 +11,10 @@ /> - + @@ -92,15 +92,18 @@ - + - - + + + +