eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/rest/AttendanceCardreplacementController.java
@@ -105,7 +105,7 @@ @PutMapping(value = "/revoke") @Log("补卡撤销") @ApiOperation("补卡撤销") @PreAuthorize("@el.check('attendanceCardreplacement:revoke')") @PreAuthorize("@el.check('attendanceCardreplacement:approve')") public ResponseEntity<Object> checkInApplicationPass(@Validated @RequestBody AttendanceCardreplacement resources){ attendanceCardreplacementService.cardRevoke(resources); return new ResponseEntity<>(HttpStatus.NO_CONTENT); eladmin-web-master/src/views/attendance/attendanceCardReplacement/index.vue
@@ -144,33 +144,33 @@ <!--表格渲染--> <el-table ref="table" v-loading="crud.loading" :data="crud.data" size="small" style="width: 100%;" @selection-change="crud.selectionChangeHandler"> <el-table-column type="selection" width="55" /> <el-table-column prop="userName" label="申请人" width="100" show-overflow-tooltip fixed="left"> <el-table-column prop="userName" label="申请人" min-width="100" show-overflow-tooltip fixed="left"> <template slot-scope="scope"> <el-tag>{{ scope.row.userName }}</el-tag> </template> </el-table-column> <el-table-column prop="appUserName" label="审批者" width="100" show-overflow-tooltip fixed="left"> <el-table-column prop="appUserName" label="审批者" min-width="100" show-overflow-tooltip fixed="left"> <template slot-scope="scope"> <el-tag>{{ scope.row.appUserName }}</el-tag> </template> </el-table-column> <el-table-column prop="cardReplacementTime" label="补卡时间" width="140" show-overflow-tooltip /> <el-table-column prop="cardReplacementReason" label="补卡原因" width="140" show-overflow-tooltip /> <el-table-column prop="approvalStatus" label="审批状态" width="80" show-overflow-tooltip> <el-table-column prop="cardReplacementTime" label="补卡时间" min-width="140" show-overflow-tooltip /> <el-table-column prop="cardReplacementReason" label="补卡原因" min-width="140" show-overflow-tooltip /> <el-table-column prop="approvalStatus" label="审批状态" min-width="80" show-overflow-tooltip> <template slot-scope="scope"> <el-tag v-if="scope.row.approvalStatus === dictCardApproveStatusReviewed" type="warning">{{ dict.label[dictCardApproveStatus][scope.row.approvalStatus] }}</el-tag> <el-tag v-if="scope.row.approvalStatus === dictCardApproveStatusAgree" type="success">{{ dict.label[dictCardApproveStatus][scope.row.approvalStatus] }}</el-tag> <el-tag v-if="scope.row.approvalStatus === dictCardApproveStatusRefuse" type="danger">{{ dict.label[dictCardApproveStatus][scope.row.approvalStatus] }}</el-tag> </template> </el-table-column> <el-table-column prop="approvalDescription" label="审批说明" width="140" show-overflow-tooltip /> <el-table-column prop="cardReplacementDistinguish" label="补卡区分" width="80" show-overflow-tooltip> <el-table-column prop="approvalDescription" label="审批说明" min-width="140" show-overflow-tooltip /> <el-table-column prop="cardReplacementDistinguish" label="补卡区分" min-width="80" show-overflow-tooltip> <template slot-scope="scope"> <el-tag>{{ dict.label[dictCardReplacement][scope.row.cardReplacementDistinguish] }}</el-tag> </template> </el-table-column> <el-table-column prop="remarks" label="备注" width="140" show-overflow-tooltip /> <el-table-column prop="createTime" label="创建时间" width="140" show-overflow-tooltip /> <el-table-column prop="remarks" label="备注" min-width="140" show-overflow-tooltip /> <el-table-column prop="createTime" label="创建时间" min-width="140" show-overflow-tooltip /> <el-table-column v-if="checkPer(['admin','attendanceCardreplacement:approve'])" label="审核操作" width="180px" align="center" fixed="right"> <template slot-scope="scope"> <el-button eladmin-web-master/src/views/attendance/attendanceGoOut/index.vue
@@ -186,39 +186,39 @@ <!--表格渲染--> <el-table ref="table" v-loading="crud.loading" :data="crud.data" size="small" style="width: 100%;" @selection-change="crud.selectionChangeHandler"> <el-table-column type="selection" width="55" /> <el-table-column prop="userName" label="申请人" width="100" fixed="left" show-overflow-tooltip> <el-table-column prop="userName" label="申请人" min-width="100" fixed="left" show-overflow-tooltip> <template slot-scope="scope"> <el-tag>{{ scope.row.userName }}</el-tag> </template> </el-table-column> <el-table-column prop="appUserName" label="审批者" width="100" fixed="left" show-overflow-tooltip> <el-table-column prop="appUserName" label="审批者" min-width="100" fixed="left" show-overflow-tooltip> <template slot-scope="scope"> <el-tag>{{ scope.row.appUserName }}</el-tag> </template> </el-table-column> <el-table-column prop="outStartTime" label="外出开始时间" width="140" show-overflow-tooltip /> <el-table-column prop="outEndTime" label="外出结束时间" width="140" show-overflow-tooltip /> <el-table-column prop="outDuration" label="外出时长" width="80" show-overflow-tooltip> <el-table-column prop="outStartTime" label="外出开始时间" min-width="140" show-overflow-tooltip /> <el-table-column prop="outEndTime" label="外出结束时间" min-width="140" show-overflow-tooltip /> <el-table-column prop="outDuration" label="外出时长" min-width="80" show-overflow-tooltip> <template slot-scope="scope"> {{ scope.row.outDuration + '(' + dict.label[dictLeaveTimeType][scope.row.durationUnit] + ')' }} </template> </el-table-column> <el-table-column prop="outOfOfficeType" label="外出类型" width="80" show-overflow-tooltip> <el-table-column prop="outOfOfficeType" label="外出类型" min-width="80" show-overflow-tooltip> <template slot-scope="scope"> <el-tag>{{ dict.label[dictGoOutTypr][scope.row.outOfOfficeType] }}</el-tag> </template> </el-table-column> <el-table-column prop="outReason" label="外出原因" width="140" show-overflow-tooltip /> <el-table-column prop="approvalStatus" label="审批状态" width="80" show-overflow-tooltip> <el-table-column prop="outReason" label="外出原因" min-width="140" show-overflow-tooltip /> <el-table-column prop="approvalStatus" label="审批状态" min-width="80" show-overflow-tooltip> <template slot-scope="scope"> <el-tag v-if="scope.row.approvalStatus === dictGoOutAppRev" type="warning">{{ dict.label[dictApprovalStart][scope.row.approvalStatus] }}</el-tag> <el-tag v-if="scope.row.approvalStatus === dictGoOutAgree" type="success">{{ dict.label[dictApprovalStart][scope.row.approvalStatus] }}</el-tag> <el-tag v-if="scope.row.approvalStatus === dictGoOutReturn" type="danger">{{ dict.label[dictApprovalStart][scope.row.approvalStatus] }}</el-tag> </template> </el-table-column> <el-table-column prop="approvalDescription" label="审批说明" width="140" show-overflow-tooltip /> <el-table-column prop="remarks" label="备注" width="140" show-overflow-tooltip /> <el-table-column prop="createTime" label="创建时间" width="140" show-overflow-tooltip /> <el-table-column prop="approvalDescription" label="审批说明" min-width="140" show-overflow-tooltip /> <el-table-column prop="remarks" label="备注" min-width="140" show-overflow-tooltip /> <el-table-column prop="createTime" label="创建时间" min-width="140" show-overflow-tooltip /> <el-table-column v-if="checkPer(['admin','attendanceGoOut:approve'])" label="审核操作" width="180px" align="center" fixed="right"> <template slot-scope="scope"> <el-button eladmin-web-master/src/views/attendance/attendanceLeave/index.vue
@@ -186,47 +186,47 @@ <!--表格渲染--> <el-table ref="table" v-loading="crud.loading" :data="crud.data" size="small" style="width: 100%;" @selection-change="crud.selectionChangeHandler"> <el-table-column type="selection" width="55" /> <el-table-column prop="userName" label="申请人" width="100" fixed="left" show-overflow-tooltip> <el-table-column prop="userName" label="申请人" min-width="100" fixed="left" show-overflow-tooltip> <template slot-scope="scope"> <el-tag>{{ scope.row.userName }}</el-tag> </template> </el-table-column> <el-table-column prop="appUserName" label="审批者" width="100" fixed="left" show-overflow-tooltip> <el-table-column prop="appUserName" label="审批者" min-width="100" fixed="left" show-overflow-tooltip> <template slot-scope="scope"> <el-tag>{{ scope.row.appUserName }}</el-tag> </template> </el-table-column> <el-table-column prop="leaveType" label="请假类型" width="80" show-overflow-tooltip> <el-table-column prop="leaveType" label="请假类型" min-width="80" show-overflow-tooltip> <template slot-scope="scope"> <el-tag>{{ dict.label[dictLeaveType][scope.row.leaveType] }}</el-tag> </template> </el-table-column> <el-table-column prop="leaveStartTime" width="140" label="请假开始时间" show-overflow-tooltip> <el-table-column prop="leaveStartTime" min-width="140" label="请假开始时间" show-overflow-tooltip> <template slot-scope="scope"> {{ scope.row.leaveDurationUnit === dictLeaveTimeTypeHour ? scope.row.leaveStartTime : crud.toDate(scope.row.leaveStartTime) }} </template> </el-table-column> <el-table-column prop="leaveEndTime" width="140" label="请假结束时间" show-overflow-tooltip> <el-table-column prop="leaveEndTime" min-width="140" label="请假结束时间" show-overflow-tooltip> <template slot-scope="scope"> {{ scope.row.leaveDurationUnit === dictLeaveTimeTypeHour ? scope.row.leaveEndTime : crud.toDate(scope.row.leaveEndTime) }} </template> </el-table-column> <el-table-column prop="leaveDuration" label="请假时长" width="80" show-overflow-tooltip> <el-table-column prop="leaveDuration" label="请假时长" min-width="80" show-overflow-tooltip> <template slot-scope="scope"> {{ scope.row.leaveDuration + '(' + dict.label[dictLeaveTimeType][scope.row.leaveDurationUnit] + ')' }} </template> </el-table-column> <el-table-column prop="leaveReason" label="请假原因" width="140" show-overflow-tooltip /> <el-table-column prop="approvalStatus" label="审批状态" width="80" show-overflow-tooltip> <el-table-column prop="leaveReason" label="请假原因" min-width="140" show-overflow-tooltip /> <el-table-column prop="approvalStatus" label="审批状态" min-width="80" show-overflow-tooltip> <template slot-scope="scope"> <el-tag v-if="scope.row.approvalStatus === dictAppRovalStatusUnderAppover" type="warning">{{ dict.label[dictApprovalStart][scope.row.approvalStatus] }}</el-tag> <el-tag v-if="scope.row.approvalStatus === dictAppRovalStatusPassed" type="success">{{ dict.label[dictApprovalStart][scope.row.approvalStatus] }}</el-tag> <el-tag v-if="scope.row.approvalStatus === dictAppRovalStatusReturn" type="danger">{{ dict.label[dictApprovalStart][scope.row.approvalStatus] }}</el-tag> </template> </el-table-column> <el-table-column prop="approvalDescription" label="审批说明" width="140" show-overflow-tooltip /> <el-table-column prop="remarks" label="备注" width="140" show-overflow-tooltip /> <el-table-column prop="createTime" width="140" label="创建时间" show-overflow-tooltip /> <el-table-column prop="approvalDescription" label="审批说明" min-width="140" show-overflow-tooltip /> <el-table-column prop="remarks" label="备注" min-width="140" show-overflow-tooltip /> <el-table-column prop="createTime" min-width="140" label="创建时间" show-overflow-tooltip /> <el-table-column v-if="checkPer(['admin','attendanceLeave:approve'])" label="审核操作" width="180px" align="center" fixed="right"> <template slot-scope="scope"> <el-button