|
@@ -23,7 +23,7 @@ Page({
|
|
|
if (that.data.isregiste) {
|
|
|
that.getVisitorCheckInfo(2);
|
|
|
} else {
|
|
|
- that.getVisitorCheckInfo(3);
|
|
|
+ that.getVisitorCheckInfo(4);
|
|
|
}
|
|
|
},
|
|
|
|
|
@@ -58,9 +58,15 @@ Page({
|
|
|
let year = date.getFullYear();
|
|
|
let month = date.getMonth() + 1;
|
|
|
let day = date.getDate();
|
|
|
+ let hour = date.getHours();
|
|
|
+ let minute = date.getMinutes();
|
|
|
+ let second = date.getSeconds();
|
|
|
month = month < 10 ? "0" + month : month;
|
|
|
day = day < 10 ? "0" + day : day;
|
|
|
- date = year + '-' + month + '-' + day;
|
|
|
+ hour = hour < 10 ? "0" + hour : hour;
|
|
|
+ minute = minute < 10 ? "0" + minute : minute;
|
|
|
+ second = second < 10 ? "0" + second : second;
|
|
|
+ date = year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second;
|
|
|
console.log(date);
|
|
|
return date;
|
|
|
},
|