<%@ 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" />
    <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>
</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" BackColor="#8AB3DF" Value ValueToDisplayText XDataBind="DF_OA_ExaminationApp_Info.FormNo" Text="--系统自动生成--"></aspxform:XLabel>
                        <br />
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1192" align="center" 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" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Width="50px"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="131" height="22" class="tsbottomlabel">
                        <asp:Label id="Label8" runat="server" text="提交人"></asp:Label>
                        <aspxform:XLabel id="XLabel2" runat="server" BackColor="#D4E4FE" XDataBind="DF_OA_ExaminationApp_Info.AppAccount" HiddenExpress="1"></aspxform:XLabel>
                    </td>
                    <td width="465" class="tsbottomtext">
                        <aspxform:XLabel id="XLabel1" runat="server" BackColor="#D4E4FE" XDataBind="DF_OA_ExaminationApp_Info.AppName"></aspxform:XLabel>
                    </td>
                    <td width="131" class="tsbottomlabel">
                        <asp:Label id="Label9" runat="server" text="创建时间"></asp:Label></td>
                    <td width="465" class="tsbottomtext">
                        <aspxform:XLabel id="XLabel9" runat="server" BackColor="#D4E4FE" XDataBind="DF_OA_ExaminationApp_Info.CreateTime"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td height="21" class="tsbottomlabel">
                        <asp:Label id="Label11" runat="server" text="BU"></asp:Label>
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" HiddenExpress="1" XDataSource="TableName:V_DF_HR_BasicInfo;Filter:AttendanceKakaNO->DF_OA_ExaminationApp_Info.AppAccount" DataMap="BUName->DF_OA_ExaminationApp_Info.BU;Department->DF_OA_ExaminationApp_Info.Department"></aspxform:XDropDownList>
                    </td>
                    <td class="tsbottomtext">
                        <aspxform:XLabel id="XLabel7" runat="server" BackColor="#D4E4FE" XDataBind="DF_OA_ExaminationApp_Info.BU"></aspxform:XLabel>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label10" runat="server" text="提交时间"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XLabel id="XLabel10" runat="server" BackColor="#D4E4FE" XDataBind="DF_OA_ExaminationApp_Info.CompletionTime"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td height="20" class="tsbottomlabel">
                        <asp:Label id="Label12" runat="server" text="部门"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XLabel id="XLabel8" runat="server" BackColor="#D4E4FE" XDataBind="DF_OA_ExaminationApp_Info.Department"></aspxform:XLabel>
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_OA_ExaminationApp_Info.IsPreserve" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Width="50px"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label13" runat="server" text="考卷编号"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_OA_ExaminationApp_Info.PaperID" XDataSource="TableName:DF_OA_ExaminationPaper" DisableExpress="1" ValueColumn="ID" DisplayColumn="ExaminationPaperName"></aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <div id="div_title">
            <aspxform:XLabel id="title" runat="server" ValueToDisplayText XDataBind="title"></aspxform:XLabel>
            <aspxform:XLabel id="questionnaireId" runat="server" ValueToDisplayText XDataBind="DF_OA_Questionnaire_Answer.questionnaireId" Text="1"></aspxform:XLabel>
            <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataSource="TableName:DF_OA_QuestionnaireInfo;Filter:Id->DF_OA_Questionnaire_Answer.questionnaireId"></aspxform:XDropDownList>
        </div>
        <br />
        <table width="1200" align="center" id="tablenew" border="0" cellspacing="0" cellpadding="0" xdatasource="TableName:DF_OA_Questionnaire_QuestionInfo;Filter:questionnaireId->DF_OA_Questionnaire_AnswerSheet.questionnaireId" datamap="Id->questionId;questionContent->questionContent" emptygrid="KeepEmpty">
            <tbody>
                <tr>
                    <td width="725" height="89" class="tds1">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_OA_ExaminationApp_Detail.QuestionID" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Width="50px"></aspxform:XTextBox>
                        <aspxform:XGridLineNo id="XGridLineNo2" runat="server" BackColor="#E9F1F4" XDataBind="DF_OA_ExaminationApp_Detail.LineID" BorderWidth="1px" Width="20px" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_OA_ExaminationApp_Detail.PaperID" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Width="50px" Express="DF_OA_ExaminationApp_Info.PaperID"></aspxform:XTextBox>
                        <aspxform:XLabel id="XLabel6" runat="server" BackColor="#E9F1F4" XDataBind="questionContent"></aspxform:XLabel>
                        &nbsp;<aspxform:XLabel id="XLabel4" runat="server" BackColor="#E9F1F4" XDataBind="questionId"></aspxform:XLabel>
                        <br />
                        <table width="100%" id="tableOptions" border="0" cellspacing="0" cellpadding="0" xdatasource="TableName:DF_OA_ExaminationQuestionsOptions;Filter:QuestionsID->DF_OA_ExaminationApp_Detail.QuestionID" datamap="OptionsID->DF_OA_ExaminationApp_Detail1.OptionsID;OptionsContent->DF_OA_ExaminationApp_Detail1.OptionsContent" dynamicarea="0,1">
                            <tbody>
                                <tr>
                                    <td width="50" align="left" class="tds1" style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none">
                                        <aspxform:XCheckBox id="XCheckBox1" style="HEIGHT: 19px; WIDTH: 20px" runat="server" XDataBind="DF_OA_ExaminationApp_Detail1.IsChecked" Width="20px" DisableExpress='Global.StepName!="提交信息"'></aspxform:XCheckBox>
                                        <aspxform:XLabel id="XLabel5" runat="server" BackColor="#E9F1F4" XDataBind="DF_OA_ExaminationApp_Detail1.OptionsID"></aspxform:XLabel>
                                        <br />
                                        <aspxform:XLabel id="XLabel15" runat="server" BackColor="#E9F1F4" XDataBind="DF_OA_ExaminationApp_Detail1.QuestionID"></aspxform:XLabel>
                                    </td>
                                    <td width="671" align="left" class="tds1" style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none">
                                        <aspxform:XLabel id="XLabel11" runat="server" BackColor="#E9F1F4" XDataBind="DF_OA_ExaminationApp_Detail1.OptionsContent"></aspxform:XLabel>
                                        <aspxform:XTextBox id="XTextBox1" runat="server" ValueToDisplayText HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px" Width="50px" Max="0" Min="0" DisableExpress='Global.StepName!="提交信息"' Express="javascript('IsChecked',DF_OA_ExaminationApp_Detail1.OptionsID,DF_OA_ExaminationApp_Detail1.IsChecked,DF_OA_ExaminationApp_Detail.LineID)"></aspxform:XTextBox>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <br />
        <table width="1200" align="center" id="tablenew" border="0" cellspacing="0" cellpadding="0" xdatasource="TableName:DF_OA_Questionnaire_QuestionInfo;Filter:questionnaireId->DF_OA_Questionnaire_AnswerSheet.questionnaireId" datamap="Id->questionId;questionContent->questionContent" emptygrid="KeepEmpty">
            <tbody>
                <tr>
                    <td width="725" height="89" class="tds1">
                        <aspxform:XLabel id="XLabel12" runat="server" BackColor="#E9F1F4" XDataBind="questionContent"></aspxform:XLabel>
                        &nbsp;<aspxform:XLabel id="XLabel13" runat="server" BackColor="#E9F1F4" XDataBind="questionId"></aspxform:XLabel>
                        <br />
                        <table width="100%" id="tableOptions" border="0" cellspacing="0" cellpadding="0" xdatasource="TableName:DF_OA_Questionnaire_QuestionOptions;Filter:QuestionsID->DF_OA_ExaminationApp_Detail.QuestionID" datamap="OptionsID->DF_OA_ExaminationApp_Detail1.OptionsID;OptionsContent->DF_OA_ExaminationApp_Detail1.OptionsContent" dynamicarea="0,1">
                            <tbody>
                                <tr>
                                    <td width="50" align="left" class="tds1" style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none">
                                        <aspxform:XCheckBox id="XCheckBox2" style="HEIGHT: 19px; WIDTH: 20px" runat="server" XDataBind="DF_OA_ExaminationApp_Detail1.IsChecked" Width="20px" DisableExpress='Global.StepName!="提交信息"'></aspxform:XCheckBox>
                                        <aspxform:XLabel id="XLabel14" runat="server" BackColor="#E9F1F4" XDataBind="DF_OA_ExaminationApp_Detail1.OptionsID"></aspxform:XLabel>
                                        <br />
                                        <aspxform:XLabel id="XLabel16" runat="server" BackColor="#E9F1F4" XDataBind="DF_OA_ExaminationApp_Detail1.QuestionID"></aspxform:XLabel>
                                    </td>
                                    <td width="671" align="left" class="tds1" style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none">
                                        <aspxform:XLabel id="XLabel17" runat="server" BackColor="#E9F1F4" XDataBind="DF_OA_ExaminationApp_Detail1.OptionsContent"></aspxform:XLabel>
                                        <aspxform:XTextBox id="XTextBox8" runat="server" ValueToDisplayText HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px" Width="50px" Max="0" Min="0" DisableExpress='Global.StepName!="提交信息"' Express="javascript('IsChecked',DF_OA_ExaminationApp_Detail1.OptionsID,DF_OA_ExaminationApp_Detail1.IsChecked,DF_OA_ExaminationApp_Detail.LineID)"></aspxform:XTextBox>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
