Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit
| | |
| | | this.$tip.apiSuccess('处理成功') |
| | | this.getDetail() |
| | | this.getLogList() |
| | | this.$emit('success') |
| | | this.isShowProblem = false |
| | | }) |
| | | .catch(e => { |
| | |
| | | this.$tip.apiSuccess('退回成功') |
| | | this.getDetail() |
| | | this.getLogList() |
| | | this.$emit('success') |
| | | this.isBackProblem = false |
| | | }) |
| | | .catch(e => { |
| | |
| | | this.$tip.apiSuccess('转交成功') |
| | | this.getDetail() |
| | | this.getLogList() |
| | | this.$emit('success') |
| | | this.isShowTransfer = false |
| | | }) |
| | | .catch(e => { |
| | |
| | | row-key="id" |
| | | default-expand-all |
| | | > |
| | | <el-table-column prop="name" label="任务类型" min-width="100"> |
| | | <!-- <el-table-column prop="name" label="任务类型" min-width="100"> |
| | | <template v-slot="scope"> |
| | | <span |
| | | v-if=" |
| | |
| | | >{{ cateList[scope.row.objType].name }}</span |
| | | > |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="提交人" min-width="80"> |
| | | <template v-slot="scope"> |
| | | <span v-if="scope.row.title">{{ |
| | | scope.row.title.split(" - ")[1] |
| | | }}</span> |
| | | </el-table-column>--> |
| | | <el-table-column label="处理事项" min-width="200"> |
| | | <template slot-scope="{ row }"> {{ row.title}} |
| | | <!-- <span v-if="row.title">{{ |
| | | row.title.split("-")[1] |
| | | }}</span>--> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="createDate" label="提交时间" min-width="100"> |
| | |
| | | } |
| | | }, |
| | | created () { |
| | | this.getHeadData() |
| | | // this.getHeadData() |
| | | this.changeRadio('0') |
| | | this.getList() |
| | | }, |
| | | methods: { |
| | | changeRadio (day) { |
| | |
| | | } |
| | | }, |
| | | getList (page) { |
| | | this.getHeadData() |
| | | console.log(this.filters) |
| | | const { filters, pagination } = this |
| | | if (filters.selTime && filters.selTime.length > 0) { |
| | |
| | | .last("limit 1" ); |
| | | CarUseBook model = carUseBookMapper.selectJoinOne(CarUseBook.class,queryWrapper); |
| | | ApproveDataVO approveDataVO = approveService.arrangeApprovedData(id, |
| | | model.getType().equals(Constants.ZERO)?3:4, |
| | | Constants.equalsInteger(model.getType(),Constants.ZERO)?3:4, |
| | | memberId); |
| | | List<Approve> approveList = approveDataVO.getApproveList(); |
| | | if(Constants.equalsInteger(model.getStatus(),Constants.FOUR)){ |
| | |
| | | isTrue = true; |
| | | } |
| | | } |
| | | if(isTrue){ |
| | | if(!isTrue){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"对不起,请按要求填写处理数据"); |
| | | } |
| | | } |
| | |
| | | //如果员工信息不合法直接跳过 |
| | | continue; |
| | | } |
| | | if(StringUtils.isNotBlank(member.getFaceId()) || !Constants.equalsInteger(member.getFaceStatus(),Constants.ONE)){ |
| | | if(StringUtils.isBlank(member.getFaceId()) || !Constants.equalsInteger(member.getFaceStatus(),Constants.ONE)){ |
| | | throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(),"对不起,用户【"+member.getName()+"】的人脸信息不满足授权条件,请返回完善后再进行该操作!"); |
| | | } |
| | | member.setStartTime(memberRole.getStartTime()); |