<div ms-controller="Organization">
<table border="0" align="center" cellpadding="0" cellspacing="0" id="nobgmian" style="overflow: visible;" >
    <tbody>
        <tr>
            <td width="278" valign="top" style="max-width: 278px">
                <div class="boxTitle" style="overflow: auto; max-width: 278px; height: 400px; overflow: auto;">
                    <h2>
                        <button class="btn btn-mini btn-primary" type="button" ms-html="lang.AddBtnLabel" ms-click='doadd({})'></button>
                        {{lang.DepartmentManager}}</h2>
                    <ul id="Organization_post_tree" ms-widget="groupTree,groups,groupTreeOpts" class="ztree"></ul>
                </div>
                <div class="clearfix"></div>
                <!--链接ICO-->
                <div class="linkico2"><span></span></div>
                <!--职位-->
                <div style=" max-height:348px; overflow-y:auto;">
                <div class="boxTitlenob">
                    <h2>
                        <button type="button" class="btn btn-mini btn-primary" ms-html="lang.AddBtnLabel" ms-click='doAddPost'></button>
                        {{lang.PostManager}}({{posts.length}})</h2>
                </div> 
                <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList">
                    <tbody>
                        <tr class="head">
                            <td width="42%" align="center">职位名称</td>
                            <td width="18%" align="center">定员</td>
                            <td width="40%" align="center" ms-html='lang.Actions'></td>
                        </tr>

                        <tr ms-repeat-post="posts">
                            <td align="left" style="padding-left: 5px">
                                <a href="javascript:void(0);" ms-live-click='doViewPost' ms-html="post.Name"></a></td>
                            <td align="center" ms-text="post.NumberOfPeoples"></td>
                            <td align="center">
                                <div class="btn-group">
                                    <button class="btn btn-primary" ms-live-click='doViewPost' ms-html='lang.ViewBtn'>查看</button>
                                    <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown" style="height: 27px;">
                                        <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu" style="top: -66px;left: -16px;">
                                        <li><a href="javascript:void(0);" ms-live-click='doEditPost' class="edit" ms-html='lang.EditBtn'></a></li>
                                        <li><a href="javascript:void(0);" class="del" ms-live-click='doDelPost' ms-html='lang.DelBtn'></a></li>
                                    </ul>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
                </div>
            </td>
            <td width="31" valign="top" class="linkico">&nbsp;</td>
            <td valign="top">  
                <!-- 查看部门开始 -->
                <div class="boxTitle" ms-visible='!showPost'>
                    <div  ms-visible="IsGroups">
                    <h2>  <button type="button" class="btn btn-mini btn-primary" ms-html="lang.EditBtnLabel" ms-click='doeditcurr'></button>
                        {{lang.DepartmentExplain}}</h2>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="titbox">
                        <tbody>
                            <tr>
                                <td width="68" height="30" class="tit">{{lang.BasicInfo}}</td>
                                <td>&nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                        <tbody>
                            <tr>
                                <td width="12%"  ms-html="lang.GroupName"></td>
                                <td width="41%" style="color:#8a8888;">{{currGroup.Name}}</td>
                                <td ><span  ms-html="lang.SalaryStandard"></span><span style="color:#8a8888;">{{currGroup.SalaryLevel}}</span></td>
                            </tr>
                            <tr>
                                <td ms-html="lang.GroupNumberOfPeoples"></td>
                                <td style="color:#8a8888;">{{currGroup.NumberOfPeoples}}</td>
                                <td><span ms-html="lang.UpdateDay"></span><span style="color:#8a8888;">{{currGroup.UpdateDay|truncate(15,'')}}</span></td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="titbox">
                        <tbody>
                            <tr>
                                <td width="109" height="30" class="tit" ms-html="lang.DutyAndWorkTarget"></td>
                                <td width="471">&nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                        <tbody>
                            <tr>
                                <td><span ms-html="lang.WorkTarget"></span><span style="color:#8a8888; white-space:normal;word-break: break-all;">{{currGroup.WorkTarget}}</span> <br>
                                    <br>
                                    <span ms-html="lang.Responsibility"></span><span style="color:#8a8888;white-space:normal;word-break: break-all;">{{currGroup.Responsibility}}</span></td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="titbox">
                        <tbody>
                            <tr>
                                <td width="167" height="30" class="tit" ms-html="lang.GroupSkillAndCourse"></td>
                                <td width="413">&nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                        <tbody>
                            <tr>
                                <td><span ms-html="lang.Skill"></span><span style="color:#8a8888;white-space:normal;word-break: break-all;">{{currGroup.Skill}}</span><br />
                                    <br />
                                    <span ms-html="lang.Train"></span><span style="color:#8a8888;white-space:normal;word-break: break-all;">{{currGroup.Train}}</span></td>
                            </tr>
                        </tbody>
                    </table>
                    </div> 
                    <div ms-visible="!IsGroups">
                        <h2>  <button type="button" class="btn btn-mini btn-primary" ms-html="lang.EditBtnLabel" ms-click='doeditcompany'></button>
                         单位信息</h2>  
                          <table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="titbox">
                                            <tbody>
                                                <tr>
                                                    <td width="68" height="30" class="tit" ms-html="lang.BasicInfo"></td>
                                                    <td>&nbsp;</td>
                                                </tr>
                                            </tbody>
                                        </table>
                          <table width="95%" align="center" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                                            <tbody>
                                                <tr>
                                                    <td width="80" ms-html="lang.CompanyName"></td>
                                                    <td style="color:#8a8888;"  width="300">
                                                        {{entity.CompanyName}}
                                                    </td>
                                                    <td width="80" ms-html="lang.ShortName"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.ShortName}}
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td ms-html="lang.EnglishName"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.EnglishName}}
                                                    <td ms-html="lang.UnitQuality"></td>
                                                    <td style="color:#8a8888;"> {{entity.Quality}}</td>
                                                </tr>
                                                <tr>
                                                    <td ms-html="lang.Business"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.Business}}
                                                    </td>
                                                    <td ms-html="lang.Industry"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.Industry}}
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td ms-html="lang.Money" width="70"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.Money}}万 
                                                    </td>
                                                    <td ms-html="lang.NumberOfPeople" width="70"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.NumberOfPeople}}人 
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td ms-html="lang.Slogan"></td>
                                                    <td colspan="3" style="color:#8a8888;white-space:normal;">
                                                       {{entity.Slogan}}</td>
                                                </tr>
                                                <tr>
                                                    <td ms-html="lang.Intro"></td>
                                                    <td colspan="3" style="color:#8a8888;white-space:normal;">
                                                       {{entity.Intro|html}}</td>
                                                </tr>

                                            </tbody>
                                        </table> 
                        <table width="95%" align="center" border="0" cellspacing="0" cellpadding="0" class="titbox">
                            <tbody>
                                <tr>
                                    <td width="68" height="30" class="tit" ms-html="lang.Contacts"></td>
                                    <td>&nbsp;</td>
                                </tr>
                            </tbody>
                        </table>
                        <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                                            <tbody>
                                                <tr>
                                                    <td ms-html='lang.Location'></td>
                                                    <td colspan="3" class="Area" style="color:#8a8888;">
                                                         {{areaDisplay}}
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td ms-html="lang.Address" width="100"></td>
                                                    <td nowrap="nowrap" width="300" style="color:#8a8888;">
                                                        {{entity.Address}}
                                                    </td>
                                                    <td ms-html="lang.PostCode" width="100"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.PostCode}}
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td ms-html="lang.Tel400"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.Tel400}}
                                                    </td>
                                                    <td ms-html="lang.OfficeTel1"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.OfficeTel1}}
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td ms-html="lang.OfficeTel2"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.OfficeTel2}} 
                                                    </td>
                                                    <td ms-html="lang.Fax"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.Fax}}
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td ms-html="lang.HomePage"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.HomePage}}</td>
                                                    <td ms-html="lang.EShop"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.EShop}}</td>
                                                </tr>
                                                <tr>
                                                    <td ms-html="lang.Email"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.Email}}</td>
                                                    <td ms-html="lang.QQ"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.QQ}}</td>
                                                </tr>
                                                <tr>
                                                    <td ms-html="lang.WangWang"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.WangWang}}</td>
                                                    <td ms-html="lang.OtherContact"></td>
                                                    <td style="color:#8a8888;">
                                                        {{entity.OtherContact}}
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table> 
                    </div>
                </div>
                <!-- 查看部门结束 -->
                <!-- 查看职位开始 -->
                <div class="boxTitle" ms-visible='showPost'>
                    <h2>
                        <button type="button" id="btnEditPost" class="btn btn-mini btn-primary" ms-html="lang.EditBtnLabel" ms-click='doEditCurrPost'></button>
                        {{lang.PostExplain}}</h2>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="titbox">
                        <tbody>
                            <tr>
                                <td width="68" height="30" class="tit" ms-html='lang.BasicInfo'></td>
                                <td>&nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                        <tbody>
                            <tr>
                                <td width="12%" ms-html='lang.PostName'></td>
                                <td width="41%" ms-html='currPost.Name' style="color:#8a8888;"></td>
                                <td width="47%"><span ms-html='lang.InGroup'></span><span style="color:#8a8888;">{{currPost.GroupName}}</span></td>
                            </tr>
                            <tr>
                                <td width="12%" ms-html='lang.Boss'></td>
                                <td width="41%">{{currPost.BossName}}</td>
                                <td width="47%"><span ms-html='lang.NumberOfPeoples'></span><span style="color:#8a8888;">{{currPost.NumberOfPeoples}}</span></td>
                            </tr>
                            <tr>
                                <td width="12%" ms-html='lang.SalaryLevel'></td>
                                <td width="41%" style="color:#8a8888;">{{currPost.SalaryLevel}}</td>
                                <td width="47%"><span>{{lang.NumOfCustomer + '：'}}</span><span style="color:#8a8888;">{{currPost.NumOfCustomer||'不限制'}}</span></td>
                            </tr>
                            <tr>
                                <td></td>
                                <td></td>
                                <td></td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="titbox">
                        <tbody>
                            <tr>
                                <td width="110" height="30" class="tit" ms-html='lang.WorkTargetResponsibility'></td>
                                <td width="471">&nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                        <tbody>
                            <tr>
                                <td><span ms-html='lang.WorkTarget'></span><span style="color:#8a8888;">{{currPost.WorkTarget}}</span><br>
                                    <br>
                                    <span ms-html='lang.Responsibility'></span><span style="color:#8a8888;"> {{currPost.Responsibility}}</span></td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="titbox">
                        <tbody>
                            <tr>
                                <td width="100" height="30" class="tit" ms-html='lang.PowersRelation'></td>
                                <td width="413">&nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                        <tbody>
                            <tr>
                                <td><span ms-html='lang.Powers'></span><span style="color:#8a8888;">{{currPost.Powers}}</span><br>
                                    <br>
                                    <span ms-html='lang.Coordinate'></span><span style="color:#8a8888;">{{currPost.Coordinate}}</span></td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="titbox">
                        <tbody>
                            <tr>
                                <td width="50" height="30" class="tit" ms-html='lang.TakeOffice'></td>
                                <td width="413">&nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                        <tbody>
                            <tr>
                                <td><span ms-html='lang.Education'></span><span style="color:#8a8888;">{{currPost.Education}}</span><br>
                                    <br>
                                    <span ms-html='lang.Profession'></span><span style="color:#8a8888;">{{currPost.Profession}}</span><br>
                                    <br>
                                    <span ms-html='lang.Experience'></span><span style="color:#8a8888;">{{currPost.Experience}}</span><br>
                                    <br>
                                    <span ms-html='lang.Quality'></span><span style="color:#8a8888;">{{currPost.Quality}}</span><br>
                                    <br>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="titbox">
                        <tbody>
                            <tr>
                                <td width="50" height="30" class="tit" ms-html='lang.WorkPlace'></td>
                                <td width="413">&nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                        <tbody>
                            <tr>
                                <td><span ms-html='lang.Device'></span><span style="color:#8a8888;">{{currPost.Device}}</span><br>
                                    <br>
                                    <span ms-html='lang.Environment'></span><span style="color:#8a8888;">{{currPost.Environment}}</span><br>
                                    <br>
                                    <span ms-html='lang.WorkTime'></span><span style="color:#8a8888;">{{currPost.WorkTime}}</span><br>
                                    <br>
                                    <span ms-html='lang.Documents'></span><span style="color:#8a8888;">{{currPost.Documents}}</span><br>
                                    <br>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="titbox">
                        <tbody>
                            <tr>
                                <td width="50" height="30" class="tit" ms-html='lang.CheckIndicator'></td>
                                <td width="413">&nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                        <tbody>
                            <tr>
                                <td><span ms-html='lang.CheckIndicator + "："'></span><span style="color:#8a8888;"> {{currPost.CheckIndicator}}</span><br>
                                    <br>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="titbox">
                        <tbody>
                            <tr>
                                <td width="100" height="30" class="tit" ms-html='lang.Remark'></td>
                                <td width="413">&nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="tableInfo">
                        <tbody>
                            <tr>
                                <td><span ms-html='lang.Remark+ "："'></span><span style="color:#8a8888;">{{currPost.Remark}}</span><br>
                                    <br>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <!-- 查看职位结束 -->
            </td>
            <td width="31" valign="top" class="linkico">&nbsp;</td>
            <!-- 查看用户开始-->
            <td width="356" valign="top"> 
                <div width="356" style=" max-height:780px; overflow-y:auto;">
                <div class="boxTitlenob">
                    <h2>
                        <!--<button class="btn btn-mini btn-primary" type="button" ms-html="lang.AddBtnLabel"></button>-->
                        {{lang.InEmployeeManager}}({{employees.length}})</h2>
                </div>  
                <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tableList">
                    <tbody>
                        <tr class="head">
                            <td width="18%" align="center" ms-html="lang.EmployeeName"></td>
                            <td width="11%" align="center" ms-html="lang.Sex"></td>
                            <td width="38%" align="center" ms-html="lang.Post"></td>
                            <td width="33%" align="center" ms-html="lang.Actions"></td>
                        </tr>

                        <tr ms-repeat-emp="employees">
                            <td align="left">
                                <a ms-href="'#/Settings/Users/'+emp.Id + '/detail'">{{emp.FullName | truncate(6,'')}}</a>
                                <span ms-class-fgreen="emp.IsAvailable" ms-class-fred="!emp.IsAvailable">({{emp.IsAvailable? lang.Available:lang.Disabled}})</span>
                            </td>
                            <td align="center">{{emp.Sex === 0 ? lang.Man : lang.Woman}}</td>
                            <td align="left" style="padding-left: 5px">{{emp.PostName?emp.PostName:emp.Role.Name}}</td>
                            <td align="center">
                                <div class="btn-group">
                                    <button class="btn btn-primary" ms-html="lang.ViewBtnLabel" ms-live-click='doViewEmp'>
                                    </button>
                                    <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown" style="height: 27px;">
                                        <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu" style="top: -66px;left: -16px;">
                                        <!--<li><a href="" ms-class-lock="emp.IsAvailable" ms-class-unlock="!emp.IsAvailable">{{!emp.IsAvailable? lang.Available:lang.Disabled}}</a></li>-->
                                        <li><a ms-href="'#/Settings/Users/'+emp.Id + '/edit'" class="edit" ms-html="lang.DropEditBtnLabel"></a></li>
                                        <li><a href="javascript:void(0);" ms-if-loop="emp.IsAvailable" ms-live-click='lockEmp(emp.Id,false)' class="lock">禁用</a></li>
                                        <li><a href="javascript:void(0);" ms-if-loop="!emp.IsAvailable" ms-live-click='lockEmp(emp.Id,true)' class="unlock">启用</a></li>

                                    </ul>
                                </div>
                            </td>
                        </tr>

                        <!--<tr>
                            <td colspan="4" class="ipage"></td>
                        </tr>-->
                    </tbody>
                </table>
                </div>
            </td>
            <!-- 查看用户结束-->
        </tr>
    </tbody>
