管理员界面部门相关界面

This commit is contained in:
XuCheng642 2017-07-14 15:22:35 +08:00
parent 956038e930
commit bbf694b5bb
9 changed files with 441 additions and 67 deletions

View File

@ -10,7 +10,15 @@ class ManagementsController < ApplicationController
def departments
end
def departments_part
end
def depart
end
def unit
end
# 0 全部1 活动的; 2 已注册; 3 锁定
def users
status = params[:user_status].nil? ? 0 : params[:user_status].to_i

View File

@ -28,8 +28,11 @@
<%= link_to "实训+", shixuns_managements_path, :class => "edu-admin-nav-a" %>
</li>
<li class="fl edu-admin-nav-li"><a href="javascript:void(0);" class="edu-admin-nav-a">竞赛+</a></li>
<li class="fl edu-admin-nav-li">
<%= link_to "单位", departments_managements_path, :class => "edu-admin-nav-a" %>
<li class="fl edu-admin-nav-li edu-position"><a href="javascript:void(0);" class="edu-admin-nav-a">单位</a>
<ul class="edu-admin-nav-inner edu-absolute">
<li><%= link_to "单位列表", departments_managements_path, :class => "edu-admin-nav-a" %></li>
<li><%= link_to "单位部门列表",departments_part_managements_path %></li>
</ul>
</li>
<li class="fl edu-admin-nav-li edu-position <%= 'active' if @menu_type == 6 %>"><a href="javascript:void(0);" class="edu-admin-nav-a">用户</a>
<ul class="edu-admin-nav-inner edu-absolute">
@ -44,6 +47,8 @@
<li><%= link_to "身份认证", :controller => "managements", :action => "identity_authentication" %></li>
<li><%= link_to "试用授权", :controller => "managements", :action => "trial_authorization" %></li>
<li><%= link_to '实训发布', shixun_authorization_managements_path %></li>
<li><%= link_to "部门审批", depart_managements_path %></li>
<li><%= link_to '单位审批', unit_managements_path %></li>
</ul>
</li>
<li class="fl edu-admin-nav-li"><a href="javascript:void(0);" class="edu-admin-nav-a">工程认证+</a></li>

View File

@ -0,0 +1,74 @@
<div class="edu-con-top clearfix mb20 xmt10">
<input class="fl task-form-20 task-height-30 ml35" id="shixun_Look_name" name="search" maxlength="" placeholder="输入关键字进行搜索" type="text" style="height: 21px;" onkeyup="myFunction()">
<a href="javascript:void(0);" class="fl task-btn task-btn-blue ml5 mt2" onclick="$('#management_search_user').submit();">搜索</a>
<a href="javascript:void(0);" class="fl task-btn ml5 mt2" id="clear_contents">清除</a>
<div class="clearfix mb15 d-none" style="display: none;" >
<ul class="fl task-form-20 task-height-30 ml30 w230" style="overflow-y:auto;" id="search_not_teachers_list">
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<a href="javascript:void(0);" class="pop_close task-btn mb10" style="margin-top: 20px;" onclick="reset_input();">取消</a>
<a href="javascript:void(0);" class="task-btn task-btn-blue" style="margin-top: 20px;" onclick="submit_add_collaborators_form()">确定</a>
</ul>
</div>
</div>
<table class="edu-pop-table edu-txt-center" cellpadding="0" cellspacing="0" style="table-layout: fixed">
<tr>
<th class="id">序号</th>
<th class="part edu-txt-left">部门名称</th>
<th class="unit edu-txt-left">单位名称</th>
<th class="eud-pointer">创建于<i class="fa fa-long-arrow-down color-light-green ml5" title=""></i></th>
<th class="editor"></th>
</tr>
<tr>
<td class="id">1</td>
<td class="part edu-txt-left">计算机学院</td>
<td class="unit edu-txt-left">中国科学近代物理研究所</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="editor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
<tr>
<td class="id">1</td>
<td class="part edu-txt-left">计算机学院</td>
<td class="unit edu-txt-left">中国科学近代物理研究所</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="editor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
<tr>
<td class="id">1</td>
<td class="part edu-txt-left">计算机学院</td>
<td class="unit edu-txt-left">中国科学近代物理研究所</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="editor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
</table>
<script>
// var find=$("#shixun_Look_name").val();
function myFunction(){
if($("#shixun_Look_name").val()==""){
$(".d-none").css("display","none");
}else{
$(".d-none").css("display","block");
}
}
</script>

