From 9613c361be1674c21ff892f7180258f788fe2738 Mon Sep 17 00:00:00 2001 From: juzi <819872918@qq.com> Date: Thu, 4 May 2023 16:15:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E6=9D=BF=E6=8A=A5=E8=A1=A8&=E5=8E=9A?= =?UTF-8?q?=E5=BA=A6=E6=B1=87=E6=80=BB=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/qualityManagement.js | 43 +++ .../qualityManagement/finalInspectionData.vue | 300 ++++++++++++++---- .../finalInspectionData.vue | 229 +++++++++++++ .../glassQualityReport.vue | 146 +++++++++ .../glassThickReport.vue | 78 +++++ .../thicknessDistributionMap.vue | 1 - .../components/ProductionLineDiagram.vue | 4 +- 7 files changed, 732 insertions(+), 69 deletions(-) create mode 100644 src/views/qualityManagement/finalInspectionDataReport/finalInspectionData.vue create mode 100644 src/views/qualityManagement/finalInspectionDataReport/glassQualityReport.vue create mode 100644 src/views/qualityManagement/finalInspectionDataReport/glassThickReport.vue diff --git a/src/api/qualityManagement.js b/src/api/qualityManagement.js index 8a5bc6c..c7205ea 100644 --- a/src/api/qualityManagement.js +++ b/src/api/qualityManagement.js @@ -137,3 +137,46 @@ export function drawThickness(val) { data: val }) } + +// 终检数据-获取玻璃列表数据 +export function listGlass(data) { + return request({ + url: '/report/GlassReport/listGlass', + method: 'post', + data + }) +} +// 终检数据-基板品质报表查询 +export function qualityReport(data) { + return request({ + url: '/report/GlassReport/qualityReport', + method: 'post', + data + }) +} +// 终检数据-基板品质报表导出 +export function qualityReportexport(data) { + return request({ + url: '/report/GlassReport/qualityReportexport', + method: 'post', + responseType: 'blob', + data + }) +} +// 终检数据-厚度汇总报表查询 +export function thickReport(data) { + return request({ + url: '/report/GlassReport/thickReport', + method: 'post', + data + }) +} +// 终检数据-厚度汇总报表导出 +export function thickReportexport(data) { + return request({ + url: '/report/GlassReport/thickReportexport', + method: 'post', + responseType: 'blob', + data + }) +} diff --git a/src/views/qualityManagement/finalInspectionData.vue b/src/views/qualityManagement/finalInspectionData.vue index 930951d..a172bc6 100644 --- a/src/views/qualityManagement/finalInspectionData.vue +++ b/src/views/qualityManagement/finalInspectionData.vue @@ -3,35 +3,37 @@
- 生成表格 + 生成表格
-
- 成品玻璃基本缺陷统计 +
+ {{ reportTitle }}
-
    -
  • 单位:um
  • -
  • 玻璃ID:26522322323
  • -
  • 生产日期:2022.12.24 15:56:24
  • -
  • 等级:G1
  • -
-
- +
+ +
+
+
@@ -40,64 +42,74 @@ + diff --git a/src/views/qualityManagement/finalInspectionDataReport/glassQualityReport.vue b/src/views/qualityManagement/finalInspectionDataReport/glassQualityReport.vue new file mode 100644 index 0000000..0e1a22a --- /dev/null +++ b/src/views/qualityManagement/finalInspectionDataReport/glassQualityReport.vue @@ -0,0 +1,146 @@ + + diff --git a/src/views/qualityManagement/finalInspectionDataReport/glassThickReport.vue b/src/views/qualityManagement/finalInspectionDataReport/glassThickReport.vue new file mode 100644 index 0000000..11c5155 --- /dev/null +++ b/src/views/qualityManagement/finalInspectionDataReport/glassThickReport.vue @@ -0,0 +1,78 @@ + + diff --git a/src/views/qualityManagement/processFullInspection/thicknessDistributionMap.vue b/src/views/qualityManagement/processFullInspection/thicknessDistributionMap.vue index 8ae9bc9..14458bc 100644 --- a/src/views/qualityManagement/processFullInspection/thicknessDistributionMap.vue +++ b/src/views/qualityManagement/processFullInspection/thicknessDistributionMap.vue @@ -130,7 +130,6 @@ export default { this.listQuery.startTime = val.timeVal ? val.timeVal[0] : '' this.listQuery.endTime = val.timeVal ? val.timeVal[1] : '' this.listQuery.glassId = val.glassId - this.listQuery.current = 1 this.getList() break default: diff --git a/src/views/siteMonitoring/components/ProductionLineDiagram.vue b/src/views/siteMonitoring/components/ProductionLineDiagram.vue index b5d443d..341f312 100644 --- a/src/views/siteMonitoring/components/ProductionLineDiagram.vue +++ b/src/views/siteMonitoring/components/ProductionLineDiagram.vue @@ -65,7 +65,7 @@ export default { this.resetSize() this.resetSize2() this.getGlass() - this.getAlarm() + // this.getAlarm() //报警红框 // this.timer = setInterval(this.getGlassAndAlarm, 1000) }, methods: { @@ -100,8 +100,8 @@ export default { this.getArea3() this.getText() }, + // 部分1 getArea1() { - // 部分1 this.drawRect(22, 43, 28, 22, '#B2FFC8', true) this.drawRect(66, 43, 28, 22, '#B2FFC8', true) this.drawRect(22, 161, 28, 22, '#B2FFC8', true)