</table>

<noscript id="inputGroup"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="formTable"> 
            <tr>
                <td width="98">部门名称：</td>
                <td width="330">
                    <input ms-duplex='groupEntity.Name' name="Name" type="text">
                    <span class="must">*</span></td>
                <td width="98">上级部门：</td>
                <td width="260">
                    <input ms-duplex='groupEntity.ParentGroupName' name="ParentGroup" type="text" readonly="readonly" id="ParentGroup" style="width: 206px;"><span>&nbsp;
                        <button onclick="" type="button" class="myfbt" ms-widget='dropDownGroupTree,inputGroupTree,inputGroupTreeOpts'><i class="bm"></i></button></span>

                </td>
            </tr> 
           <tr>
               <td>部门主管：</td>
               <td>
                     <input ms-duplex='groupEntity.ManagerDisplay' type="text" readonly="readonly" >
                        <button  ms-widget='dropDownGroupPostUserTree,ManagerIdTree,ManagerOpts' type="button" class="myfbt"><i class="iadduser"></i></button>
               </td>
               <td>分管领导：</td>
               <td>
                     <input ms-duplex='groupEntity.DeputyManagerDisplay' type="text" readonly="readonly">
                        <button  ms-widget='dropDownGroupPostUserTree,DeputyManagerIdTree,DeputyManagerOpts' type="button" class="myfbt"><i class="iadduser"></i></button>
               </td>
           </tr>
            <tr> 
                <td>部门定员：</td>
                <td colspan="3">
                    <input ms-duplex='groupEntity.NumberOfPeoples' name="NumberOfPeoples" type="text" id="NumberOfPeoples" />
                    <span class="must">*</span></td>
            </tr> 
            <tr>
                <td width="98">工作目标：</td>
                <td colspan="3">
                    <textarea ms-duplex='groupEntity.WorkTarget' name="Target" rows="2" cols="20" id="Target" style="height: 60px; width:92%;"></textarea>
                </td>
            </tr>
            <tr>
                <td width="98">工作职责与任务：</td>
                <td colspan="3">
                    <textarea ms-duplex='groupEntity.Responsibility' name="Responsibility" rows="2" cols="20" id="Responsibility" style="height: 60px; width: 92%;"></textarea>
                </td>
            </tr> 
            <tr>
                <td width="98">必备技能：</td>
                <td colspan="3">
                    <textarea ms-duplex='groupEntity.Skill' name="Skill" rows="2" cols="20" id="Skill" style="height: 60px; width: 92%;"></textarea>
                </td>
            </tr>
            <tr>
                <td width="98">相关培训课程：</td>
                <td colspan="3">
                    <textarea ms-duplex='groupEntity.Train' name="Train" rows="2" cols="20" id="Course" style="height: 60px; width: 92%;"></textarea>
                </td>
            </tr> 
    </table>
