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

    // Insert page code here
    //
    
    void Page_Load(object sender, EventArgs e) {
    
    }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="Stylesheet" type="text/css" />
    <title>BPM Form</title> <style>
    BODY {FONT-SIZE: 12px; FONT-FAMILY: verdana;background-color: #e9f0f6;}
    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-RIGHT: 0px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px}
    TD.NoPadding {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px}
    INPUT {HEIGHT: 20px}
    INPUT.UL {BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #33ff33 1px solid}
    TEXTAREA {FONT-SIZE:12px}
    </style>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="458" class="logo">
                    </td>
                    <td width="344">
                        <div align="center"><asp:Label id="XLabel1" runat="server" text="考核表" valuetodisplaytext value font-size="40px"></asp:Label>
                        </div>
                    </td>
                    <td width="392">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="15%" height="22" class="basiclblfirst" bgcolor="#d4e4fe">
                        <asp:Label id="XLabel2" runat="server" text="创建用户" valuetodisplaytext value></asp:Label></td>
                    <td width="35%" class="basictextfirst" bgcolor="#d4e4fe">
                        <aspxform:XTextBox id="XTextBox1" runat="server" ReadOnly="True" CssClass="text1" BackColor="#E6F1F8" BorderColor="#DCDCDC" BorderWidth="1" width="60%" XDataBind="DF_RATING_FORM.CUser"></aspxform:XTextBox>
                    </td>
                    <td width="15%" class="basiclblfirst3" bgcolor="#d4e4fe">
                        <asp:Label id="XLabel3" runat="server" text="创建日期" valuetodisplaytext value></asp:Label></td>
                    <td width="35%" class="basiclblfirst3" bgcolor="#d4e4fe">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" CssClass="text" BackColor="#E6F1F8" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_RATING_FORM.Date" DisplayOnly="True" Width="60%"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="14" class="title1" bgcolor="#d4e4fe" colspan="4">
                        <asp:Label id="XLabel4" runat="server" text="基本信息" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td width="15%" height="22" class="basiclblfirst" bgcolor="#d4e4fe">
                        <asp:Label id="XLabel5" runat="server" text="考核表名称" valuetodisplaytext value></asp:Label></td>
                    <td width="35%" class="basiclblfirst" bgcolor="#d4e4fe">
                        <aspxform:XTextBox id="XTextBox5" runat="server" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" width="60%" XDataBind="DF_RATING_FORM.PName"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" bgcolor="#d4e4fe" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td height="22" class="basiclblfirst" bgcolor="#d4e4fe">
                        <asp:Label id="XLabel6" runat="server" text="考核周期" valuetodisplaytext value></asp:Label></td>
                    <td class="basiclblfirst" bgcolor="#d4e4fe">
                        <aspxform:XTextBox id="XTextBox6" runat="server" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" width="60%" XDataBind="DF_RATING_FORM.PAC"></aspxform:XTextBox>
                    </td>
                    <td width="178" class="basiclblfirst3" bgcolor="#d4e4fe" colspan="2">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" class="table" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                        <div align="right">
                            <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" DataMap="KPI->DF_RATING_KPI.KPI;KPIDeac->DF_RATING_KPI.KPIDesc;KPIWeight->DF_RATING_KPI.KPIWeight" DisplayColumns="PName:考核表名称,;KPI:考核指标,;KPIDeac:指标描述,;KPIWeight:考核权重," Text="导入考核指标" XDataSource="TableName:DF_RATING_FMODEL_INFO;BufferType:RuntimeUpdate"></aspxform:XDataBrowserButton>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td width="72" height="15" class="tds" bgcolor="#d4e4fe">
                        <asp:Label id="XLabel8" runat="server" text="序号" valuetodisplaytext value></asp:Label></td>
                    <td width="401" class="tds" bgcolor="#d4e4fe">
                        <asp:Label id="XLabel9" runat="server" text="考核指标" valuetodisplaytext value></asp:Label></td>
                    <td width="350" class="tds" bgcolor="#d4e4fe">
                        <asp:Label id="XLabel12" runat="server" text="指标描述" valuetodisplaytext value></asp:Label></td>
                    <td width="129" class="tds" bgcolor="#d4e4fe">
                        <asp:Label id="XLabel10" runat="server" text="考核权重" valuetodisplaytext value></asp:Label></td>
                    <td width="238" class="tds" bgcolor="#d4e4fe">
                        <asp:Label id="XLabel11" runat="server" text="考核岗位" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" bgcolor="#d4e4fe">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" CssClass="text1" BackColor="Transparent" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1" bgcolor="#d4e4fe">
                        <aspxform:XTextBox id="XTextBox2" runat="server" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" width="100%" XDataBind="DF_RATING_KPI.KPI" Rows="2" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" bgcolor="#d4e4fe">
                        <aspxform:XTextBox id="XTextBox3" runat="server" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" width="100%" XDataBind="DF_RATING_KPI.KPIDesc" Rows="2" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" bgcolor="#d4e4fe">
                        <aspxform:XTextBox id="XTextBox4" runat="server" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" width="100%" XDataBind="DF_RATING_KPI.KPIWeight"></aspxform:XTextBox>
                    </td>
                    <td class="tds2" bgcolor="#d4e4fe">
                        <table width="80%" border="0" cellspacing="0" cellpadding="0" dynamicarea="0,1">
                            <tbody>
                                <tr>
                                    <td width="100%">
                                        <aspxform:XTextBox id="XTextBox9" runat="server" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" width="60%" XDataBind="DF_RATING_KPI_INFO.Position"></aspxform:XTextBox>
                                        <aspxform:XDataBrowserButton id="XDataBrowserButton2" runat="server" Width="21px" DataMap="Position->DF_RATING_KPI_INFO.Position" DisplayColumns="Position:考核岗位" XDataSource="TableName:DF_RATING_POSITION"></aspxform:XDataBrowserButton>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td height="23" class="tds" colspan="3">
                        <p align="right">
                            <asp:Label id="XLabel14" runat="server" text="合计" valuetodisplaytext value></asp:Label>
                        </p>
                    </td>
                    <td class="tds">
                        <aspxform:XTextBox id="XTextBox8" runat="server" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" width="100%" XDataBind="DF_RATING_FORM.Total" Express="sum(DF_RATING_KPI.KPIWeight)"></aspxform:XTextBox>
                    </td>
                    <td class="tds">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200">
            <tbody>
                <tr>
                    <td width="1200">
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XCompareValidator id="XCompareValidator1" runat="server" ValueToCompareExpress="varTotal" ControlToValidate="XTextBox8" ErrorMessage="考核权重合计必须为100或1000！"></aspxform:XCompareValidator>
        <aspxform:XTextBox id="XTextBox7" runat="server" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="varTotal" Express="if(DF_RATING_FORM.Total==100,100,1000)" HiddenInput="True"></aspxform:XTextBox>
    </form>
</body>
</html>
