提交 45e844b0 编写于 作者: doc_wei's avatar doc_wei

update: 员工证书管理托管到表单布局

上级 c4063b20
// 员工证书
layui.config({
base: basePath,
version: skyeyeVersion
}).extend({
window: 'js/winui.window'
}).define(['window', 'jquery', 'winui', 'textool', 'laydate'], function (exports) {
winui.renderColor();
layui.use(['form'], function (form) {
var index = parent.layer.getFrameIndex(window.name);
var $ = layui.$,
laydate = layui.laydate,
textool = layui.textool;
laydate.render({elem: '#issueTime', trigger: 'click'});
laydate.render({elem: '#validityTime', trigger: 'click'});
// 证书类型
sysDictDataUtil.showDictDataListByDictTypeCode(sysDictData["employeeCertificateType"]["key"], 'select', "typeId", '', form);
skyeyeEnclosure.init('enclosureUpload');
matchingLanguage();
form.render();
form.on('submit(formAddBean)', function (data) {
if (winui.verifyForm(data.elem)) {
var params = {
certificateNumber: $("#certificateNumber").val(),
certificateName: $("#certificateName").val(),
issueOrgan: $("#issueOrgan").val(),
typeId: $("#typeId").val(),
issueTime: $("#issueTime").val(),
validityType: $("#validityType").val(),
validityTime: $("#validityTime").val(),
staffId: parent.staffId,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcertificate002", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
}
return false;
});
$("body").on("click", "#cancle", function() {
parent.layer.close(index);
});
});
});
\ No newline at end of file
// 员工证书
layui.config({
base: basePath,
version: skyeyeVersion
}).extend({
window: 'js/winui.window'
}).define(['window', 'jquery', 'winui', 'textool', 'laydate'], function (exports) {
winui.renderColor();
layui.use(['form'], function (form) {
var index = parent.layer.getFrameIndex(window.name);
var $ = layui.$,
laydate = layui.laydate,
textool = layui.textool;
showGrid({
id: "showForm",
url: sysMainMation.ehrBasePath + "sysstaffcertificate003",
params: {rowId: parent.rowId},
pagination: false,
method: "GET",
template: $("#beanTemplate").html(),
ajaxSendLoadBefore: function(hdb) {},
ajaxSendAfter:function (json) {
laydate.render({elem: '#issueTime', trigger: 'click'});
laydate.render({elem: '#validityTime', trigger: 'click'});
$("#validityType").val(json.bean.validityType);
// 附件回显
skyeyeEnclosure.initTypeISData({'enclosureUpload': json.bean.enclosureInfo});
// 证书类型
sysDictDataUtil.showDictDataListByDictTypeCode(sysDictData["employeeCertificateType"]["key"], 'select', "typeId", json.bean.typeId, form);
matchingLanguage();
form.render();
form.on('submit(formEditBean)', function (data) {
if (winui.verifyForm(data.elem)) {
var params = {
certificateNumber: $("#certificateNumber").val(),
certificateName: $("#certificateName").val(),
issueOrgan: $("#issueOrgan").val(),
typeId: $("#typeId").val(),
issueTime: $("#issueTime").val(),
validityType: $("#validityType").val(),
validityTime: $("#validityTime").val(),
rowId: parent.rowId,
enclosureInfo: skyeyeEnclosure.getEnclosureIdsByBoxId('enclosureUpload')
};
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcertificate004", params: params, type: 'json', callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
}
return false;
});
form.render();
}
});
$("body").on("click", "#cancle", function() {
parent.layer.close(index);
});
});
});
\ No newline at end of file
var rowId = "";
var objectKey = "";
var objectId = "";
layui.config({
base: basePath,
version: skyeyeVersion
base: basePath,
version: skyeyeVersion
}).extend({
window: 'js/winui.window'
}).define(['window', 'table', 'jquery', 'winui', 'form'], function (exports) {
winui.renderColor();
var $ = layui.$,
form = layui.form,
table = layui.table;
initTable();
function initTable(){
table.render({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: sysMainMation.ehrBasePath + 'sysstaffcertificate001',
where: getTableParams(),
even: true,
page: true,
limits: getLimits(),
limit: getLimit(),
cols: [[
{ title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' },
{ field: 'certificateNumber', title: '证书编号', align: 'left', width: 160 },
{ field: 'certificateName', title: '证书名称', width: 120},
{ field: 'certificateTypeName', title: '证书类型', width: 120},
{ field: 'issueOrgan', title: '签发机构', width: 120},
{ field: 'jobNumber', title: '员工工号', align: 'left', width: 80 },
{ field: 'userName', title: '员工姓名', align: 'left', width: 100 },
{ field: 'state', title: '员工状态', align: 'center', width: 80, templet: function (d) {
if(d.state == '1'){
return "在职";
} else if (d.state == '2'){
return "离职";
} else if (d.state == '3'){
return "见习";
} else if (d.state == '4'){
return "试用";
} else if (d.state == '5'){
return "退休";
}
}},
{ field: 'validityType', title: '有效期类型', align: 'left', width: 100, templet: function (d) {
if(d.validityType == '1'){
return "永久有效";
} else if (d.validityType == '2'){
return "时间段有效";
}
}},
{ field: 'issueTime', title: '签发时间', align: 'center', width: 100 },
{ field: 'validityTime', title: '截至时间', align: 'center', width: 100 },
{ field: 'createTime', title: systemLanguage["com.skyeye.entryTime"][languageType], align: 'center', width: 100},
{ title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 100, toolbar: '#tableBar'}
]],
done: function(json) {
matchingLanguage();
}
});
table.on('tool(messageTable)', function (obj) {
var data = obj.data;
var layEvent = obj.event;
if (layEvent === 'edit') { // 编辑
edit(data);
} else if (layEvent === 'delete') { // 删除
deleteRow(data);
}
});
winui.renderColor();
var $ = layui.$,
form = layui.form,
table = layui.table;
objectKey = GetUrlParam("objectKey");
objectId = GetUrlParam("objectId");
if (isNull(objectKey) || isNull(objectId)) {
winui.window.msg("请传入适用对象信息", {icon: 2, time: 2000});
return false;
}
form.render();
// 编辑
table.render({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: sysMainMation.ehrBasePath + 'queryCertificateList',
where: getTableParams(),
even: true,
page: true,
limits: getLimits(),
limit: getLimit(),
cols: [[
{ title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' },
{ field: 'certificateNumber', title: '证书编号', align: 'left', width: 160 },
{ field: 'name', title: '证书名称', width: 150 },
{ field: 'issueOrgan', title: '签发机构', width: 150 },
{ field: 'issueTime', title: '签发时间', align: 'center', width: 100 },
{ field: 'typeId', title: '证书类型', width: 120, templet: function (d) {
return sysDictDataUtil.getDictDataNameByCodeAndKey("EMPLOYEE_CERTIFICATE_TYPE", d.typeId);
}},
{ field: 'createName', title: systemLanguage["com.skyeye.createName"][languageType], align: 'left', width: 120 },
{ field: 'createTime', title: systemLanguage["com.skyeye.createTime"][languageType], align: 'center', width: 150 },
{ field: 'lastUpdateName', title: systemLanguage["com.skyeye.lastUpdateName"][languageType], align: 'left', width: 120 },
{ field: 'lastUpdateTime', title: systemLanguage["com.skyeye.lastUpdateTime"][languageType], align: 'center', width: 150 },
{ title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 100, toolbar: '#tableBar'}
]],
done: function(json) {
matchingLanguage();
initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入证书编号、名称", function () {
table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
});
}
});
table.on('tool(messageTable)', function (obj) {
var data = obj.data;
var layEvent = obj.event;
if (layEvent === 'edit') { //编辑
edit(data);
} else if (layEvent === 'details') { //详情
details(data);
} else if (layEvent === 'del') { //删除
del(data);
}
});
// 新增
$("body").on("click", "#addBean", function() {
parent._openNewWindows({
url: systemCommonUtil.getUrl('FP2023113000001&objectId=' + objectId + '&objectKey=' + objectKey, null),
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "sysStaffArchivesAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable();
}});
});
// 编辑
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/sysStaffCertificate/sysStaffCertificateEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "sysStaffCertificateEdit",
parent._openNewWindows({
url: systemCommonUtil.getUrl('FP2023113000002&objectId=' + objectId + '&objectKey=' + objectKey + '&id=' + data.id, null),
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "sysStaffArchivesEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable();
}
});
}
// 删除
function deleteRow(data) {
}
});
}
// 详情
function details(data) {
parent._openNewWindows({
url: systemCommonUtil.getUrl('FP2023113000003&objectId=' + objectId + '&objectKey=' + objectKey + '&id=' + data.id, null),
title: systemLanguage["com.skyeye.detailsPageTitle"][languageType],
pageId: "sysStaffArchivesDetails",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
}});
}
// 删除
function del(data, obj) {
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function (index) {
layer.close(index);
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcertificate005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "deleteCertificateById", params: {id: data.id}, type: 'json', method: 'DELETE', callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
});
}
// 搜索表单
$("body").on("click", "#formSearch", function() {
table.reloadData("messageTable", {page: {curr: 1}, where: getTableParams()});
});
// 刷新数据
form.render();
$("body").on("click", "#reloadTable", function() {
loadTable();
loadTable();
});
function loadTable() {
table.reloadData("messageTable", {where: getTableParams()});
}
function getTableParams() {
return {
certificateNumber: $("#certificateNumber").val(),
certificateName: $("#certificateName").val(),
userName: $("#userName").val(),
jobNumber: $("#jobNumber").val(),
state: $("#state").val()
};
}
return $.extend(true, {objectKey: objectKey, objectId: objectId}, initTableSearchUtil.getSearchValue("messageTable"));
}
exports('sysStaffCertificateList', {});
});
var rowId = "";
var staffId = "";
layui.config({
base: basePath,
version: skyeyeVersion
}).extend({
window: 'js/winui.window'
}).define(['window', 'table', 'jquery', 'winui', 'form'], function (exports) {
winui.renderColor();
var $ = layui.$,
form = layui.form,
table = layui.table;
authBtn('1601784150851');
// 获取当前登录员工信息
systemCommonUtil.getSysCurrentLoginUserMation(function (data) {
staffId = data.bean.staffId;
});
initTable();
function initTable(){
table.render({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: sysMainMation.ehrBasePath + 'sysstaffcertificate006',
where: getTableParams(),
even: true,
page: true,
limits: getLimits(),
limit: getLimit(),
cols: [[
{ title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' },
{ field: 'certificateNumber', title: '证书编号', align: 'left', width: 160 },
{ field: 'certificateName', title: '证书名称', width: 120},
{ field: 'certificateTypeName', title: '证书类型', width: 120},
{ field: 'issueOrgan', title: '签发机构', width: 120},
{ field: 'jobNumber', title: '员工工号', align: 'left', width: 80 },
{ field: 'userName', title: '员工姓名', align: 'left', width: 100 },
{ field: 'state', title: '员工状态', align: 'center', width: 80, templet: function (d) {
if(d.state == '1'){
return "在职";
} else if (d.state == '2'){
return "离职";
} else if (d.state == '3'){
return "见习";
} else if (d.state == '4'){
return "试用";
} else if (d.state == '5'){
return "退休";
}
}},
{ field: 'validityType', title: '有效期类型', align: 'left', width: 100, templet: function (d) {
if(d.validityType == '1'){
return "永久有效";
} else if (d.validityType == '2'){
return "时间段有效";
}
}},
{ field: 'issueTime', title: '签发时间', align: 'center', width: 100 },
{ field: 'validityTime', title: '截至时间', align: 'center', width: 100 },
{ field: 'createTime', title: systemLanguage["com.skyeye.entryTime"][languageType], align: 'center', width: 100},
{ title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 100, toolbar: '#tableBar'}
]],
done: function(json) {
matchingLanguage();
}
});
table.on('tool(messageTable)', function (obj) {
var data = obj.data;
var layEvent = obj.event;
if (layEvent === 'edit') { // 编辑
edit(data);
} else if (layEvent === 'delete') { // 删除
deleteRow(data);
}
});
}
form.render();
// 录入证书
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/sysStaffCertificate/sysStaffCertificateAdd.html",
title: "录入证书",
pageId: "sysStaffCertificateAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable();
}});
});
// 编辑
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/sysStaffCertificate/sysStaffCertificateEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "sysStaffCertificateEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable();
}
});
}
// 删除
function deleteRow(data) {
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function(index) {
layer.close(index);
AjaxPostUtil.request({url: sysMainMation.ehrBasePath + "sysstaffcertificate005", params: {rowId: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
});
}
// 刷新数据
$("body").on("click", "#reloadTable", function() {
loadTable();
});
function loadTable() {
table.reloadData("messageTable", {where: getTableParams()});
}
function getTableParams() {
return {
staffId: staffId
};
}
exports('sysStaffCertificateMyList', {});
});
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
<link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
<link href="../../assets/lib/layui/lay/modules/ztree/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" />
<link href="../../assets/lib/layui/lay/modules/contextMenu/jquery.contextMenu.min.css" rel="stylesheet" />
</head>
<body>
<div style="margin: 0 auto; padding: 20px;">
<form class="layui-form" action="" id="showForm" autocomplete="off">
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">证书编号<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="certificateNumber" name="certificateNumber" win-verify="required" placeholder="请输入证书编号" class="layui-input" maxlength="50"/>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">证书名称<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="certificateName" name="certificateName" win-verify="required" placeholder="请输入证书名称" class="layui-input" maxlength="50"/>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">签发机构<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="issueOrgan" name="issueOrgan" win-verify="required" placeholder="请输入签发机构" class="layui-input" maxlength="100"/>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">证书类型<i class="red">*</i></label>
<div class="layui-input-block">
<select lay-filter="typeId" lay-search="" win-verify="required" id="typeId">
</select>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">签发日期<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="issueTime" name="issueTime" win-verify="required" placeholder="请选择签发日期" class="layui-input" maxlength="50"/>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">有效期类型<i class="red">*</i></label>
<div class="layui-input-block">
<select lay-filter="validityType" lay-search="" win-verify="required" id="validityType">
<option value="1">永久有效</option>
<option value="2">时间段有效</option>
</select>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">失效日期</label>
<div class="layui-input-block">
<input type="text" id="validityTime" name="validityTime" placeholder="请选择失效日期" class="layui-input" maxlength="50"/>
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">附件资料</label>
<div class="layui-input-block" id="enclosureUpload">
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<div class="layui-input-block">
<button class="winui-btn" id="cancle"><language showName="com.skyeye.cancel"></language></button>
<button class="winui-btn" lay-submit lay-filter="formAddBean"><language showName="com.skyeye.save"></language></button>
</div>
</div>
</form>
</div>
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/sysStaffCertificate/'}).use('sysStaffCertificateAdd');
</script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
<link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
<link href="../../assets/lib/layui/lay/modules/ztree/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" />
<link href="../../assets/lib/layui/lay/modules/contextMenu/jquery.contextMenu.min.css" rel="stylesheet" />
</head>
<body>
<div style="margin: 0 auto; padding: 20px;">
<form class="layui-form" action="" id="showForm" autocomplete="off">
</form>
</div>
<script type="text/x-handlebars-template" id="beanTemplate">
{{#bean}}
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">证书编号<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="certificateNumber" name="certificateNumber" win-verify="required" placeholder="请输入证书编号" class="layui-input" value="{{certificateNumber}}" maxlength="50"/>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">证书名称<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="certificateName" name="certificateName" win-verify="required" placeholder="请输入证书名称" class="layui-input" value="{{certificateName}}" maxlength="50"/>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">签发机构<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="issueOrgan" name="issueOrgan" win-verify="required" placeholder="请输入签发机构" class="layui-input" value="{{issueOrgan}}" maxlength="100"/>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">证书类型<i class="red">*</i></label>
<div class="layui-input-block">
<select lay-filter="typeId" lay-search="" win-verify="required" id="typeId">
</select>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">签发日期<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="issueTime" name="issueTime" win-verify="required" placeholder="请选择签发日期" class="layui-input" value="{{issueTime}}" maxlength="50"/>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">有效期类型<i class="red">*</i></label>
<div class="layui-input-block">
<select lay-filter="validityType" lay-search="" win-verify="required" id="validityType">
<option value="1">永久有效</option>
<option value="2">时间段有效</option>
</select>
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">失效日期</label>
<div class="layui-input-block">
<input type="text" id="validityTime" name="validityTime" placeholder="请选择失效日期" class="layui-input" value="{{validityTime}}" maxlength="50"/>
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">附件资料</label>
<div class="layui-input-block" id="enclosureUpload">
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<div class="layui-input-block">
<button class="winui-btn" id="cancle"><language showName="com.skyeye.cancel"></language></button>
<button class="winui-btn" lay-submit lay-filter="formEditBean"><language showName="com.skyeye.save"></language></button>
</div>
</div>
{{/bean}}
</script>
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/sysStaffCertificate/'}).use('sysStaffCertificateEdit');
</script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
<link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
<meta charset="utf-8" />
<title></title>
<link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
<link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>
<body>
<div class="txtcenter" style="margin:0 auto; padding-top:10px;">
<form class="layui-form layui-form-pane" action="" autocomplete="off">
<div class="layui-form-item">
<div class="layui-inline">
<label class="layui-form-label">证书编号</label>
<div class="layui-input-inline">
<input type="text" id="certificateNumber" name="certificateNumber" placeholder="请输入证书编号" class="layui-input" />
</div>
<label class="layui-form-label">证书名称</label>
<div class="layui-input-inline">
<input type="text" id="certificateName" name="certificateName" placeholder="请输入证书名称" class="layui-input" />
</div>
<label class="layui-form-label">员工姓名</label>
<div class="layui-input-inline">
<input type="text" id="userName" name="userName" placeholder="请输入员工姓名" class="layui-input" />
</div>
<label class="layui-form-label">员工工号</label>
<div class="layui-input-inline">
<input type="text" id="jobNumber" name="jobNumber" placeholder="请输入员工工号" class="layui-input" />
</div>
<label class="layui-form-label">员工状态</label>
<div class="layui-input-inline">
<select lay-filter="state" lay-search="" id="state">
<option value="">全部</option>
<option value="1">在职</option>
<option value="2">离职</option>
<option value="3">见习</option>
<option value="4">试用</option>
<option value="5">退休</option>
</select>
</div>
<button type="reset" class="layui-btn layui-btn-primary list-form-search"><language showName="com.skyeye.reset"></language></button>
<button class="layui-btn list-form-search" type="button" id="formSearch"><language showName="com.skyeye.search2"></language></button>
</div>
</div>
</form>
<div class="winui-toolbar">
<div class="winui-tool">
<button id="reloadTable" class="winui-toolbtn search-table-btn-right"><i class="fa fa-refresh" aria-hidden="true"></i><language showName="com.skyeye.refreshDataBtn"></language></button>
<button id="addBean" class="winui-toolbtn search-table-btn-right"><i class="fa fa-plus" aria-hidden="true"></i><language showName="com.skyeye.addBtn"></language></button>
</div>
</div>
<div class="winui-toolbar">
<div class="winui-tool">
<button id="reloadTable" class="winui-toolbtn"><i class="fa fa-refresh" aria-hidden="true"></i><language showName="com.skyeye.refreshDataBtn"></language></button>
</div>
</div>
<div style="margin:auto 10px;">
<table id="messageTable" lay-filter="messageTable"></table>
<script type="text/html" id="tableBar">
{{# if(auth('1600611803466')){ }}
<a class="layui-btn layui-btn-xs" lay-event="edit"><language showName="com.skyeye.editBtn"></language></a>
{{# } }}
{{# if(auth('1600611821227')){ }}
<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="delete"><language showName="com.skyeye.deleteBtn"></language></a>
{{# } }}
</script>
</div>
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/sysStaffCertificate/'}).use('sysStaffCertificateList');
</script>
<div style="margin:auto 10px;">
<table id="messageTable" lay-filter="messageTable"></table>
<script type="text/html" id="tableBar">
<a class="layui-btn layui-btn-xs" lay-event="edit"><language showName="com.skyeye.editBtn"></language></a>
<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del"><language showName="com.skyeye.deleteBtn"></language></a>
</script>
</div>
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/sysStaffCertificate/'}).use('sysStaffCertificateList');
</script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
<link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>
<body>
<div class="winui-toolbar">
<div class="winui-tool">
<button id="reloadTable" class="winui-toolbtn"><i class="fa fa-refresh" aria-hidden="true"></i><language showName="com.skyeye.refreshDataBtn"></language></button>
<button id="addBean" class="winui-toolbtn" auth="1601784150851"><i class="fa fa-plus" aria-hidden="true"></i>新增证书</button>
</div>
</div>
<div style="margin:auto 10px;">
<table id="messageTable" lay-filter="messageTable"></table>
<script type="text/html" id="tableBar">
{{# if(auth('1601784159474')){ }}
<a class="layui-btn layui-btn-xs" lay-event="edit"><language showName="com.skyeye.editBtn"></language></a>
{{# } }}
{{# if(auth('1601784167122')){ }}
<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="delete"><language showName="com.skyeye.deleteBtn"></language></a>
{{# } }}
</script>
</div>
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/sysStaffCertificate/'}).use('sysStaffCertificateMyList');
</script>
</body>
</html>
\ No newline at end of file
......@@ -35,7 +35,7 @@ layui.config({
pageUrl: '../../tpl/sysStaffLanguage/sysStaffLanguageList.html'
}, {
title: '证书信息',
pageUrl: ''
pageUrl: '../../tpl/sysStaffCertificate/sysStaffCertificateList.html'
}, {
title: '奖惩信息',
pageUrl: ''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册