| | |
| | | definitions: |
| | | constvar.AttendanceStatus: |
| | | enum: |
| | | - 1 |
| | | - 2 |
| | | - 3 |
| | | - 4 |
| | | type: integer |
| | | x-enum-comments: |
| | | Abnormal: 异常 |
| | | Normal: 正常 |
| | | Overtime: 加班 |
| | | Vacation: 休假 |
| | | x-enum-varnames: |
| | | - Normal |
| | | - Overtime |
| | | - Vacation |
| | | - Abnormal |
| | | constvar.CarFlag: |
| | | enum: |
| | | - 1 |
| | |
| | | type: string |
| | | id: |
| | | type: integer |
| | | overTimeDuration: |
| | | type: number |
| | | startWorkTime: |
| | | type: string |
| | | status: |
| | | $ref: '#/definitions/constvar.AttendanceStatus' |
| | | updatedAt: |
| | | type: string |
| | | workType: |
| | | $ref: '#/definitions/models.WorkTypeManage' |
| | | workTypeId: |
| | | type: integer |
| | | workerId: |
| | | type: string |
| | | workerName: |
| | | type: string |
| | | type: object |
| | | models.AttendanceRule: |
| | | properties: |
| | | createdAt: |
| | | type: string |
| | | deletedAt: |
| | | $ref: '#/definitions/gorm.DeletedAt' |
| | | id: |
| | | type: integer |
| | | overTimeStart: |
| | | type: number |
| | | restDayRule: |
| | | type: integer |
| | | restDayStart: |
| | | type: number |
| | | updatedAt: |
| | | type: string |
| | | weekdayRule: |
| | | type: integer |
| | | type: object |
| | | models.Dict: |
| | | properties: |
| | |
| | | request.DeleteAttendanceInfo: |
| | | properties: |
| | | ids: |
| | | description: 记录id |
| | | items: |
| | | type: integer |
| | | type: array |
| | |
| | | pageSize: |
| | | description: 每页大小 |
| | | type: integer |
| | | type: object |
| | | request.GetAttendanceStatistic: |
| | | properties: |
| | | month: |
| | | description: 月份 |
| | | type: string |
| | | type: object |
| | | request.GetMentorList: |
| | | properties: |
| | |
| | | description: 产量登记表id |
| | | type: integer |
| | | type: object |
| | | response.AttendanceDetail: |
| | | properties: |
| | | date: |
| | | description: 日期 |
| | | type: string |
| | | status: |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.AttendanceStatus' |
| | | description: 状态 |
| | | type: object |
| | | response.AttendanceList: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/response.AttendanceStatistic' |
| | | type: array |
| | | type: object |
| | | response.AttendanceStatistic: |
| | | properties: |
| | | actualAttendanceDays: |
| | | description: 实际出勤天数 |
| | | type: integer |
| | | details: |
| | | description: 详情 |
| | | items: |
| | | $ref: '#/definitions/response.AttendanceDetail' |
| | | type: array |
| | | month: |
| | | description: 月份 |
| | | type: string |
| | | requiredAttendanceDays: |
| | | description: 应出勤天数 |
| | | type: integer |
| | | restDayOverTime: |
| | | description: 休息日加班时长 |
| | | type: number |
| | | weekdayOverTime: |
| | | description: 工作日加班时长 |
| | | type: number |
| | | workType: |
| | | description: 工种 |
| | | type: string |
| | | workerId: |
| | | description: 人员id |
| | | type: string |
| | | workerName: |
| | | description: 人员姓名 |
| | | type: string |
| | | type: object |
| | | response.CarAndLevel: |
| | | properties: |
| | | car: |
| | |
| | | summary: 获取考勤列表 |
| | | tags: |
| | | - 考勤管理 |
| | | /api-jl/v1/attendance/getAttendanceRule: |
| | | get: |
| | | parameters: |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 获取加班规则 |
| | | tags: |
| | | - 考勤管理 |
| | | /api-jl/v1/attendance/getAttendanceStatistic: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.GetAttendanceStatistic' |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/util.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.AttendanceList' |
| | | type: object |
| | | summary: 获取考勤统计 |
| | | tags: |
| | | - 考勤管理 |
| | | /api-jl/v1/attendance/saveAttendanceRule: |
| | | post: |
| | | parameters: |
| | | - description: 参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/models.AttendanceRule' |
| | | - description: token |
| | | in: header |
| | | name: Authorization |
| | | required: true |
| | | type: string |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: 成功 |
| | | schema: |
| | | $ref: '#/definitions/util.Response' |
| | | summary: 保存加班规则 |
| | | tags: |
| | | - 考勤管理 |
| | | /api-jl/v1/fineness/changeYieldRegister: |
| | | post: |
| | | parameters: |