Compare commits

..

No commits in common. "96d55b5a574664ed371f19af0078a169e440a419" and "f7b151f9aa0072005a9328dff39a621c3ade7692" have entirely different histories.

5 changed files with 155 additions and 182 deletions

View File

@ -63,22 +63,14 @@ export default {
computed: {}, computed: {},
methods: { methods: {
handleExport() { handleExport() {
if (this.period != 1) { exportFactoryDataExcel({
exportFactoryDataExcel({ factoryId: this.companyId,
factoryId: this.companyId, timeSelection: this.period === 1 ? 0 : this.period === 2 ? 1 : this.period === 3 ? 2 : 3,
timeSelection: this.period === 1 ? 0 : this.period === 2 ? 1 : this.period === 3 ? 2 : 3, compare: this.than === '同比' ? 1 : 2
compare: this.than === '同比' ? 1 : 2 }).then(response => {
}).then(response => { this.$download.excel(response, `${this.companyName}生产数据.xls`);
this.$download.excel(response, `${this.companyName}生产数据.xls`); // this.exportLoading = false;
// this.exportLoading = false; }).catch(() => { });
}).catch(() => { });
} else {
this.$message({
type: 'warning',
message: '为日的情况下没有导出功能',
})
}
}, },
toggleFullScreen() { toggleFullScreen() {
this.isFullscreen = !this.isFullscreen; this.isFullscreen = !this.isFullscreen;

View File

@ -1,7 +1,7 @@
<!-- <!--
* @Author: zhp * @Author: zhp
* @Date: 2024-06-19 15:28:34 * @Date: 2024-06-19 15:28:34
* @LastEditTime: 2024-06-27 10:40:57 * @LastEditTime: 2024-06-26 10:42:16
* @LastEditors: zhp * @LastEditors: zhp
* @Description: * @Description:
--> -->
@ -87,32 +87,11 @@ export default {
// //
type: "slider", type: "slider",
// //
backgroundColor: "#F7F7F7", backgroundColor: "rgb(19, 63, 100)",
// handleStyle: {
// color: '#D6D6D6'
// },
handleStyle: {
borderColor: '#EBEBEB',
color: '#EBEBEB'
},
moveHandleStyle: {
borderColor: '#EBEBEB',
color: '#EBEBEB'
},
emphasis: {
handleStyle: {
borderColor: '#D6D6D6',
color: '#D6D6D6'
},
moveHandleStyle: {
borderColor: '#D6D6D6',
color: '#D6D6D6'
}
},
// //
fillerColor: "#F7F7F7", fillerColor: "rgb(16, 171, 198)",
// //
borderColor: "#F7F7F7", borderColor: "rgb(19, 63, 100)",
// detail // detail
showDetail: false, showDetail: false,
// //
@ -123,9 +102,9 @@ export default {
// //
filterMode: "empty", filterMode: "empty",
// //
width: "100%", width: "50%",
// //
height: 3, height: 8,
// //
left: "center", left: "center",
// //
@ -133,7 +112,7 @@ export default {
// //
handleSize: 0, handleSize: 0,
// dataZoom-slider // dataZoom-slider
bottom: 14, bottom: 3,
}, },
{ {
// //
@ -145,6 +124,7 @@ export default {
moveOnMouseMove: true, moveOnMouseMove: true,
moveOnMouseWheel: true, moveOnMouseWheel: true,
}, },
], ],
yAxis:undefined, yAxis:undefined,
series: [], series: [],

View File

@ -1,7 +1,7 @@
<!-- <!--
* @Author: zhp * @Author: zhp
* @Date: 2024-06-20 16:13:36 * @Date: 2024-06-20 16:13:36
* @LastEditTime: 2024-06-27 09:51:43 * @LastEditTime: 2024-06-26 16:53:39
* @LastEditors: zhp * @LastEditors: zhp
* @Description: * @Description:
--> -->
@ -80,52 +80,52 @@ export default {
type: "shadow", type: "shadow",
}, },
}, },
// dataZoom: [// dataZoom: [//
// { {
// // //
// show: true, show: true,
// // //
// type: "slider", type: "slider",
// // //
// backgroundColor: "rgb(19, 63, 100)", backgroundColor: "rgb(19, 63, 100)",
// // //
// fillerColor: "rgb(16, 171, 198)", fillerColor: "rgb(16, 171, 198)",
// // //
// borderColor: "rgb(19, 63, 100)", borderColor: "rgb(19, 63, 100)",
// // detail // detail
// showDetail: false, showDetail: false,
// // //
// startValue: 0, startValue: 0,
// // //
// endValue: 5, endValue: 5,
// // empty // empty
// // //
// filterMode: "empty", filterMode: "empty",
// // //
// width: "50%", width: "50%",
// // //
// height: 8, height: 8,
// // //
// left: "center", left: "center",
// // //
// zoomLoxk: true, zoomLoxk: true,
// // //
// handleSize: 0, handleSize: 0,
// // dataZoom-slider // dataZoom-slider
// bottom: 3, bottom: 3,
// }, },
// { {
// // //
// // //
// type: "inside", type: "inside",
// // //
// zoomOnMouseWheel: false, zoomOnMouseWheel: false,
// // //
// moveOnMouseMove: true, moveOnMouseMove: true,
// moveOnMouseWheel: true, moveOnMouseWheel: true,
// }, },
// ], ],
yAxis:undefined, yAxis:undefined,
series: [], series: [],
}, },

View File

@ -1,7 +1,7 @@
<!-- <!--
* @Author: zhp * @Author: zhp
* @Date: 2024-06-20 16:13:52 * @Date: 2024-06-20 16:13:52
* @LastEditTime: 2024-06-27 09:55:02 * @LastEditTime: 2024-06-25 10:49:34
* @LastEditors: zhp * @LastEditors: zhp
* @Description: * @Description:
--> -->
@ -80,52 +80,52 @@ export default {
type: "shadow", type: "shadow",
}, },
}, },
// dataZoom: [// dataZoom: [//
// { {
// // //
// show: true, show: true,
// // //
// type: "slider", type: "slider",
// // //
// backgroundColor: "rgb(19, 63, 100)", backgroundColor: "rgb(19, 63, 100)",
// // //
// fillerColor: "rgb(16, 171, 198)", fillerColor: "rgb(16, 171, 198)",
// // //
// borderColor: "rgb(19, 63, 100)", borderColor: "rgb(19, 63, 100)",
// // detail // detail
// showDetail: false, showDetail: false,
// // //
// startValue: 0, startValue: 0,
// // //
// endValue: 5, endValue: 5,
// // empty // empty
// // //
// filterMode: "empty", filterMode: "empty",
// // //
// width: "50%", width: "50%",
// // //
// height: 8, height: 8,
// // //
// left: "center", left: "center",
// // //
// zoomLoxk: true, zoomLoxk: true,
// // //
// handleSize: 0, handleSize: 0,
// // dataZoom-slider // dataZoom-slider
// bottom: 3, bottom: 3,
// }, },
// { {
// // //
// // //
// type: "inside", type: "inside",
// // //
// zoomOnMouseWheel: false, zoomOnMouseWheel: false,
// // //
// moveOnMouseMove: true, moveOnMouseMove: true,
// moveOnMouseWheel: true, moveOnMouseWheel: true,
// }, },
// ], ],
yAxis:undefined, yAxis:undefined,
series: [], series: [],
}, },