View File

@ -0,0 +1,76 @@
<div class="edu-con-top clearfix mb20 xmt10">
<input class="fl task-form-20 task-height-30 ml35" id="shixun_Look_name" name="search" maxlength="" placeholder="输入关键字进行搜索" type="text" style="height: 21px;" onkeyup="myFunction()">
<a href="#" class="task-btn task-btn-green fr mt6 r6" >创建</a>
<div class="clearfix mb15 d-none" style="display: none;" >
<ul class="fl task-form-20 task-height-30 ml30 w230" style="overflow-y:auto;" id="search_not_teachers_list">
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<a href="javascript:void(0);" class="pop_close task-btn mb10" style="margin-top: 20px;" onclick="reset_input();">取消</a>
<a href="javascript:void(0);" class="task-btn task-btn-blue" style="margin-top: 20px;" onclick="submit_add_collaborators_form()">确定</a>
</ul>
</div>
</div>
<table class="edu-pop-table edu-txt-center" cellpadding="0" cellspacing="0" style="table-layout: fixed">
<tr>
<th class="id">序号</th>
<th class="part edu-txt-left">部门名称</th>
<th class="number">用户数</th>
<th class="job_num">已认证职业</th>
<th class="eud-pointer">创建于<i class="fa fa-long-arrow-down color-light-green ml5" title=""></i></th>
<th class="editor"></th>
</tr>
<tr>
<td class="id">1</td>
<td class="part edu-txt-left">计算机学院</td>
<td class="number">200</td>
<td class="job_num">3</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="editor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
<tr>
<td class="id">1</td>
<td class="part edu-txt-left">计算机学院</td>
<td class="number">200</td>
<td class="job_num">3</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="editor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
<tr>
<td class="id">1</td>
<td class="part edu-txt-left">计算机学院</td>
<td class="number">200</td>
<td class="job_num">3</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="editor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
</table>
<script>
// var find=$("#shixun_Look_name").val();
function myFunction(){
if($("#shixun_Look_name").val()==""){
$(".d-none").css("display","none");
}else{
$(".d-none").css("display","block");
}
}
</script>

View File

@ -0,0 +1,101 @@
<div class="edu-con-top clearfix mb20 xmt10">
<input class="fl task-form-20 task-height-30 ml35" id="shixun_Look_name" name="search" maxlength="" placeholder="输入关键字进行搜索" type="text" style="height: 21px;" onkeyup="myFunction()">
<a href="#" class="task-btn task-btn-green fr mt6 r6" >新建单位</a>
<div class="clearfix mb15 d-none" style="display: none;" >
<ul class="fl task-form-20 task-height-30 ml30 w230" style="overflow-y:auto;" id="search_not_teachers_list">
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<a href="javascript:void(0);" class="pop_close task-btn mb10" style="margin-top: 20px;" >取消</a>
<a href="javascript:void(0);" class="task-btn task-btn-blue" style="margin-top: 20px;" >确定</a>
</ul>
</div>
</div>
<table class="edu-pop-table edu-txt-center" cellpadding="0" cellspacing="0" style="table-layout: fixed">
<tr>
<th class="xid">序号</th>
<th class="xlogo">LOGO</th>
<th class="xpart edu-txt-left">单位名称</th>
<th class="xregion">地区</th>
<th class="xadd edu-txt-left">详细地址</th>
<th class="xuser-num">用户数</th>
<th class="xpart-num">部门数</th>
<th class="eud-pointer">创建于<i class="fa fa-long-arrow-down color-light-green ml5" title=""></i></th>
<th class="xeditor"></th>
</tr>
<tr>
<td class="xid">1</td>
<td class="xlogo"><img src=\"img/编辑.png\"/></td>
<td class="xpart edu-txt-left">中国科学院近代物理研究所</td>
<td class="xregion">北京市海淀区</td>
<td class="xadd edu-txt-left">湖北省武汉市武汉纺织大学</td>
<td class="xuser-num">3</td>
<td class="xpart-num">2</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="xeditor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
<tr>
<td class="xid">1</td>
<td class="xlogo"><img src=\"img/编辑.png\"/></td>
<td class="xpart edu-txt-left">中国科学院近代物理研究所</td>
<td class="xregion">北京市海淀区</td>
<td class="xadd edu-txt-left">湖北省武汉市武汉纺织大学</td>
<td class="xuser-num">3</td>
<td class="xpart-num">2</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="xeditor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
<tr>
<td class="xid">1</td>
<td class="xlogo"><img src=\"img/编辑.png\"/></td>
<td class="xpart edu-txt-left">中国科学院近代物理研究所</td>
<td class="xregion">北京市海淀区</td>
<td class="xadd edu-txt-left">湖北省武汉市武汉纺织大学</td>
<td class="xuser-num">3</td>
<td class="xpart-num">2</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="xeditor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
<tr>
<td class="xid">1</td>
<td class="xlogo"><img src=\"img/编辑.png\"/></td>
<td class="xpart edu-txt-left">中国科学院近代物理研究所</td>
<td class="xregion">北京市海淀区</td>
<td class="xadd edu-txt-left">湖北省武汉市武汉纺织大学</td>
<td class="xuser-num">3</td>
<td class="xpart-num">2</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="xeditor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
</table>
<script>
// var find=$("#shixun_Look_name").val();
function myFunction(){
if($("#shixun_Look_name").val()==""){
$(".d-none").css("display","none");
}else{
$(".d-none").css("display","block");
}
}
</script>

