| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <link href="../css/WorkOrder/Search.css" rel="stylesheet">
- <script src="../css/laydate/laydate.js"></script>
- <link href="../css/init.css" rel="stylesheet" />
- <title>红包奖励</title>
- <style>
- .content-box {
- padding-top: 20px;
- padding: 10px;
- text-align: center;
- }
-
- .content-box div {
- margin-bottom: 10px;
- margin-top: 20px;
- }
-
- .content-box input {
- height: 34px;
- width: 170px;
- border: 1px solid #ebebeb;
- padding: 6px 12px;
- }
- </style>
- </head>
- <body>
- <div class="content-box">
- <div>
- <label for="">奖励时间:</label>
- <input type="text" class='phone laydate-icon' id="STime" />
- </div>
- <div>
- <label for="">奖励金额:</label>
- <input type="text" id="amount" />
- </div>
- <div>
- <button class="btns">提交</button>
- </div>
- </div>
- <script>
- $(document).ready(function() {
- laydate.skin('molv');
- //留言时间
- laydate({
- elem: '#STime',
- event: 'focus',
- festival: true, //显示节日
- });
- })
- //提交
- var ID;
- if(ID) {
- $(".btns").click(function() {
- $.ajax({
- type: "post",
- url: huayi.config.callcenter_url + "/Login/login",
- dataType: 'json',
- async: true,
- data: {
- woid: ID, //工单ID
- amount: $("#amount").val(), //奖励金额
- retime: $('#STime').val() //奖励时间
- },
- success: function(data) {
- /*验证请求*/
- if(data.state == "success") {
- }
- }
- });
- })
- }
- </script>
- </body>
- </html>
|