|
|
<!DOCTYPE html>
|
|
|
<html>
|
|
|
|
|
|
<head>
|
|
|
<meta charset="utf-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
<title>Demo</title>
|
|
|
<!-- 请勿在项目正式环境中引用该 layui.css 地址 -->
|
|
|
<link href="./layui/css/layui.css" rel="stylesheet">
|
|
|
</head>
|
|
|
|
|
|
<style>
|
|
|
.td {
|
|
|
/* background-color: #ecf0f1; */
|
|
|
font-weight: 850;
|
|
|
}
|
|
|
</style>
|
|
|
|
|
|
<body>
|
|
|
<div class="layui-card-body">
|
|
|
<table class="layui-table">
|
|
|
<colgroup>
|
|
|
<col width="160">
|
|
|
<col width="150">
|
|
|
<col width="150">
|
|
|
<col width="150">
|
|
|
<col width="150">
|
|
|
<col width="150">
|
|
|
<col width="150">
|
|
|
</colgroup>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
<td class="td">姓名</td>
|
|
|
<td><span id="xm">11</span></td>
|
|
|
<td class="td">性别</td>
|
|
|
<td><span id="xb">11</span></td>
|
|
|
<td class="td">民族</td>
|
|
|
<td><span id="mz">11</span></td>
|
|
|
<td rowspan="4" ><img src="" ></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="td">毕业学校</td>
|
|
|
<td><span id="byxx">11</span></td>
|
|
|
<td class="td">毕业班级</td>
|
|
|
<td><span id="bybj">11</span></td>
|
|
|
<td class="td">身高</td>
|
|
|
<td><span id="sg">11</span></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="td">准考证号</td>
|
|
|
<td colspan="3"><span id="zkz">11</span></td>
|
|
|
<td class="td">中招分数</td>
|
|
|
<td><span id="zzfs">11</span></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="td">户籍所在地</td>
|
|
|
<td colspan="5"><span id="hjszd">11</span></td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<td class="td">家庭现住址</td>
|
|
|
<td colspan="4"><span id="jtzz">11</span></td>
|
|
|
<td class="td">血型</td>
|
|
|
<td><span id="xx">11</span></td>
|
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
|
<td class="td">父亲姓名</td>
|
|
|
<td><span id="bb_name">11</span></td>
|
|
|
<td class="td">工作单位</td>
|
|
|
<td colspan="2"><span id="bb_bureau">11</span></td>
|
|
|
<td class="td">电话</td>
|
|
|
<td><span id="bb_tel">11</span></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="td">母亲姓名</td>
|
|
|
<td><span id="mm_name">11</span></td>
|
|
|
<td class="td">工作单位</td>
|
|
|
<td colspan="2"><span id="mm_bureau">11</span></td>
|
|
|
<td class="td">电话</td>
|
|
|
<td><span id="mm_tel">11</span></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="td" colspan="2">服装号码,如“175”</td>
|
|
|
<td colspan="2"><span id="fzhm">11</span></td>
|
|
|
<td class="td" colspan="2">初三是否班委</td>
|
|
|
<td><span id="bw">11</span></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="td" colspan="2">家庭是否享受低保</td>
|
|
|
<td><span id="db">11</span></td>
|
|
|
<td class="td" colspan="3">是否因身体原因需特殊照顾</td>
|
|
|
<td><span id="zg">11</span></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="td" colspan="2">希望加入(创办)社团(如演讲、播音、主持)</td>
|
|
|
<td><span id="st">11</span></td>
|
|
|
<td class="td" colspan="3">是否希望加入志愿者组织</td>
|
|
|
<td><span id="zyz">11</span></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="td" colspan="2">是否愿意参加暑期夏令营</td>
|
|
|
<td><span id="xly">11</span></td>
|
|
|
<td class="td" colspan="3">是否愿意参加暑期省内外游学交流活动</td>
|
|
|
<td><span id="jlhd">11</span></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="td" colspan="2">有何特长</td>
|
|
|
<td><span id="tc">11</span></td>
|
|
|
<td class="td" colspan="3">家长是否愿意参加家长委员会</td>
|
|
|
<td><span id="jwh">11</span></td>
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
|
|
|
<script src="./layui/layui.js"></script>
|
|
|
<script>
|
|
|
layui.use(['form', 'jquery'], function () {
|
|
|
var form = layui.form;
|
|
|
var $ = layui.jquery;
|
|
|
|
|
|
var zkz = GetQueryString("zkz");
|
|
|
|
|
|
//获取学生信息
|
|
|
$.ajax({
|
|
|
type: "GET",
|
|
|
dataType: "json",
|
|
|
url: "/FengHuang/yp/getRecord?zkz=" + zkz,
|
|
|
success: function (res) {
|
|
|
if (res.success) {
|
|
|
$("#xm").html(res.record["xm"]);
|
|
|
$("#zkz").html(res.record["zkz"]);
|
|
|
$("#mz").html(res.record["mz"]);
|
|
|
|
|
|
$("#byxx").html(res.record["byxx"]);
|
|
|
$("#bybj").html(res.record["bybj"]);
|
|
|
$("#sg").html(res.record["sg"]);
|
|
|
$("#zzfs").html(res.record["zzfs"]);
|
|
|
$("#hjszd").html(res.record["hjszd"]);
|
|
|
$("#jtzz").html(res.record["jtzz"]);
|
|
|
$("#bb_name").html(res.record["bb_name"]);
|
|
|
$("#bb_bureau").html(res.record["bb_bureau"]);
|
|
|
$("#bb_tel").html(res.record["bb_tel"]);
|
|
|
$("#mm_name").html(res.record["mm_name"]);
|
|
|
|
|
|
$("#mm_bureau").html(res.record["mm_bureau"]);
|
|
|
$("#mm_tel").html(res.record["mm_tel"]);
|
|
|
$("#fzhm").html(res.record["fzhm"]);
|
|
|
$("#tc").html(res.record["tc"]);
|
|
|
$("#st").html(res.record["st"]);
|
|
|
$("#xx").html(res.record["xx"]);
|
|
|
|
|
|
$("#xb").html(res.record["xb"]);
|
|
|
$("#db").html(res.record["db"]);
|
|
|
$("#bw").html(res.record["bw"]);
|
|
|
$("#zg").html(res.record["zg"]);
|
|
|
$("#zyz").html(res.record["zyz"]);
|
|
|
$("#xly").html(res.record["xly"]);
|
|
|
$("#jlhd").html(res.record["jlhd"]);
|
|
|
$("#jwh").html(res.record["jwh"]);
|
|
|
|
|
|
$('img').attr('src', "/FengHuang" + res.record["pic"]);
|
|
|
// if (res.record["pic"] != "") {
|
|
|
// layui.$('#uploadView').removeClass('layui-hide').find('img').attr('src', "/FengHuang" + res.record["pic"]);
|
|
|
// }
|
|
|
|
|
|
// uuid = res.record["uuid"];
|
|
|
|
|
|
form.render();
|
|
|
} else {
|
|
|
layer.msg(res.message, {
|
|
|
icon: 2,
|
|
|
time: 3000
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
|
|
|
function GetQueryString(name, istop) {
|
|
|
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
|
|
|
var r = window.location.search.substr(1).match(reg);
|
|
|
if (typeof (istop) != "undefined") r = top.location.search.substr(1).match(reg);
|
|
|
|
|
|
if (r != null) return unescape(r[2]);
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
});
|
|
|
</script>
|
|
|
</body>
|
|
|
|
|
|
</html> |