</noscript>

<noscript id="inputPost"> 
         <ul class="tabWarp" style="width:100%;">
            <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>
            <li ms-class-hover="tab=='tab3'" ms-class-normal="tab!='tab3'" val="tab3" ms-click="tabChange">权力关系</li> 
            <li ms-class-hover="tab=='tab4'" ms-class-normal="tab!='tab4'" val="tab4" ms-click="tabChange">任职资格</li> 
            <li ms-class-hover="tab=='tab5'" ms-class-normal="tab!='tab5'" val="tab5" ms-click="tabChange">工作场所</li> 
            <li ms-class-hover="tab=='tab6'" ms-class-normal="tab!='tab6'" val="tab6" ms-click="tabChange">考核指标</li> 
        </ul> 
    <div class="tabContent" ms-visible="tab=='tab1'">
         <table  border="0" cellspacing="0" cellpadding="0" class="formTable" width="740" style="margin:10px 20px;">
            <tbody>
                <tr>
                    <td width="100">职位名称：</td>
                    <td width="320">
                        <input type="text" ms-duplex='postEntity.Name'>
                        <span class="must">*</span></td>
                    <td width="70">归属部门：</td>
                    <td width="250">
                        <input type="text" ms-value="postEntity.GroupName" readonly="readonly" style="width: 186px;">
                        <button type="button" class="myfbt" ms-widget='dropDownGroupTree,setGroup,postGroupTreeOpts'><i class="bm"></i></button>
                    <span class="must">*</span>
                    </td>
                </tr> 
                <tr> 
                    <td>工资等级：</td>
                    <td>
                        <input type="text" ms-duplex='postEntity.SalaryLevel' style="width:80px;">
                        <span class="must">*</span></td>
                    <td>直接上级：</td>
                    <td> 
                        <input type="text"  ms-duplex="postEntity.bossName"  readonly="readonly" style="width: 186px;">
                        <button type="button" class="myfbt" ms-widget='dropDownGroupPostUserTree,postBossTreeId,postBossTreeOpts'><i class="bm"></i></button>
                    </td>
                </tr>
                <tr>
                    <td>职位定员：</td>
                    <td>
                        <input type="text" ms-duplex='postEntity.NumberOfPeoples' style="width:80px;">
                        <span class="must">*</span></td> 
                    <td>客户容量：</td>
                    <td>
                        <input type="text" ms-duplex='postEntity.NumOfCustomer' style="width:50px;">
                        <span class="helptip"> <a href="#" data-toggle="tooltip" data-placement="top" title="归属当前职位的员工可以拥有的客户总数，不填或填0代表不做限制"> 
                                    &nbsp;&nbsp; </a></span>
                    </td>
                </tr>
                <tr>
                    <td>注意和补充事项：</td>
                    <td colspan="3">
                        <textarea ms-duplex='postEntity.Remark' rows="2" cols="20" style="height: 150px; width: 578px;"></textarea>
                    </td>
                </tr> 
            </tbody>
        </table>
    </div> 
    <div class="tabContent" ms-visible="tab=='tab2'">
         <table border="0" cellspacing="0" cellpadding="0" class="formTable" width="740" style="margin:10px 20px;">
            <tbody>
                <tr>
                    <td width="100">工作目标：</td>
                    <td>
                        <textarea rows="2" cols="20" style="height: 150px; width: 600px;" ms-duplex='postEntity.WorkTarget'></textarea>
                    </td>
                </tr>
                <tr>
                    <td width="100">工作职责与任务：</td>
                    <td>
                        <textarea rows="2" cols="20" style="height: 150px; width: 600px;" ms-duplex='postEntity.Responsibility'></textarea>
                    </td>
                </tr>

            </tbody>
        </table>
    </div> 
     <div class="tabContent" ms-visible="tab=='tab3'">  
       <table border="0" cellspacing="0" cellpadding="0" class="formTable" width="740" style="margin:10px 20px;">
            <tbody>
                <tr>
                    <td width="100">工作权力：</td>
                    <td>
                        <textarea ms-duplex='postEntity.Powers' rows="2" cols="20" style="height: 150px; width:600px;"></textarea>
                    </td>
                </tr>
                <tr>
                    <td width="100">工作协作关系：</td>
                    <td>
                        <textarea ms-duplex='postEntity.Coordinate' rows="2" cols="20" style="height: 150px; width: 600px;"></textarea>
                    </td>
                </tr>

            </tbody>
        </table>
     </div>
     <div class="tabContent" ms-visible="tab=='tab4'">
        <table border="0" cellspacing="0" cellpadding="0" class="formTable" width="740" style="margin:10px 20px;">
            <tbody>
                <tr>
                    <td width="160">教育/专业/培训要求：</td>
                    <td>
                        <textarea ms-duplex='postEntity.Education' rows="2" cols="20" style="height: 100px; width: 540px;"></textarea>
                    </td>
                </tr>
                <tr>
                    <td width="160">知识和技能要求：<br/>（岗位专业技能、计算机、<br/>外语、沟通能力等）</td>
                    <td>
                        <textarea ms-duplex='postEntity.Profession' rows="2" cols="20" style="height: 100px; width: 540px;"></textarea>
                    </td>
                </tr>
                <tr>
                    <td width="160">经验要求（工作经历）：</td>
                    <td>
                        <textarea ms-duplex='postEntity.Experience' rows="2" cols="20" style="height: 100px; width: 540px;"></textarea>
                    </td>
                </tr>

                <tr>
                    <td width="160">个人基本素质和价值观要求：</td>
                    <td>
                        <textarea ms-duplex='postEntity.Quality' rows="2" cols="20" style="height: 100px; width: 540px;"></textarea>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div class="tabContent" ms-visible="tab=='tab5'">
        <table border="0" cellspacing="0" cellpadding="0" class="formTable" width="740" style="margin:10px 20px;">
            <tbody>
                <tr>
                    <td width="100">工具/设备：</td>
                    <td>
                        <textarea ms-duplex='postEntity.Device' rows="2" cols="20" style="height: 100px; width: 600px;"></textarea>
                    </td>
                </tr>
                <tr>
                    <td width="100">工作环境：</td>
                    <td>
                        <textarea ms-duplex='postEntity.Environment' rows="2" cols="20" style="height: 100px; width: 600px;"></textarea>
                    </td>
                </tr>
                <tr>
                    <td width="100">工作时间：</td>
                    <td>
                        <textarea ms-duplex='postEntity.WorkTime' rows="2" cols="20" style="height: 100px; width: 600px;"></textarea>
                    </td>
                </tr>
                <tr>
                    <td width="100">所需记录文档：</td>
                    <td>
                        <textarea ms-duplex='postEntity.Documents' rows="2" cols="20" style="height: 100px; width: 600px;"></textarea>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    <div class="tabContent" ms-visible="tab=='tab6'">
        <table border="0" cellspacing="0" cellpadding="0" class="formTable" width="740" style="margin:10px 20px;">
            <tbody>
                <tr>
                    <td width="100">考核指标：</td>
                    <td>
                        <textarea ms-duplex='postEntity.CheckIndicator' rows="2" cols="20" style="height: 150px; width: 600px;"></textarea>
                    </td>
                </tr>
            </tbody>
        </table>
    </div> 
</noscript>

</div>