cy
2022-06-28 2ba5c891b24d4d0cd6ce7ef833592e4f576ee5e8
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
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    [#include "/business/wechat/include/title.html" /]
    [#include "/business/wechat/include/wheader.html" /]
</head>
 
<body>
<header class="kltit">
    [#if repair.STATUS == 2]<label class="dropmenu"></label>[/#if]<a href="javascript:history.go(-1);"><span></span></a>报修详情
    [#if repair.STATUS == 2]
     <div class="wlsdrop2">
        <a href="${base}/ewyw/ewIncident/ewAddIncident.html?add=1&repair=${repair.ID}" ><p class="chuli">处理</p></a>
        <a href="javascript:close();"><p class="guanbi" >关闭</p></a>
    </div>
    [/#if]
    </header>
<section class="wlresponse wldetailtwo">
    <p>
        <span>报修人</span>
        <label>${repair.CREATE_NAME}</label>
    </p>
    <p>
        <span>业务科室</span>
        <label>${repair.YWKS}</label>
    </p>
    <p>
        <span>联系方式</span>
        <label>${repair.lx_phone}</label>
    </p>
    <p>
        <span>职务</span>
        <label>${repair.ZW}</label>
    </p>
    <p>
        <span>${Constants.CUSTOMER_CONSTANTS}名称</span>
        <label>${repair.cus_name}</label>
    </p>
    <p>
        <span>状态</span>
        [#if repair.STATUS ==1]
        <label>待响应</label>
        [#elseif repair.STATUS ==2]
        <label>处理中</label>
        [#elseif repair.STATUS ==3]
         <label>已完成</label>
         [#else ]
         <label>已取消</label>
        [/#if]
    </p>
    <p>
        <span>报修时间</span>
        <label>${DateUtil.format("yyyy-MM-dd HH:mm:ss",repair.CREATE_TIME)}</label>
    </p>
    <p>
        <span>处理人</span>
        <label>${repair.DEAL_NAME}</label>
    </p>
     [#if repair.CLOSEREASON??]
    <p>
        <span>关闭原因</span>
        <label>${repair.CLOSEREASON}</label>
    </p>
    [/#if]
    [#if repair.STATUS == 3]
    <a  href="${base}/ewyw/eworder/ewOrderInfo.html?orderId=${repair.INCIDENT_ID}&orderType=${Constants.WORKFLOW_BASE_BUSINESS_TYPE_INCIDENT}">
    <p >
        <span class="detaillong">关联事件工单</span>
        <label class="detaillong">${repair.ORDER_CODE}</label>
    </p>
    </a>
   [/#if]
</section>
</body>
<script type="text/javascript">
function close(){
     window.location.href="${base}/ewyw/ewrepair/ewclose.html?id=${repair.ID}";
 
}
 
 
/*工单详情下拉*/
$(function(){
    var searchBtn = $('.kltit label'),
        searchCon = $('div.wlsdrop2');
    searchBtn.click(function(){
        searchCon.animate({height:'toggle'});
        $(this).children('em').toggleClass("open");
    });
    searchCon.children('a').click(function(){
        searchCon.slideUp();
    });
    $("div").click(function(){
        searchCon.slideUp();
    });
    $("section").click(function(){
        searchCon.slideUp();
    });
})
 
</script> 
</html>