@model GBLab.Entities.T_Message
@{
    Layout = null;
}
<form method="post" action="/Manage/Message/Action_Edit_Add" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
    <span id="Message_TypeId" style="display: none;">@Request.QueryString["F_TypeId"].ToString()</span>
    <div class="tabs" currentindex="0" eventtype="click">
        <div class="tabsHeader">
            <div class="tabsHeaderContent">
                <ul>
                    <li><a href="javascript:;"><span>基本信息</span></a></li>
                    <li><a href="javascript:;"><span>辅助信息</span></a></li>
                    <li><a href="/Manage/MessageRead/List?Mid=186" class="j-ajax"><span>消息查看列表</span></a></li>
                </ul>
            </div>
        </div>

        <div class="tabsContent" layoutH="78">
            <div>
                <div class="pageFormContent" style="padding: 5px; background-color: #eef4f5;border-style:none;" layoutH="88">
                    <dl style="display: none;">
                        <dt>执行参数：</dt>
                        <dd>
                            <input type="text" name="Action" maxlength="20" alt="请输入执行参数" value='@Request.QueryString["Action"].ToString()' />
                        </dd>
                    </dl>

                    <dl class='nowrap'>
                        <dt>序号：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_Id", "序号", Model.F_Id == null ? "" : Model.F_Id.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>Guid：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_Guid", "Guid", Model.F_Guid == null ? "" : Model.F_Guid.ToString(), "true", "", "1", "80", "", "", "true", "true"))
                        </dd>
                    </dl>
                    <dl style='display:none;' class='nowrap'>
                        <dt>分类：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_TypeId", "分类", Model.F_TypeId == null ? "" : Model.F_TypeId.ToString(), "true", "", "1", "80", "", "", "true"))
                        </dd>
                    </dl>
                    <dl>
                        <dt>唯一标识：</dt>
                        <dd style="color:green;font-weight:bold;">
                            @("【ID:" + Model.F_Id.ToString() + "】-【Guid:" + Model.F_Guid.ToString() + "】")
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>标题：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_Name", "标题", Model.F_Name == null ? "" : Model.F_Name.ToString(), "true", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>阅读人数：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_ReadNum", "阅读人数", Model.F_ReadNum == null ? "" : Model.F_ReadNum.ToString(), "true", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>预约发布日期：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Date("F_PubDate", Model.F_PubDate.ToString("yyyy-MM-dd HH:mm:ss"), "yyyy-MM-dd HH:mm:ss", "-30", "20", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>预约发布结束日期：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Date("F_PubEndDate", Model.F_PubEndDate.ToString("yyyy-MM-dd HH:mm:ss"), "yyyy-MM-dd HH:mm:ss", "-30", "20", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>状态：</dt>
                        <dd>
                            @Html.DropDownListFor(model => model.F_MarkStatus, ViewData["MarkStatus"] as List<SelectListItem>, new { @class = "combox", })
                        </dd>
                    </dl>

                    <dl class='nowrap'>
                        <dt>扩i站分类标识：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_MarkName", "扩i站分类标识", Model.F_MarkName == null ? "" : Model.F_MarkName.ToString(), "false", "", "1", "80", "", ""))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>信息内容：</dt>
                        <dd>
                            @Html.Raw(Html.WebEditor("F_Info", Model.F_Info == null ? "" : Model.F_Info.ToString(), "18", "120"))
                        </dd>
                    </dl>
                </div>
            </div>
            <div>
                <div class="pageFormContent" style="padding: 5px; background-color: #eef4f5;border-style:none;" layoutH="88">
                    <dl class='nowrap'>
                        <dt>最后阅读时间：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Date("F_LastReadDate", Model.F_LastReadDate.ToString("yyyy-MM-dd HH:mm:ss"), "yyyy-MM-dd HH:mm:ss", "-30", "20", "true", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>最后阅读人：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_LastReadUser", "最后阅读人", Model.F_LastReadUser == null ? "" : Model.F_LastReadUser.ToString(), "false", "", "1", "80", "", "", "true", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>添加人：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_AddUserId", "添加人", Model.T_AddUser == null ? "" : Model.T_AddUser.F_Name, "false", "", "1", "80", "", "", "true", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>添加日期：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Date("F_AddDate", Model.F_AddDate.ToString("yyyy-MM-dd HH:mm:ss"), "yyyy-MM-dd HH:mm:ss", "-30", "20", "true", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>更新人：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Common("F_UpdateUserId", "更新人", Model.T_UpdateUser == null ? "" : Model.T_UpdateUser.F_Name, "false", "", "1", "80", "", "", "true", "true"))
                        </dd>
                    </dl>
                    <dl class='nowrap'>
                        <dt>更新日期：</dt>
                        <dd>
                            @Html.Raw(Html.WebInput_Date("F_UpdateDate", Model.F_UpdateDate.ToString("yyyy-MM-dd HH:mm:ss"), "yyyy-MM-dd HH:mm:ss", "-30", "20", "true", "true"))
                        </dd>
                    </dl>
                </div>
            </div>
            <div>
                <div class="pageFormContent" style="padding: 5px; background-color: #eef4f5;border-style:none;" layoutH="88"></div>
            </div>
        </div>
        <div class="tabsFooter">
            <div class="tabsFooterContent">
            </div>
        </div>
    </div>
    <div class="tabsFooter">
        <div class="tabsFooterContent">
            <div class="formBar" style="padding: 0;border-width: 1px;margin-top:3px;">
                <ul style="margin-top: 3px; margin-right: 3px;">
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
                                    提交
                                </button>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="button" onclick="$.pdialog.reload('/Manage/Message/Edit?Action=Add&F_TypeId=' + @Request.QueryString["F_TypeId"].ToString(), '' , 'TagEditPage' )">
                                    创建
                                </button>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="button">
                            <div class="buttonContent">
                                <button type="button" class="close">
                                    取消
                                </button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</form>
