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
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<title>添加检测项目界面</title>
<script type="text/javascript">    
    var userPickGrid=null;    
    $(function() {
        userPickGrid = $('#userPickGrid').datagrid({
            fit : true,
            fitColumns : false,
            border : false,
            pagination : true,
            idField : 'id',
            striped : true,
            pageSize : 10,
            pageList : [ 10, 20, 30, 40, 50 ],
            sortName : 'des',
            sortOrder : 'asc',
            singleSelect:true,
            checkOnSelect : false,
            selectOnCheck : false,
            nowrap : false,
            showPageList:false,
            columns : [ [
                {
                    field : 'id',
                    title : '缺陷Id',
                    align:'center',
                    width : 80,
                    hidden:true,
                    sortable : true
                }, {
                    field : 'code',
                    title : '缺陷代码',
                    width : 100,
                    align:'center',
                    sortable : true
                } , {
                    field : 'des',
                    title : '缺陷描述',
                    align:'center',
                    width : 400,
                    sortable : true
                }
             ] ],
            toolbar : '#userPickToolbar',
            onLoadSuccess : function() {                                
                $(this).datagrid('tooltip');
            }
        });
    });
    /**
    * 查询缺陷
    */    
    function getOutWandDes() {
        userPickGrid.datagrid({
                    url : "${pageContext.request.contextPath}/pms/selfCheckStrip/getOutWandDesList.do",
                    queryParams :$("#pickUserForm").form("getData"),
                    onLoadError : function(data) {
                        $.messager.show('提示', "查询用户异常", 'error');
                    }
                });
        
    }
    /**
    *清除查询条件
    */
    function clearForm() {
        $('#pickUserForm input').val(null);        
    }
    
</script>
<div class="easyui-layout" data-options="fit : true,border : false">
<div id="userPickToolbar" style="display: none;">
        <table>
            <tr>
                <td>
                    <form id="pickUserForm" style="margin:4px 0px 0px 0px">
                        <table>
                            <tr>
                                <th>&nbsp;&nbsp;缺陷类型</th>
                                <td>
                                <select name="type" style="width: 100px;" class="easyui-combobox fselect" data-options="panelHeight:'auto'">
                                        <option value="">全部</option>
                                        <option value="F">滤棒</option>
                                        
                                        
                                </select>
                                </td>
                                <th>缺陷名称</th>
                                <td><input name="name" id="name"/></td>
                            </tr>
                        </table>
                    </form>
                </td>
            </tr>
            <tr>
                <td>
                    <table>
                        <tr>
                            <td><a onclick="getOutWandDes();" href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-standard-zoom',plain:true">查询</a></td>
                            <td><a onclick="clearForm();" href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-standard-table-refresh',plain:true">重置</a></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
</div>
<div data-options="region:'center',border:false">
    <table id="userPickGrid"></table>
</div>        
</div>