|
@@ -0,0 +1,116 @@
|
|
|
|
|
+@extends('vip.layouts')
|
|
|
|
|
+@section('seo_title')
|
|
|
|
|
+ 球队管理
|
|
|
|
|
+@endsection
|
|
|
|
|
+@section('content')
|
|
|
|
|
+
|
|
|
|
|
+ <script type="text/html" id="status">
|
|
|
|
|
+ @if(checkRriv('/admin/Teammanage/index'))<input type="checkbox" name="status" id="uid" value="@{{d.id}}" lay-skin="switch" lay-text="进行中|已结束" lay-filter="openStatus" @{{ d.status == '1' ? 'checked' : '' }}>@endif
|
|
|
|
|
+ </script>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="layui-row">
|
|
|
|
|
+ <div class="layui-col-xs12">
|
|
|
|
|
+ <form class="layui-form rewrite" eventType="eventForm" action="">
|
|
|
|
|
+ <div class="layui-form-item">
|
|
|
|
|
+ <div class="layui-inline">
|
|
|
|
|
+ <label class="layui-form-label">{{ trans('Teammanage.sousuo') }}</label>
|
|
|
|
|
+ <div class="layui-input-inline">
|
|
|
|
|
+ <input type="text" name="team_name" id="team_name" eventType="event-query" value="{{ $team_name }}" lay-verify="required" autocomplete="off" placeholder="球队名字" class="layui-input">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="layui-input-inline checkbox">
|
|
|
|
|
+ <input type="checkbox" name="sureblur" id="form_sureblur" lay-skin="switch" lay-text="精确|模糊" @if(!isset($sureblurs) || $sureblurs=='on') checked @endif class="layui-input" eventType=event-query>
|
|
|
|
|
+ <input type="hidden" name="sureblurs" id="form_sureblurs" lay-verify="required" autocomplete="off" class="layui-input" eventType=event-query value="{{ $sureblurs }}">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="layui-inline">
|
|
|
|
|
+ <label class="layui-form-label">{{ trans('Teammanage.status') }}</label>
|
|
|
|
|
+ <div class="layui-input-inline" style="width: 200px">
|
|
|
|
|
+ <select name="status" id="status" lay-verify="" autocomplete="off" class="layui-input" eventType=event-query>
|
|
|
|
|
+ <option value="-1">{{ trans('Teammanage.select_status') }}</option>
|
|
|
|
|
+ @foreach(trans('status.league_status.status') as $k=>$v):
|
|
|
|
|
+ @if($status==$k))
|
|
|
|
|
+ <option value="{{$k}}" selected="selected">{{$v}}</option>
|
|
|
|
|
+ @else
|
|
|
|
|
+ <option value="{{$k}}">{{$v}}</option>
|
|
|
|
|
+ @endif
|
|
|
|
|
+ @endforeach
|
|
|
|
|
+ </select>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="layui-inline">
|
|
|
|
|
+ <a class="layui-btn layui-btn-sm lay-btn-diy" data-type="reload" eventType="event-query-submit" style="opacity: 1; pointer-events: auto;">提交</a>
|
|
|
|
|
+ <a class="layui-btn layui-btn-sm layui-btn-normal reset" data-type="reload" style="opacity: 1; pointer-events: auto;">重置</a>
|
|
|
|
|
+ <!-- <a class="layui-btn layui-btn-xs" data-type="reload" style="opacity: 1; pointer-events: auto;"><i class="layui-icon" onclick="refreshall('zq')">刷新赛事</i></a> -->
|
|
|
|
|
+ <!-- @if(checkRriv('/admin/sportsfoot/addoutcome'))<a href="/admin/sportsfoot/addoutcome" class="layui-btn layui-btn-sm ">添加</a>@endif -->
|
|
|
|
|
+ @if(checkRriv('/admin/sportsfoot/deleteoutcome'))<a href="javascript:delWin('/admin/sportsfoot/deleteoutcome?id=');" class="layui-btn layui-btn-sm layui-btn-danger">删除</a>@endif
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </form>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <script type="text/javascript">
|
|
|
|
|
+ $(function () {
|
|
|
|
|
+ $('body').on('click', 'a[eventtype="event-delete"]', function () {
|
|
|
|
|
+ var span = $(this).prev();
|
|
|
|
|
+ var id = span.attr('data-id');
|
|
|
|
|
+ })
|
|
|
|
|
+ $('body').on('click','#form_sureblur~.layui-form-switch',function(){
|
|
|
|
|
+ var sus = $('#form_sureblur').next().text();
|
|
|
|
|
+ if(sus=='精确'){
|
|
|
|
|
+ $('#form_sureblurs').val('on');
|
|
|
|
|
+ }else{
|
|
|
|
|
+ $('#form_sureblurs').val('off');
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ })
|
|
|
|
|
+
|
|
|
|
|
+ </script>
|
|
|
|
|
+@push('dataTableJS')
|
|
|
|
|
+/*var active = {
|
|
|
|
|
+ reload: function(){
|
|
|
|
|
+ //执行重载
|
|
|
|
|
+ table.reload('{{ $dataId }}', {
|
|
|
|
|
+ page: {
|
|
|
|
|
+ curr: 1 //重新从第 1 页开始
|
|
|
|
|
+ }
|
|
|
|
|
+ ,where: {
|
|
|
|
|
+ account:$("#form_account").val(),
|
|
|
|
|
+ register_ip:$('#form_register_ip').val(),
|
|
|
|
|
+ last_ip:$('#form_last_ip').val(),
|
|
|
|
|
+ register_url:$('#form_register_url').val(),
|
|
|
|
|
+ last_url:$('#form_last_url').val(),
|
|
|
|
|
+ regist_startime:$('#form_regist_startime').val(),
|
|
|
|
|
+ regist_endtime:$('#form_regist_endtime').val(),
|
|
|
|
|
+ statuss:$('#form_statuss').val(),
|
|
|
|
|
+ cash_small:$('#form_cash_small').val(),
|
|
|
|
|
+ cash_big:$('#form_cash_big').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('');
|
|
|
|
|
+ $('#form_statuss').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
|
|
|
|
|
+
|