|
@@ -1,4 +1,5 @@
|
|
import * as echarts from "echarts";
|
|
import * as echarts from "echarts";
|
|
|
|
+import { Store } from "express-session";
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -66,6 +67,7 @@ export default {
|
|
created() {
|
|
created() {
|
|
this.Date1 = this.BASE.getBzDate(new Date().getTime(),-1);
|
|
this.Date1 = this.BASE.getBzDate(new Date().getTime(),-1);
|
|
this.query_wpid();
|
|
this.query_wpid();
|
|
|
|
+ this.query_check();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
clear() {
|
|
clear() {
|
|
@@ -83,9 +85,10 @@ export default {
|
|
/**
|
|
/**
|
|
* 获取风场
|
|
* 获取风场
|
|
*/
|
|
*/
|
|
- query_wpid() {
|
|
|
|
- this.API.get("powercompare/windfarmAjax?").then((res) => {
|
|
|
|
|
|
+ query_wpid() {
|
|
|
|
+ this.API.get("powercompare/windfarmAjax?").then(async(res) => {
|
|
this.wpIdslist = res.data;
|
|
this.wpIdslist = res.data;
|
|
|
|
+ await this.query();
|
|
}).catch(error =>{
|
|
}).catch(error =>{
|
|
this.$message.error('获取数据失败');
|
|
this.$message.error('获取数据失败');
|
|
});
|
|
});
|
|
@@ -156,12 +159,18 @@ export default {
|
|
* 获取年 曲线数据
|
|
* 获取年 曲线数据
|
|
*/
|
|
*/
|
|
query_line_n() {
|
|
query_line_n() {
|
|
|
|
+ this.$store.commit("loadingStore",true);
|
|
let that = this;
|
|
let that = this;
|
|
|
|
+ that.lineDate_n.speed = [];
|
|
|
|
+ that.lineDate_n.value1 = [];
|
|
|
|
+ that.lineDate_n.value2 = [];
|
|
|
|
+ that.lineDate_n.value3 = [];
|
|
|
|
+ that.lineDate_n.value4 = [];
|
|
this.API
|
|
this.API
|
|
- .get(
|
|
|
|
|
|
+ .get_L(
|
|
"compare/compareYearChat?windturbineid=" +
|
|
"compare/compareYearChat?windturbineid=" +
|
|
this.fj +
|
|
this.fj +
|
|
- "&date=" +
|
|
|
|
|
|
+ "&recorddate=" +
|
|
this.Date1
|
|
this.Date1
|
|
)
|
|
)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
@@ -174,6 +183,8 @@ export default {
|
|
that.lineDate_n.value4[i] = Date[i].value4;
|
|
that.lineDate_n.value4[i] = Date[i].value4;
|
|
that.lineDate_n.value5[i] = Date[i].value5;
|
|
that.lineDate_n.value5[i] = Date[i].value5;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ this.ECZM.bar_djbhd("linechar_n",this.fj,this.lineDate_n);
|
|
this.query_daycompare_n();
|
|
this.query_daycompare_n();
|
|
}).catch(error =>{
|
|
}).catch(error =>{
|
|
this.$message.error('获取数据失败');
|
|
this.$message.error('获取数据失败');
|
|
@@ -184,10 +195,10 @@ export default {
|
|
*/
|
|
*/
|
|
query_daycompare_n() {
|
|
query_daycompare_n() {
|
|
this.API
|
|
this.API
|
|
- .get(
|
|
|
|
|
|
+ .get_L(
|
|
"compare/compareYearList?windturbineid=" +
|
|
"compare/compareYearList?windturbineid=" +
|
|
this.fj +
|
|
this.fj +
|
|
- "&date=" +
|
|
|
|
|
|
+ "&recorddate=" +
|
|
this.Date1
|
|
this.Date1
|
|
)
|
|
)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
@@ -197,29 +208,14 @@ export default {
|
|
});
|
|
});
|
|
|
|
|
|
this.API
|
|
this.API
|
|
- .get("compare/fzyYear?windturbineid=" + this.fj + "&date=" + this.Date1)
|
|
|
|
|
|
+ .get_L("compare/fzyYear?windturbineid=" + this.fj + "&recorddate=" + this.Date1)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
let that = this;
|
|
let that = this;
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_0,
|
|
|
|
- this.$options.data().leida_list_0
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_1,
|
|
|
|
- this.$options.data().leida_list_1
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_2,
|
|
|
|
- this.$options.data().leida_list_2
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_3,
|
|
|
|
- this.$options.data().leida_list_3
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_4,
|
|
|
|
- this.$options.data().leida_list_4
|
|
|
|
- );
|
|
|
|
|
|
+ this.leida_list_0 = [];
|
|
|
|
+ this.leida_list_1 = [];
|
|
|
|
+ this.leida_list_2 = [];
|
|
|
|
+ this.leida_list_3 = [];
|
|
|
|
+ this.leida_list_4 = [];
|
|
let len = Object.keys(res.data).length;
|
|
let len = Object.keys(res.data).length;
|
|
let lenfj = this.fj.length;
|
|
let lenfj = this.fj.length;
|
|
if (len == 2) {
|
|
if (len == 2) {
|
|
@@ -292,18 +288,28 @@ export default {
|
|
}
|
|
}
|
|
if (this.fj.length == 1) {
|
|
if (this.fj.length == 1) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
|
|
+ this.ECZM.clear("fzy2");
|
|
|
|
+ this.ECZM.clear("fzy3");
|
|
|
|
+ this.ECZM.clear("fzy4");
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 2) {
|
|
} else if (this.fj.length == 2) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
|
|
+ this.ECZM.clear("fzy3");
|
|
|
|
+ this.ECZM.clear("fzy4");
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 3) {
|
|
} else if (this.fj.length == 3) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
|
|
+ this.ECZM.clear("fzy4");
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 4) {
|
|
} else if (this.fj.length == 4) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 5) {
|
|
} else if (this.fj.length == 5) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
@@ -311,21 +317,28 @@ export default {
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
this.ECZM.leida_djbhd("fzy5",this.leida_list_4,this.jfpl4);
|
|
this.ECZM.leida_djbhd("fzy5",this.leida_list_4,this.jfpl4);
|
|
}
|
|
}
|
|
- this.ECZM.bar_djbhd("linechar_n",this.fj,this.lineDate);
|
|
|
|
|
|
+ this.$store.commit("loadingStore",false);
|
|
}).catch(error =>{
|
|
}).catch(error =>{
|
|
this.$message.error('获取数据失败');
|
|
this.$message.error('获取数据失败');
|
|
|
|
+ this.$store.commit("loadingStore",false);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
* 获取月曲线数据
|
|
* 获取月曲线数据
|
|
*/
|
|
*/
|
|
query_line_y() {
|
|
query_line_y() {
|
|
|
|
+ this.$store.commit("loadingStore",true);
|
|
let that = this;
|
|
let that = this;
|
|
|
|
+ that.lineDate_y.speed = [];
|
|
|
|
+ that.lineDate_y.value1 = [];
|
|
|
|
+ that.lineDate_y.value2 = [];
|
|
|
|
+ that.lineDate_y.value3 = [];
|
|
|
|
+ that.lineDate_y.value4 = [];
|
|
this.API
|
|
this.API
|
|
.get(
|
|
.get(
|
|
"compare/compareMonthChat?windturbineid=" +
|
|
"compare/compareMonthChat?windturbineid=" +
|
|
this.fj +
|
|
this.fj +
|
|
- "&date=" +
|
|
|
|
|
|
+ "&recorddate=" +
|
|
this.Date1
|
|
this.Date1
|
|
)
|
|
)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
@@ -338,6 +351,8 @@ export default {
|
|
that.lineDate_y.value4[i] = Date[i].value4;
|
|
that.lineDate_y.value4[i] = Date[i].value4;
|
|
that.lineDate_y.value5[i] = Date[i].value5;
|
|
that.lineDate_y.value5[i] = Date[i].value5;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ this.ECZM.bar_djbhd("linechar_y",this.fj,this.lineDate_y);
|
|
this.query_daycompare_y();
|
|
this.query_daycompare_y();
|
|
}).catch(error =>{
|
|
}).catch(error =>{
|
|
this.$message.error('获取数据失败');
|
|
this.$message.error('获取数据失败');
|
|
@@ -351,7 +366,7 @@ export default {
|
|
.get(
|
|
.get(
|
|
"compare/compareMonthList?windturbineid=" +
|
|
"compare/compareMonthList?windturbineid=" +
|
|
this.fj +
|
|
this.fj +
|
|
- "&date=" +
|
|
|
|
|
|
+ "&recorddate=" +
|
|
this.Date1
|
|
this.Date1
|
|
)
|
|
)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
@@ -361,30 +376,15 @@ export default {
|
|
});
|
|
});
|
|
this.API
|
|
this.API
|
|
.get(
|
|
.get(
|
|
- "compare/fzyMonth?windturbineid=" + this.fj + "&date=" + this.Date1
|
|
|
|
|
|
+ "compare/fzyMonth?windturbineid=" + this.fj + "&recorddate=" + this.Date1
|
|
)
|
|
)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
let that = this;
|
|
let that = this;
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_0,
|
|
|
|
- this.$options.data().leida_list_0
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_1,
|
|
|
|
- this.$options.data().leida_list_1
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_2,
|
|
|
|
- this.$options.data().leida_list_2
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_3,
|
|
|
|
- this.$options.data().leida_list_3
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_4,
|
|
|
|
- this.$options.data().leida_list_4
|
|
|
|
- );
|
|
|
|
|
|
+ this.leida_list_0 = [];
|
|
|
|
+ this.leida_list_1 = [];
|
|
|
|
+ this.leida_list_2 = [];
|
|
|
|
+ this.leida_list_3 = [];
|
|
|
|
+ this.leida_list_4 = [];
|
|
|
|
|
|
if (Object.keys(res.data).length == 2) {
|
|
if (Object.keys(res.data).length == 2) {
|
|
this.jfpl0 = res.data.jfpl0;
|
|
this.jfpl0 = res.data.jfpl0;
|
|
@@ -456,18 +456,28 @@ export default {
|
|
}
|
|
}
|
|
if (this.fj.length == 1) {
|
|
if (this.fj.length == 1) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
|
|
+ this.ECZM.clear("fzy2");
|
|
|
|
+ this.ECZM.clear("fzy3");
|
|
|
|
+ this.ECZM.clear("fzy4");
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 2) {
|
|
} else if (this.fj.length == 2) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
|
|
+ this.ECZM.clear("fzy3");
|
|
|
|
+ this.ECZM.clear("fzy4");
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 3) {
|
|
} else if (this.fj.length == 3) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
|
|
+ this.ECZM.clear("fzy4");
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 4) {
|
|
} else if (this.fj.length == 4) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 5) {
|
|
} else if (this.fj.length == 5) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
@@ -475,8 +485,9 @@ export default {
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
this.ECZM.leida_djbhd("fzy5",this.leida_list_4,this.jfpl4);
|
|
this.ECZM.leida_djbhd("fzy5",this.leida_list_4,this.jfpl4);
|
|
}
|
|
}
|
|
- this.ECZM.bar_djbhd("linechar_y",this.fj,this.lineDate);
|
|
|
|
|
|
+ this.$store.commit("loadingStore",false);
|
|
}).catch(error =>{
|
|
}).catch(error =>{
|
|
|
|
+ this.$store.commit("loadingStore",false);
|
|
this.$message.error('获取数据失败');
|
|
this.$message.error('获取数据失败');
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -484,15 +495,22 @@ export default {
|
|
* 获取日曲线数据
|
|
* 获取日曲线数据
|
|
*/
|
|
*/
|
|
query_line() {
|
|
query_line() {
|
|
|
|
+ this.$store.commit("loadingStore",true);
|
|
let that = this;
|
|
let that = this;
|
|
this.API
|
|
this.API
|
|
.get(
|
|
.get(
|
|
"compare/compareDayChat?windturbineid=" +
|
|
"compare/compareDayChat?windturbineid=" +
|
|
this.fj +
|
|
this.fj +
|
|
- "&date=" +
|
|
|
|
|
|
+ "&recorddate=" +
|
|
this.Date1
|
|
this.Date1
|
|
)
|
|
)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
|
|
+ debugger
|
|
|
|
+ that.lineDate.speed = [];
|
|
|
|
+ that.lineDate.value1 = [];
|
|
|
|
+ that.lineDate.value2 = [];
|
|
|
|
+ that.lineDate.value3 = [];
|
|
|
|
+ that.lineDate.value4 = [];
|
|
let Date = res.data;
|
|
let Date = res.data;
|
|
for (let i = 0; i < Date.length; i++) {
|
|
for (let i = 0; i < Date.length; i++) {
|
|
that.lineDate.speed[i] = Date[i].speed;
|
|
that.lineDate.speed[i] = Date[i].speed;
|
|
@@ -502,50 +520,34 @@ export default {
|
|
that.lineDate.value4[i] = Date[i].value4;
|
|
that.lineDate.value4[i] = Date[i].value4;
|
|
that.lineDate.value5[i] = Date[i].value5;
|
|
that.lineDate.value5[i] = Date[i].value5;
|
|
}
|
|
}
|
|
|
|
+ this.ECZM.bar_djbhd("linechar",this.fj,this.lineDate);
|
|
this.query_daycompare();
|
|
this.query_daycompare();
|
|
- }).catch(error =>{
|
|
|
|
- this.$message.error('获取数据失败');
|
|
|
|
- });
|
|
|
|
|
|
+ })
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
* 获取日雷达图数据 表格
|
|
* 获取日雷达图数据 表格
|
|
*/
|
|
*/
|
|
query_daycompare() {
|
|
query_daycompare() {
|
|
- Object.assign(this.$data.tableData, this.$options.data().tableData);
|
|
|
|
|
|
+ this.tableData = [];
|
|
this.API
|
|
this.API
|
|
.get(
|
|
.get(
|
|
"compare/compareDayList?windturbineid=" +
|
|
"compare/compareDayList?windturbineid=" +
|
|
this.fj +
|
|
this.fj +
|
|
- "&date=" +
|
|
|
|
|
|
+ "&recorddate=" +
|
|
this.Date1
|
|
this.Date1
|
|
)
|
|
)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
this.tableData = res.data;
|
|
this.tableData = res.data;
|
|
});
|
|
});
|
|
this.API
|
|
this.API
|
|
- .get("compare/fzyDay?windturbineid=" + this.fj + "&date=" + this.Date1)
|
|
|
|
|
|
+ .get("compare/fzyDay?windturbineid=" + this.fj + "&recorddate=" + this.Date1)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
let that = this;
|
|
let that = this;
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_0,
|
|
|
|
- this.$options.data().leida_list_0
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_1,
|
|
|
|
- this.$options.data().leida_list_1
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_2,
|
|
|
|
- this.$options.data().leida_list_2
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_3,
|
|
|
|
- this.$options.data().leida_list_3
|
|
|
|
- );
|
|
|
|
- Object.assign(
|
|
|
|
- this.$data.leida_list_4,
|
|
|
|
- this.$options.data().leida_list_4
|
|
|
|
- );
|
|
|
|
|
|
+ this.leida_list_0 = [];
|
|
|
|
+ this.leida_list_1 = [];
|
|
|
|
+ this.leida_list_2 = [];
|
|
|
|
+ this.leida_list_3 = [];
|
|
|
|
+ this.leida_list_4 = [];
|
|
|
|
|
|
if (Object.keys(res.data).length == 2) {
|
|
if (Object.keys(res.data).length == 2) {
|
|
this.jfpl0 = res.data.jfpl0;
|
|
this.jfpl0 = res.data.jfpl0;
|
|
@@ -616,19 +618,29 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (this.fj.length == 1) {
|
|
if (this.fj.length == 1) {
|
|
- this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
|
|
|
|
+ this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
|
|
+ this.ECZM.clear("fzy2");
|
|
|
|
+ this.ECZM.clear("fzy3");
|
|
|
|
+ this.ECZM.clear("fzy4");
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 2) {
|
|
} else if (this.fj.length == 2) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
|
|
+ this.ECZM.clear("fzy3");
|
|
|
|
+ this.ECZM.clear("fzy4");
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 3) {
|
|
} else if (this.fj.length == 3) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
|
|
+ this.ECZM.clear("fzy4");
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 4) {
|
|
} else if (this.fj.length == 4) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
this.ECZM.leida_djbhd("fzy3",this.leida_list_2,this.jfpl2);
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
|
|
+ this.ECZM.clear("fzy5");
|
|
} else if (this.fj.length == 5) {
|
|
} else if (this.fj.length == 5) {
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy1",this.leida_list_0,this.jfpl0);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
this.ECZM.leida_djbhd("fzy2",this.leida_list_1,this.jfpl1);
|
|
@@ -636,15 +648,15 @@ export default {
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
this.ECZM.leida_djbhd("fzy4",this.leida_list_3,this.jfpl3);
|
|
this.ECZM.leida_djbhd("fzy5",this.leida_list_4,this.jfpl4);
|
|
this.ECZM.leida_djbhd("fzy5",this.leida_list_4,this.jfpl4);
|
|
}
|
|
}
|
|
- this.ECZM.bar_djbhd("linechar",this.fj,this.lineDate);
|
|
|
|
|
|
+ this.$store.commit("loadingStore",false);
|
|
}).catch(error =>{
|
|
}).catch(error =>{
|
|
|
|
+ this.$store.commit("loadingStore",false);
|
|
this.$message.error('获取数据失败');
|
|
this.$message.error('获取数据失败');
|
|
});
|
|
});
|
|
},
|
|
},
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- this.ECZM.bar_djbhd("linechar",this.fj,this.lineDate);
|
|
|
|
- this.query();
|
|
|
|
- this.query_check();
|
|
|
|
|
|
+ // this.ECZM.bar_djbhd("linechar",this.fj,this.lineDate);
|
|
|
|
+
|
|
},
|
|
},
|
|
};
|
|
};
|