zhuguifei
2026-03-10 2c1fd10c6fbabb8e9f0e9f07fe66fb36c008e883
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
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html>
<head>
    <title>卷包物理自检考核报表</title>
    <jsp:include page="../../initlib/initAll.jsp"></jsp:include>
    <style>
        .topTool div {
            width:240px;
        }
        .topTool div .label {
            width: 120px;
        }
 
    </style>
    <script type="text/javascript">
 
        var reportUrl = "http://10.39.186.3:6868/demo/reportJsp/showReport.jsp?rpx=JB_WL_KH.rpx&rpx_arg=JB_WL_KH_ARG";
        $(function () {
 
            initArgs();
            $("#showReport").attr("src",reportUrl);
        });
 
        function clearForm() {
            $("#searchForm input").val(null);
        }
 
        function initArgs() {
            $.ajax({
                type: 'post',
                dataType: 'json',
                url: "${pageContext.request.contextPath}/pms/fixCode/queryWlkh.do?upcode=WLZJKHCX",
                success: function (msg) {
                   console.log(msg);
                    $("#shoujianshijian").numberbox('setValue',msg.obj.shoujianshijian);
                    $("#zijianpinlv").numberbox('setValue',msg.obj.zijianpinlv);
                    $("#zijianyuncha").numberbox('setValue',msg.obj.zijianyuncha);
                    $("#loujianfakuan").numberbox('setValue',msg.obj.loujianfakuan);
 
                }
            });
        }
 
 
        function save() {
            if($("#searchForm").form("validate")){
                $.messager.progress({  title: '提示',  msg: '数据正在处理中,请稍候……',  text: ''  });
 
                $.post("${pageContext.request.contextPath}/pms/fixCode/saveWlkh.do?upcode=WLZJKHCX", $("#searchForm").form("getData"), function (json) {
                    $.messager.progress('close');
                    if (json.success) {
                        $.messager.show('提示', json.msg, 'info');
 
                    } else {
                        $.messager.show('提示', json.msg, 'error');
                    }
                    initArgs()
 
                }, "JSON");
              //  var reportUrlNew = reportUrl+"SD_EQP&arg2="+time1+"&arg3="+time2+" 23:59:59"+"&len="+len+"&wgt="+wgt+"&dst="+dst+"&pdo="+pdo+"&ls="+ls+"&ovt="+ovt+"&shift="+shift+"&detail="+detail+"&mat="+mat;
 
            }
        }
 
 
 
 
    </script>
</head>
<body class="easyui-layout" data-options="fit : true,border : false">
<div id="toolbar"  data-options="region:'north',border:false" style="background:#F4F4F4;padding:3px 0 3px 5px;height:40px">
    <div class="topTool">
        <form id="searchForm">
            <fieldset>
                <div>
                    <span class="label">首烟后多长时间首检:</span>
                    <input type="text" id="shoujianshijian" name="shoujianshijian" class="easyui-numberbox "
                           data-options="width:60,min:0,precision:2"/>
                    <span>分钟</span>
                </div>
                <div>
                    <span class="label">自检间隔时间:</span>
                    <input type="text" id="zijianpinlv" name="zijianpinlv" class="easyui-numberbox "
                           data-options="width:60,min:0,precision:2"/>
                    <span>分钟</span>
                </div>
                <div>
                    <span class="label">允许延后时间:</span>
                    <input type="text" id="zijianyuncha" name="zijianyuncha" class="easyui-numberbox "
                           data-options="width:60,min:0,precision:2"/>
                    <span>分钟</span>
                </div>
                <div>
                    <span class="label">每漏检一次罚款:</span>
                    <input type="text" id="loujianfakuan" name="loujianfakuan" class="easyui-numberbox "
                           data-options="width:60,min:0,precision:2"/>
                    <span>元</span>
                </div>
                <div><a href="javascript:void(0)" class="easyui-linkbutton"
                        onclick="save()">保存</a></div>
            </fieldset>
 
 
        </form>
    </div>
  <%--  <div class="easyui-toolbar">
        <c:if test="${not empty sessionInfo.resourcesMap['/pms/workshop/getAllWorkShops.do/wk']}">
            <a onclick="query();" href="javascript:void(0);" class="easyui-linkbutton"
               data-options="plain:true,iconCls:'icon-standard-zoom'">查询</a>
 
            <a onclick="clearForm();" href="javascript:void(0);" class="easyui-linkbutton"
               data-options="plain:true,iconCls:'icon-standard-table-refresh'">重置</a>
        </c:if>
 
    </div>--%>
</div>
 
<div data-options="region:'center',border:false">
    <iframe id="showReport" scrolling="yes" frameborder="0" src="" style="width:100%;height:100%"></iframe>
</div>
 
</body>
</html>