From dd41e1c08efe875e869f88591fedf5d54cf69cea Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Sat, 15 May 2021 18:13:29 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9=E3=80=82=20=E8=80=83?= =?UTF-8?q?=E8=AF=95=E6=88=90=E7=BB=A9=E5=BD=95=E5=85=A5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/route/examapply/update-check.html | 46 +-- .../static/route/insertscore/list.html | 336 ++++++++++++++++++ .../static/route/insertscore/user-list.html | 319 +++++++++++++++++ 3 files changed, 673 insertions(+), 28 deletions(-) create mode 100644 src/main/resources/static/route/insertscore/list.html create mode 100644 src/main/resources/static/route/insertscore/user-list.html diff --git a/src/main/resources/static/route/examapply/update-check.html b/src/main/resources/static/route/examapply/update-check.html index 0269fc3..9656828 100644 --- a/src/main/resources/static/route/examapply/update-check.html +++ b/src/main/resources/static/route/examapply/update-check.html @@ -87,7 +87,7 @@
- +
@@ -265,33 +265,7 @@ return false; } } - formData.field.examId = classPlanId; - formData.field.planName = $('#planName').val(); - formData.field.planPersonNum = $('#planPersonNum').val(); - top.dialog.confirm(top.dataMessage.commit, function(index) { - top.dialog.close(index); - var loadLayerIndex; - top.restAjax.put(top.restAjax.path('api/examapply/update/{examApplyId}', [examApplyId]), formData.field, null, function(code, data) { - var layerIndex = top.dialog.msg(top.dataMessage.updateSuccess, { - time: 0, - btn: [top.dataMessage.button.yes, top.dataMessage.button.no], - shade: 0.3, - yes: function(index) { - top.dialog.close(index); - window.location.reload(); - }, - btn2: function() { - closeBox(); - } - }); - }, function(code, data) { - top.dialog.msg(data.msg); - }, function() { - loadLayerIndex = top.dialog.msg(top.dataMessage.committing, {icon: 16, time: 0, shade: 0.3}); - }, function() { - top.dialog.close(loadLayerIndex); - }); - }); + sentExamMsg(classPlanId); }, function(){ return false; }); @@ -299,6 +273,22 @@ return false; }); + // 考场信息分配 + function sentExamMsg(planIds) { + layer.open({ + type: 2, + title: false, + closeBtn: 0, + area: ['100%', '100%'], + shadeClose: true, + anim: 2, + content: top.restAjax.path('route/examination/distribution/update.html?planId={planId}', [planIds]), + end: function() { + reloadTable(); + } + }); + } + $('.close').on('click', function() { closeBox(); }); diff --git a/src/main/resources/static/route/insertscore/list.html b/src/main/resources/static/route/insertscore/list.html new file mode 100644 index 0000000..319f1c7 --- /dev/null +++ b/src/main/resources/static/route/insertscore/list.html @@ -0,0 +1,336 @@ + + + + + + + + + + + + + +
+
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/src/main/resources/static/route/insertscore/user-list.html b/src/main/resources/static/route/insertscore/user-list.html new file mode 100644 index 0000000..97fcc75 --- /dev/null +++ b/src/main/resources/static/route/insertscore/user-list.html @@ -0,0 +1,319 @@ + + + + + + + + + + + + + +
+
+
+
+
+
+
+ +
+ +
+
+ + + +
+
+
+
+
+ + + + + \ No newline at end of file