<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8">
|
<title>分配人员</title>
|
<!--(start) public flies-->
|
</head>
|
|
<body class="personnel_allocation_body">
|
[#include "/business/pages/include/static.html" /]
|
<table class="pab_con" style="margin:0 auto;">
|
<tr class="greybg">
|
<td>类型</td>
|
[#if user.kf == 1]
|
<td>客服人员</td>
|
[/#if]
|
[#if user.sjjl == 1]
|
<td>运维经理</td>
|
[/#if]
|
[#if user.yx == 1]
|
<td>一线工程师</td>
|
[/#if]
|
[#if user.ex == 1]
|
<td>二线工程师</td>
|
[/#if]
|
[#if user.sx == 1]
|
<td>三线工程师</td>
|
[/#if]
|
</tr>
|
[#assign checklabel = 1]
|
<tr class="pabtdcon">
|
<td><label class="required">人员</label></td>
|
[#if user.kf == 1]
|
<td>
|
[#if user.kfry?? && user.kfry?size>0]
|
[#list user.kfry as kf]
|
<div [#if kf.type==1]class="pabitem focus"[#else]class="pabitem"[/#if]>
|
[#if !(kf.usered?? && kf.usered==1)]<input class="pos" type="radio" name="userId" value="1-${Constants.ROLE_SERVICE}-${kf.ID}-${kf.ZSXM}" [#if kf.type==1 && checklabel == 1] checked [#assign checklabel = 2][/#if] />[/#if]
|
<span>${kf.ZSXM}</span>
|
</div><br>
|
[/#list]
|
[/#if]
|
</td>
|
[/#if]
|
|
[#if user.sjjl == 1]
|
<td>
|
[#if user.yczc?? && user.yczc?size>0]
|
[#list user.yczc as yc]
|
<div [#if yc.type==1]class="pabitem focus"[#else]class="pabitem"[/#if]>
|
[#if !(yc.usered?? && yc.usered==1)]<input class="pos" type="radio" name="userId" value="1-${Constants.ROLE_OPERATION}-${yc.ID}-${yc.ZSXM}" [#if yc.type==1 && checklabel == 1] checked [#assign checklabel = 2][/#if] />[/#if]
|
<span>${yc.ZSXM}</span>
|
</div><br>
|
[/#list]
|
[/#if]
|
</td>
|
[/#if]
|
|
[#if user.yx == 1]
|
<td>
|
[#if user.yxgcs?? && user.yxgcs?size>0]
|
[#list user.yxgcs as yx]
|
<div [#if yx.type==1]class="pabitem focus"[#else]class="pabitem"[/#if]>
|
[#if !(yx.usered?? && yx.usered==1)]<input class="pos" type="radio" name="userId" value="1-${Constants.ROLE_FLINE}-${yx.ID}-${yx.ZSXM}" [#if yx.type==1 && checklabel == 1] checked [#assign checklabel = 2][/#if] />[/#if]
|
<span>${yx.ZSXM}</span>
|
</div><br>
|
[/#list]
|
[/#if]
|
</td>
|
[/#if]
|
|
[#if user.ex == 1]
|
<td>
|
[#if user.exgcs?? && user.exgcs?size>0]
|
[#list user.exgcs as ex]
|
<div [#if ex.type==1]class="pabitem focus"[#else]class="pabitem"[/#if]>
|
[#if !(ex.usered?? && ex.usered==1)]<input class="pos" type="radio" name="userId" value="1-${Constants.ROLE_SLINE}-${ex.ID}-${ex.ZSXM}" [#if ex.type==1 && checklabel == 1] checked [#assign checklabel = 2][/#if] />[/#if]
|
<span>${ex.ZSXM}</span>
|
</div><br>
|
[/#list]
|
[/#if]
|
</td>
|
[/#if]
|
|
[#if user.sx == 1]
|
<td>
|
[#if user.sxgcs?? && user.sxgcs?size>0]
|
[#list user.sxgcs as sx]
|
<div [#if sx.type==1]class="pabitem focus"[#else]class="pabitem"[/#if]>
|
[#if !(sx.usered?? && sx.usered==1)]<input class="pos" type="radio" name="userId" value="1-${Constants.ROLE_TLINE}-${sx.ID}-${sx.ZSXM}" [#if sx.type==1 && checklabel == 1] checked [#assign checklabel = 2][/#if] />[/#if]
|
<span>${sx.ZSXM}</span>
|
</div><br>
|
[/#list]
|
[/#if]
|
</td>
|
[/#if]
|
|
</tr>
|
|
<tr>
|
<td><label class="required">分组</label></td>
|
|
[#if user.kf == 1]
|
<td>
|
[#if user.zkfry?? && user.zkfry?size>0]
|
[#list user.zkfry as kf]
|
<div [#if kf.type==1]class="pabitem focus"[#else]class="pabitem"[/#if]>
|
[#if !(kf.usered?? && kf.usered==1)]<input class="pos" type="radio" name="userId" value="2-${Constants.ROLE_SERVICE}-${kf.ID}-${kf.GROUPNAME}" [#if kf.type==1 && checklabel == 1] checked [#assign checklabel = 2][/#if] />[/#if]
|
<span>${kf.GROUPNAME}</span>
|
</div><br>
|
[/#list]
|
[/#if]
|
</td>
|
[/#if]
|
|
|
[#if user.sjjl == 1]
|
<td>
|
</td>
|
[/#if]
|
|
|
[#if user.yx == 1]
|
<td>
|
[#if user.zyxgcs?? && user.zyxgcs?size>0]
|
[#list user.zyxgcs as yx]
|
<div [#if yx.type==1]class="pabitem focus"[#else]class="pabitem"[/#if]>
|
[#if !(yx.usered?? && yx.usered==1)]<input class="pos" type="radio" name="userId" value="2-${Constants.ROLE_FLINE}-${yx.ID}-${yx.GROUPNAME}" [#if yx.type==1 && checklabel == 1] checked [#assign checklabel = 2][/#if] />[/#if]
|
<span>${yx.GROUPNAME}</span>
|
</div><br>
|
[/#list]
|
[/#if]
|
</td>
|
[/#if]
|
|
|
[#if user.ex == 1]
|
<td>
|
[#if user.zexgcs?? && user.zexgcs?size>0]
|
[#list user.zexgcs as ex]
|
<div [#if ex.type==1]class="pabitem focus"[#else]class="pabitem"[/#if]>
|
[#if !(ex.usered?? && ex.usered==1)]<input class="pos" type="radio" name="userId" value="2-${Constants.ROLE_SLINE}-${ex.ID}-${ex.GROUPNAME}" [#if ex.type==1 && checklabel == 1] checked [#assign checklabel = 2][/#if] />[/#if]
|
<span>${ex.GROUPNAME}</span>
|
</div><br>
|
[/#list]
|
[/#if]
|
</td>
|
[/#if]
|
|
[#if user.sx == 1]
|
<td>
|
[#if user.zsxgcs?? && user.zsxgcs?size>0]
|
[#list user.zsxgcs as sx]
|
<div [#if sx.type==1]class="pabitem focus"[#else]class="pabitem"[/#if]>
|
[#if !(sx.usered?? && sx.usered==1)]<input class="pos" type="radio" name="userId" value="2-${Constants.ROLE_TLINE}-${sx.ID}-${sx.GROUPNAME}"[#if sx.type==1 && checklabel == 1] checked [#assign checklabel = 2][/#if] />[/#if]
|
<span>${sx.GROUPNAME}</span>
|
</div><br>
|
[/#list]
|
[/#if]
|
</td>
|
[/#if]
|
|
</tr>
|
<tr>
|
<td><label class="required">角色</label></td>
|
|
[#if user.kf == 1]
|
<td>
|
<div class="pabitem">
|
[#if !(user.jskfry.usered?? && user.jskfry.usered==1)]<input class="pos" type="radio" name="userId" value="3-${Constants.ROLE_SERVICE}-${user.jskfry.ID}-${user.jskfry.ROLENAME}"/>[/#if]
|
<span>${user.jskfry.ROLENAME}</span>
|
</div><br>
|
</td>
|
[/#if]
|
|
|
[#if user.sjjl == 1]
|
<td>
|
<div class="pabitem">
|
[#if !(user.jsyczc.usered?? && user.jsyczc.usered==1)]<input class="pos" type="radio" name="userId" value="3-${Constants.ROLE_OPERATION}-${user.jsyczc.ID}-${user.jsyczc.ROLENAME}"/>[/#if]
|
<span>${user.jsyczc.ROLENAME}</span>
|
</div><br>
|
</td>
|
[/#if]
|
|
|
[#if user.yx == 1]
|
<td>
|
<div class="pabitem">
|
[#if !(user.jsyxgcs.usered?? && user.jsyxgcs.usered==1)]<input class="pos" type="radio" name="userId" value="3-${Constants.ROLE_FLINE}-${user.jsyxgcs.ID}-${user.jsyxgcs.ROLENAME}" />[/#if]
|
<span>${user.jsyxgcs.ROLENAME}</span>
|
</div><br>
|
</td>
|
[/#if]
|
|
|
[#if user.ex == 1]
|
<td>
|
<div class="pabitem">
|
[#if !(user.jsexgcs.usered?? && user.jsexgcs.usered==1)]<input class="pos" type="radio" name="userId" value="3-${Constants.ROLE_SLINE}-${user.jsexgcs.ID}-${user.jsexgcs.ROLENAME}" />[/#if]
|
<span>${user.jsexgcs.ROLENAME}</span>
|
</div><br>
|
</td>
|
[/#if]
|
|
[#if user.sx == 1]
|
<td>
|
<div class="pabitem">
|
[#if !(user.jssxgcs.usered?? && user.jssxgcs.usered==1)]<input class="pos" type="radio" name="userId" value="3-${Constants.ROLE_TLINE}-${user.jssxgcs.ID}-${user.jssxgcs.ROLENAME}" />[/#if]
|
<span>${user.jssxgcs.ROLENAME}</span>
|
</div><br>
|
</td>
|
[/#if]
|
|
</tr>
|
|
|
<tr>
|
<td class="greybg"><label>备注</label></td>
|
<td colspan="${user.size}" style="padding:0;">
|
<textarea class="general" style="width:95%;height:100px;border:0;" id="bz" name="bz"></textarea>
|
</td>
|
</tr>
|
</table>
|
|
|
<script type="text/javascript">
|
function onDialogBtnClick(btnID, dialogID, config){
|
if(btnID == "btnSure"){
|
var checkUser = $(":radio:checked");
|
var bz = $("#bz").val();
|
if(checkUser.length!=1) {
|
popupTips("请选择一个分配人员或分组");
|
return;
|
}
|
if(bz.length>500) {
|
popupTips("备注不能超过250个字!");
|
return;
|
}
|
var userMsg = checkUser.val();
|
var type='${RequestParameters.type}';
|
if(type==100){
|
window.top.document.getElementById('dialogIframe10').contentWindow.showUser(userMsg,bz);
|
}else{
|
window.parent.showUser(userMsg,bz);
|
}
|
//window.top.hideDialog(dialogID);
|
}
|
}
|
</script>
|
|
</body>
|
</html>
|