View File

@ -1,64 +1,64 @@
<div class="edu-class-container">
<%= form_tag(url_for(shixuns_managements_path), :id => "managements_shixuns_search", :method => "post", :remote => true ) do %>
<div class="edu-con-top clearfix mb20">
<select class="fl task-form-10 task-height-30" id="sx_status" style="margin:0px 10px 0px 25px;" form="managements_shixuns_search" name="status">
<option value="" selected="selected">全部状态</option>
<option value="0">编辑中(<%= @edit_sx_num %>)</option>
<option value="1">待审核(<%= @audit_sx_num %>)</option>
<option value="2">已发布(<%= @publish_sx_num %>)</option>
<option value="3">已关闭(<%= @close_sx_num %>)</option>
</select>
<select class="fl task-form-15 task-height-30" id="sx_condition_status" style="width: auto;margin-right: 10px;" form="managements_shixuns_search" name="keyword">
<option value="u_name">创建者姓名搜索</option>
<option value="sx_name">实训名称搜索</option>
</select>
<input class="fl task-form-20 task-height-30" id="shixun_Look_name" name="search" maxlength="" placeholder="输入关键字进行搜索" type="text" style="height: 21px;">
<li class="fl ml10">
<a href="javascript:void(0)" class="task-btn task-btn-blue" onclick="$('#managements_shixuns_search').submit();">搜索</a>
<a href="javascript:clearSearchCondition();" class="task-btn mr10">清除</a>
</li>
<% end %>
</div>
<div class="ex_container" id="management_shixun_list">
<%= render :partial => "managements/shixun_list" %>
</div>
</div>
<script>
//导航条的点击事件
$(".all_shixun_Item li").on("click",function(){
$(".all_shixun_Item li").removeClass("all_shixun_Item_on");
$(this).addClass("all_shixun_Item_on");
})
//显示实训
$("#shixun_status").hover(function(){
$(this).find(".edu-dropdown-menu").show();
},function(){
$(this).find(".edu-dropdown-menu").hide();
})
//选择实训
// $(".edu-dropdown-menu p a").on("click",function(){
// $(".edu-dropdown-menu").siblings("span").html($(this).html());
// $(".edu-dropdown-menu").hide();
// $(".edu-dropdown-menu").css("width",$("#shixun_status").width()+50);
// })
//清除查询条件
function clearSearchCondition(){
$("#shixun_Look_name").val("");
$("#sx_condition_status").val("u_name");
$("#sx_status").val("");
}
$(".shixun_webssh").on("click", 'input', function(ev){
//console.log($(ev.target));
console.log($(ev.target).parent().find("div").html());
var id = $(ev.target).parent().find("div").html();
console.log($(ev.target).parent().find("input").is(':checked'));
var status = $(ev.target).parent().find("input").is(':checked')
$.ajax({
url:"<%= update_webssh_managements_path %>",
dataType: "script",
data:{shixun_id: id, status: status}
});
});
</script>
<div class="edu-class-container">
<%= form_tag(url_for(shixuns_managements_path), :id => "managements_shixuns_search", :method => "post", :remote => true ) do %>
<div class="edu-con-top clearfix mb20">
<select class="fl task-form-10 task-height-30" id="sx_status" style="margin:0px 10px 0px 25px;" form="managements_shixuns_search" name="status">
<option value="" selected="selected">全部状态</option>
<option value="0">编辑中(<%= @edit_sx_num %>)</option>
<option value="1">待审核(<%= @audit_sx_num %>)</option>
<option value="2">已发布(<%= @publish_sx_num %>)</option>
<option value="3">已关闭(<%= @close_sx_num %>)</option>
</select>
<select class="fl task-form-15 task-height-30" id="sx_condition_status" style="width: auto;margin-right: 10px;" form="managements_shixuns_search" name="keyword">
<option value="u_name">创建者姓名搜索</option>
<option value="sx_name">实训名称搜索</option>
</select>
<input class="fl task-form-20 task-height-30" id="shixun_Look_name" name="search" maxlength="" placeholder="输入关键字进行搜索" type="text" style="height: 21px;">
<li class="fl ml10">
<a href="javascript:void(0)" class="task-btn task-btn-blue" onclick="$('#managements_shixuns_search').submit();">搜索</a>
<a href="javascript:clearSearchCondition();" class="task-btn mr10">清除</a>
</li>
<% end %>
</div>
<div class="ex_container" id="management_shixun_list">
<%= render :partial => "managements/shixun_list" %>
</div>
</div>
<script>
//导航条的点击事件
$(".all_shixun_Item li").on("click",function(){
$(".all_shixun_Item li").removeClass("all_shixun_Item_on");
$(this).addClass("all_shixun_Item_on");
})
//显示实训
$("#shixun_status").hover(function(){
$(this).find(".edu-dropdown-menu").show();
},function(){
$(this).find(".edu-dropdown-menu").hide();
})
//选择实训
// $(".edu-dropdown-menu p a").on("click",function(){
// $(".edu-dropdown-menu").siblings("span").html($(this).html());
// $(".edu-dropdown-menu").hide();
// $(".edu-dropdown-menu").css("width",$("#shixun_status").width()+50);
// })
//清除查询条件
function clearSearchCondition(){
$("#shixun_Look_name").val("");
$("#sx_condition_status").val("u_name");
$("#sx_status").val("");
}
$(".shixun_webssh").on("click", 'input', function(ev){
//console.log($(ev.target));
console.log($(ev.target).parent().find("div").html());
var id = $(ev.target).parent().find("div").html();
console.log($(ev.target).parent().find("input").is(':checked'));
var status = $(ev.target).parent().find("input").is(':checked')
$.ajax({
url:"<%= update_webssh_managements_path %>",
dataType: "script",
data:{shixun_id: id, status: status}
});
});
</script>

