From 3326dcfc79bb76c27771be4a819dbece0d634ca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Tue, 14 Jan 2025 09:41:40 +0800 Subject: [PATCH] 1 --- QualityReport.vue | 87 ++ .../gp12/qcGp12ServiceStatistics.js | 12 + .../gp12/report/QualityReport.vue | 422 ++++++++++ .../gp12/touchScreen/main/index.vue | 31 +- .../gp12/touchScreen/record/index.vue | 745 ++++++++---------- .../gp12/touchScreen/workorder/index.vue | 6 +- 6 files changed, 855 insertions(+), 448 deletions(-) create mode 100644 QualityReport.vue create mode 100644 src/views/qualityManagement/gp12/report/QualityReport.vue diff --git a/QualityReport.vue b/QualityReport.vue new file mode 100644 index 0000000..81395c3 --- /dev/null +++ b/QualityReport.vue @@ -0,0 +1,87 @@ + \ No newline at end of file diff --git a/src/api/qualityManagement/gp12/qcGp12ServiceStatistics.js b/src/api/qualityManagement/gp12/qcGp12ServiceStatistics.js index 2161957..12a8030 100644 --- a/src/api/qualityManagement/gp12/qcGp12ServiceStatistics.js +++ b/src/api/qualityManagement/gp12/qcGp12ServiceStatistics.js @@ -12,6 +12,18 @@ export function listQcGp12ServiceStatistics(query) { }) } +/** + * 质量GP12统计报表业务模块改造查询 + * @param {查询条件} data + */ +export function GetReviseList(query) { + return request({ + url: '/mes/qc/gp12/QcGp12ServiceStatistics/GetReviseList', + method: 'post', + data: query, + }) +} + /** * 新增质量GP12统计报表业务模块 * @param data diff --git a/src/views/qualityManagement/gp12/report/QualityReport.vue b/src/views/qualityManagement/gp12/report/QualityReport.vue new file mode 100644 index 0000000..5bc7791 --- /dev/null +++ b/src/views/qualityManagement/gp12/report/QualityReport.vue @@ -0,0 +1,422 @@ + + + + \ No newline at end of file diff --git a/src/views/qualityManagement/gp12/touchScreen/main/index.vue b/src/views/qualityManagement/gp12/touchScreen/main/index.vue index 37b1ca5..f5a1f5d 100644 --- a/src/views/qualityManagement/gp12/touchScreen/main/index.vue +++ b/src/views/qualityManagement/gp12/touchScreen/main/index.vue @@ -52,19 +52,24 @@ export default { // { label: 'Profile', icon: 'mdi-account' } ], currentMenu: 0, - menuList: [{ - name: '质量', - icon: 'clipboard-list' - }, { - name: '记录', - icon: 'file-document' - }, { - name: '工具', - icon: 'toolbox' - }, { - name: '调试', - icon: 'usb-port' - }] + menuList: [ + { + name: '质量', + icon: 'clipboard-list' + }, + { + name: '记录', + icon: 'file-document' + }, + // { + // name: '工具', + // icon: 'toolbox' + // }, + // { + // name: '调试', + // icon: 'usb-port' + // } + ] }; }, computed: { diff --git a/src/views/qualityManagement/gp12/touchScreen/record/index.vue b/src/views/qualityManagement/gp12/touchScreen/record/index.vue index bac1743..a633562 100644 --- a/src/views/qualityManagement/gp12/touchScreen/record/index.vue +++ b/src/views/qualityManagement/gp12/touchScreen/record/index.vue @@ -1,319 +1,123 @@ \ No newline at end of file + + + \ No newline at end of file diff --git a/src/views/qualityManagement/gp12/touchScreen/workorder/index.vue b/src/views/qualityManagement/gp12/touchScreen/workorder/index.vue index 49cd8a9..35a7ae6 100644 --- a/src/views/qualityManagement/gp12/touchScreen/workorder/index.vue +++ b/src/views/qualityManagement/gp12/touchScreen/workorder/index.vue @@ -415,8 +415,10 @@ export default { }, getLocalStorage() { const data = JSON.parse(localStorage.getItem(this.sessionKey)); - this.team = data.team - this.site = data.site + if (data) { + this.team = data.team + this.site = data.site + } }, doMounted() { const options = { passive: true };