
@@ -303,8 +305,8 @@ export default {
id: this.id,
bt: sTime,
et: eTime,
- p: this.page,
- ps: 1000,
+ p: 1,
+ ps: 1000000,
})
.then((res) => {
console.log(res);
@@ -339,7 +341,7 @@ export default {
"最小风偏角时拉力",
];
timeXData = this.chartsData.map((item) =>
- this.$moment(item.updateTime * 1000).format("HH:mm:ss")
+ this.$moment(item.updateTime * 1000).format("YYYY-MM-DD HH:mm:ss")
);
timeXData = [...new Set(timeXData)];
console.log(timeXData);
@@ -417,13 +419,13 @@ export default {
show: true,
realtime: true,
start: 0,
- end: 85,
+ end: 100,
},
{
type: "inside",
realtime: true,
start: 0,
- end: 85,
+ end: 100,
},
],
xAxis: [
@@ -564,23 +566,23 @@ export default {
},
onSubmit() {
console.log(this.formdata.starttime, this.formdata.endtime);
- if (
- new Date(this.formdata.starttime).getDate() ===
- new Date(this.formdata.endtime).getDate()
- ) {
- this.getIcingData(this.paramsData);
- console.log("开始时间和结束时间为同一天");
- } else {
- this.$message({
- duration: 1500,
- showClose: true,
- message: "请选择同一天",
- type: "warning",
- });
- return;
- console.log("开始时间和结束时间不是同一天");
- }
- // this.getIcingData(this.paramsData);
+ // if (
+ // new Date(this.formdata.starttime).getDate() ===
+ // new Date(this.formdata.endtime).getDate()
+ // ) {
+ // this.getIcingData(this.paramsData);
+ // console.log("开始时间和结束时间为同一天");
+ // } else {
+ // this.$message({
+ // duration: 1500,
+ // showClose: true,
+ // message: "请选择同一天",
+ // type: "warning",
+ // });
+ // return;
+ // console.log("开始时间和结束时间不是同一天");
+ // }
+ this.getIcingData(this.paramsData);
},
//点击分页
handleCurrentChange(val) {
@@ -640,9 +642,9 @@ export default {
margin: 0 auto;
height: calc(100% - 54px);
overflow: auto;
- .codeBox {
+ .codeBox1 {
width: 100%;
- height: 400px;
+ height: 500px;
h3 {
font-size: 14px;
color: #333;
@@ -651,6 +653,10 @@ export default {
font-weight: normal;
text-align: center;
}
+ .codeBox {
+ width: 100%;
+ height: 450px;
+ }
.lineChartBox {
width: 100%;
height: 372px;