MyOAExx/Views/System/Department.cshtml

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@{
    ViewBag.Title = "Department";
    Layout = "~/Views/_Master.cshtml";
}
@using OA.Models
@using OA.BLL
@{
    IList<BranchInfo> branchs = (ViewData["BranchList"] as IList<BranchInfo>);
    IList<DepartInfo> deps = (ViewData["Deps"] as IList<DepartInfo>);
}
<h1><img src="/Images/img/icons/posts.png" alt="" />部门管理</h1>
<div class="bloc">
    <div class="title">部门管理</div>
    <div class="content">
        @using (Html.BeginForm("Department", "System", FormMethod.Post))
        {
            <div class="submit">
                <input type="submit" value="查询部门" style=" float:right;" />
                <a href="~/System/Insertdepartment" @*class="zoombox"*@> <input type="button" value="添加部门" style=" float:right;" /></a>
            </div>
            <div class="aa">
                部门名称:<input type="text" name="Bname" style="height:22px;line-height:22px;" />
            </div>
            <div class="bb">
                所属机构:
                <div class="ll">
                    <select name="Branch">
                        <option value="0">请选择</option>
                        @foreach (BranchInfo b in branchs)
                        {
                            <option value=@b.BranchId>@b.BranchName</option>
                        }
                    </select>
                </div>
            </div>
        }
        <table style="padding-top:20px; border:0px double red;">
            <thead>
                <tr>
                    @*<th><input type="checkbox" class="checkall" /></th>*@
                    <th>部门名称</th>
                    <th>部门负责人</th>
                    <th>座机</th>
                    <th>手机</th>
                    <th>传真</th>
                    <th>所属机构</th>
                    @*<th><img src="../../img/th-comment.png" /></th>*@
                    <th style="text-align:center;">操作</th>
                </tr>
            </thead>
            <tbody>
                @foreach (DepartInfo d in deps)
                {
                    <tr>
                        @*<td><input type="checkbox" /></td>*@
                        <td> @d.DepartName</td>
                        <td>@d.UserInfo.UserName</td>
                        <td>@d.ConnectTelNo</td>
                        <td>@d.ConnectMobileTelNo</td>
                        <td>@d.Faxes</td>
后面还有 25 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。