View File

@ -1,7 +1,7 @@
<!-- <!--
* @Author: zhp * @Author: zhp
* @Date: 2024-06-21 09:05:14 * @Date: 2024-06-21 09:05:14
* @LastEditTime: 2024-06-27 10:59:40 * @LastEditTime: 2024-06-26 14:49:15
* @LastEditors: zhp * @LastEditors: zhp
* @Description: * @Description:
--> -->
@ -98,51 +98,52 @@ export default {
type: "shadow", type: "shadow",
}, },
}, },
// dataZoom: [// dataZoom: [//
// { {
// // //
// show: true, show: true,
// // //
// type: "slider", type: "slider",
// // //
// backgroundColor: "#F7F7F7", backgroundColor: "rgb(19, 63, 100)",
// // //
// fillerColor: "#EBEBEB", fillerColor: "rgb(16, 171, 198)",
// // //
// borderColor: "#F7F7F7", borderColor: "rgb(19, 63, 100)",
// // detail // detail
// showDetail: false, showDetail: false,
// // //
// startValue: 0, startValue: 0,
// // //
// endValue: 5, endValue: 5,
// // empty // empty
// // //
// filterMode: "empty", filterMode: "empty",
// // //
// width: "100%", width: "50%",
// // //
// height: 8, height: 8,
// // //
// left: "center", left: "center",
// // //
// zoomLoxk: true, zoomLoxk: true,
// // //
// handleSize: 0, handleSize: 0,
// // dataZoom-slider // dataZoom-slider
// bottom: 3, bottom: 3,
// }, },
// { {
// // //
// // //
// type: "inside", type: "inside",
// // //
// zoomOnMouseWheel: false, zoomOnMouseWheel: false,
// // //
// moveOnMouseMove: true, moveOnMouseMove: true,
// moveOnMouseWheel: true, moveOnMouseWheel: true,
// }, },
// ],
],
yAxis:undefined, yAxis:undefined,
series: [], series: [],
}, },