main
kgdxpr 2 years ago
parent b761bc288d
commit 4ef9a485d6

@ -100,7 +100,8 @@
</div>
</div>
<div class="action">
<button type="submit" class="layui-btn" lay-submit="" lay-filter="save-apply">立即提交</button>
<button type="submit" class="layui-btn" lay-submit="" lay-filter="save-apply"
style="margin-left: 20px;">立即提交</button>
</div>
</div>
</div>
@ -129,14 +130,16 @@
dataType: "json",
url: "/FengHuang/yp/getCurrentTaskInfo",
success: function (res) {
taskId = res.task_id;
$("#title").html(res.task_name);
if (res.task_id > 0) {
taskId = res.task_id;
$("#title").html(res.task_name);
} else {
window.location = "./error.html";
}
}
});
//拖拽上传
upload.render({
elem: "#uploadImg"
@ -211,7 +214,7 @@
$.ajax({
type: "GET",
dataType: "json",
url: "/FengHuang/yp/evalBx?sfzh=" + $('#idcard').val(),
url: "/FengHuang/yp/evalBx?sfzh=" + $('#idcard').val() + "&task_id=" + taskId,
success: function (res) {
if (res.bx_id > 0) {
$("#stageTag").html(res.bx_name);
@ -237,7 +240,7 @@
$.ajax({
type: "GET",
dataType: "json",
url: "/FengHuang/yp/evalBx?sfzh=" + $(this).val(),
url: "/FengHuang/yp/evalBx?sfzh=" + $(this).val() + "&task_id=" + taskId,
success: function (res) {
if (res.bx_id > 0) {
$("#stageTag").html(res.bx_name);

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>失败</title>
<link rel="stylesheet" href="../component/pear/css/pear.css" />
<link rel="stylesheet" href="../admin/css/other/result.css" />
</head>
<body class="pear-container">
<div class="layui-card">
<div class="layui-card-body">
<div class="result">
<div class="error">
<svg viewBox="64 64 896 896" data-icon="close-circle" width="80px" height="80px" fill="currentColor" aria-hidden="true" focusable="false" class=""><path d="M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 0 0-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"></path><path d="M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"></path></svg>
</div>
<h2 class="title">报名未开始!</h2>
</div>
</div>
</div>
<script src="../component/layui/layui.js"></script>
<script src="../component/pear/pear.js"></script>
</body>
</html>
Loading…
Cancel
Save