<!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/questionflow/questionNodeDeal.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 = 'WTGL']
|
[#assign tjFocus = 'WTLZCL']
|
[#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" style="width: 100%;margin:auto">
|
<tr>
|
<th align="center">问题发起:</th>
|
<td >
|
[#if wtfqNode?? && wtfqNode?size>0]
|
[#list wtfqNode as node]
|
[#if node.nodeId != Constants.WTFQ]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="wtfq" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#if]
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr>
|
<th align="center">问题受理:</th>
|
<td >
|
[#if wtslNode?? && wtslNode?size>0]
|
[#list wtslNode as node]
|
[#if node.nodeId != Constants.WTFQ]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="wtsl" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#if]
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr>
|
<th align="center">问题审核:</th>
|
<td>
|
[#if wtshNode?? && wtshNode?size>0]
|
[#list wtshNode as node]
|
[#if node.nodeId != Constants.WTFQ]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="wtsh" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#if]
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr>
|
<th align="center">问题诊断:</th>
|
<td>
|
[#if wtzdNode?? && wtzdNode?size>0]
|
[#list wtzdNode as node]
|
[#if node.nodeId != Constants.WTFQ]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="wtzd" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#if]
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr >
|
<th align="center">方案审批:</th>
|
<td>
|
[#if faspNode?? && faspNode?size>0]
|
[#list faspNode as node]
|
[#if node.nodeId != Constants.WTFQ]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="fasp" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#if]
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr >
|
<th align="center">方案实施:</th>
|
<td>
|
[#if fassNode?? && fassNode?size>0]
|
[#list fassNode as node]
|
[#if node.nodeId != Constants.WTFQ]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="fass" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#if]
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr >
|
<th align="center">问题回顾:</th>
|
<td>
|
[#if wthgNode?? && wthgNode?size>0]
|
[#list wthgNode as node]
|
[#if node.nodeId != Constants.WTFQ]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="wthg" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#if]
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr >
|
<th align="center">可关闭工单的节点:</th>
|
<td>
|
[#if closejdNode?? && closejdNode?size>0]
|
[#list closejdNode as node]
|
[#if node.nodeId != Constants.WTFQ]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="isclose" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#if]
|
[/#list]
|
[/#if]
|
</td>
|
</tr>
|
<tr >
|
<th align="center">可回退工单的节点:</th>
|
<td>
|
[#if backjdNode?? && backjdNode?size>0]
|
[#list backjdNode as node]
|
[#if node.nodeId != Constants.WTFQ]
|
<input type="checkbox" value="${node.nodeId}" class="pos" name="isback" [#if node.type?? && node.type==1]checked[/#if]/><span style="margin-right:5px;">${node.nodeName}</span>
|
[/#if]
|
[/#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/questionflow/initlc.html", {"customerId":customerId},function(data){
|
if(data == 1){
|
window.location.reload(true);
|
window.top.popupTips("同步成功");
|
}else{
|
window.top.popupTips("同步失败");
|
}
|
});
|
})
|
}
|
</script>
|
|
[#include "/business/pages/include/footer.html" /]
|
</body>
|
</html>
|