<%@ Page Language="C#" %>
<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<script runat="server">

    // Insert page code here
    //

</script>
<html xmlns:XForm="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
         <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <title>BPM Form</title>
    <style>
    BODY {FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TABLE {border-collapse: collapse; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    P {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TD {padding:1px}
    TD.NoPadding {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px}
    /*INPUT {height: 15px}*/
    INPUT.UL {BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #33ff33 1px solid}
    TEXTAREA {FONT-SIZE:12px}
    input {vertical-align:middle;/*margin-right:-3px*/}
    </style>
    <script>
    function getSumScore(Weight,Score)
    {
    var res=parseInt(Weight)/100*Score;
    return res;

    }
   // javascript('getSum',DF_OA_GradeDetail1.Weight,DF_OA_GradeDetail1.Score)
    </script>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 30px">
                        <asp:Label id="Label1" runat="server" text="考题信息表"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="Label6" runat="server" text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel3" runat="server" Text="--系统自动生成--" XDataBind="DF_OA_GradeInfo.FormNo" ValueToDisplayText Value BackColor="#8AB3DF"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1176" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="title1">
                    <td height="21" colspan="4">
                        <asp:Label id="Label2" runat="server" text="基本信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="Global.StepName" Width="50px" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="129" height="22" class="tsbottomlabel">
                        <asp:Label id="Label8" runat="server" text="提交人"></asp:Label>
                        <aspxform:XLabel id="XLabel2" runat="server" XDataBind="DF_OA_GradeInfo.Account" BackColor="#D4E4FE" HiddenExpress="1"></aspxform:XLabel>
                    </td>
                    <td width="459" class="tsbottomtext">
                        <aspxform:XLabel id="XLabel1" runat="server" XDataBind="DF_OA_GradeInfo.Name" BackColor="#D4E4FE"></aspxform:XLabel>
                    </td>
                    <td width="129" class="tsbottomlabel">
                    </td>
                    <td width="459" class="tsbottomtext">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" id="tablenew" border="0" cellspacing="0" cellpadding="0" dynamicarea="2,1">
            <tbody>
                <tr class="title1">
                    <td width="150" height="18">
                        <asp:Label id="Label3" runat="server" text="实施商名称"></asp:Label></td>
                    <td height="18" colspan="4">
                        <asp:Label id="Label4" runat="server" text="汉得"></asp:Label></td>
                </tr>
                <tr align="center">
                    <td width="15%" height="16" class="tds">
                        <asp:Label id="Label27" runat="server" text="打分项"></asp:Label></td>
                    <td width="6%" class="tds">
                        &nbsp;<asp:Label id="Label30" runat="server" text="权重"></asp:Label></td>
                    <td width="15%" class="tds">
                        <asp:Label id="Label18" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp; <asp:Label id="Label7" runat="server" text="打分(1-10分)"></asp:Label></td>
                    <td width="15%" class="tds">
                        &nbsp;<asp:Label id="Label19" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp; <asp:Label id="Label32" runat="server" text="加权后得分"></asp:Label></td>
                    <td width="470" class="tds">
                        &nbsp;<asp:Label id="Label33" runat="server" text="个人感受、意见建议"></asp:Label></td>
                </tr>
                <tr>
                    <td height="54" align="left" class="tds1">
                        <aspxform:XLabel id="XLabel5" runat="server" XDataBind="DF_OA_GradeDetail1.Grade" BackColor="#E9F1F4" TextAlign="Center"></aspxform:XLabel>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XLabel id="XLabel6" runat="server" XDataBind="DF_OA_GradeDetail1.Weight" BackColor="#E9F1F4" TextAlign="Center"></aspxform:XLabel>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_OA_GradeDetail1.Score" Width="100%">
                            <asp:ListItem Selected="True">1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                            <asp:ListItem>8</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td align="right" class="tds1">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_OA_GradeDetail1.WeightedScore" BorderWidth="1" BorderColor="#DCDCDC" TextAlign="Right" Express="javascript('getSumScore',DF_OA_GradeDetail1.Weight,DF_OA_GradeDetail1.Score)" width="100%" Format="type:number;.2" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_OA_GradeDetail1.Opinion" ValueToDisplayText Width="100%" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" Max="0" Min="0" TextAlign="Center" Height="45px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tds1">
                    </td>
                    <td align="center" class="tds1">
                        <asp:Label id="Label15" runat="server" text="100%"></asp:Label></td>
                    <td class="tds1">
                    </td>
                    <td align="right" class="tds1">
                        <aspxform:XLabel id="XLabel10" runat="server" XDataBind="DF_OA_GradeInfo.Sum1" BackColor="#E9F1F4" Express="sum(DF_OA_GradeDetail1.WeightedScore)"></aspxform:XLabel>
                    </td>
                    <td class="tds1">
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" id="tablenew" border="0" cellspacing="0" cellpadding="0" dynamicarea="2,1">
            <tbody>
                <tr class="title1">
                    <td width="150" height="18">
                        <asp:Label id="Label5" runat="server" text="实施商名称"></asp:Label></td>
                    <td width="1050" height="18" colspan="4">
                        <asp:Label id="Label9" runat="server" text="文思海辉"></asp:Label></td>
                </tr>
                <tr align="center">
                    <td width="15%" height="15" class="tds">
                        <asp:Label id="Label10" runat="server" text="打分项"></asp:Label></td>
                    <td width="6%" class="tds">
                        &nbsp;<asp:Label id="Label11" runat="server" text="权重"></asp:Label></td>
                    <td width="15%" class="tds">
                        &nbsp;<asp:Label id="Label12" runat="server" text="打分(1-10分)"></asp:Label></td>
                    <td width="15%" class="tds">
                        &nbsp;<asp:Label id="Label13" runat="server" text="加权后得分"></asp:Label></td>
                    <td width="200" class="tds">
                        &nbsp;<asp:Label id="Label14" runat="server" text="个人感受、意见建议"></asp:Label></td>
                </tr>
                <tr>
                    <td height="54" align="left" class="tds1">
                        <aspxform:XLabel id="XLabel7" runat="server" XDataBind="DF_OA_GradeDetail2.Grade" BackColor="#E9F1F4" TextAlign="Center"></aspxform:XLabel>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XLabel id="XLabel8" runat="server" XDataBind="DF_OA_GradeDetail2.Weight" BackColor="#E9F1F4" TextAlign="Center"></aspxform:XLabel>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_OA_GradeDetail2.Score" Width="100%">
                            <asp:ListItem Selected="True">1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                            <asp:ListItem>8</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td align="right" class="tds1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_OA_GradeDetail2.WeightedScore" BorderWidth="1" BorderColor="#DCDCDC" TextAlign="Right" Express="javascript('getSumScore',DF_OA_GradeDetail2.Weight,DF_OA_GradeDetail2.Score)" width="100%" Format="type:number;.2" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_OA_GradeDetail2.Opinion" ValueToDisplayText Width="100%" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" Max="0" Min="0" TextAlign="Center" Height="45px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tds1">
                    </td>
                    <td align="center" class="tds1">
                        <asp:Label id="Label16" runat="server" text="100%"></asp:Label></td>
                    <td class="tds1">
                    </td>
                    <td align="right" class="tds1">
                        <aspxform:XLabel id="XLabel4" runat="server" XDataBind="DF_OA_GradeInfo.Sum2" BackColor="#E9F1F4" Express="sum(DF_OA_GradeDetail2.WeightedScore)"></aspxform:XLabel>
                    </td>
                    <td class="tds1">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="10%" class="tsbottomlabel">
                        <asp:Label id="Label20" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label17" runat="server" text="我的选择"></asp:Label></td>
                    <td width="80%" class="tsbottomtext">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_OA_GradeInfo.Options" RepeatDirection="Horizontal">
                            <asp:ListItem>汉得</asp:ListItem>
                            <asp:ListItem>文思海辉</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ControlToValidate="XDropDownList1" ErrorMessage="请进行打分" Display="None" ForeColor="Red">请进行打分</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ControlToValidate="XDropDownList2" ErrorMessage="请进行打分" Display="None" ForeColor="Red">请进行打分</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ControlToValidate="XRadioButtonList1" ErrorMessage="请选择你的选择" Display="None" ForeColor="Red">请选择你的选择</aspxform:XRequiredFieldValidator>
    </form>
</body>
</html>
