<div ms-controller="trainrecord">
    <table border="0" align="center" cellpadding="0" cellspacing="0" id="mian">
        <tbody>
            <tr>
                <td width="198" height="450" valign="top" id="tdleft">
                    <div id="left" ms-widget="leftMenu"></div>
                </td>
                <td width="10">&nbsp;</td>
                <td valign="top" bgcolor="#FFFFFF" height="1" style="vertical-align: top; width: 198px;">
                    <table cellpadding="0" cellspacing="0" height="100%" class="bordergrag top10 bottom10">
                        <tr>
                            <td style="vertical-align: top;">
                                <div class="boxTitlenoneb">
                                    <h2 style="padding-left: 10px; margin-bottom: 0px;">培训计划
                                    </h2>
                                    <ul style="width: 198px; height: 500px; overflow: auto; margin-top: 10px;">
                                        <li ms-repeat-item="trainplanlist" style="padding: 0 10px; line-height: 28px;">
                                            <a href="javascript:void(0);" ms-value="item.Id" ms-click="selectplan">{{item.Subject | truncate(12,'')}} </a>
                                            <span style="float: right; color: #9c9c9c;">{{item.Time | truncate(10,'')}}</span>
                                        </li>
                                    </ul>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
                <td valign="top" id="right">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="seacrhTable" id="seacrhTable" style="margin-top: 10px;">
                        <tbody>
                            <tr>
                                <td width="440" class="searchico">
                                    <div class="input-append" style="margin-bottom: 0px;">
                                        <input type="text" class="span4" placeholder="请输入主题快速检索" ms-duplex="keyword">
                                        <button class="add-on ibtsearch" style="height: 28px; font-size: 12px; padding: 3px 12px;" ms-click="search">搜索</button>
                                        <button class="add-on ibtsearch" style="height: 28px; font-size: 12px; padding: 3px 12px;" ms-click="clear">显示全部</button>
                                    </div>
                                </td>
                                <td class="fgray">
                                    <span style="float: left;">历史搜索：</span>
                                    <div class="hotlist">
                                        <span class="bindSearchHistory" ms-each-item="history">
                                            <a href="javascript:void(0)" ms-value="item" ms-click="historyClick">{{item}}&nbsp;&nbsp;</a>
                                        </span>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList bottom10" id="tableList">
                        <thead>
                            <tr class="dobtn" style="background-color: rgba(0, 0, 0, 0);">
                                <td colspan="7">
                                    <a ms-if="DELETE" href="javascript:void(0)" class="doalldel" ms-click="doalldel">批量删除</a>
                                </td>
                            </tr>
                            <tr class="head" style="background-color: rgba(0, 0, 0, 0);">
                                <td width="2%" align="center">
                                    <input type="checkbox" class="checkAll">
                                </td>
                                <td width="5%" align="center">姓名
                                </td>
                                <td width="5%" align="center">培训计划
                                </td>
                                <td width="5%" align="center">培训时间
                                </td>
                                <td width="5%" align="center">是否评估
                                </td>
                                <td width="5%" align="center">培训运作评估时间
                                </td>
                                <td width="8%" align="center">操作
                                </td>
                            </tr>
                        </thead>
                        <tbody ms-each-item="trainrecordList">
                            <tr align="center" style="background-color: rgb(255, 255, 255);">
                                <td>
                                    <input type="checkbox" name="checkbox" ms-value="item.Id">
                                </td>
                                <td align="left">
                                    <a href="javascript:void(0)" ms-widget='userCard' ms-data-userid="item.EmployeeId">{{item.EmployeeDisplay}}</a>
                                </td>
                                <td align="left">{{item.TrainingProgram.Subject}}
                                </td>
                                <td>{{item.TrainingProgram.Time | truncate(10,'')}}
                                </td>
                                <td>{{item.IsEstimate == 1?'已评估':'未评估'}}
                                </td>
                                <td>{{item.TrainingProgram.EmployeeEvaluateDayAfter | truncate(10,'')}}
                                </td>
                                <td>
                                    <a ms-if="item.EMPAUTHS" href="javascript:void(0)" class="doview" ms-click="doview(1)" ms-value="item.Id" title="员工评估">员工评估</a>
                                    <a ms-if="!item.EMPAUTHS" href="javascript:void(0)" class="doview" title="对不起，您没有员工评估权限">员工评估</a>
                                    <a ms-if="item.PRIAUTHS" href="javascript:void(0)" class="doview" ms-click="doview(2)" ms-value="item.Id" title="主管评估">主管评估</a>
                                    <a ms-if="!item.PRIAUTHS" href="javascript:void(0)" class="doview" title="对不起，您没有主管评估权限">主管评估</a>
                                    <a ms-if="item.DELETE" href="javascript:void(0)" class="dodel" ms-click="dodel" ms-attr-index="$index" ms-value="item.Id" title="删除">删除</a>
                                    <a ms-if="!item.DELETE" href="javascript:void(0)" class="nodel" title="删除">删除</a>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr style="background-color: rgba(0, 0, 0, 0);">
                                <td colspan="7" ms-widget='paging,upaing,trainrecordpaing'></td>
                            </tr>
                        </tfoot>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>

    <noscript id="formTemplate">
        <div style="padding: 0px 10px;">
            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo">
                <tr>
                    <td colspan="4">培训信息 </td>
                </tr>
            </table>
            <div style="height: 200px; overflow-y: auto;">
                <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablecInfo">
                    <tr>
                        <td height="25" align="right">讲师 ：
                        </td>
                        <td height="25" align="left">{{entity.TrainingProgram.Teach}}
                        </td>
                        <td height="25" align="right">课时 ：
                        </td>
                        <td height="25" align="left">{{entity.TrainingProgram.ClassHour}}小时
                        </td>
                    </tr>
                    <tr>
                        <td height="25" width="90" align="right">培训地点 ：
                        </td>
                        <td height="25" width="350" align="left">{{entity.TrainingProgram.Place}}    </td>
                        <td height="25" width="120" align="right">培训时间 ：
                        </td>
                        <td height="25" width="250" align="left">{{entity.TrainingProgram.Time}}
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="right">培训对象 ：
                        </td>
                        <td align="left">{{entity.TrainingProgram.Object}}
                        </td>
                        <td height="25" align="right">培训类别 ：
                        </td>
                        <td height="25" align="left">{{entity.TrainingProgram.CategoryDisplay}}
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="right">培训主题 ：
                        </td>
                        <td colspan="3" height="25" align="left">{{entity.TrainingProgram.Subject}}
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="right">培训目标 ：
                        </td>
                        <td colspan="3" height="25" align="left">{{entity.TrainingProgram.Target}}
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="right">培训内容 ：
                        </td>
                        <td height="25" align="left" colspan="3">{{entity.TrainingProgram.Content}}
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="right">培训科目 ：
                        </td>
                        <td height="25" align="left">{{entity.TrainingProgram.ClassDisplay}}
                        </td>
                        <td height="25" align="right">培训层面 ：
                        </td>
                        <td height="25" align="left">{{entity.TrainingProgram.LayDisplay}}
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="right">培训方式 ：
                        </td>
                        <td height="25" align="left">{{entity.TrainingProgram.MethodDisplay}}
                        </td>
                        <td height="25" align="right">考核方式 ：
                        </td>
                        <td height="25" align="left">{{entity.TrainingProgram.CheckMethodDisplay}}
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="right">费用预算 ：
                        </td>
                        <td height="25" align="left">{{entity.TrainingProgram.Cost}}
                        </td>
                        <td height="25" align="right">培训运作评估时间 ：
                        </td>
                        <td height="25" align="left">{{entity.TrainingProgram.EmployeeEvaluateDayAfter}}
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="right">课件附件 ：
                        </td>
                        <td height="25" align="left">{{entity.TrainingProgram.Attachment}}
                        </td>
                        <td height="25" align="right">培训转化评估时间 ：
                        </td>
                        <td height="25" align="left">{{entity.TrainingProgram.HREvaluateDayAfter}}
                        </td>
                    </tr>
                    <tr>
                        <td height="25" align="right">录入人 ：
                        </td>
                        <td height="25" width="*" align="left">{{entity.TrainingProgram.PlanningByDisplay}}
                        </td>
                        <td height="25" align="right">录入时间 ：
                        </td>
                        <td height="25" width="*" align="left">{{entity.TrainingProgram.PlanningTime}}
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div style="margin-top: 10px;">
            <ul class="tabWarp">
                <li ms-class-hover="tab=='tab1'" ms-class-normal="tab!='tab1'" val="tab1" ms-click="tabChange">效果评估</li>
                <li ms-class-hover="tab=='tab2'" ms-class-normal="tab!='tab2'" val="tab2" ms-click="tabChange">转化业绩</li>
            </ul>
            <div class="tabContent" ms-visible="tab=='tab1'" style="height: 346px;">
                <table border="0" cellspacing="0" cellpadding="0" style="width: 900px;">
                    <tr>
                        <td valign="top" width="50%" style="border-right: 1px solid #cfcfcf;">
                            <table cellspacing="0" cellpadding="0" border="0" class="formTable" style="margin: 0 10px;">
                                <tbody>
                                    <tr>
                                        <td height="25" width="90" align="right">评分 ：
                                        </td>
                                        <td height="25" width="*" align="left">
                                            <div class="input-append">
                                                <input ms-duplex="entity.EmpScore" ms-disabled="action!='view1'" type="text" style="width: 50px;">
                                                <span class="add-on">分</span>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="25" align="right">培训评价 ：
                                        </td>
                                        <td height="25" width="*" align="left">
                                            <textarea ms-disabled="action!='view1'" ms-duplex="entity.EmployeeEvaluate" rows="2" cols="20" style="height: 60px; width: 260px;"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="25" align="right">对培训的建议 ：
                                        </td>
                                        <td height="25" width="*" align="left">
                                            <textarea ms-disabled="action!='view1'" ms-duplex="entity.EmployessSuggest" rows="2" cols="20" style="height: 60px; width: 260px;"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="25" align="right">学习心得 ：
                                        </td>
                                        <td height="25" width="*" align="left">
                                            <textarea ms-disabled="action!='view1'" ms-duplex="entity.Learned" rows="2" cols="20" style="height: 60px; width: 260px;"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="25" align="right">满意度 ：
                                        </td>
                                        <td height="25" width="*" align="left">
                                            <label>
                                                <input ms-duplex-text="entity.Satisfied" type="radio" ms-disabled="action!='view1'" value="1" />差</label>
                                            <label>
                                                <input ms-duplex-text="entity.Satisfied" type="radio" ms-disabled="action!='view1'" value="2" />一般</label>
                                            <label>
                                                <input ms-duplex-text="entity.Satisfied" type="radio" ms-disabled="action!='view1'" value="3" />很满意</label>
                                            <label>
                                                <input ms-duplex-text="entity.Satisfied" type="radio" ms-disabled="action!='view1'" value="4" />非常满意</label>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                        <td valign="top" width="50%">
                            <table cellspacing="0" cellpadding="0" border="0" class="formTable">
                                <tbody>
                                    <tr>
                                        <td height="25" width="120" align="right">培训成绩 ：
                                        </td>
                                        <td height="25" width="*" align="left" colspan="3">
                                            <div class="input-append">
                                                <input ms-disabled="action!='view2'" ms-duplex="entity.Score" type="text" style="width: 50px;">
                                                <span class="add-on">分</span>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="25" align="right">学习表现点评 ：
                                        </td>
                                        <td height="25" width="*" align="left" colspan="3">
                                            <textarea ms-disabled="action!='view2'" ms-duplex="entity.ExpressionEvaluate" rows="2" cols="20" style="height: 60px; width: 260px;"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="25" align="right">行为点评 ：
                                        </td>
                                        <td height="25" align="left" colspan="3">
                                            <textarea ms-disabled="action!='view2'" ms-duplex="entity.BehaviourEvaluate" rows="2" cols="20" style="height: 60px; width: 260px;"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="25" align="right">效果点评 ：
                                        </td>
                                        <td height="25" align="left" colspan="3">
                                            <textarea ms-disabled="action!='view2'" ms-duplex="entity.EffectEvaluate" rows="2" cols="20" style="height: 60px; width: 260px;"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="25" align="right">主管 ：
                                        </td>
                                        <td height="25" align="left">
                                            <input type="hidden" ms-duplex="entity.EffectEvaluateBy" />
                                            <input ms-disabled="action!='view2'" type="text" ms-duplex="entity.EffectEvaluateByDisplay" readonly="readonly" style="width: 89px;" />
                                            <!--<button ms-if="action!='view2'" type="button" class="myfbt" ms-widget="dropDownGroupPostUserTree,effectEvaluateByTreeId,effectEvaluateByTreeOpts" ><i class="iadduser"></i></button>-->
                                        </td>
                                        <td height="25" align="right">&nbsp;&nbsp;点评时间 ：
                                        </td>
                                        <td height="25" align="left">
                                            <input ms-disabled="action!='view2'" type="text" ms-duplex="entity.EffectEvaluateTime" readonly="readonly" style="width: 89px;" />
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="tabContent" ms-visible="tab=='tab2'" style="height: 346px;">
                <table style="width: 880px; margin: 0 10px;" border="0" cellspacing="1" cellpadding="0" class="tablecInfo">
                    <tr>
                        <td width="90px">获取客户：
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td width="90px">销售机会：
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td width="90px">签单数：
                        </td>
                        <td></td>
                    </tr>
                    <tr>
                        <td width="90px">签单总金额：
                        </td>
                        <td></td>
                    </tr>
                </table>
            </div>
        </div>
    </noscript>

</div>
