diff --git a/src/main/java/cn/com/tenlion/controller/api/classplan/ClassPlanController.java b/src/main/java/cn/com/tenlion/controller/api/classplan/ClassPlanController.java index 5ebb4e3..6cffdd8 100644 --- a/src/main/java/cn/com/tenlion/controller/api/classplan/ClassPlanController.java +++ b/src/main/java/cn/com/tenlion/controller/api/classplan/ClassPlanController.java @@ -1,5 +1,10 @@ package cn.com.tenlion.controller.api.classplan; +import cn.com.tenlion.pojo.dtos.apply.ApplyDTO; +import cn.com.tenlion.pojo.dtos.classplan.ClassPlanDTO; +import cn.com.tenlion.pojo.dtos.classplan.ClassPlanReportExamDTO; +import cn.com.tenlion.pojo.vos.classplan.ClassPlanVO; +import cn.com.tenlion.service.classplan.IClassPlanService; import com.alibaba.fastjson.JSONObject; import ink.wgink.annotation.CheckRequestBodyAnnotation; import ink.wgink.common.base.DefaultBaseController; @@ -9,9 +14,6 @@ import ink.wgink.pojo.result.ErrorResult; import ink.wgink.pojo.result.SuccessResult; import ink.wgink.pojo.result.SuccessResultData; import ink.wgink.pojo.result.SuccessResultList; -import cn.com.tenlion.pojo.dtos.classplan.ClassPlanDTO; -import cn.com.tenlion.pojo.vos.classplan.ClassPlanVO; -import cn.com.tenlion.service.classplan.IClassPlanService; import ink.wgink.util.date.DateUtil; import io.swagger.annotations.*; import org.springframework.beans.factory.annotation.Autowired; @@ -152,4 +154,24 @@ public class ClassPlanController extends DefaultBaseController { return new SuccessResult(); } + @ApiOperation(value = "查询考试申请详情", notes = "查询考试申请详情接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "classPlanId", value = "ID", paramType = "path") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("get-report-exam-detail/{classPlanId}") + public ClassPlanReportExamDTO getReportExamDetail(@PathVariable("classPlanId") String classPlanId) { + return classPlanService.getReportExamDetail(classPlanId); + } + + @ApiOperation(value = "查询参考人员", notes = "查询参考人员接口") + @ApiImplicitParams({ + @ApiImplicitParam(name = "classPlanId", value = "ID", paramType = "path") + }) + @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) + @GetMapping("list-exam-user/{classPlanId}") + public List listExamUser(@PathVariable("classPlanId") String classPlanId) { + return classPlanService.listExamUser(classPlanId); + } + } \ No newline at end of file diff --git a/src/main/java/cn/com/tenlion/pojo/dtos/classplan/ClassPlanDTO.java b/src/main/java/cn/com/tenlion/pojo/dtos/classplan/ClassPlanDTO.java index 37111c1..0ee7aa9 100644 --- a/src/main/java/cn/com/tenlion/pojo/dtos/classplan/ClassPlanDTO.java +++ b/src/main/java/cn/com/tenlion/pojo/dtos/classplan/ClassPlanDTO.java @@ -69,6 +69,8 @@ public class ClassPlanDTO { private List> classPlanLessons; @ApiModelProperty(name = "signUpUserCount", value = "已报名完成人数") private Integer signUpUserCount; + @ApiModelProperty(name = "waitSignUpUser", value = "待处理人员") + private Integer waitSignUpUser; @ApiModelProperty(name = "examType", value = "考试申请状态0未审核1审核通过2审核驳回") private String examType; @ApiModelProperty(name = "examReason", value = "考试申请原因") @@ -269,4 +271,12 @@ public class ClassPlanDTO { public void setExamReason(String examReason) { this.examReason = examReason; } + + public Integer getWaitSignUpUser() { + return waitSignUpUser; + } + + public void setWaitSignUpUser(Integer waitSignUpUser) { + this.waitSignUpUser = waitSignUpUser; + } } diff --git a/src/main/java/cn/com/tenlion/pojo/dtos/classplan/ClassPlanReportExamDTO.java b/src/main/java/cn/com/tenlion/pojo/dtos/classplan/ClassPlanReportExamDTO.java new file mode 100644 index 0000000..322e410 --- /dev/null +++ b/src/main/java/cn/com/tenlion/pojo/dtos/classplan/ClassPlanReportExamDTO.java @@ -0,0 +1,114 @@ +package cn.com.tenlion.pojo.dtos.classplan; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +/** + * @author xwangs + * @create 2021-05-11 16:25 + * @description + */ +@ApiModel +public class ClassPlanReportExamDTO { + + @ApiModelProperty(name = "examApplyId", value = "考试申请主键UUID") + private String examApplyId; + @ApiModelProperty(name = "checkStatus", value = "审核状态。0:未审核,1:审核通过,2:审核驳回") + private Integer checkStatus; + @ApiModelProperty(name = "examType", value = "考试类型。1:理论,2:实操,3:理论加实操") + private Integer examType; + @ApiModelProperty(name = "theoryExamAddress", value = "理论考试地点") + private String theoryExamAddress; + @ApiModelProperty(name = "theoryExamStartTime", value = "理论考试开始时间") + private String theoryExamStartTime; + @ApiModelProperty(name = "theoryExamEndTime", value = "理论考试结束时间") + private String theoryExamEndTime; + @ApiModelProperty(name = "practiceExamAddress", value = "实操考试地点") + private String practiceExamAddress; + @ApiModelProperty(name = "practiceExamStartTime", value = "实操考试开始时间") + private String practiceExamStartTime; + @ApiModelProperty(name = "practiceExamEndTime", value = "实操考试结束时间") + private String practiceExamEndTime; + @ApiModelProperty(name = "reason", value = "考试申请审核原因") + private String reason; + + public String getExamApplyId() { + return examApplyId == null ? "" : examApplyId; + } + + public void setExamApplyId(String examApplyId) { + this.examApplyId = examApplyId; + } + + public Integer getExamType() { + return examType; + } + + public void setExamType(Integer examType) { + this.examType = examType; + } + + public String getTheoryExamAddress() { + return theoryExamAddress == null ? "" : theoryExamAddress; + } + + public void setTheoryExamAddress(String theoryExamAddress) { + this.theoryExamAddress = theoryExamAddress; + } + + public String getTheoryExamStartTime() { + return theoryExamStartTime == null ? "" : theoryExamStartTime; + } + + public void setTheoryExamStartTime(String theoryExamStartTime) { + this.theoryExamStartTime = theoryExamStartTime; + } + + public String getTheoryExamEndTime() { + return theoryExamEndTime == null ? "" : theoryExamEndTime; + } + + public void setTheoryExamEndTime(String theoryExamEndTime) { + this.theoryExamEndTime = theoryExamEndTime; + } + + public String getPracticeExamAddress() { + return practiceExamAddress == null ? "" : practiceExamAddress; + } + + public void setPracticeExamAddress(String practiceExamAddress) { + this.practiceExamAddress = practiceExamAddress; + } + + public String getPracticeExamStartTime() { + return practiceExamStartTime == null ? "" : practiceExamStartTime; + } + + public void setPracticeExamStartTime(String practiceExamStartTime) { + this.practiceExamStartTime = practiceExamStartTime; + } + + public Integer getCheckStatus() { + return checkStatus; + } + + public void setCheckStatus(Integer checkStatus) { + this.checkStatus = checkStatus; + } + + public String getPracticeExamEndTime() { + return practiceExamEndTime == null ? "" : practiceExamEndTime; + } + + public void setPracticeExamEndTime(String practiceExamEndTime) { + this.practiceExamEndTime = practiceExamEndTime; + } + + public String getReason() { + return reason == null ? "" : reason; + } + + public void setReason(String reason) { + this.reason = reason; + } +} diff --git a/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java b/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java index 0b3d38a..4e3b635 100644 --- a/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/apply/impl/ApplyServiceImpl.java @@ -1,35 +1,32 @@ package cn.com.tenlion.service.apply.impl; +import cn.com.tenlion.dao.apply.IApplyDao; import cn.com.tenlion.institutionmanagement.pojo.dtos.institution.InstitutionDTO; +import cn.com.tenlion.pojo.bos.apply.ApplyBO; import cn.com.tenlion.pojo.dtos.apply.ApplyClassPlanDTO; +import cn.com.tenlion.pojo.dtos.apply.ApplyDTO; import cn.com.tenlion.pojo.dtos.classplan.ClassPlanDTO; -import cn.com.tenlion.pojo.dtos.distributioncard.DistributionCardDTO; +import cn.com.tenlion.pojo.pos.apply.ApplyPO; import cn.com.tenlion.pojo.vos.apply.ApplyAuditVO; +import cn.com.tenlion.pojo.vos.apply.ApplyVO; import cn.com.tenlion.pojo.vos.applyauditlog.ApplyAuditLogVO; -import cn.com.tenlion.pojo.vos.traininginstitutionuser.InstitutionUserVO; +import cn.com.tenlion.service.apply.IApplyService; import cn.com.tenlion.service.applyauditlog.IApplyAuditLogService; import cn.com.tenlion.service.classplan.IClassPlanService; import cn.com.tenlion.service.examination.distributioncard.IDistributionCardService; import cn.com.tenlion.service.traininginstitutionuser.ITrainingInstitutionUserService; +import com.github.pagehelper.PageHelper; +import com.github.pagehelper.PageInfo; import ink.wgink.common.base.DefaultBaseService; import ink.wgink.exceptions.ParamsException; import ink.wgink.exceptions.SaveException; import ink.wgink.exceptions.SearchException; import ink.wgink.pojo.ListPage; import ink.wgink.pojo.app.AppTokenUser; -import ink.wgink.pojo.result.SuccessResult; import ink.wgink.pojo.result.SuccessResultList; +import ink.wgink.util.UUIDUtil; import ink.wgink.util.date.DateUtil; import ink.wgink.util.map.HashMapUtil; -import ink.wgink.util.UUIDUtil; -import cn.com.tenlion.dao.apply.IApplyDao; -import cn.com.tenlion.pojo.dtos.apply.ApplyDTO; -import cn.com.tenlion.pojo.vos.apply.ApplyVO; -import cn.com.tenlion.pojo.bos.apply.ApplyBO; -import cn.com.tenlion.pojo.pos.apply.ApplyPO; -import cn.com.tenlion.service.apply.IApplyService; -import com.github.pagehelper.PageHelper; -import com.github.pagehelper.PageInfo; import org.apache.commons.beanutils.BeanUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; @@ -133,7 +130,7 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic throw new ParamsException("请选择报考类型"); } PageHelper.startPage(page.getPage(), page.getRows()); - SuccessResultList> classPlanDTOList = classPlanService.listPage(page); + SuccessResultList> classPlanDTOList = classPlanService.listSignUpPage(page); for (ClassPlanDTO classPlanDTO : classPlanDTOList.getRows()) { ApplyClassPlanDTO applyClassPlanDTO = new ApplyClassPlanDTO(); int applyClassPlanState = countApplyCardNumber(applyCardNumber,classPlanDTO.getClassPlanId()); diff --git a/src/main/java/cn/com/tenlion/service/classplan/IClassPlanService.java b/src/main/java/cn/com/tenlion/service/classplan/IClassPlanService.java index 29c4d72..4df7754 100644 --- a/src/main/java/cn/com/tenlion/service/classplan/IClassPlanService.java +++ b/src/main/java/cn/com/tenlion/service/classplan/IClassPlanService.java @@ -1,12 +1,15 @@ package cn.com.tenlion.service.classplan; +import cn.com.tenlion.pojo.bos.classplan.ClassPlanBO; +import cn.com.tenlion.pojo.dtos.apply.ApplyDTO; +import cn.com.tenlion.pojo.dtos.classplan.ClassPlanDTO; +import cn.com.tenlion.pojo.dtos.classplan.ClassPlanReportExamDTO; +import cn.com.tenlion.pojo.pos.classplan.ClassPlanPO; +import cn.com.tenlion.pojo.vos.classplan.ClassPlanVO; import com.alibaba.fastjson.JSONObject; import ink.wgink.pojo.ListPage; import ink.wgink.pojo.result.SuccessResultList; -import cn.com.tenlion.pojo.dtos.classplan.ClassPlanDTO; -import cn.com.tenlion.pojo.vos.classplan.ClassPlanVO; -import cn.com.tenlion.pojo.bos.classplan.ClassPlanBO; -import cn.com.tenlion.pojo.pos.classplan.ClassPlanPO; + import java.util.List; import java.util.Map; @@ -219,4 +222,25 @@ public interface IClassPlanService { * @param classPlanVO */ void updateExamType(String classPlanId, ClassPlanVO classPlanVO); + + /** + * 查询考试申请详情 + * @param classPlanId + * @return + */ + ClassPlanReportExamDTO getReportExamDetail(String classPlanId); + + /** + * 参考人员列表 + * @param classPlanId + * @return + */ + List listExamUser(String classPlanId); + + /** + * 可报名列表 + * @param page + * @return + */ + SuccessResultList> listSignUpPage(ListPage page); } \ No newline at end of file diff --git a/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java b/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java index 6aee96e..5ab7eae 100644 --- a/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/classplan/impl/ClassPlanServiceImpl.java @@ -6,6 +6,8 @@ import cn.com.tenlion.institutionmanagement.service.institution.IInstitutionServ import cn.com.tenlion.pojo.bos.classplan.ClassPlanBO; import cn.com.tenlion.pojo.dtos.apply.ApplyDTO; import cn.com.tenlion.pojo.dtos.classplan.ClassPlanDTO; +import cn.com.tenlion.pojo.dtos.classplan.ClassPlanReportExamDTO; +import cn.com.tenlion.pojo.dtos.distributioncard.DistributionCardDTO; import cn.com.tenlion.pojo.dtos.examapply.ExamApplyDTO; import cn.com.tenlion.pojo.dtos.worktype.WorkTypeDTO; import cn.com.tenlion.pojo.pos.classplan.ClassPlanPO; @@ -16,6 +18,7 @@ import cn.com.tenlion.service.apply.IApplyService; import cn.com.tenlion.service.classplan.IClassPlanService; import cn.com.tenlion.service.examapply.IExamApplyService; import cn.com.tenlion.service.examcheck.IExamCheckService; +import cn.com.tenlion.service.examination.distributioncard.IDistributionCardService; import cn.com.tenlion.service.worktype.IWorkTypeService; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; @@ -52,18 +55,21 @@ public class ClassPlanServiceImpl extends DefaultBaseService implements IClassPl private IExamCheckService examCheckService; @Autowired private IDataService dataService; - //工种信息 + // 工种信息 @Autowired private IWorkTypeService workTypeService; - //机构信息 + // 机构信息 @Autowired private IInstitutionService iInstitutionService; - //报名情况 + // 报名情况 @Autowired private IApplyService applyService; - //考试申请 + // 考试申请 @Autowired private IExamApplyService examApplyService; + @Autowired + // 准考证 + private IDistributionCardService distributionCardService; @Override public void save(ClassPlanVO classPlanVO) { @@ -312,6 +318,36 @@ public class ClassPlanServiceImpl extends DefaultBaseService implements IClassPl queryMap.put("applyAuditStates",applyAuditStates); List list = applyService.list(queryMap); item.setSignUpUserCount(list == null ? 0 : list.size()); + //查询待处理人数 + applyAuditStates.clear(); + applyAuditStates.add("0"); + queryMap.put("applyAuditStates",applyAuditStates); + List waitList = applyService.list(queryMap); + item.setWaitSignUpUser(waitList == null ? 0 : waitList.size()); + } + PageInfo pageInfo = new PageInfo<>(classPlanDTOs); + return new SuccessResultList<>(classPlanDTOs, pageInfo.getPageNum(), pageInfo.getTotal()); + } + + @Override + public SuccessResultList> listSignUpPage(ListPage page) { + PageHelper.startPage(page.getPage(), page.getRows()); + List classPlanDTOs = list(page.getParams()); + Map queryMap = getHashMap(4); + for(ClassPlanDTO item : classPlanDTOs){ + //处理培训项目 + DataDTO dataDTO = dataService.get(item.getProjectCatalogId()); + item.setProjectCatalogName(dataDTO.getDataName()); + //处理工种类型 + WorkTypeDTO workTypeDTO = workTypeService.get(item.getWorkerCatalog()); + item.setWorkerCatalogName(workTypeDTO.getWorkTypeName()); + //查询已报名人数(这里只统计了报到完成的情况) + queryMap.put("applyClassId",item.getClassPlanId()); + List applyAuditStates = new ArrayList<>(); + applyAuditStates.add("3"); + queryMap.put("applyAuditStates",applyAuditStates); + List list = applyService.list(queryMap); + item.setSignUpUserCount(list == null ? 0 : list.size()); } PageInfo pageInfo = new PageInfo<>(classPlanDTOs); return new SuccessResultList<>(classPlanDTOs, pageInfo.getPageNum(), pageInfo.getTotal()); @@ -372,4 +408,47 @@ public class ClassPlanServiceImpl extends DefaultBaseService implements IClassPl } examApplyService.save(examApplyVO); } + + @Override + public ClassPlanReportExamDTO getReportExamDetail(String classPlanId) { + Map queryMap = getHashMap(8); + //查询考试申请记录信息 + queryMap.put("examId",classPlanId); + ExamApplyDTO examApplyDTO = examApplyService.get(queryMap); + ClassPlanReportExamDTO examDTO = new ClassPlanReportExamDTO(); + examDTO.setCheckStatus(examApplyDTO.getCheckStatus()); + examDTO.setReason(examApplyDTO.getReason()); + examDTO.setExamType(examApplyDTO.getExamType()); + examDTO.setExamApplyId(examApplyDTO.getExamApplyId()); + examDTO.setTheoryExamStartTime(examApplyDTO.getTheoryExamStartTime()); + examDTO.setTheoryExamEndTime(examApplyDTO.getTheoryExamEndTime()); + if(examApplyDTO.getExamType() != 2){ + InstitutionDTO institutionDTO = iInstitutionService.get(examApplyDTO.getTheoryExamAddressId()); + examDTO.setTheoryExamAddress(institutionDTO.getInstitutionName() + "-" + institutionDTO.getInstitutionAddress()); + } + examDTO.setPracticeExamStartTime(examApplyDTO.getPracticeExamStartTime()); + examDTO.setPracticeExamEndTime(examApplyDTO.getPracticeExamEndTime()); + if(examApplyDTO.getExamType() != 1){ + InstitutionDTO institutionDTO = iInstitutionService.get(examApplyDTO.getPracticeExamAddressId()); + examDTO.setPracticeExamAddress(institutionDTO.getInstitutionName() + "-" + institutionDTO.getInstitutionAddress()); + } + return examDTO; + } + + @Override + public List listExamUser(String classPlanId) { + Map queryMap = getHashMap(8); + queryMap.put("applyClassId",classPlanId); + List applyAuditStates = new ArrayList<>(); + applyAuditStates.add("3"); + queryMap.put("applyAuditStates",applyAuditStates); + List list = applyService.list(queryMap); + for(ApplyDTO uItem : list) { + List cardDTOS = distributionCardService.listByClassPlanIdAndUserId(classPlanId, uItem.getCreate()); + if(cardDTOS != null && cardDTOS.size() > 0){ + uItem.setDistributionCardCode(cardDTOS.get(0).getDistributionCardPictures()); + } + } + return list; + } } \ No newline at end of file diff --git a/src/main/resources/static/route/classplan/list-report-exam.html b/src/main/resources/static/route/classplan/list-report-exam.html index 01bd595..3ad04dc 100644 --- a/src/main/resources/static/route/classplan/list-report-exam.html +++ b/src/main/resources/static/route/classplan/list-report-exam.html @@ -104,7 +104,7 @@ cols: [ [ {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, - {width:100, title: '操作', fixed: 'left', align:'center', + {width:150, title: '操作', fixed: 'left', align:'center', templet: function(row) { var dom = ''; if(row['examType'] === ''){ @@ -113,14 +113,17 @@ } if(row['examType'] === '0'){ dom += '审核中'; + dom += '查看'; return dom; } if(row['examType'] === '1'){ dom += '审核通过'; + dom += '查看'; return dom; } if(row['examType'] === '2'){ - dom += '审核驳回'; + dom += '审核驳回'; + dom += '查看'; return dom; } } @@ -264,6 +267,32 @@ } }); } + if(layEvent == 'showEvent'){ + layer.open({ + type: 2, + title: '查看申请结果', + closeBtn: 1, + area: ['80%', '80%'], + shadeClose: false, + anim: 2, + content: top.restAjax.path('route/classplan/show-report-exam.html?classPlanId={classPlanId}', [obj.data.classPlanId]), + end: function () { + } + }); + } + if(layEvent == 'updateEvent'){ + layer.open({ + type: 2, + title: '查看申请信息', + closeBtn: 1, + area: ['30%', '60%'], + shadeClose: false, + anim: 2, + content: top.restAjax.path('route/classplan/update-report-exam.html?classPlanId={classPlanId}', [obj.data.classPlanId]), + end: function () { + } + }); + } }) }); diff --git a/src/main/resources/static/route/classplan/list.html b/src/main/resources/static/route/classplan/list.html index 2115879..98741d9 100644 --- a/src/main/resources/static/route/classplan/list.html +++ b/src/main/resources/static/route/classplan/list.html @@ -149,10 +149,10 @@ if(rowData == '1'){ return '初训'; } - if(rowData == '1'){ + if(rowData == '2'){ return '复训'; } - if(rowData == '1'){ + if(rowData == '3'){ return '换证'; } return '-'; @@ -185,6 +185,15 @@ return '' + rowData + ' 人'; } }, + {field: 'waitSignUpUser', width: 100, title: '报名待处理', align:'center', + templet: function(row) { + var rowData = row[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return '' + rowData + ' 人'; + } + }, {field: 'signUpUserCount', width: 90, title: '完成报名', align:'center', templet: function(row) { var rowData = row[this.field]; diff --git a/src/main/resources/static/route/classplan/save-report-exam.html b/src/main/resources/static/route/classplan/save-report-exam.html index c69b0fa..1eaef97 100644 --- a/src/main/resources/static/route/classplan/save-report-exam.html +++ b/src/main/resources/static/route/classplan/save-report-exam.html @@ -23,7 +23,7 @@ diff --git a/src/main/resources/static/route/classplan/show-report-exam.html b/src/main/resources/static/route/classplan/show-report-exam.html new file mode 100644 index 0000000..5096516 --- /dev/null +++ b/src/main/resources/static/route/classplan/show-report-exam.html @@ -0,0 +1,185 @@ + + + + + + + + + + + + + + +
+
+
+
+ +
+ +
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
参考人员
+
+
+ + + +
+
+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/src/main/resources/static/route/classplan/update-report-exam.html b/src/main/resources/static/route/classplan/update-report-exam.html new file mode 100644 index 0000000..11dc862 --- /dev/null +++ b/src/main/resources/static/route/classplan/update-report-exam.html @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + +
+
+
+
+ + +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/src/main/resources/static/route/classplan/update.html b/src/main/resources/static/route/classplan/update.html index a797faf..b73fd3e 100644 --- a/src/main/resources/static/route/classplan/update.html +++ b/src/main/resources/static/route/classplan/update.html @@ -21,7 +21,7 @@
- +
@@ -252,6 +252,7 @@ form.val('dataForm', dataFormData); form.render(null, 'dataForm'); if(dataFormData['reportReason'] != ''){ + $('#report-reason-block').text('报备未通过原因:' + dataFormData['reportReason']); $('#report-reason-block').show(); } initPlanStartTimeDateTime();