mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-17 23:06:47 +08:00
计算签到时间
This commit is contained in:
@@ -409,10 +409,10 @@ export default {
|
||||
const isSignClick = () => {
|
||||
debugger
|
||||
console.log("计算签到时间", props.datasource);
|
||||
let beginTime = new Date(props.datasource.info.activityStartTime).getTime();
|
||||
let beginTime = new Date(props.datasource.startTime).getTime();
|
||||
let endTime = !props.datasource.info.afterSignIn
|
||||
? new Date(props.datasource.info.endTime).getTime()
|
||||
: new Date(props.datasource.info.startTime).getTime();
|
||||
? new Date(props.datasource.endTime).getTime()
|
||||
: new Date(props.datasource.startTime).getTime();
|
||||
|
||||
if (props.datasource.info.beforeSignIn && props.datasource.info.afterSignIn) {
|
||||
//有开始前有开始后
|
||||
|
||||
Reference in New Issue
Block a user