diff --git a/src/api/report/qcReport.js b/src/api/report/qcReport.js new file mode 100644 index 00000000..65207331 --- /dev/null +++ b/src/api/report/qcReport.js @@ -0,0 +1,40 @@ +/* + * @Author: zhp + * @Date: 2024-04-18 09:27:54 + * @LastEditTime: 2024-04-18 16:00:59 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' + +// 更新质量检测类型基础 +export function getOriginalData(data) { + return request({ + url: 'extend/customized-reports/original', + method: 'post', + data: data + }) +} +export function getIngredientData(data) { + return request({ + url: 'extend/customized-reports/materialCost', + method: 'post', + data: data + }) +} + +export function getCuttingtData(data) { + return request({ + url: 'extend/customized-reports/cutting', + method: 'post', + data: data + }) +} + +export function getAutoDailyData(data) { + return request({ + url: 'base/report-auto-daily/listAll', + method: 'post', + data: data + }) +} diff --git a/src/views/OperationalOverview/components/ISRAChart.vue b/src/views/OperationalOverview/components/ISRAChart.vue index b38edf38..2dc04a67 100644 --- a/src/views/OperationalOverview/components/ISRAChart.vue +++ b/src/views/OperationalOverview/components/ISRAChart.vue @@ -1,7 +1,7 @@ @@ -125,7 +125,13 @@ export default { fontSize: 20, color: '#fff00', }, - }, + }, + grid: { + left: '1%', + right: '1%', + bottom: '0', + containLabel: true + }, // legend: { // bottom: '10%', // left: 'center', @@ -213,15 +219,19 @@ export default { .isra-chart { width: 100%; height: 100%; + position: absolute; + top: 7%; } + .isra-chart-tooltip { + background: #0a2b4f77 !important; + border: none !important; + backdrop-filter: blur(12px); + } + + .isra-chart-tooltip * { + color: #fff !important; + } diff --git a/src/views/OperationalOverview/processingBoard.vue b/src/views/OperationalOverview/processingBoard.vue index f73da45b..13bd0607 100644 --- a/src/views/OperationalOverview/processingBoard.vue +++ b/src/views/OperationalOverview/processingBoard.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-07-19 15:18:30 * @LastEditors: zhp - * @LastEditTime: 2024-04-16 14:03:31 + * @LastEditTime: 2024-04-18 08:42:00 * @Description: --> @@ -53,12 +53,13 @@ op.planQuantity }} {{ + style="font-size: 14px;margin-left: 130px;">{{ op.actualQuantity }} - + - @@ -111,25 +112,25 @@ const qualityYearList = [ name: '翻转机', code: 'EQ20240110112358000235', status: '正常', - error: 'true', + error: true, }, { name: '烘干炉', code: 'EQ20240110112537000241', status: '计划停机', - error: 'true', + error: true, }, { name: '清洗机', code: ' EQ20240110112310000232', status: '正常', - error: 'true', + error: true, }, { name: '钢化清洗机', code: 'EQ20240110111700000208', status: '正常', - error: 'true', + error: true, }, { name: '固化机', @@ -141,49 +142,48 @@ const qualityYearList = [ name: '磨边清洗机', code: ' EQ20240110111700000208', status: '正常', - error: 'true', + error: true, }, { name: '预热机', code: 'EQ20240110111700000205', status: '故障', - error: 'true', + error: true, }, { name: '下片机', code: 'EQ20240115151435000279', - status: '正常', - error: 'false', + error: true, }, { name: '冷却机', code: 'EQ20240110111700000203', status: '正常', - error: 'false', + error: true, }, { name: 'A储片机106', code: 'EQ20240110111700000202', status: '正常', - error: 'false', + error: true, }, { name: '二次清洗机', code: 'EQ20240110111700000209', status: '正常', - error: 'false', + error: true, }, { name: '二次磨边机', code: ' EQ20240110110927000181', status: '正常', - error: 'false', + error: true, }, { name: '测试设备', code: 'EQ20240110111700000201', status: '正常', - error: 'true', + error: true, }, ]; const qualityMonthList = [ @@ -232,37 +232,37 @@ const qualityMonthList = [ ]; const orderProcessList = [ { - id: '1', + id: 1, outRate: '.8', name: '凯盛0322', }, { - id: '2', + id: 2, outRate: '.4', name: '光伏玻璃4.0', }, { - id: '3', + id: 3, outRate: '.5', name: '光伏玻璃3.0', }, { - id: '4', + id: 4, outRate: '.3', name: '光伏玻璃2.0', }, { - id: '5', + id: 5, outRate: '.5', name: '光伏玻璃1.0', }, { - id: '6', + id: 6, outRate: '.8', name: '光伏玻璃', }, { - id: '7', + id: 7, outRate: '.8', name: '统计订单', }, @@ -483,7 +483,7 @@ export default { `, `${item.code || ''}`, ` ${item.status || ''}`, - ` ${item.error || ''}`, + ` ${item.error == true ? '是' : '否' || ''}`, ]); this.eqConfig.data = eqArr; let data = [ @@ -750,7 +750,7 @@ export default { item.code || '' }`, ` ${item.status || ''}`, - ` ${item.error || ''}`, + ` ${item.error == true ?'是' :'否' || ''}`, ]); this.eqConfig.data = eqArr; // this.$nextTick(() => { @@ -993,7 +993,7 @@ export default { font-size: 14px; line-height: 2em; text-align: right; - color: #fff; + color: rgba(0, 255, 247, 1); } .orderPlan { display: inline-block; diff --git a/src/views/report/Environmental/productionDayR/index.vue b/src/views/report/Environmental/productionDayR/index.vue new file mode 100644 index 00000000..6368a287 --- /dev/null +++ b/src/views/report/Environmental/productionDayR/index.vue @@ -0,0 +1,237 @@ + + + + + + + + + + + + 查询 + 导出 + + + + + + + + + + + diff --git a/src/views/report/Environmental/productionDayR/inputTable.vue b/src/views/report/Environmental/productionDayR/inputTable.vue new file mode 100644 index 00000000..2239c375 --- /dev/null +++ b/src/views/report/Environmental/productionDayR/inputTable.vue @@ -0,0 +1,273 @@ + + + + + 编辑 + 返回 + 保存 + + + + + + + {{ scope.row[y.prop] }} + + + + + + + + + + + diff --git a/src/views/report/Environmental/productionDayR/secondTable.vue b/src/views/report/Environmental/productionDayR/secondTable.vue new file mode 100644 index 00000000..bec83e20 --- /dev/null +++ b/src/views/report/Environmental/productionDayR/secondTable.vue @@ -0,0 +1,220 @@ + + + + + 编辑 + 返回 + 保存 + + + + + + + {{ scope.row[y.prop] }} + + + + + + + + + + + diff --git a/src/views/report/ingredientReport/day.vue b/src/views/report/ingredientReport/day.vue new file mode 100644 index 00000000..d0cb8d0b --- /dev/null +++ b/src/views/report/ingredientReport/day.vue @@ -0,0 +1,670 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/report/qcReport/cutDayReport/index.vue b/src/views/report/qcReport/cutDayReport/index.vue new file mode 100644 index 00000000..24715252 --- /dev/null +++ b/src/views/report/qcReport/cutDayReport/index.vue @@ -0,0 +1,261 @@ + + + + + + + + + + + + + + diff --git a/src/views/report/qcReport/lineReport.vue b/src/views/report/qcReport/lineReport.vue new file mode 100644 index 00000000..7174d967 --- /dev/null +++ b/src/views/report/qcReport/lineReport.vue @@ -0,0 +1,384 @@ + + + + + + + + + + + + + + + + + diff --git a/src/views/report/qcReport/optimizeCutData.vue b/src/views/report/qcReport/optimizeCutData.vue new file mode 100644 index 00000000..b5a28c15 --- /dev/null +++ b/src/views/report/qcReport/optimizeCutData.vue @@ -0,0 +1,406 @@ + + + + + + + + + + + + + + + + +