zhuguifei
2026-03-10 58402bd5e762361363a0f7d7907153c77dbb819f
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
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!-- 批量增加 -->
<script type="text/javascript">
    var detailGrid=null;
    $(function() {
        detailGrid=$('#detailGrid').datagrid({
            rownumbers :true,
            fit : true,
            fitColumns : false,//fitColumns= true就会自动适应宽度(无滚动条)
            //width:$(this).width()-252,  
            border : false,
            pagination : false,
            idField : 'id',
            striped : true,
            remoteSort: false,
            pageSize : 100,
            pageList : [80, 100],
            sortName : 'id',
            sortOrder : 'desc',
            singleSelect:true,
            checkOnSelect : false,
            selectOnCheck : false,
            nowrap : true,
            showPageList:false,
            columns : [ [ {
                field : 'id',
                title : 'id',
                width : 120,
                hidden : true
            }, {
                field : 'code',
                title : '编号',
                width : 150,
                align : 'center',
                sortable : true
            }, {
                field : 'name',
                title : '名称',
                width : 500,
                align : 'left',
                sortable : true
            } ] ],
            //toolbar : '#inputToolbar',
            onLoadSuccess : function() {
                $(this).datagrid('tooltip');
            },
            onRowContextMenu : function(e, rowIndex, rowData) {
                e.preventDefault();
                $(this).datagrid('unselectAll').datagrid('uncheckAll');
                $(this).datagrid('selectRow', rowIndex);
                $('#inputMenu').menu('show', {
                    left : e.pageX-10,
                    top : e.pageY-5
                });
            }
        }); 
        query();
    });
    function query(){
        var param={categoryId:'${bean.paul_id}'};
        detailGrid.datagrid({
            url : "${pageContext.request.contextPath}/pms/sys/eqptype/queryMdType.do",
            queryParams:param,
            onLoadError : function(data) {
                $.messager.show('提示', "查询保养计划异常", 'error');
            }
        });
    }
</script>
<div class="easyui-layout" data-options="fit:true,border:false">
    <div data-options="region:'north',border:false" title="" style="overflow: hidden;padding:5px;height100px;">
        
            <fieldset>
                <table class="table" style="width:97%;">
                    <tr>
                        <th>日保养计划名称</th>
                        <td>
                            <input id="id" name="id" type="text" value="${bean.id}" style="display:none;readonly" />
                            ${bean.name }
                        </td>
                        <th>设备类型</th>
                        <td>
                            ${bean.eqp_type_name}
                        </td>
                    </tr>
                    
                    <tr>
                        <th>班次</th>
                        <td>
                            ${bean.shiftName}
                        </td>
                        <th>班组</th>
                        <td>
                            ${bean.teamName}
                        </td>
                    </tr>
                    <tr>
                        <th>计划开始时间</th>
                        <td>
                            ${bean.stim}
                        </td>
                        <th>计划结束时间</th>
                        <td>
                            ${bean.etim}
                        </td>
                    </tr>
                    
                </table>
            </fieldset>
    </div>
    
    <legend>日保养计划内容</legend>
    <div data-options="region:'center',border:false" style="width:95%;height:400px;">
        <table id="detailGrid"></table>
    </div>
    
        
</div>