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

View File

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

View File

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

View File

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

View File

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