|
@@ -112,7 +112,7 @@ export default {
|
|
|
TabCur: "gate",
|
|
|
dataShow: false,
|
|
|
dataShow1: false,
|
|
|
- dataTime: dayjs().toDate().format("YYYY-MM-DD HH:mm:ss"),
|
|
|
+ dataTime: dayjs().format("YYYY-MM-DD HH:mm:ss"),
|
|
|
deviceType: "gate", //设备类型
|
|
|
StartTime: "",
|
|
|
EndTime: "",
|
|
@@ -131,11 +131,7 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.colums = this.showColum;
|
|
|
- const startTime = new Date(
|
|
|
- new Date(
|
|
|
- new Date().getTime() - 3600 * 1000 * 24 * 30
|
|
|
- )
|
|
|
- );
|
|
|
+ const startTime =new Date().getTime() - 3600 * 1000 * 24 * 30;
|
|
|
const endTime = new Date();
|
|
|
this.StartTime = dayjs(startTime).format("YYYY-MM-DD HH:mm:ss");
|
|
|
this.EndTime = dayjs(endTime).format("YYYY-MM-DD HH:mm:ss");
|