View File

@ -0,0 +1,93 @@
<div class="edu-con-top clearfix mb20 xmt10">
<input class="fl task-form-20 task-height-30 ml35" id="shixun_Look_name" name="search" maxlength="" placeholder="输入关键字进行搜索" type="text" style="height: 21px;" onkeyup="myFunction()">
<a href="javascript:void(0);" class="fl task-btn task-btn-blue ml5 mt-2" onclick="$('#management_search_user').submit();">搜索</a>
<a href="javascript:void(0);" class="fl task-btn ml5 mt2" id="clear_contents">清除</a>
<div class="clearfix mb15 d-none" style="display: none;" >
<ul class="fl task-form-20 task-height-30 ml30 w230" style="overflow-y:auto;" id="search_not_teachers_list">
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<li class="clearfix">
<input id="choose_course_teacher_4" type="checkbox" class="fl mt7 mr5 magic-checkbox" name="membership[user_ids][]" >
<label for="choose_course_teacher_4">
<a href="#" target="_blank" class="task-hide fl span1 edu-txt-w140">wangyujun</a>
<span class="fl color-grey span2 ml10">教授</span>
</label>
</li>
<a href="javascript:void(0);" class="pop_close task-btn mb10" style="margin-top: 20px;" >取消</a>
<a href="javascript:void(0);" class="task-btn task-btn-blue" style="margin-top: 20px;" >确定</a>
</ul>
</div>
</div>
<table class="edu-pop-table edu-txt-center" cellpadding="0" cellspacing="0" style="table-layout: fixed">
<tr>
<th class="id">序号</th>
<th class="part edu-txt-left">单位名称</th>
<th class="xregion">地区</th>
<th class="part edu-txt-left">详细地址</th>
<th class="xperson">申请者</th>
<th class="eud-pointer">创建于<i class="fa fa-long-arrow-down color-light-green ml5" title=""></i></th>
<th class="xeditor"></th>
</tr>
<tr>
<td class="id">1</td>
<td class="part edu-txt-left">山西省云城市临猗县白沙空间省会花园小区178号</td>
<td class="xregion">山西省运城市</td>
<td class="part edu-txt-left">山西省云城市临猗县白沙空间省会花园小区178号</td>
<td class="xperson">胡莎莎</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="xeditor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
<tr>
<td class="id">1</td>
<td class="part edu-txt-left">山西省云城市临猗县白沙空间省会花园小区178号</td>
<td class="xregion">山西省运城市</td>
<td class="part edu-txt-left">山西省云城市临猗县白沙空间省会花园小区178号</td>
<td class="xperson">胡莎莎</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="xeditor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
<tr>
<td class="id">1</td>
<td class="part edu-txt-left">山西省云城市临猗县白的空间省会花园小区178号</td>
<td class="xregion">山西省运城市</td>
<td class="part edu-txt-left">山西省云城市临猗县的空间省会花园小区178号</td>
<td class="xperson">胡莎莎</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="xeditor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
<tr>
<td class="id">1</td>
<td class="part edu-txt-left">山西省云城市临猗县白沙空间省会花园小区178号</td>
<td class="xregion">山西省运城市</td>
<td class="part edu-txt-left">山西省云城市临猗县的空间省会花园小区178号</td>
<td class="xperson">胡莎莎</td>
<td class="eud-pointer">2018-02-02 10:02</td>
<td class="xeditor"><a href="javascript:void(0);" title="编辑资料" id="edit_my_account"><i class="fa fa-edit font-16"></i> 修改</a></td>
</tr>
</table>
<script>
// var find=$("#shixun_Look_name").val();
function myFunction(){
if($("#shixun_Look_name").val()==""){
$(".d-none").css("display","none");
}else{
$(".d-none").css("display","block");
}
}
</script>

