cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!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>