<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TKS_Review_Form.aspx.cs" Inherits="RM.Web.Training.Review.TKS_Review_Form" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("TKS_Review")%></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/jquery.form.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/Validator/JValidator.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/iframeTools.source.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
</head>
<body>
 <div class="btnbartitle">
        <div >
            <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("TKS_Review")%>
        </div>
    </div>

    <form id="form1" runat="server">
    <div class="btnbarcontetn">
        <div style="text-align: right">
           <asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return CheckValid();"
            OnClick="Save_Click"><span class="l-btn-left">
            <img src="/Themes/Images/disk.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Save")%></span></asp:LinkButton>
        </div>
    </div>
    <div class="div-body">
   <table id="table1" border="0" cellpadding="0" cellspacing="0" class="frm">
            <tr>
                <td><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("StuReview_title")%></td><td><input id="TKS_Review_Name" maxlength="35" runat="server" type="text" class="txt"
                        datacol="yes" err="" checkexpession="NotNull" style="width: 200px" /></td>
  
                <td><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Plan_cyrenyuan")%></td><td>
                <script src="/Themes/Scripts/GetuserControl.js" type="text/javascript"></script>
                </td>
            </tr>
            <tr>
                 <td><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mylearn-kssj")%></td><td><input id="TKS_Review_sudate" maxlength="35" runat="server" type="text" class="txt"
                        datacol="yes" err="起始时间" checkexpession="Date" style="width: 200px"  onclick="WdatePicker()" /></td>
                <td><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Mylearn-jssj")%></td><td><input id="TKS_Review_eudate" maxlength="35" runat="server" type="text" class="txt"
                        datacol="yes" err="结束时间" checkexpession="Date" style="width: 200px"  onclick="WdatePicker()" /> <br />
                        </td>
            </tr>
            <tr>
                 <td><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("StuReview_jiezhi")%></td><td><input id="TKS_Review_rdate" maxlength="35" runat="server" type="text" class="txt"
                        datacol="yes" err="评阅截止" checkexpession="Date" style="width: 200px"  onclick="WdatePicker()" /></td>
                <td><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("StuReview_dy")%></td><td>  
                <select id="RWorksAttribute_id" class="select" runat="server" style="width: 200px">
                </select>
                </td>
            </tr>
            <tr>
                <td><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("StuReview_ed")%></td><td colspan="3">
                <script src="/Themes/Scripts/kindeditor/kindeditor-min.js" type="text/javascript"></script>
                <script type="text/javascript">
                    var editor;
                    KindEditor.ready(function (K) {
                        editor = K.create('#TKS_Review_Description', {
                            allowFileManager: true,
                            allowUpload: true,
                            uploadJson: '/WeiXin/UploadImage.ashx',
                            minHeight: 250
                        });
                    });
                </script>
                <textarea id="TKS_Review_Description" runat="server" style="width: 90%" ></textarea>
                </td>
            </tr>
     </table>
     </div>
    </form>
<script type="text/javascript">
    function CheckValid() {
        var bool = CheckDataValid('#form1');
        var type = jQuery.trim($("#RWorksAttribute_id").val()).length;
        if (type < 1) {
            showTipsMsg('<%=RM.Common.DotNetConfig.LanguageHelper.GetKey("StuReview_dy")%> <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("group_notnull")%>', 1500, 3);
            bool = false;
        }
        editor.sync();
        return bool;
    }
    <%=getuserlist %>
</script>
</body>
</html>
