@extends('vip.layouts') @section('content')
@push('dataTableJS') /*var active = { reload: function(){ //执行重载 table.reload('{{ $dataId }}', { page: { curr: 1 //重新从第 1 页开始 } ,where: { agent_user:$("#agent_user").val(), grade:$('#grade').val(), phone:$('#phone').val(), email:$('#email').val(), order_id:$('#form_order_id').val(), agent_name:$('#from_agent_name').val(), start_time:$('#start_time').val(), end_time:$('#end_time').val(), sureblur:$('.layui-form-switch').text(), } }); } }; $('.lay-btn-diy').on('click', function(){ var type = $(this).data('type'); active[type] ? active[type].call(this) : ''; });*/ //重置表单 $('.reset').on('click',function(){ $('input').val(''); $('#grade').val(''); $('#type').val(''); $('#status').val(''); // var type = $(this).data('type'); /// active[type] ? active[type].call(this) : ''; }); //刷新表单 // $('.set').on('click',function(){ // var type = $(this).data('type'); // active[type] ? active[type].call(this) : ''; // }); @endpush @include('vip.datatable') @endsection