Views/I2/I0208/ExIndex.cshtml

(开头部分) 11KB

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

@model IEnumerable<OPMS.Models.I0208>

@{
    ViewBag.Title = "Index";
}
<script src="~/Content/lib/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 项目管理 <span class="c-gray en">&gt;</span> 项目工时<a class="btn btn-success radius r mr-20" style="line-height: 1.6em; margin-top: 3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="pd-20">
    <div class="text-l">
        @using (Html.BeginForm("ExIndex", "I0208", FormMethod.Get))
        {
            <span class="l mb-5">审核状态: @Html.DropDownList("State", ViewBag.StateList as IEnumerable<SelectListItem>, new { @class = "seldrp", @style = "width:80px;" })
               工时类型: @Html.DropDownList("timeType", ViewBag.timeTypeList as IEnumerable<SelectListItem>, new { @class = "seldrp", @style = "width:80px;" })
                开始时间:
                <input id="startime" name="startime" type="text" onclick="WdatePicker({ dateFmt: 'yyyy-MM-dd' })" readonly="true"  class="input-text Wdate" style="width:110px; height:28px; margin-right: 5px;" value="@ViewBag.t1">
                -
                <input id="endtime" name="endtime" class="input-text Wdate" onclick="WdatePicker({ dateFmt: 'yyyy-MM-dd' })" type="text" readonly="true" style="width: 110px;height:28px; margin-right: 5px;" value="@ViewBag.t2" />
                <button type="submit" class="btn btn-success"><i class="Hui-iconfont">&#xe665;</i> 查询</button>
            </span>
        }
        <span class="r mb-5">
            <a class="btn btn-primary radius" onclick="Export()" href="javascript:;" title="导出工时"><i class="Hui-iconfont">&#xe644;</i> 导出工时</a>
            <a class="btn btn-primary radius" onclick="admin_stopAll()" href="javascript:;" title="退回"><i class="Hui-iconfont">&#xe631;</i>退回</a>
        </span>
    </div>
    <table class="table table-border table-bordered table-bg table-hover table-sort">
        <tr>
             <th style="width: 25px; text-align: center;">
                <input id="CheckboxAll" name="CheckboxAll" type="checkbox" onclick="SelectAll();" /></th>
              <th style="width: 60px;">日期
            </th>
            <th>
                @Html.DisplayNameFor(model => model.FullName)
            </th>
            <th>
                项目名称
            </th>
            <th>
                工作类型
            </th>
             <th>
                @Html.DisplayNameFor(model => model.Contents)
            </th>
            <th style="width: 60px">
                @Html.DisplayNameFor(model => model.WorkHours)
            </th>
            <th>操作</th>
        </tr>

        @foreach (var item in Model)
        {
            <tr>
                <td class="text-c">
                    <input id="checkbox" name="checkbox" type="checkbox" value='@item.WorkId'  />
                </td>
                 <td style="width:90px;" id="tipd_@item.WorkId" data-toggle="tooltip"   onmouseover="showtip('添加时间:@item.AddTime 审核时间:@item.AuditTime','#tipd_@item.WorkId',2)">
                    @if (item.Stime.DayOfWeek.ToString() == "Monday")
                    {
                        <span>周一</span>
                    }
后面还有 209 行代码,购买后查看完整代码

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

AI 解读

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

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