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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>例行巡检</title>
 
</head>
 
<body class="fullscreen service">
    
[#include "/business/pages/include/static.html" /]
[#include "/uc/include/header.html" /]
[#assign focusLabel = Constants.WORKFLOW_BASE_BUSINESS_TYPE_CI_REMIND]
[#include "/uc/include/planheader.html" /]
[#include "/uc/ciremind/flowInfo.html" /]
<div class="fs_navpath">
    <h3>当前位置</h3>
    <span></span>
    <a>预防性维护</a>
    <span></span>
    <em>例行维护详情</em>
</div>
 
<div class="fs_navtitle" id="fsNavtitle">
    <div class="fs_navtitle_con">
        <h2>详情</h2>
        <div class="fsnt_btn_left">
            <a class="mainbtn back" href="javascript:history.go(-1);"><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="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>
                [#if orderFlowInfo.flowState==2]
                <a class="flowrecord" target="_blank" href="${base}/uc/ucciremind/ucremindItemInfo.html?flowId=${flowId}&orderId=${orderId}"><span><em>例行维护服务报告</em></span></a>
                [/#if]
 
            </div>
        </div>
        <div class="deal_switch_wrap">
            <!-- 基本信息 -->
            <div class="deal_switch_con iframecon" style="display:block;">
                <iframe id="baseInfo" src="${base}/uc/ucciremind/ucremindReadInfo.html?orderId=${orderId}&flowId=${flowId}" frameborder="0" scrolling="no" width="100%" height="800px"></iframe>
            </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 iframecon" style="display:none;">
                <iframe src="${base}/uc/ucincident/viewLcRecord.html?flowId=${flowId}" width="100%" height="600px" id="lzIframe"></iframe>
            </div>
        </div>
    </div>
     [@flowInfo orderFlowInfo = orderFlowInfo/]
</div>
<script type="text/javascript">
var orderId = '${orderId}';
var flowId = '${flowId}';
 
$(function() {
    function query(url,params,domId) {
        loading(domId);
        $.post(url,params,function(data,textStatus) {
            loaded(domId);
            domId.html(data);
        })
    }
    
    $("#dlsBtn>a:not(:gt(4))").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}/uc/ucincident/viewRecord.html",params,$dom);
            }  else if(index==2) {
                //查询关联工单
               query("${base}/uc/ucincident/viewOrder.html",params,$dom);
            } else if(index==3) {
                //查询文档附件
                query("${base}/uc/ucincident/viewFile.html",params,$dom);
            } 
        }
        $("div.deal_switch_con").hide();
        $dom.show();
    })
    
})
</script>
 
[#include "/uc/include/foot.html" /]
</body>
</html>