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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>${dqjd}</title>
 
</head>
 
<body class="fullscreen">
 
[#include "/business/pages/include/static.html" /]
[#include "/business/pages/include/header.html" /]
<div class="fs_lastitle">
    <span>${dqjd}</span>
</div>
[#if answer == 1]
    <script type="text/javascript">
        window.top.openDialog("3","工单响应",
             {},
             {"width":50,"height":50,"noclose":true},
             [{btnId:"btnSure3", btnName:"工单确认", btnStyle:"bluebtn"}],"${base}/business/pages/question/anwer.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}");
    </script>
[#else]
[#if baseMsg?? && baseMsg?size>0]
<div class="fs_navtitle" id="fsNavtitle">
    <div class="fs_navtitle_con">
        <h2>问题详情</h2>
        <div class="fsnt_btn_left">
            [#if isback == 1 && ismain == 1]
            <a class="mainbtn close" href="javascript:orderback();"[#if question.STATE == Constants.SC_WORKFLOW_QUESTION_STATE_GQ] style="display:none;"[/#if]><span>工单回退</span></a>
            [/#if]
            <a class="mainbtn dotask" href="javascript:finishQuestion();"[#if question.STATE == Constants.SC_WORKFLOW_QUESTION_STATE_GQ] style="display:none;"[/#if]><span>工单结束</span></a>
            
        </div>
        <div class="fsnt_btn">
            <a class="mainbtn refresh" href="javascript:window.location.reload(true);"><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="dealrem"><span><em>处理记录</em></span></a>
                <a class="dealrem"><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>
            </div>
        </div>
        <div class="deal_switch_wrap">
            <div class="deal_switch_con iframecon" style="display:block;">
                <iframe src="${base}/business/pages/question/questionBaseMsg.html?orderId=${orderId}" frameborder="0" scrolling="no" width="100%" height="800px" id="baseMsgIframe"></iframe>
            </div>
            <div class="deal_switch_con iframecon" style="display:none;">
                <iframe src="${base}/business/pages/incident/dealRecord.html?flowId=${flowId}" width="100%" height="600px" id="recordIframe"></iframe>
            </div>
            <div class="deal_switch_con iframecon" style="display:none;">
                <iframe src="${base}/business/pages/question/questionZdMsg.html?orderId=${orderId}&flowId=${flowId}&curnodeId=${curnodeId}" frameborder="0" scrolling="no" width="100%" height="800px" id="zdReportIframe"></iframe>
            </div>
            <div class="deal_switch_con iframecon" style="display:none;">
                <iframe src="${base}/business/pages/incident/devices.html?flowId=${flowId}" width="100%" height="600px" id="deviceIframe"></iframe>
            </div>
            
            <div class="deal_switch_con iframecon" style="display:none;">
                <iframe src="${base}/business/pages/incident/orders.html?flowId=${flowId}" width="100%" height="600px" id="orderIframe"></iframe>
            </div>
            
            <div class="deal_switch_con iframecon" style="display:none;">
                <iframe src="${base}/business/pages/incident/files.html?flowId=${flowId}&folderId=${Constants.GG_FOLDERS_WTFOLDERS}" width="100%" height="600px" id="lzIframe"></iframe>
            </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>
    </div>
    <div class="fsm_right" id="fsmRight">
         <div class="fsmr_basicinfo">
             [#if baseMsg?? && baseMsg?size>0]
             <table>
                 <tr class="greybg"><th><label>问题编号:</label></th><td>${baseMsg.ORDER_CODE}</td></tr>
                 <tr><th><label>问题状态:</label></th><td><span class="blue_txt">${Constants.getmapSC_WORKFLOW_QUESTION_STATE_Label(baseMsg.STATE+"")}(${curnodeState})</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.SOURCE_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>优先等级:</label></th><td>${baseMsg.PRI_LEVEL}</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 gq = '${question.STATE}';
var customerId = '${question.CUSTOMER_ID}';
var nodeId = '${nodeId}';
if(gq == 8){
   popupTips("工单已被挂起");
}
var isanswer = '${answer}';
$(function() {
    if(isanswer == 1){
        answer();
      }
    $("#dlsBtn>a").click(function() {
        var index = $("#dlsBtn>a").index(this);
        $("#dlsBtn>a").removeClass("focus");
        $(this).addClass("focus");
        
        var $dom = $("div.deal_switch_con:eq("+index+")");
        $("div.deal_switch_con").hide();
        $dom.show();
    })
})
 
 
//结束任务
function finishQuestion() {
    $.post("${base}/business/pages/question/issave.html",{"nodeId":nodeId},function(data,textStatus) {
                if(data == 0) {
                   window.top.openDialog("orderclose","工单结束",
                     {},
                     {"width":60,"height":80},
                     [{btnId:"btnSure", btnName:"提交", btnStyle:"bluebtn"}],"${base}/business/pages/question/endQuestion.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}&customerId="+customerId);
                
                }else{
                   if(data == 1){
                      popupTips("其他人还在处理工单");
                   }else{
                      window.top.openDialog("1","工单提交",
                     {},
                     {"width":50,"height":50},
                     [{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],"${base}/business/pages/question/lzbz.html?nodeId=${nodeId}");
                   }
                
                }
                
        })
    
}
 
 
function answer() {
       window.top.openDialog("3","工单响应",
             {},
             {"width":50,"height":50,"noclose":true},
             [{btnId:"btnSure3", btnName:"确定", btnStyle:"bluebtn"}],"${base}/business/pages/question/anwer.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}");
}
 
function orderclose() {
    
       window.top.openDialog("orderclose","工单关闭",
             {},
             {"width":50,"height":80},
             [{btnId:"btnSure", btnName:"确定", btnStyle:"bluebtn"}],"${base}/business/pages/question/closequestion.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}");
}
 
function orderback() {
       window.top.openDialog("2","流程回退",
             {},
             {"width":50,"height":60},
             [{btnId:"btnSure2", btnName:"确定", btnStyle:"bluebtn"}],"${base}/business/pages/question/orderBack.html?orderId=${orderId}&flowId=${flowId}&nodeId=${nodeId}");
}
</script>
 
[/#if]
[/#if]
[#include "/business/pages/include/footer.html" /]
</body>
</html>