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.

81 lines
2.2 KiB

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="../../component/pear/css/pear.css" />
<style>
.woo-tool-text-delimiter {
width: 1px;
height: 12px;
background: #EEEEEE;
display: inline-block;
margin: 0 6px 0 4px;
}
.woo-theme-color {
color: #2d8cf0 !important;
}
.woo-tool-span {
margin: 0 3px;
position: relative;
top: -1px;
cursor: pointer;
}
</style>
</head>
<body class="pear-container layui-form">
<table id="data-table"></table>
<script src="../../component/layui/layui.js"></script>
<script src="../../component/pear/pear.js"></script>
<script>
layui.use(['table', 'form', 'jquery'], function () {
var table = layui.table;
var form = layui.form;
var $ = layui.jquery;
var ysId = GetQueryString("ys_id");
table.render({
elem: '#data-table',
url: '/dsBase/zjcq/getYsZhuanJiaList?ys_id=' + ysId,
height: 'full-20',
page: false,
cols: [[
{ title: '序号', align: 'center', width: "5%", type: 'numbers' },
{ title: '姓名', field: 'xm', align: 'center', width: "20%" },
{ title: '电话', field: 'telephone', align: 'center', width: "20%" },
{ title: '单位', field: 'dw', align: 'center' }
]],
skin: 'line',
defaultToolbar: []
});
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>