View File

@ -142,6 +142,9 @@ RedmineApp::Application.routes.draw do
match 'users_authorization_cancel'
get 'update_webssh'
get 'departments'
get 'departments_part'
get 'depart'
get 'unit'
end
end
# Enable Grack support

View File

@ -123,4 +123,18 @@ a:hover.edu-admin-nav-a,.active a.edu-admin-nav-a{color: #5faee3;}
.edu-dropdown-menu p{height: 35px;line-height: 35px;}
.ex_container{margin-bottom: 20px;}
.table_Name_text{text-align: left;display: block;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;height: 39px;width: 370px;line-height: 39px;-webkit-box-orient: vertical;}
.table_Name_text{text-align: left;display: block;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;height: 39px;width: 370px;line-height: 39px;-webkit-box-orient: vertical;}
/*管理员单位列表页面*/
.id{ width: 9%;}
.number,.job_num,.editor,.c_time{ width: 15%;}
.part{ width: 30%;}
.r6{margin-right: 65px}
/*管理员单位列表部门页面*/
.xlogo,.xeditor{width: 7%}
.xadd,.xpart{width: 24%;overflow: hidden;}
.eud-pointer{width: 10%}
.xregion{width: 9%;vertical-align: top;padding-top: 4px}
.xuser-num,.xpart-num{width: 5%}
.mt10{margin-top: 10px}
.edu-txt-left{ text-align: left;}