main
kgdxpr 1 year ago
parent b58d3168cf
commit f6d9443b39

@ -46,7 +46,7 @@
{{# if(d.is_finish == 0){ }}
<span>--</span>
{{# } else { }}
<span style="cursor: pointer;"><a>{{d.person_count}}</a></span>
<span style="cursor: pointer;color:#1e9fff" onclick="viewPList({{d.ys_id}})">{{d.person_count}}</span>
{{# } }}
</script>
@ -183,6 +183,18 @@
}
});
window.viewPList = function (ys_id) {
layer.open({
type: 2,
title: '专家列表',
shade: 0.1,
area: ['650px', '385px'],
content: './plist.html?ys_id=' + ys_id
});
}
window.refresh = function (param) {
table.reload('data-table');

@ -0,0 +1,81 @@
<!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: '/QingLong/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>
Loading…
Cancel
Save