123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <style>
- th label { display: inline-block;width: 60px; }
- .lineLi {
- min-width: 150px;
- font-size: 12px;
- color:#000;
- }
- #prompt ul .noLineLi {
- background:none;
- }
- #prompt div {
- display:inline-block;
- background:none
- }
- #prompt ul .lineLi {
- color:#000;
- }
- th {
- width: 10px;
- }
- .txt2 {
- position: relative;
- }
- .btn-search {
- position: absolute;
- left: 332px;
- margin-top: 3px;
- }
-
- </style>
- <?php defined('InShopNC') or exit('Access Invalid!'); ?>
- <div class="page">
- <div class="fixed-bar">
- <div class="item-title">
- <h3>队列查询</h3>
- <ul class="tab-base">
- <li><a href="JavaScript:void(0);" class="current"><span>管理</span></a></li>
- </ul>
- </div>
- </div>
- <div class="fixed-empty"></div>
- <form method="get" action="index.php" name="formSearch" id="formSearch">
- <input type="hidden" name="act" value="refill_cron"/>
- <input type="hidden" name="op" value="index"/>
- <table class="tb-type1 noborder search" style="min-width:1400px">
- <tbody>
- <tr>
- <th><label>搜索内容</label></th>
- <td><input class="txt2" type="text" name="search" value="<?php echo $_GET['search']; ?>"/></td>
- <a href="javascript:void(0);" id="ncsubmit" class="btn-search"
- title="<?php echo $lang['nc_query']; ?>">
- </a>
- </tr>
- </tbody>
- </table>
- </form>
- <table class="table tb-type2 nobdb" style="min-width:1400px">
- <thead>
- <tr class="thead">
- <th class="align-center">出队时间</th>
- <th class="align-center">队列名称</th>
- <th class="align-center">执行方法</th>
- <th class="align-center">机构编码</th>
- <th class="align-center">机构名称</th>
- <th class="align-center">商家单号</th>
- <th class="align-center">充值卡号</th>
- <th class="align-center">面值</th>
- <th class="align-center">操作</th>
- </thead>
- <tbody id="tbody">
- <?php if (count($output['cron']) > 0) { ?>
- <?php
- foreach ($output['cron'] as $key => $cron) { ?>
- <tr class="hover trFlex">
- <td class="align-center"><?php echo date('Y-m-d H:i:s', $cron['exetime']); ?></td>
- <td class="align-center"><?php echo array_key_first($cron['params']); ?></td>
- <?php foreach ($cron['params'] as $param){ ?>
- <td class="align-center"><?php echo $param['method'];?></td>
- <td class="align-center"><?php echo $param['params']['mchid']; ?></td>
- <td class="align-center"><?php echo $cron['company_name']; ?></td>
- <td class="align-center"><?php echo $param['params']['mch_order']; ?></td>
- <td class="align-center"><?php echo $param['params']['card_no']; ?></td>
- <td class="align-center"><?php echo $param['params']['amount']; ?></td>
- <?php }?>
- <td class="align-center">
- <a href="index.php?act=refill_cron&op=del&id=<?php echo $cron['id'] ?>">删除</a>
- </td>
- </tr>
- <?php } ?>
- <?php } else { ?>
- <tr class="no_data">
- <td colspan="8"><?php echo $lang['nc_no_record']; ?></td>
- </tr>
- <?php } ?>
- </tbody>
- <tfoot>
- <tr class="tfoot">
- <td colspan="8" id="dataFuncs">
- <div class="pagination"> <?php echo $output['show_page']; ?> </div>
- </td>
- </tr>
- </tfoot>
- </table>
- </div>
- <script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/laydate/laydate.js"></script>
- <script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/jquery-ui/jquery.ui.js"></script>
- <script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/js/jquery-ui/i18n/zh-CN.js"
- charset="utf-8"></script>
- <link rel="stylesheet" type="text/css"
- href="<?php echo RESOURCE_SITE_URL; ?>/js/jquery-ui/themes/ui-lightness/jquery.ui.css"/>
- <script type="text/javascript" src="<?php echo ADMIN_TEMPLATES_URL;?>/js/xm-select.js"></script>
- <script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/refill/layer.js"></script>
- <script type="text/javascript">
- $(function () {
- $('#ncsubmit').click(function () {
-
- $('#formSearch').submit();
- });
- // 表格hover时背景
- $('.trFlex').each(function () {
- $(this).hover(function () {
- $(this)[0].style.backgroundColor = '#cbe9f3'
- },function() {
- $(this)[0].style.backgroundColor = '#fff'
- })
- })
- })
- </script>
|