<!doctype html>
|
<html class="no-js">
|
<head>
|
<meta charset="utf-8" />
|
<title>事件流转策略配置</title>
|
[#include "/business/pages/include/static.html" /]
|
|
</head>
|
|
<body class="fullscreen">
|
[#include "/business/pages/include/header.html" /]
|
<script type="text/javascript">
|
$(document).ready(function() {
|
$.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
|
document.getElementById("myform").target = window.top.openDialog("0","操作",
|
{},
|
{"width":40,"height":40,"noclose":true},
|
[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
|
return true;
|
}
|
});
|
});
|
</script>
|
<nav class="fs_nav">
|
<div class="fsnav_con">
|
<h3>${Constants.CUSTOMER_CONSTANTS}配置</h3>
|
<a href="${base}/business/pages/customerconfig/slacus/slacusMain.html?customerId=${RequestParameters.customerId}"><span>${Constants.CUSTOMER_CONSTANTS}配置</span></a>
|
<a class="focus" href="${base}/business/pages/customerconfig/incidentflow/incidentNodeDeal.html?customerId=${RequestParameters.customerId}"><span>事件流程配置</span></a>
|
</div>
|
</nav>
|
|
<div class="fs_navpath">
|
<h3>当前位置</h3>
|
<span></span>
|
<a>${Constants.CUSTOMER_CONSTANTS}管理</a>
|
<span></span>
|
<a>事件流转策略配置</a>
|
</div>
|
<div style="margin:10px;">
|
</div>
|
<div class="fs_main equip_add clearfix" >
|
<div class="ucmLeft" id="equipAddLeft">
|
[#assign tjType = 'SJGL']
|
[#assign tjFocus = 'SJLZCL']
|
[#include "/business/pages/customerconfig/incident/lcleft.html" /]
|
</div>
|
|
<div class="equip_add_right equipdetail_basic" id="equipAddRight">
|
|
<div class="deal_switch">
|
<h3>事件流转策略配置</h3>
|
</div>
|
|
<div id="main" style="margin:15px;">
|
<form id="myform" name="myform" method="post">
|
[#if config?? && config?size>0]
|
<input type="hidden" value="${config.id}" name="id"/>
|
<input type="hidden" value="${config.isSelf}" name="isSelf">
|
[/#if]
|
|
<table class="pab_con">
|
<tr>
|
<th align="right">客服人员:</th>
|
<td>
|
[#if kfryNode?? && kfryNode?size>0]
|
[#list kfryNode as node]
|
<div class="pabitem"><input type="checkbox" value="${node.nodeId}" class="pos" name="kfry" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span></div>
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr>
|
<th align="right">运维经理:</th>
|
<td >
|
[#if ycjszcNode?? && ycjszcNode?size>0]
|
[#list ycjszcNode as node]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="ycjszc" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr>
|
<th align="right">一线工程师:</th>
|
<td>
|
[#if yxgcsNode?? && yxgcsNode?size>0]
|
[#list yxgcsNode as node]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="yxgcs" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr>
|
<th align="right">二线工程师:</th>
|
<td>
|
[#if exgcsNode?? && exgcsNode?size>0]
|
[#list exgcsNode as node]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="exgcs" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr >
|
<th align="right">三线工程师:</th>
|
<td>
|
[#if sxgcsNode?? && sxgcsNode?size>0]
|
[#list sxgcsNode as node]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="sxgcs" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr>
|
|
<td colspan="2" style="text-align:center;"><a class="operating_conmon" style="margin-top:10px;" href="javascript:savePz();"><span style="color:#333333;">提交</span></a>
|
[#if noresult??]
|
[#else]
|
[#if config.isSelf == 1]
|
<a class="operating_conmon" style="margin-top:10px;margin-left:10px;" href="javascript:initPz();"><span style="color:#333333;">同步配置</span></a>
|
[/#if]
|
[/#if]
|
</td>
|
</tr>
|
</table>
|
</form>
|
</div>
|
</div>
|
</div>
|
|
<script type="text/javascript">
|
var customerId = '${RequestParameters.customerId}';
|
function savePz() {
|
if($("input[type='checkbox']:checked").size() == 0){
|
popupTips("请至少选择一项流转策略配置!");
|
return;
|
}
|
$("#myform").submit();
|
}
|
function initPz(){
|
window.top.confirmInfo('提示', '确定要同步吗?', function(){
|
$.post("${base}/business/pages/customerconfig/incidentflow/initlc.html", {"customerId":customerId},function(data){
|
if(data == 1){
|
window.top.popupTips("同步成功");
|
window.location.reload(true);
|
}else{
|
window.top.popupTips("同步失败");
|
}
|
});
|
})
|
}
|
</script>
|
|
[#include "/business/pages/include/footer.html" /]
|
</body>
|
</html>
|