设置初始时间
This commit is contained in:
parent
445ba8fae2
commit
0167625d20
@ -272,12 +272,25 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
// const end = new Date()
|
||||||
|
// const start = new Date()
|
||||||
|
// start.setHours(0,0,0,0)
|
||||||
|
// end.setHours(23,59,59,0)
|
||||||
|
// this.dateTimeRange=[start,end];
|
||||||
|
|
||||||
this.$nextTick(function() {
|
this.$nextTick(function() {
|
||||||
let queryFormEl = this.$refs.queryForm.$el;
|
let queryFormEl = this.$refs.queryForm.$el;
|
||||||
let tableH = queryFormEl.offsetHeight+190;
|
let tableH = queryFormEl.offsetHeight+190;
|
||||||
this.tableHeight = window.innerHeight - tableH;
|
this.tableHeight = window.innerHeight - tableH;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
const end = new Date()
|
||||||
|
const start = new Date()
|
||||||
|
start.setHours(0,0,0,0)
|
||||||
|
end.setHours(23,59,59,0)
|
||||||
|
this.dateTimeRange=[start,end];
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/** 查询扫描记录列表 */
|
/** 查询扫描记录列表 */
|
||||||
getList() {
|
getList() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user