添加增加人员

This commit is contained in:
wans 2021-05-15 19:53:41 +08:00
parent 4f7d48e4b1
commit 5b4b0c841a

View File

@ -31,6 +31,9 @@
<button type="button" id="search" class="layui-btn layui-btn-sm">
<i class="fa fa-lg fa-search"></i> 搜索
</button>
<button type="button" id="add-apply-user" class="layui-btn layui-btn-sm layui-btn-normal">
<i class="fa fa-lg fa-plus"></i> 填加人员
</button>
</div>
<table class="layui-hide" id="dataTable" lay-filter="dataTable"></table>
</div>
@ -203,6 +206,22 @@
reloadTable(1);
});
$(document).on('click', '#add-apply-user', function() {
layer.open({
type: 2,
title: '添加人员信息',
closeBtn: 1,
area: ['90%', '90%'],
shadeClose: false,
anim: 2,
content: top.restAjax.path('route/apply/save.html?applyWorkTypeId={arg1}&applyInstitutionId={atg2}',
[workerCatalog, orgId]),
end: function() {
reloadTable();
}
});
});
table.on('tool(dataTable)', function(obj) {
var layEvent = obj.event;
var data = obj.data;