fix:回转窑更改计算测点值
This commit is contained in:
parent
0015e2c96d
commit
aa19ef2788
|
@ -187,17 +187,23 @@ export default {
|
||||||
that.$refs.table.queryData(that.query);
|
that.$refs.table.queryData(that.query);
|
||||||
},
|
},
|
||||||
handle_add() {},
|
handle_add() {},
|
||||||
typeChange() {
|
typeChange(val) {
|
||||||
this.query.month_s = "";
|
this.query.month_s = "";
|
||||||
this.query.year_s = "";
|
this.query.year_s = "";
|
||||||
},
|
},
|
||||||
dateChange(val) {
|
dateChange(val) {
|
||||||
console.log(val);
|
console.log(val);
|
||||||
if (this.query.type == "day_s") {
|
if (val !== null) {
|
||||||
this.query.month_s = val.split("-")[1];
|
if (this.query.type == "day_s") {
|
||||||
this.query.year_s = val.split("-")[0];
|
this.query.month_s = val.split("-")[1];
|
||||||
|
this.query.year_s = val.split("-")[0];
|
||||||
|
} else {
|
||||||
|
this.query.year_s = val;
|
||||||
|
this.query.month_s = "";
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.query.year_s = val;
|
this.query.month_s = "";
|
||||||
|
this.query.year_s = "";
|
||||||
}
|
}
|
||||||
this.$refs.table.queryData(this.query);
|
this.$refs.table.queryData(this.query);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue