diff --git a/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java b/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java index 5ea390a..2acff27 100644 --- a/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/examination/distribution/impl/DistributionServiceImpl.java @@ -329,9 +329,9 @@ public class DistributionServiceImpl extends DefaultBaseService implements IDist */ Map params = HashMapUtil.beanToMap(distributionVO); if (StringUtils.isBlank(token)) { - setUpdateInfo(params); + setSaveInfo(params); } else { - setAppUpdateInfo(token, params); + setAppSaveInfo(token, params); } params.put("stationId", stationId.length() > 0 ? stationId.substring(1, stationId.length()) : ""); params.put("planId", classPlanId); diff --git a/src/main/resources/static/route/examination/distribution/show.html b/src/main/resources/static/route/examination/distribution/show.html index 144aa95..5371d42 100644 --- a/src/main/resources/static/route/examination/distribution/show.html +++ b/src/main/resources/static/route/examination/distribution/show.html @@ -17,7 +17,7 @@
上级列表/ - 分配考场与考试时间 + 查看考场分配与考试时间
@@ -199,10 +199,11 @@ success: function (orgData) { // 回显 , 选中 for (var a = 0; a < orgData.length; a++) { - console.log(dataForm); - for (var j = 0; j < dataForm.distributionFieldList.length; j++) { - if (orgData[a].organizationId == dataForm.distributionFieldList[j].fieldId) { - orgData[a].checked = 'checked="checked"'; + if(dataForm) { + for (var j = 0; j < dataForm.distributionFieldList.length; j++) { + if (orgData[a].organizationId == dataForm.distributionFieldList[j].fieldId) { + orgData[a].checked = 'checked="checked"'; + } } } } diff --git a/src/main/resources/static/route/examination/distribution/update.html b/src/main/resources/static/route/examination/distribution/update.html index 06f2e51..d55c089 100644 --- a/src/main/resources/static/route/examination/distribution/update.html +++ b/src/main/resources/static/route/examination/distribution/update.html @@ -17,7 +17,7 @@