|  | @@ -63,10 +63,9 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        params: {
 | 
	
		
			
				|  |  | -        startTime: dayjs(dayjs().year() + startTime.value)
 | 
	
		
			
				|  |  | -          .subtract(1, 'year')
 | 
	
		
			
				|  |  | -          .format('YYYY-MM-DD HH:mm:ss'),
 | 
	
		
			
				|  |  | +        startTime: dayjs(dayjs().year() + startTime.value).format('YYYY-MM-DD HH:mm:ss'),
 | 
	
		
			
				|  |  |          endTime: dayjs(dayjs().year() + endTime.value)
 | 
	
		
			
				|  |  | +          .add(1, 'year')
 | 
	
		
			
				|  |  |            .subtract(1, 'day')
 | 
	
		
			
				|  |  |            .format('YYYY-MM-DD HH:mm:ss'),
 | 
	
		
			
				|  |  |          page: 1,
 | 
	
	
		
			
				|  | @@ -86,17 +85,19 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        state.actionType = val.value
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        if (val.value === 'up') {
 | 
	
		
			
				|  |  | -        state.params.startTime = dayjs(Number(state.currentData[0]) - 1 + startTime.value).format(
 | 
	
		
			
				|  |  | +        state.params.startTime = dayjs(Number(state.currentData[0]) + startTime.value).format(
 | 
	
		
			
				|  |  |            'YYYY-MM-DD HH:mm:ss'
 | 
	
		
			
				|  |  |          )
 | 
	
		
			
				|  |  |          state.params.endTime = dayjs(Number(state.currentData[0]) + endTime.value)
 | 
	
		
			
				|  |  | +          .add(1, 'year')
 | 
	
		
			
				|  |  |            .subtract(1, 'day')
 | 
	
		
			
				|  |  |            .format('YYYY-MM-DD HH:mm:ss')
 | 
	
		
			
				|  |  |        } else if (val.value === 'down') {
 | 
	
		
			
				|  |  | -        state.params.startTime = dayjs(Number(state.currentData[0]) + endTime.value).format(
 | 
	
		
			
				|  |  | -          'YYYY-MM-DD HH:mm:ss'
 | 
	
		
			
				|  |  | -        )
 | 
	
		
			
				|  |  | +        state.params.startTime = dayjs(Number(state.currentData[0]) + endTime.value)
 | 
	
		
			
				|  |  | +          .add(1, 'year')
 | 
	
		
			
				|  |  | +          .format('YYYY-MM-DD HH:mm:ss')
 | 
	
		
			
				|  |  |          state.params.endTime = dayjs(Number(state.currentData[0]) + startTime.value)
 | 
	
		
			
				|  |  | +          .add(1, 'year')
 | 
	
		
			
				|  |  |            .subtract(1, 'day')
 | 
	
		
			
				|  |  |            .format('YYYY-MM-DD HH:mm:ss')
 | 
	
		
			
				|  |  |        }
 | 
	
	
		
			
				|  | @@ -106,10 +107,11 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      const onConfirmDate = (date: any) => {
 | 
	
		
			
				|  |  |        state.currentData = date.selectedValues
 | 
	
		
			
				|  |  |        if (state.actionType === 'up') {
 | 
	
		
			
				|  |  | -        state.params.startTime = dayjs(Number(state.currentData[0]) - 1 + startTime.value).format(
 | 
	
		
			
				|  |  | +        state.params.startTime = dayjs(Number(state.currentData[0]) + startTime.value).format(
 | 
	
		
			
				|  |  |            'YYYY-MM-DD HH:mm:ss'
 | 
	
		
			
				|  |  |          )
 | 
	
		
			
				|  |  |          state.params.endTime = dayjs(Number(state.currentData[0]) + endTime.value)
 | 
	
		
			
				|  |  | +          .add(1, 'year')
 | 
	
		
			
				|  |  |            .subtract(1, 'day')
 | 
	
		
			
				|  |  |            .format('YYYY-MM-DD HH:mm:ss')
 | 
	
		
			
				|  |  |        } else if (state.actionType === 'down') {
 | 
	
	
		
			
				|  | @@ -233,7 +235,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |            <GridItem>
 | 
	
		
			
				|  |  |              <p class={[styles.title, styles.red]}>
 | 
	
		
			
				|  |  |                <span id="currentStudentNum">{state.statistics.studentNum || 0}</span>
 | 
	
		
			
				|  |  | -              <i>名</i>
 | 
	
		
			
				|  |  | +              <i> 名</i>
 | 
	
		
			
				|  |  |              </p>
 | 
	
		
			
				|  |  |              <p class={styles.name}>在读学生</p>
 | 
	
		
			
				|  |  |            </GridItem>
 |