You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
3.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>新生信息形成</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="../../static/css/font.css">
<link rel="stylesheet" href="../../static/css/weadmin.css">
<link rel="stylesheet" href="../../lib/layui/css/layui.css">
<!-- 让IE8/9支持媒体查询从而兼容栅格 -->
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="weadmin-body">
<div class="layui-form-item template">
<table class="layui-table" lay-filter="gaozhaoList" id="gaozhaoList"></table>
</div>
<div class="layui-form-item" style="margin-top: 68px">
<button type="button" class="layui-btn" id="test9">从校招办获取录取数据</button>
<button class="layui-btn" id="closeDialog">关闭</button>
</div>
</div>
<script src="../../lib/layui/layui.js"></script>
<script src="../../lib/base64.js"></script>
<script>
//获取url传参的办法
window.GetQueryString = function (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;
};
layui.extend({
admin: '{/}../../static/js/admin'
});
layui.use(['jquery', 'admin', 'upload', 'layer', 'table', 'laytpl'], function () {
var $ = layui.jquery,
admin = layui.admin,
layer = layui.layer,
upload = layui.upload,
laytpl = layui.laytpl,
table = layui.table;
// 绑定表格
window.bindTable = function () {
//考生类型
var batch_year = GetQueryString('batch_year');
var url = '/baseService/xueji/xinsheng_getEventByYear?batch_year=' + batch_year;
table.render({
elem: '#gaozhaoList',
url: url,
cols: [[
//{type: 'checkbox'},
{field: 'batch_name', title: '批次', align: 'center'}
, {field: 'event_1', title: '志愿导入', align: 'center', width: 100}
, {field: 'event_2', title: '成绩导入', align: 'center', width: 100}
, {field: 'event_3', title: '录取', align: 'center', width: 60}
, {field: 'event_4', title: '分班', align: 'center', width: 60}
, {field: 'event_5', title: '报到', align: 'center', width: 60}
]]
,
page: true
,
height: 'full'
,
done: function () {
}
});
};
bindTable();
// 关闭页面
$("#closeDialog").click(function () {
var index = parent.layer.getFrameIndex(window.name);
parent.layer.close(index);
})
})
</script>
</body>
</html>