|
|
@ -1,7 +1,7 @@
|
|
|
|
<div class="edu-class-top mt15 clearfix bor-grey-e">
|
|
|
|
<div class="edu-class-top mt15 clearfix bor-grey-e">
|
|
|
|
<%= form_tag(url_for(users_managements_path), :id => "managements_users_search", :method => "post", :remote => true) do %>
|
|
|
|
<%= form_tag(url_for(users_managements_path), :id => "managements_users_search", :method => "post", :remote => true) do %>
|
|
|
|
<div class=" edu-position edu-admin-select fl mr10" style="width:140px;" >
|
|
|
|
<div class=" edu-position edu-admin-select fl mr10" style="width:140px;">
|
|
|
|
<p>全部状态<i class="fa fa-caret-down ml10" ></i></p>
|
|
|
|
<p>全部状态<i class="fa fa-caret-down ml10"></i></p>
|
|
|
|
<input type="hidden" name="user_status" value="0">
|
|
|
|
<input type="hidden" name="user_status" value="0">
|
|
|
|
<ul class="edu-admin-option">
|
|
|
|
<ul class="edu-admin-option">
|
|
|
|
<li data-val="0">全部状态</li>
|
|
|
|
<li data-val="0">全部状态</li>
|
|
|
@ -10,7 +10,7 @@
|
|
|
|
<li data-val="3">已锁定(<%= query_user_status_num 3 %>)</li>
|
|
|
|
<li data-val="3">已锁定(<%= query_user_status_num 3 %>)</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="edu-position edu-admin-select fl mr10" style="width:150px;">
|
|
|
|
<div class="edu-position edu-admin-select fl mr10" style="width:120px;">
|
|
|
|
<p>真实姓名搜索<i class="fa fa-caret-down ml10"></i></p>
|
|
|
|
<p>真实姓名搜索<i class="fa fa-caret-down ml10"></i></p>
|
|
|
|
<input type="hidden" name="research_condition" value="name">
|
|
|
|
<input type="hidden" name="research_condition" value="name">
|
|
|
|
<ul class="edu-admin-option">
|
|
|
|
<ul class="edu-admin-option">
|
|
|
@ -20,17 +20,33 @@
|
|
|
|
<li data-val="phone">手机号码搜索</li>
|
|
|
|
<li data-val="phone">手机号码搜索</li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="fl with20">
|
|
|
|
|
|
|
|
|
|
|
|
<select id="user_identity" name="identity" class="fl winput-100-40 ml10">
|
|
|
|
|
|
|
|
<option value="-1">请选择职业</option>
|
|
|
|
|
|
|
|
<option value="0">教师</option>
|
|
|
|
|
|
|
|
<option value="1">学生</option>
|
|
|
|
|
|
|
|
<option value="2">专业人士</option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="auto_school" name="auto_school" class="fl winput-100-40 ml10">
|
|
|
|
|
|
|
|
<option value="0">全部</option>
|
|
|
|
|
|
|
|
<option value="1">自动授权</option>
|
|
|
|
|
|
|
|
<option value="2">非自动授权</option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="fl with15 ml10">
|
|
|
|
<input type="text" class="fl task-form-100 task-height-40 panel-box-sizing" name="research_contents" placeholder="输入关键字进行搜索">
|
|
|
|
<input type="text" class="fl task-form-100 task-height-40 panel-box-sizing" name="research_contents" placeholder="输入关键字进行搜索">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<li class="fl task-height-30 ml10" style="display: inline-block">
|
|
|
|
<li class="fl task-height-30 ml10" style="display: inline-block">
|
|
|
|
<input nhname="tag" autocomplete="off" maxlength="36" nh_tag_0="true" nh_tag_1="true" nh_tag_3="true" id="province" name="school" class="task-height-40 panel-box-sizing fl" type="text" placeholder="请输入单位名称关键字进行搜索" style="width: 260px" />
|
|
|
|
<input nhname="tag" autocomplete="off" maxlength="36" nh_tag_0="true" nh_tag_1="true" nh_tag_3="true" id="province" name="school" class="task-height-40 panel-box-sizing fl" type="text" placeholder="请输入单位名称关键字进行搜索" style="width: 200px"/>
|
|
|
|
<input nhname="tag" nh_tag_5="true" class="fl" id="school_id" name="school_id" style="display:none;" type="text"/> <!-- 单位名称的test框选中下拉列表框的id -->
|
|
|
|
<input nhname="tag" nh_tag_5="true" class="fl" id="school_id" name="school_id" style="display:none;" type="text"/> <!-- 单位名称的test框选中下拉列表框的id -->
|
|
|
|
<div class="cl"></div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<div id="search_school_result_list" style="width: 330px;line-height: 1.5;min-height:20px; max-height: 200px; height: auto !important;display:none;background: white;overflow: scroll;border: solid 1px #cccccc; overflow-x: hidden; overflow-y: auto;">
|
|
|
|
<div id="search_school_result_list" style="width: 330px;line-height: 1.5;min-height:20px; max-height: 200px; height: auto !important;display:none;background: white;overflow: scroll;border: solid 1px #cccccc; overflow-x: hidden; overflow-y: auto;">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<input type="hidden" name="us_order" value="">
|
|
|
|
|
|
|
|
<input type="hidden" name="order_key" value="">
|
|
|
|
|
|
|
|
|
|
|
|
<a href="javascript:void(0);" class="fl task-btn task-btn-orange ml5 mt5" onclick="$('#managements_users_search').submit();">搜索</a>
|
|
|
|
<a href="javascript:void(0);" class="fl task-btn task-btn-orange ml5 mt5" onclick="$('#managements_users_search').submit();">搜索</a>
|
|
|
|
<a href="javascript:void(0);" class="fl task-btn ml5 mt5" id="clear_contents">清除</a>
|
|
|
|
<a href="javascript:void(0);" class="fl task-btn ml5 mt5" id="clear_contents">清除</a>
|
|
|
|
|
|
|
|
|
|
|
@ -42,7 +58,7 @@
|
|
|
|
<%= render :partial => "managements/user_list" %>
|
|
|
|
<%= render :partial => "managements/user_list" %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
function import_course_members(){
|
|
|
|
function import_course_members() {
|
|
|
|
var htmlvalue = '<%= escape_javascript(render :partial => 'student_work/import_excel_score') %>';
|
|
|
|
var htmlvalue = '<%= escape_javascript(render :partial => 'student_work/import_excel_score') %>';
|
|
|
|
pop_box_new(htmlvalue, 452, 163);
|
|
|
|
pop_box_new(htmlvalue, 452, 163);
|
|
|
|
$("#submit_url").val('<%= import_course_members_managements_path() %>');
|
|
|
|
$("#submit_url").val('<%= import_course_members_managements_path() %>');
|
|
|
@ -56,7 +72,7 @@
|
|
|
|
var d_count = 0; //查询结果的总量
|
|
|
|
var d_count = 0; //查询结果的总量
|
|
|
|
var d_maxPage = 0;//最大页面值
|
|
|
|
var d_maxPage = 0;//最大页面值
|
|
|
|
function department_search_fn(e) {
|
|
|
|
function department_search_fn(e) {
|
|
|
|
if($(e.target).val().trim() == ''){
|
|
|
|
if ($(e.target).val().trim() == '') {
|
|
|
|
$("#search_school_result_list").hide();
|
|
|
|
$("#search_school_result_list").hide();
|
|
|
|
$("input[name='school_id']").val("");
|
|
|
|
$("input[name='school_id']").val("");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -94,9 +110,10 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//修改部门
|
|
|
|
//修改部门
|
|
|
|
function changeSchoolValue(value, data) {
|
|
|
|
function changeSchoolValue(value, data) {
|
|
|
|
console.log(value+","+data)
|
|
|
|
console.log(value + "," + data)
|
|
|
|
$("input[name='school']").val(value);
|
|
|
|
$("input[name='school']").val(value);
|
|
|
|
$("input[name='school_id']").val(data);
|
|
|
|
$("input[name='school_id']").val(data);
|
|
|
|
$("#search_school_result_list").hide();
|
|
|
|
$("#search_school_result_list").hide();
|
|
|
|