diff --git a/src/views/modules/pms/carHistory/components/configs/chart.js b/src/views/modules/pms/carHistory/components/configs/chart.js index b1a2683..1125e95 100644 --- a/src/views/modules/pms/carHistory/components/configs/chart.js +++ b/src/views/modules/pms/carHistory/components/configs/chart.js @@ -6,26 +6,54 @@ export default (x_data, y_data) => ({ title: { text: "窑车温度", }, - grid: { - show: true, - top: 96, - left: 52, - right: 32, - bottom: 24, - }, - xAxis: { - type: "category", - data: Array(65) - .fill(1) - .map((val, index) => { - return val + index; - }), - axisLine: { - lineStyle: { - color: colors.line + grid: [ + { + id: 'temp-grid', + show: true, + top: 96, + left: 56, + right: 56, + bottom: 32, + }, + { + id: 'lambda-grid', + top: 0, + left: 0, + right: 0, + bottom: 0 + } + ], + xAxis: [ + { + gridIndex: 0, + id: 'temp-x-axis', + type: "category", + data: Array(65) + .fill(1) + .map((val, index) => { + return val + index; + }), + axisLine: { + lineStyle: { + color: colors.line + }, }, }, - }, + { + gridIndex: 1, + id: 'lambda-x-axis', + data: Array(65) + .fill(1) + .map((val, index) => { + return val + index; + }), + axisLine: { + lineStyle: { + color: colors.line + } + } + } + ], yAxis: { type: "value", name: "温度", diff --git a/src/views/modules/pms/carHistory/components/configs/tableProps.js b/src/views/modules/pms/carHistory/components/configs/tableProps.js index 311ee92..14941b4 100644 --- a/src/views/modules/pms/carHistory/components/configs/tableProps.js +++ b/src/views/modules/pms/carHistory/components/configs/tableProps.js @@ -8,7 +8,8 @@ export default [ { width: 60, prop: "code", label: "位置" }, { width: 60, prop: "temp1", label: "温度" }, { width: 80, prop: "press1", label: "窑内压力" }, - { width: 80, prop: "press2", label: "车下压力" }, + { width: 128, prop: "press2", label: "燃气消耗量(m3)" }, + { prop: "remark", label: "lambda" }, { prop: "createTime", label: "时间", filter: timeFilter }, // { prop: "endTime", label: "结束时间", filter: timeFilter }, // { diff --git a/src/views/modules/pms/carHistory/components/temperatureDialog.vue b/src/views/modules/pms/carHistory/components/temperatureDialog.vue index 5b19d7b..161756d 100644 --- a/src/views/modules/pms/carHistory/components/temperatureDialog.vue +++ b/src/views/modules/pms/carHistory/components/temperatureDialog.vue @@ -3,15 +3,14 @@ :visible="visible" title="烧制温度" class="temperature-dialog" - width="80%" + width="90%" @close="handleClose" :destroy-on-close="false" - :close-on-click-modal="false" - > + :close-on-click-modal="false">