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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
[#include "/business/wechat/include/title.html" /]
[#include "/business/wechat/include/wheader.html" /]
<script type="text/javascript" src="${common_static}/static/wechat/style/js/myswiper.js"></script>
</head>
 
<body>
<header class="kltit">
    [#if baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_FINISH || baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_EVALUATE || baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_CLOSE]
    <label class="dropmenu"></label>
    [/#if]
    <a href="${base}/ewyw/ewRemind/ewMyRemind.html"><span></span></a>工单详情
    [#if baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_FINISH || baseMsg.WFSTATE == Constants.WORKFLOW_BASE_WFSTATE_EVALUATE]
        <div class="wlsdrop2"><a href="${base}/ewyw/ewRemind/ewRemindReport.html?orderId=${orderId}&flowId=${baseMsg.FLOW_ID}" ><p class="baogao" >例行维护报告</p></a>
    [/#if]
</header>
<nav class="kltwo clearfix">
    <div class="kltwowrap">
        <a href="#" hidefocus="true" class="active" v="0">基本信息</a>
        <a href="#" hidefocus="true" v="1">巡检配置</a>
        <a href="#" hidefocus="true" v="2">处理记录</a>
        <a href="#" hidefocus="true" v="3">关联工单</a>
        <a href="#" hidefocus="true" v="4">文档附件</a>
        <a href="#" hidefocus="true" v="5">流转记录</a> 
    </div>
</nav>
<div class="swiper-container" id="swiper-pages">
    <div class="swiper-wrapper">
        <div class="swiper-slide">
            <section class="wlresponse wldetailtwo">
                <p>
                    <span>${Constants.CUSTOMER_CONSTANTS}名称</span>
                    <label>${baseMsg.CUSTOMER_NAME}</label>
                </p>
                <p>
                    <span>${Constants.UNIT_CONSTANTS}</span>
                    <label>${baseMsg.SUB_CUSTOMER_NAME}</label>
                </p>
                <p>
                    <span>联系人</span>
                    <label>${baseMsg.CONTACTS_NAME}</label>
                </p>
                <p>
                    <span>联系方式</span>
                    <label><a class="phone" href="tel:${baseMsg.CONTACTS_TEL}">${baseMsg.CONTACTS_TEL}</a></label>
                </p>
                <p>
                    <span class="detaillong">计划巡检时间</span>
                    <label class="detaillong">${DateUtil.format("yyyy-MM-dd",baseMsg.PLAN_EXECUTION_DATE)}</label>
                </p>
                <p>
                    <span class="detaillong">要求完成时间</span>
                    <label class="detaillong">${DateUtil.format("yyyy-MM-dd",baseMsg.REQUIRE_DATE)}</label>
                </p>
                <p>
                    <span class="detaillong">服务内容说明</span>
                    <label class="detaillong">${StringUtil.str2Html(baseMsg.SERVICE_CONTENT)}</label>
                </p>
            </section>
        </div>
        <div class="swiper-slide">
            <div id="main1"></div>
        </div>
        <div class="swiper-slide">
            <div id="main2"></div>
        </div>
        <div class="swiper-slide">
            <div id="main3"></div>
        </div>
        <div class="swiper-slide">
            <div id="main4"></div>
        </div>        
        <div class="swiper-slide">
            <div id="main5"></div>
        </div>
    </div>
</div>
<script type="text/javascript">
var flowId = '${baseMsg.FLOW_ID}';
var orderId = '${baseMsg.ID}';
 
function query(index) {
    var $main = $("#main"+index);
    var html = $.trim($main.html());
    if($.util.isEmpty(html)) {
        var param = {"flowId":flowId,"orderId":orderId};
        loading($main);
        if(index==1) {
            $.post("${base}/ewyw/ewRemind/ewRemindCiList.html",param,function(data,textStatus) {
                $main.html(data);
            })
        } else if(index==2) {
            $.post("${base}/ewyw/ewIncident/ewClRecord.html",param,function(data,textStatus) {
                $main.html(data);
            })
        } else if(index==3) {
            $.post("${base}/ewyw/ewIncident/ewLinkOrder.html",param,function(data,textStatus) {
                $main.html(data);
            })
        } else if(index==4) {
            $.post("${base}/ewyw/ewIncident/ewFile.html",param,function(data,textStatus) {
                $main.html(data);
            })
        } else if(index==5) {
            $.post("${base}/ewyw/ewIncident/ewLzRecord.html",param,function(data,textStatus) {
                $main.html(data);
            })
        } 
    }
}
 
/*工单详情下拉*/
$(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>     
</body>
</html>