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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>配置审核</title>
[#include "/business/pages/include/static.html" /]
[#include "/component/userSelector.html" /]
<script type="text/javascript">
$(function() {
    $.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
                        document.getElementById("myform").target = window.top.openDialog("1","操作",
                         {},
                         {"width":40,"height":40},[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
                         return true;
    }});
    
})
 
function onDialogBtnClick(btnID, dialogID, config){
    if(btnID == "btnSure"){
        $("#myform").submit();
    }    
}
</script>
</head>
<body class="end_task_body widthauto">
    <div class="edit_title"><h3>基本信息</h3></div>
    <table class="edit_layout2">
    <tr>
        <th ><label>${Constants.CUSTOMER_CONSTANTS}名称:</label></th>
        <td>${info.cus_name}</td>
        <th><label>${Constants.UNIT_CONSTANTS}:</label></th>
        <td>${info.sub_cus_name}</td>
    </tr>
    <tr>
        <th ><label>报告日期:</label></th>
        <td>${DateUtil.format("yyyy-MM-dd",info.patrol_date)}</td>
        <th><label>填报人:</label></th>
        <td>${info.user_name}</td>
    </tr>
    <tr>
        <th ><label>巡检开始时间:</label></th>
        <td>${DateUtil.format("yyyy-MM-dd HH:mm",info.begin_time)}</td>
        <th><label>巡检结束时间:</label></th>
        <td>${DateUtil.format("yyyy-MM-dd HH:mm",info.end_time)}</td>
    </tr>
    <tr>
        <th ><label>联系方式:</label></th>
        <td colspan="3" class="longwidth">${info.user_phone}</td>
    </tr>
    <tr>
        <th ><label>巡检总结:</label></th>
        <td colspan="3" class="longwidth">${info.summary}</td>
    </tr>
    </table>
    
    <div class="edit_title"><h3>巡检类型</h3></div>
    <table class="display_form common_list_table" id="goodsTable" style="width:95%;">
        <tr style="background:#f0f0f0;">
            <td style="width:20%">巡检类型</td>
            <td style="width:20%">巡检指标</td>
            <td style="width:20%">巡检结果</td>
            <td style="width:25%">备注</td>
         </tr>
         [#if categoryList??&&categoryList?size>0]
            [#list categoryList as category]
            <tr>
                <td [#if category.dataList??&&category.dataList?size>0]rowspan="${category.dataList?size}"[/#if]>
                    ${category.NAME}
                </td>
                [#if category.dataList??&&category.dataList?size>0]
                    [#assign item = category.dataList[0]/]
                    <td>
                        ${item.ITEM_NAME}
                    </td>
                    <td>
                        [#if item.RESULT==1]正常[/#if]
                        [#if item.RESULT==2]告警[/#if] 
                        [#if item.RESULT==3]异常[/#if] 
                    </td>
                    <td>
                        ${item.NOTE}
                    </td>
                [#else]
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                [/#if]
            </tr>
            
            [#if category.dataList??&&category.dataList?size>0]
            [#list category.dataList as item]
                [#if item_index>0]
                <tr>    
                    <td>
                        ${item.ITEM_NAME}
                    </td>
                    <td>
                        [#if item.RESULT==1]正常[/#if]
                        [#if item.RESULT==2]告警[/#if] 
                        [#if item.RESULT==3]异常[/#if] 
                    </td>
                    <td>
                        ${item.NOTE}
                    </td>
                </tr>    
                [/#if]    
            [/#list]
            [/#if]
                
            [/#list]
        [#else]
            <tr>
                <td colspan="4" align="center">无巡检项信息</td>
            </tr>
        [/#if]
    </table>
    
    <div class="edit_title"><h3>巡检配置</h3></div>
       <table class="display_form common_list_table" id="goodsTable" style="width:95%;">
     <tr style="background:#f0f0f0;">
        <td style="width:15%">配置名称(搜索码)</td>
        <td style="width:25%">巡检项</td>
        <td style="width:20%">巡检结果</td>
        <td width="20%">备注</td>
    </tr>
        [#if patrolCiList??&&patrolCiList?size>0]
            [#list patrolCiList as ci]
            <tr>
                <td  [#if ci.xjxlist??&&ci.xjxlist?size>0] rowspan="${ci.xjxlist?size}" [/#if]><a class="blue_txt lb_button" target="_blank" href="${base}/business/pages/cfg/cfgDetail.html?id=${ci.ID}">${ci.CINAME}(${ci.SEARCHCODE})</a></td>
                [#if ci.xjxlist?? && ci.xjxlist?size > 0]
                [#list ci.xjxlist as xjx]
                [#if xjx_index != 0]
                <tr>
                [/#if]
                <td>${xjx.ITEM_NAME}</td>
                <td>
                    [#if xjx.RESULT==1]正常[/#if]
                    [#if xjx.RESULT==2]告警[/#if] 
                    [#if xjx.RESULT==3]异常[/#if] 
                </td>
                <td>
                    ${xjx.NOTE}
                </td>
                [#if xjx_index != 0]
                </tr>
                [/#if]
                [/#list]
                [/#if]
            [#if ci_index == 0]
                </tr>
            [/#if]
            [/#list]
        [#else]
            <tr>
                <td colspan="5" align="center">无需要巡检配置</td>
            </tr>
        [/#if]
     </table>
<div class="edit_title"><h3>关联工单</h3></div>
       <table class="display_form common_list_table" id="goodsTable" style="width:95%;">
     <tr style="background:#f0f0f0;">
        <td style="width:25%">工单编号</td>
        <td style="width:30%">工单名称</td>
        <td style="width:15%">工单类型</td>
        <td style="width:15%">当前状态</td>
    </tr>
    [#if linkOrderList??&&linkOrderList?size>0]
            [#list linkOrderList as linkOrder]
            <tr>
                <td><input type="hidden" name="linkOrderId" value="${linkOrder.FLOWID}"/>${linkOrder.ORDER_CODE}</td>
                <td>${linkOrder.WFNAME}</td>
                <td>${Constants.mapWORKFLOW_BUSINESS_TYPE_Label(linkOrder.BUSINESSTYPE+"")}</td>
                <td>
                [#if linkOrder.WFSTATE ==1]
                    进行中
                [#elseif linkOrder.WFSTATE ==2]
                    已完成
                [#elseif linkOrder.WFSTATE ==3]
                    已取消
                [/#if]
                </td>
            </tr>
            [/#list]
        [#else]
            <tr align="center">
                <td colspan="5">暂无关联信息</td>
            </tr>
        [/#if]
    </table>
    <form id="myform" action="rcxjSh.html" method="post">
    <input type="hidden" name="busId" value="${RequestParameters.id}"/>
    <input type="hidden" name="id" value="${RequestParameters.id}"/>
    <div class="edit_title"><h3>审核信息</h3></div>
        <table class="edit_layout2">
        <tr>
               <th ><label>审核结果:</label></th>
            <td>
                <input class="audit" type="radio"  name="flag" value="1" checked/>通过
                <input class="audit" type="radio"  name="flag" value="2"/>不通过
            </td>
        </tr>
        
          <tr>
            <th ><label>备注:</label></th>
            <td>
            <textarea rows="5" cols="100" name="note" id="note" class="general"></textarea>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>