diff --git a/.env.dev b/.env.dev index 599cea9f..0a1d39c9 100644 --- a/.env.dev +++ b/.env.dev @@ -1,7 +1,7 @@ ### # @Author: zhp # @Date: 2024-04-12 14:30:48 - # @LastEditTime: 2024-04-19 16:11:56 + # @LastEditTime: 2024-04-22 16:16:52 # @LastEditors: zhp # @Description: ### diff --git a/src/api/report/qcReport.js b/src/api/report/qcReport.js index 63907fcb..8d0a0e26 100644 --- a/src/api/report/qcReport.js +++ b/src/api/report/qcReport.js @@ -1,7 +1,7 @@ /* * @Author: zhp * @Date: 2024-04-18 09:27:54 - * @LastEditTime: 2024-04-19 16:12:49 + * @LastEditTime: 2024-04-22 16:21:26 * @LastEditors: zhp * @Description: */ @@ -42,7 +42,23 @@ export function getAutoDailyData(data) { export function getQualityRecordReport(data) { return request({ url: 'base/quality-inspection-record/qualityRecordReport', - method: 'get', + method: 'post', + data: data + }) +} + +export function getProductChildData(data) { + return request({ + url: 'base/report-auto-ydaily-det/list', + method: 'post', + data: data + }) +} + +export function updateAutoDailyData(data) { + return request({ + url: 'base/report-auto-daily/update', + method: 'put', data: data }) } diff --git a/src/views/OperationalOverview/coldBoard.vue b/src/views/OperationalOverview/coldBoard.vue index 6829ebae..ea41b29d 100644 --- a/src/views/OperationalOverview/coldBoard.vue +++ b/src/views/OperationalOverview/coldBoard.vue @@ -1,7 +1,7 @@ @@ -34,7 +34,7 @@ - @@ -64,8 +65,8 @@ - + @@ -98,7 +99,8 @@ - + @@ -652,7 +654,7 @@ export default { wasteList.push(ele.wastArea) nameWasteList.push('缺陷面积:' + this.NumFormat(ele.wastArea) + '㎡') sumAreaList.push(ele.sumArea) - yieldList.push(parseFloat((ele.yield * 100).toFixed(0))) + yieldList.push(parseFloat((ele.yield * 100).toFixed(2))) }) this.$nextTick(() => { this.$refs.firstPileChart.initChart(nameList, [topNameList[0]], [nameWasteList[0]], [productList[0]], [wasteList[0]]) diff --git a/src/views/OperationalOverview/components/ISRAChart.vue b/src/views/OperationalOverview/components/ISRAChart.vue index 2dc04a67..70151d1f 100644 --- a/src/views/OperationalOverview/components/ISRAChart.vue +++ b/src/views/OperationalOverview/components/ISRAChart.vue @@ -170,11 +170,11 @@ export default { }, formatter: (params) => { //调用自定义显示格式 - return this.getEqualNewlineString(params.value + " | " + params.percent.toFixed(0) + "%" + "\n" + params.name,10); + return this.getEqualNewlineString(params.value + " | " + params.percent.toFixed(0) + "%"); }, textStyle: { // 提示文字的样式 // color: '#595959', - fontSize: 18 + fontSize: 16 } } }, diff --git a/src/views/OperationalOverview/components/baseContainer/index.vue b/src/views/OperationalOverview/components/baseContainer/index.vue index 03b36d99..7019ac16 100644 --- a/src/views/OperationalOverview/components/baseContainer/index.vue +++ b/src/views/OperationalOverview/components/baseContainer/index.vue @@ -2,7 +2,7 @@ * @Author: gtz * @Date: 2022-01-19 15:58:17 * @LastEditors: zhp - * @LastEditTime: 2024-03-29 14:47:29 + * @LastEditTime: 2024-04-22 09:41:21 * @Description: file content * @FilePath: \mt-bus-fe\src\views\OperationalOverview\components\baseContainer\index.vue --> @@ -30,7 +30,7 @@ - + {{ startTime + '-' + endTime }} @@ -56,6 +56,10 @@ export default { type: Boolean, default: true }, + showTime: { + type: Boolean, + default: true + }, noPadding: { type: Boolean, default: false diff --git a/src/views/OperationalOverview/components/coldDoubleYChart.vue b/src/views/OperationalOverview/components/coldDoubleYChart.vue index ba946fd7..bed1a9d1 100644 --- a/src/views/OperationalOverview/components/coldDoubleYChart.vue +++ b/src/views/OperationalOverview/components/coldDoubleYChart.vue @@ -2,7 +2,7 @@ @@ -97,7 +97,7 @@ export default { { offset: 0.3, color: '#1295FF' } ]), label: { - show: true, //开启显示 + show: false, //开启显示 position: 'top', //在上方显示 textStyle: { //数值样式 color: 'rgba(255,255,255,0.5)', // 坐标值得具体的颜色 diff --git a/src/views/OperationalOverview/processingBoard.vue b/src/views/OperationalOverview/processingBoard.vue index 13bd0607..e83fa26b 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-18 08:42:00 + * @LastEditTime: 2024-04-22 12:15:49 * @Description: --> diff --git a/src/views/report/ingredientReport/day.vue b/src/views/report/ingredientReport/day.vue index 7172ba60..09ce2fef 100644 --- a/src/views/report/ingredientReport/day.vue +++ b/src/views/report/ingredientReport/day.vue @@ -1,7 +1,7 @@ @@ -383,24 +383,24 @@ export default { }, }; -