diff --git a/src/api/report/index.js b/src/api/report/index.js new file mode 100644 index 0000000..243341e --- /dev/null +++ b/src/api/report/index.js @@ -0,0 +1,15 @@ +/* + * @Author: zhp + * @Date: 2024-06-17 09:41:03 + * @LastEditTime: 2024-06-17 09:54:26 + * @LastEditors: zhp + * @Description: + */ +import request from '@/utils/request' +export function getComprehensiveDataPage(data) { + return request({ + url: 'ip/comprehensive/data/get/comprehensive/data', + method: 'get', + params: data + }) +} diff --git a/src/store/modules/home.js b/src/store/modules/home.js index 234fa10..8a2652a 100644 --- a/src/store/modules/home.js +++ b/src/store/modules/home.js @@ -436,7 +436,10 @@ function splitCurrentAndPrevious(factoryListResponse, targetListResponse, prodOu if (preData && preData[0] != null) { for (const factory of preData) { const fId = getPreFactoryId(factory); - chipInvest.previous[fId] = factory.previousYearInputNumber; + if (factory.previousGlassType === 0) { + chipInvest.previous[fId] = factory.inputNumber + } + // chipInvest.previous[fId] = factory.previousYearInputNumber; if (![0, 1, 2].includes(factory.previousGlassType)) continue; const _t = [chipOutput, stdOutput, bipvOutput][factory.previousGlassType]; // if (fId) { diff --git a/src/views/copilot/efficiency/components/sub/bar/BarChartChipOEE.vue b/src/views/copilot/efficiency/components/sub/bar/BarChartChipOEE.vue index c227aef..6d7f58f 100644 --- a/src/views/copilot/efficiency/components/sub/bar/BarChartChipOEE.vue +++ b/src/views/copilot/efficiency/components/sub/bar/BarChartChipOEE.vue @@ -1,7 +1,7 @@ @@ -180,30 +180,30 @@ export default { itemStyle: { color: "#f3c000", }, - areaStyle: { - color: { - type: "linear", - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { - offset: 0, - color: "#f3c000", // 0% 处的颜色 - }, - { - offset: 0.55, - color: "#f3c00033", - }, - { - offset: 1, - color: "transparent", // 100% 处的颜色 - }, - ], - global: false, // 缺省为 false - }, - }, + // areaStyle: { + // color: { + // type: "linear", + // x: 0, + // y: 0, + // x2: 0, + // y2: 1, + // colorStops: [ + // { + // offset: 0, + // color: "#f3c000", // 0% 处的颜色 + // }, + // { + // offset: 0.55, + // color: "#f3c00033", + // }, + // { + // offset: 1, + // color: "transparent", // 100% 处的颜色 + // }, + // ], + // global: false, // 缺省为 false + // }, + // }, data: [], // this.series[0].data, }, ], diff --git a/src/views/copilot/efficiency/components/sub/bar/BarChartChipTrans.vue b/src/views/copilot/efficiency/components/sub/bar/BarChartChipTrans.vue index 79475ff..848f32d 100644 --- a/src/views/copilot/efficiency/components/sub/bar/BarChartChipTrans.vue +++ b/src/views/copilot/efficiency/components/sub/bar/BarChartChipTrans.vue @@ -1,7 +1,7 @@ @@ -180,30 +180,30 @@ export default { itemStyle: { color: "#f3c000", }, - areaStyle: { - color: { - type: "linear", - x: 0, - y: 0, - x2: 0, - y2: 1, - colorStops: [ - { - offset: 0, - color: "#f3c000", // 0% 处的颜色 - }, - { - offset: 0.55, - color: "#f3c00033", - }, - { - offset: 1, - color: "transparent", // 100% 处的颜色 - }, - ], - global: false, // 缺省为 false - }, - }, + // areaStyle: { + // color: { + // type: "linear", + // x: 0, + // y: 0, + // x2: 0, + // y2: 1, + // colorStops: [ + // { + // offset: 0, + // color: "#f3c000", // 0% 处的颜色 + // }, + // { + // offset: 0.55, + // color: "#f3c00033", + // }, + // { + // offset: 1, + // color: "transparent", // 100% 处的颜色 + // }, + // ], + // global: false, // 缺省为 false + // }, + // }, data: [], // this.series[0].data, }, ], diff --git a/src/views/copilot/factoryData/components/BarChartBase.vue b/src/views/copilot/factoryData/components/BarChartBase.vue index 5bf1725..534d37e 100644 --- a/src/views/copilot/factoryData/components/BarChartBase.vue +++ b/src/views/copilot/factoryData/components/BarChartBase.vue @@ -1,19 +1,24 @@ - - - - + + + - diff --git a/src/views/report/productionSituationMW.vue b/src/views/report/productionSituationMW.vue new file mode 100644 index 0000000..23906a7 --- /dev/null +++ b/src/views/report/productionSituationMW.vue @@ -0,0 +1,490 @@ + + + + + + + + + + + + + + + + + + + + + + 至 + + + + + + + + + + + + ~ + + + + + + + 查询 + + + 导出 + + + + + + + + + + + + + + + + diff --git a/src/views/report/productionSituationTablets.vue b/src/views/report/productionSituationTablets.vue new file mode 100644 index 0000000..23906a7 --- /dev/null +++ b/src/views/report/productionSituationTablets.vue @@ -0,0 +1,490 @@ + + + + + + + + + + + + + + + + + + + + + + 至 + + + + + + + + + + + + ~ + + + + + + + 查询 + + + 导出 + + + + + + + + + + + + + + + + diff --git a/src/views/report/productionYield.vue b/src/views/report/productionYield.vue new file mode 100644 index 0000000..23906a7 --- /dev/null +++ b/src/views/report/productionYield.vue @@ -0,0 +1,490 @@ + + + + + + + + + + + + + + + + + + + + + + 至 + + + + + + + + + + + + ~ + + + + + + + 查询 + + + 导出 + + + + + + + + + + + + + + + +