diff --git a/WebRoot/html/zz103/index.html b/WebRoot/html/zz103/index.html
index 3e49a33..b8abc79 100644
--- a/WebRoot/html/zz103/index.html
+++ b/WebRoot/html/zz103/index.html
@@ -40,7 +40,7 @@
-
@@ -49,16 +49,16 @@
-
-
-
+
+
-
+
-
+
@@ -70,13 +70,21 @@
var layer = layui.layer;
// 提交事件
form.on('submit(demo-login)', function (data) {
- var field = data.field; // 获取表单字段值
- // 显示填写结果,仅作演示用
- layer.alert(JSON.stringify(field), {
- title: '当前填写的字段值'
+ $.ajax({
+ type: "POST",
+ url: "/FengHuang/yp/login",
+ data: { "code": fields.vcode, "task_id": taskId, "name": fields.name, "xb": fields.xb, "sfzh": fields.sfzh, "bx_id": stageId, "address": fields.address, "father_name": fields.father_name, "mother_name": fields.mother_name, "tel": fields.tel, "uuid": imgId },
+ success: function (data) {
+ if (data.success) {
+ window.location = "./success.html";
+ } else {
+ layer.msg(data.message, {
+ icon: 2,
+ time: 3000
+ });
+ }
+ }
});
- // 此处可执行 Ajax 等操作
- // …
return false; // 阻止默认 form 跳转
});
});
diff --git a/WebRoot/html/zz103/info.html b/WebRoot/html/zz103/info.html
index 2ab39fa..c8e352b 100644
--- a/WebRoot/html/zz103/info.html
+++ b/WebRoot/html/zz103/info.html
@@ -127,7 +127,7 @@