userStaffManage.js 1.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34

layui.config({
	base: basePath, 
	version: skyeyeVersion
}).extend({
    window: 'js/winui.window'
}).define(['window', 'jquery', 'winui', 'form'], function (exports) {
	winui.renderColor();
	var index = parent.layer.getFrameIndex(window.name);
    var $ = layui.$,
    	form = layui.form;
	var objectId = GetUrlParam("objectId");
	var objectKey = GetUrlParam("objectKey");

	tabPageUtil.init({
		id: 'tab',
		prefixData: [{
			title: '详情',
			pageUrl: '../../tpl/sysEveUserStaff/sysEveUserStaffDetails.html'
		}],
		suffixData: [{
			title: '员工档案',
			pageUrl: '../../tpl/sysStaffArchives/sysStaffArchivesList.html'
		}, {
			title: '家庭情况',
			pageUrl: ''
		}, {
			title: '教育信息',
			pageUrl: ''
		}, {
			title: '工作履历',
			pageUrl: ''
		}, {
			title: '语种能力',
35
			pageUrl: '../../tpl/sysStaffLanguage/sysStaffLanguageList.html'
36 37
		}, {
			title: '证书信息',
38
			pageUrl: '../../tpl/sysStaffCertificate/sysStaffCertificateList.html'
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
		}, {
			title: '奖惩信息',
			pageUrl: ''
		}, {
			title: '合同信息',
			pageUrl: ''
		}],
		element: layui.element,
		object: {
			objectId: objectId,
			objectKey: objectKey,
		}
	});

	form.render();

});