提交 1c90a2c2 编写于 作者: doc_wei's avatar doc_wei

面试者管理详情

上级 39fb47a4
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;
showGrid({
id: "showForm",
url: reqBasePath + "bossInterviewee004",
params: {id: parent.rowId},
pagination: false,
method: "GET",
template: $("#beanTemplate").html(),
ajaxSendLoadBefore: function(hdb, json){
json.bean.basicResume = stringManipulation.textAreaShow(json.bean.basicResume);
},
ajaxSendAfter: function (json) {
$("#chargePerson").html(json.bean.chargePerson[0].name);
skyeyeEnclosure.showDetails({"enclosureUpload": json.bean.enclosureInfo});
matchingLanguage();
form.render();
}
});
$("body").on("click", "#cancle", function(){
parent.layer.close(index);
});
});
\ 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 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">姓名</label>
<div class="layui-input-block ver-center">
{{name}}
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">性别</label>
<div class="layui-input-block ver-center">
{{sexName}}
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">身份证</label>
<div class="layui-input-block ver-center">
{{idcard}}
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">联系方式</label>
<div class="layui-input-block ver-center">
{{phone}}
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">来源</label>
<div class="layui-input-block ver-center">
{{fromName}}
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">工作年限</label>
<div class="layui-input-block ver-center">
{{workYears}}
</div>
</div>
<div class="layui-form-item layui-col-xs6">
<label class="layui-form-label">负责人</label>
<div class="layui-input-block ver-center" id="chargePerson">
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">心仪岗位</label>
<div class="layui-input-block ver-center">
{{favoriteJob}}
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">基本简历</label>
<div class="layui-input-block ver-center">
{{{basicResume}}}
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">附件资料</label>
<div class="layui-input-block ver-center" id="enclosureUpload">
</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/bossInterviewee/'}).use('bossIntervieweeDetails');
</script>
</body>
</html>
\ No newline at end of file
......@@ -134,7 +134,6 @@ layui.config({
});
form.on('submit(formAddBean)', function (data) {
if (winui.verifyForm(data.elem)) {
var params = {
scheduleTitle: $("#scheduleTitle").val(),
......
......@@ -97,7 +97,7 @@
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="winui-btn" id="cancle"><language showName="com.skyeye.cancel"></language></button>
<button class="winui-btn" type="button" 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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册