|
|
@ -31,29 +31,17 @@ content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
|
|
|
|
<div class="box-body">
|
|
|
|
<div class="box-body">
|
|
|
|
<form id="searchForm" th:action="${setting.domain + 'tk/subject/listData'}" method="post" class="form-inline hide" data-page-no="1" data-page-size="20" data-order-by="">
|
|
|
|
<form id="searchForm" th:action="${setting.domain + 'tk/subject/listData'}" method="post" class="form-inline hide" data-page-no="1" data-page-size="20" data-order-by="">
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label">岗位编码:</label>
|
|
|
|
<label class="control-label">类型编码:</label>
|
|
|
|
<div class="control-inline">
|
|
|
|
<div class="control-inline">
|
|
|
|
<input type="text" id="code" name="code" value="" maxlength="64" class="form-control width-120"/>
|
|
|
|
<input type="text" id="uid" name="uid" value="" maxlength="64" class="form-control width-120"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label">岗位名称:</label>
|
|
|
|
<label class="control-label">类型名称:</label>
|
|
|
|
<div class="control-inline">
|
|
|
|
<div class="control-inline">
|
|
|
|
<input type="text" id="name" name="name" value="" maxlength="100" class="form-control width-120"/>
|
|
|
|
<input type="text" id="name" name="name" value="" maxlength="100" class="form-control width-120"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
<label class="control-label">岗位分类:</label>
|
|
|
|
|
|
|
|
<div class="control-inline width-90">
|
|
|
|
|
|
|
|
<select id="postType" name="postType" class="form-control">
|
|
|
|
|
|
|
|
<option value=""> </option>
|
|
|
|
|
|
|
|
<option value="gaoguan">高管</option>
|
|
|
|
|
|
|
|
<option value="zhongceng">中层</option>
|
|
|
|
|
|
|
|
<option value="jiceng">基层</option>
|
|
|
|
|
|
|
|
<option value="qita">其它</option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label">状态:</label>
|
|
|
|
<label class="control-label">状态:</label>
|
|
|
|
<div class="control-inline width-60">
|
|
|
|
<div class="control-inline width-60">
|
|
|
@ -93,10 +81,10 @@ content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
|
|
|
|
$('#dataGrid').dataGrid({
|
|
|
|
$('#dataGrid').dataGrid({
|
|
|
|
searchForm: $("#searchForm"),
|
|
|
|
searchForm: $("#searchForm"),
|
|
|
|
columnModel: [
|
|
|
|
columnModel: [
|
|
|
|
{header:'岗位名称', name:'name', index:'a.post_name', width:200, align:"center", frozen:true, formatter: function(val, obj, row, act){
|
|
|
|
{header:'类型名称', name:'name', index:'a.post_name', width:200, align:"center", frozen:true, formatter: function(val, obj, row, act){
|
|
|
|
return '<a href="'+ctx+'tk/post/detail?id='+row.id+'" class="btnList" data-title="编辑岗位">'+(val||row.id)+'</a>';
|
|
|
|
return '<a href="'+ctx+'tk/post/detail?id='+row.id+'" class="btnList" data-title="编辑岗位">'+(val||row.id)+'</a>';
|
|
|
|
}},
|
|
|
|
}},
|
|
|
|
{header:'岗位编码', name:'id', index:'a.post_code', width:200, align:"center"},
|
|
|
|
{header:'类型编码', name:'uid', index:'a.post_code', width:200, align:"center"},
|
|
|
|
{header:'排序号', name:'sort', index:'a.post_sort', width:80, align:"center"},
|
|
|
|
{header:'排序号', name:'sort', index:'a.post_sort', width:80, align:"center"},
|
|
|
|
{header:'更新时间', name:'updateDate', index:'a.update_date', width:150, align:"center"},
|
|
|
|
{header:'更新时间', name:'updateDate', index:'a.update_date', width:150, align:"center"},
|
|
|
|
{header:'备注信息', name:'remarks', index:'a.remarks', width:200, align:"left"},
|
|
|
|
{header:'备注信息', name:'remarks', index:'a.remarks', width:200, align:"left"},
|
|
|
|