@using GBLab.Common.Expand;
@using System.Text;
@{
    Layout = "~/Views/School_Pre/Shared/_Layout.cshtml";
    var data = ViewData["data"] as GBLab.Entities.T_CmsHirePager;
    int count = 0;
}
@section HeadStyle{
}
@{Html.RenderPartial("~/Views/School_Pre/Shared/_Part/_HeaderAd.cshtml");}
@{Html.RenderPartial("~/Views/School_Pre/Views/Module/Common/HeadPath.cshtml");}
<div class="box">
    <div id="hirelist" class="col-xs-12 col-md-8">
        <div class="hiremenuhead bs-info">教师列表</div>
        <div class="hirelist col-xs-12 col-md-12">
            @foreach (var item in data.Data)
            {
                count++;
                if (count <= 10)
                {
                    <table style="width:100%" border="0" cellpadding="0" cellspacing="0">
                        <tbody>
                            <tr>
                                <td colspan="2" class="Rtitle">【招聘岗位】@(item.F_Name)</td>
                            </tr>
                            <tr>
                                <td class="Rleft">发布日期 ：</td>
                                <td class="Rright">@(item.F_AddDate.ToShortDateString())</td>
                            </tr>
                            <tr>
                                <td class="Rleft">薪资范围 ：</td>
                                <td class="Rright">@(item.F_MoneyRage)</td>
                            </tr>
                            <tr>
                                <td class="Rleft">部门 ：</td>
                                <td class="Rright">@(item.F_Department)</td>
                            </tr>
                            <tr>
                                <td class="Rleft">岗位 ：</td>
                                <td class="Rright">@(item.F_Post)</td>
                            </tr>
                            <tr>
                                <td class="Rleft">招聘人数 ：</td>
                                <td class="Rright">@(item.F_Num)</td>
                            </tr>
                            <tr>
                                <td class="Rleft">联系人 ：</td>
                                <td class="Rright">@(item.F_ContactUser)</td>
                            </tr>
                            <tr>
                                <td class="Rleft">联系电话 ：</td>
                                <td class="Rright">@(item.F_ContactPhone)</td>
                            </tr>
                            <tr>
                                <td class="Rleft">联系邮箱 ：</td>
                                <td class="Rright">@(item.F_Email)</td>
                            </tr>
                            <tr>
                                <td class="Rleft">职位职责 ：</td>
                                <td class="Rright">
                                    @Html.Raw(item.F_DutyInfo)
                                </td>
                            </tr>
                            <tr>
                                <td class="Rleft">职位要求 ：</td>
                                <td class="Rright">
                                    @Html.Raw(item.F_RequireInfo)
                                </td>
                            </tr>
                        </tbody>
                    </table>
                }
            }
        </div>
        <div class="list_pager">
            <nav aria-label="Page navigation">
                <ul class="pagination">
                    @{
                        if (data.rowCount > 10)
                        {
                            @(Html.GetPagerQyyShop(Html.TranPager(data.currentPage, data.resultPage, data.pageSize, data.rowCount), Url.Domain_RouteUrl("Site.CmsHire.Node.ListPage", new { pageindex = "{page}" })))
                        }
                    }
                </ul>
            </nav>
        </div>
    </div>
    <div class="col-xs-12 col-md-4">
        @{Html.RenderPartial("~/Views/School_Pre/Views/Module/Common/Menu.cshtml");}
        @{Html.RenderPartial("~/Views/School_Pre/Views/Module/CmsHire/_Part/Top10.cshtml");}
    </div>
</div>