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
<div class="table_basic">
    <table class="display_form" id="commonList" style="width:95%">
        <tr class="title">
            <td style="width:15%">巡检类型</td>
            <td style="width:25%">巡检项</td>
            <td style="width:25%">巡检结果</td>
            <td style="width:35%">备注</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}
                        <input name="categoryId" type="hidden" value="${category.ID}"/>
                        <input name="categoryName" type="hidden" value="${category.NAME}"/>
                        <input name="itemId" type="hidden" value="${item.ITEM_ID}"/>
                        <input name="itemName" type="hidden" value="${item.ITEM_NAME}"/>
                    </td>
                    <td>
                        <input type="radio" name="result${item.ITEM_ID}" [#if item.RESULT==1]checked="checked"[/#if] value="1"/>正常&nbsp;&nbsp;
                        <input type="radio" name="result${item.ITEM_ID}" [#if item.RESULT==2]checked="checked"[/#if] value="2"/>告警&nbsp;&nbsp;
                        <input type="radio" name="result${item.ITEM_ID}" [#if item.RESULT==3]checked="checked"[/#if] value="3"/>异常&nbsp;&nbsp;
                    </td>
                    <td>
                        <input maxlength="200" style="width:95%;" name="note" value="${item.NOTE}" type="text"/>
                    </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}
                        <input name="categoryId" type="hidden" value="${category.ID}"/>
                        <input name="categoryName" type="hidden" value="${category.NAME}"/>
                        <input name="itemId" type="hidden" value="${item.ITEM_ID}"/>
                        <input name="itemName" type="hidden" value="${item.ITEM_NAME}"/>
                    </td>
                    <td>
                        <input type="radio" name="result${item.ITEM_ID}" [#if item.RESULT==1]checked="checked"[/#if] value="1"/>正常&nbsp;&nbsp;
                        <input type="radio" name="result${item.ITEM_ID}" [#if item.RESULT==2]checked="checked"[/#if]value="2"/>告警&nbsp;&nbsp;
                        <input type="radio" name="result${item.ITEM_ID}" [#if item.RESULT==3]checked="checked"[/#if]value="3"/>异常&nbsp;&nbsp;
                    </td>
                    <td>
                        <input maxlength="200" style="width:95%;" name="note" value="${item.NOTE}" type="text"/>
                    </td>
                </tr>    
                [/#if]    
            [/#list]
            [/#if]
                
            [/#list]
        [#else]
            <tr>
                <td colspan="4" align="center">无巡检项信息</td>
            </tr>
        [/#if]
    </table>
</div>