|
@@ -69,7 +69,7 @@
|
|
|
<tr>
|
|
|
<th><label class="lefto">近期时间(小时内)</label></th>
|
|
|
<td class="layui-form">
|
|
|
- <select name="time" class="querySelect" lay-verify="" lay-search>
|
|
|
+ <select name="time" class="querySelect" id="time_id" lay-verify="" lay-search lay-filter="time_id">
|
|
|
<option value=""><?php echo $lang['nc_please_choose']; ?></option>
|
|
|
<?php for ($i = 1; $i<=12; $i++) { ?>
|
|
|
<option value="<?php echo $i; ?>" <?php if ($_GET['time'] == $i){ ?>selected<?php } ?>><?php echo $i;?>小时
|
|
@@ -79,7 +79,7 @@
|
|
|
</td>
|
|
|
<th>回调时间</th>
|
|
|
<td>
|
|
|
- <select name="notify_time" class="querySelect">
|
|
|
+ <select name="notify_time" class="querySelect" id="arrangeClass">
|
|
|
<option value=""><?php echo $lang['nc_please_choose']; ?></option>
|
|
|
<option value="1"
|
|
|
<?php if ($_GET['notify_time'] == '1'){ ?>selected<?php } ?>>1秒</option>
|
|
@@ -111,6 +111,9 @@
|
|
|
<a href="#" class="btns" onclick="hCopyCardNo(event)">
|
|
|
<span><i class="icon-edit"></i>拷贝充值卡号</span>
|
|
|
</a>
|
|
|
+ <a href="#" id="btn_time" class="btns">
|
|
|
+ <span><i class="icon-edit"></i>批量回调</span>
|
|
|
+ </a>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</table>
|
|
@@ -227,6 +230,36 @@
|
|
|
elem: '#endTime',
|
|
|
type: 'datetime'
|
|
|
});
|
|
|
+
|
|
|
+ //批量回调
|
|
|
+ $('#btn_time').click(() => {
|
|
|
+ let time1 = $("#time_id option:selected").val()
|
|
|
+ let time2 = $("#arrangeClass option:selected").val()
|
|
|
+ console.log(time1, time2);
|
|
|
+ window.location.href =`index.php?act=OrderSendList&op=notifyerr_all_notify&time= ${time1 ? time1 : ''} ¬ify_time= ${time2 ? time2 : ''}`
|
|
|
+
|
|
|
+ })
|
|
|
+ layui.use(['form'], function(){
|
|
|
+ var form = layui.form;
|
|
|
+ form.on('select(time_id)', function (data) {
|
|
|
+ const time3 = data.value;
|
|
|
+ console.log(time3);
|
|
|
+ form.render('select')
|
|
|
+
|
|
|
+ $("select[name='notify_time']").blur(function(){
|
|
|
+ const time4 = $(this).val()
|
|
|
+ console.log(time4)
|
|
|
+ $('#btn_time').click(() =>{
|
|
|
+ console.log(time3, time4);
|
|
|
+ window.location.href = `index.php?act=OrderSendList&op=notifyerr_all_notify&time= ${time3} ¬ify_time= ${time4}`
|
|
|
+
|
|
|
+
|
|
|
+ })
|
|
|
+ });
|
|
|
+ })
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
let isWring = '<?php echo $output['count'][1];?>';
|
|
|
// console.log('isWring', Number(isWring));
|
|
|
let setTimer
|