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
217
218
219
220
221
222
223
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>事件详情</title>
 
</head>
 
<body class="fullscreen">
 
[#include "/business/pages/include/static.html" /]
[#include "/business/pages/include/header.html" /]
<div class="fs_lastitle">
    <span>异常/故障配置事件处理详情</span>
</div>
<div class="fs_navtitle">
    <div class="fs_navtitle_con">
        <h2>事件详情</h2>
        <div class="fsnt_btn_left">
           [#if (baseMsg.STATE == 9 ||baseMsg.STATE == 11) && baseMsg.QUESTIONID == null ] <a class="mainbtn back" href="${base}/business/pages/question/addchangequestion.html?changeId=${baseMsg.ID}&bustype=${Constants.WORKFLOW_BASE_BUSINESS_TYPE_INCIDENT}"  target="_blank"><span>升级问题</span></a>[/#if]
           [#if (baseMsg.STATE == 9 ||baseMsg.STATE == 11) && baseMsg.KNOWLEDGEID == null ]<a class="mainbtn back" href="${base}/business/pages/knowledge/knowledgeDeal/addRechangeKnowledge.html?changeId=${baseMsg.ID}&bustype=${Constants.WORKFLOW_BASE_BUSINESS_TYPE_INCIDENT}"  target="_blank"><span>纳入知识库</span></a>[/#if]
            <a class="mainbtn back" href="javascript:window.close();"><span>返回</span></a>
        </div>
    </div>
</div>
<div class="fs_main clearfix">
    <div class="fsm_left nopadding" id="fsmLeft">
        <div class="deal_switch">
            <div class="dls_btn" id="dlsBtn">
                <a class="basicinfo focus"><span><em>基本信息</em></span></a>
                <a class="relaequip"><span><em>关联配置</em></span></a>
                <a class="relaorder"><span><em>关联工单</em></span></a>
                <a class="filedoc"><span><em>文档附件</em></span></a>
                <!--<a class="flowchart"><span><em>流程图</em></span></a>-->
                <a class="flowrecord"><span><em>流转记录</em></span></a>
                <a class="dealrem"><span><em>处理记录</em></span></a>
                [#if baseMsg?? && baseMsg?size>0]
                    [#if baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_FINISH || baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_EVALUATE]
                    <a class="dealrem" href="${base}/business/pages/incident/finishReport.html?orderId=${orderId}" target="_blank"><span><em>事件处理报告</em></span></a>
                    [#elseif baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_CLOSE]
                    <a class="dealrem" href="${base}/business/pages/incident/closeReport.html?orderId=${orderId}" target="_blank"><span><em>事件处理报告</em></span></a>
                    [/#if]
                [/#if]
            </div>
        </div>
        <div class="deal_switch_wrap">
            <div class="deal_switch_con">
                <div class="edit_title"><h3>基本信息</h3></div>
                [#if baseMsg?? && baseMsg?size>0]
                    <table class="edit_layout basicinfo" width="100%">
                        <tr>
                            <th><label>事件名称:</label></th>
                            <td colspan="3"><span class="infotxt">${baseMsg.NAME}</span></td>
                        </tr>
                        <tr>
                            <th><label>事件描述:</label></th>
                            <td colspan="3"><span class="infotxt">${StringUtil.str2Html(baseMsg.DESCRIP)}</span></td>
                        </tr>
                        
                        <tr>
                             <th><label>${Constants.CUSTOMER_CONSTANTS}名称:</label></th>
                            <td><span class="infotxt">${baseMsg.CUSTOMER_NAME}</span></td>
                            <th><label>${Constants.UNIT_CONSTANTS}:</label></th>
                            <td><span class="infotxt">${baseMsg.SUB_CUSTOMER_NAME}</span></td>
                        </tr>
                        
                        <tr>
                            <th><label>联系人:</label></th>
                            <td><span class="infotxt">${baseMsg.CONTACT_NAME}</span></td>
                            <th><label>联系方式:</label></th>
                            <td><span class="infotxt">${baseMsg.CONTACT_PHONE}</span></td>
                        </tr>
                         <tr>
                            <th><label>业务科室:</label></th>
                            <td ><span class="infotxt">${baseMsg.KESHI}</span></td>
                            <th><label>申报方式:</label></th>
                            <td><span class="infotxt">${baseMsg.APPLY_TYPE_NAME}</span></td>
                        </tr>
                        <tr>
                            <th><label>事件类型:</label></th>
                            <td><span class="infotxt">${baseMsg.TYPE_NAME}</span></td>
                            <th><label>事件来源:</label></th>
                            <td><span class="infotxt">${baseMsg.SOURCE_NAME}</span></td>
                           
                        </tr>
                        <tr>
                             <th><label>发生时间:</label></th>
                            <td><span class="infotxt">${DateUtil.format("yyyy-MM-dd HH:mm:ss",baseMsg.HAPPEN_TIME)}</span></td>
                            <th><label>服务目录:</label></th>
                            <td><span class="infotxt">${baseMsg.FIRST_CATEGORY_NAME}-->${baseMsg.SECOND_CATEGORY_NAME}-->${baseMsg.THIRD_CATEGORY_NAME}</span></td>
                        </tr>
                        
                        <tr>
                            <th><label>创建人:</label></th>
                            <td><span class="infotxt">${baseMsg.CREATE_USER_NAME}</span></td>
                            <th><label>创建时间:</label></th>
                            <td><span class="infotxt">${DateUtil.format("yyyy-MM-dd HH:mm:ss",baseMsg.CREATE_TIME)}</span></td>
                        </tr>
                        [#if baseMsg.files?? && baseMsg.files?size>0]
                            <tr>
                                <th class="postop"><label>附件:</label></th>
                                <td colspan="3">
                                    <ul class="file_list">
                                        [#list baseMsg.files as file]
                                            <li><a href="${base}${file.FILE_PATH}" title="${file.FILE_NAME}" ><span>${left(file.FILE_NAME,30)}</span></a></li>
                                        [/#list]
                                    </ul>
                                </td>
                            </tr>
                        [/#if]
                    </table>
                [/#if]
            </div>
            <div class="deal_switch_con" style="display:none;">
            </div>
            <div class="deal_switch_con" style="display:none;">
            </div>
            <div class="deal_switch_con" style="display:none;">
            </div>
            <!--<div class="deal_switch_con" style="display:none;">流程图</div>-->
            <div class="deal_switch_con" style="display:none;">
                <iframe src="${base}/business/pages/incident/lcRecord.html?flowId=${flowId}" width="100%" height="600px" id="lzIframe"></iframe>
            </div>
            <div class="deal_switch_con" style="display:none;">
            </div>
        </div>
    </div>
    <div class="fsm_right" id="fsmRight">
         <div class="fsmr_basicinfo">
             [#if baseMsg?? && baseMsg?size>0]
             <table>
                 <tr ><th><label>事件编号:</label></th><td>${baseMsg.ORDER_CODE}</td></tr>
                 <tr class="greybg"><th><label>事件名称:</label></th><td>${baseMsg.NAME}</td></tr>
                 <tr><th><label>事件状态:</label></th><td><span class="blue_txt">${Constants.getmapSC_WORKFLOW_INCIDENT_STATE_Label(baseMsg.STATE+"")}</span></td></tr>
                 <tr class="greybg"><th><label>${Constants.CUSTOMER_CONSTANTS}名称:</label></th><td>${baseMsg.CUSTOMER_NAME}</td></tr>
                 <tr><th><label>联系人:</label></th><td>${baseMsg.CONTACT_NAME}</td></tr>
                 <tr class="greybg"><th><label>联系方式:</label></th><td>${baseMsg.CONTACT_PHONE}</td></tr>
                 <tr><th><label>事件类型:</label></th><td>${baseMsg.TYPE_NAME}</td></tr>
                 <tr class="greybg"><th><label>服务目录:</label></th><td>${baseMsg.FIRST_CATEGORY_NAME}-${baseMsg.SECOND_CATEGORY_NAME}-${baseMsg.THIRD_CATEGORY_NAME}</td></tr>
                 <tr><th><label>优先级:</label></th><td>${baseMsg.PRIORITY_NAME}</td></tr>
                 <tr class="greybg"><th><label>影响度:</label></th><td>${baseMsg.INFLUENCE_NAME}</td></tr>
                 <tr><th><label>SLA:</label></th><td class="scores_con">
                    <!--<a class="scores_star focus"></a>
                    <a class="scores_star focus"></a>
                    <a class="scores_star"></a>
                    <a class="scores_star"></a>
                    <a class="scores_star"></a>
                    --><h4>${baseMsg.SLA_NAME}</h4>
                    <p>(<span>响应时间:</span><em class="first">${baseMsg.REQUEST_ANSWER_TIME}分钟</em><span>解决时间:</span><em>${baseMsg.REQUEST_DEAL_TIME}小时</em>)</p>
                </td></tr>
                <tr class="greybg">
                    <th><label>响应时间:</label></th>
                    <td>
                        <div  style="width:150px;" [#if baseMsg.ANSWER_TIMEOUT == 1]class="probar redbg"[#else]class="probar"[/#if]>
                            <span style="width:${baseMsg.xyWidth}px"></span>
                            <em>${baseMsg.sjxysj}&nbsp;/&nbsp;${baseMsg.REQUEST_ANSWER_TIME}(分钟)</em>
                        </div>
                    </td>
                </tr>
                <tr>
                    <th><label>处理时间:</label>
                    </th>
                        <td>
                            <div  [#if baseMsg.DEAL_TIMEOUT == 1]class="probar redbg"[#else]class="probar"[/#if]  style="width:150px;">
                                <span style="width:${baseMsg.jjWidth}px"></span>
                                <em>${baseMsg.sjjjsj}&nbsp;/&nbsp;${baseMsg.REQUEST_DEAL_TIME}(小时)</em>
                            </div>
                        </td>
                    </tr>
                <tr class="greybg"><th><label>创建时间:</label></th><td>${DateUtil.format("yyyy-MM-dd HH:mm:ss",baseMsg.CREATE_TIME)}</td></tr>
             </table>
            [/#if]
         </div>
    </div>
</div>
<script type="text/javascript">
var orderId = '${orderId}';
var flowId = '${flowId}';
 
function query(url,params,domId) {
    loading(domId);
    $.post(url,params,function(data,textStatus) {
        loaded(domId);
        domId.html(data);
    })
}
 
$(function() {
    $("#dlsBtn>a:not(:eq(6))").click(function() {
        var index = $("#dlsBtn>a").index(this);
        $("#dlsBtn>a").removeClass("focus");
        $(this).addClass("focus");
        var $dom = $("div.deal_switch_con:eq("+index+")");
        var params = {"orderId":orderId,"flowId":flowId};
        if($.util.isEmpty($.trim($dom.html()))) {
            if(index==1) {
                //查询关联配置
                query("${base}/business/pages/incident/viewDevice.html",params,$dom);
            } else if(index==2) {
                //查询关联工单
                query("${base}/business/pages/incident/viewOrder.html",params,$dom);
            } else if(index==3) {
                //查询文档附件
                query("${base}/business/pages/incident/viewFile.html",params,$dom);
            } else if(index==4) {
 
            } else if(index==5) {
                //查询处理记录
                query("${base}/business/pages/incident/viewRecord.html",params,$dom);
            }
        }
        $("div.deal_switch_con").hide();
        $dom.show();
    })
})
</script>
 
 
 
 
[#include "/business/pages/include/footer.html" /]
</body>
</html>