|
@@ -121,7 +121,6 @@
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/html" id="status">
|
|
<script type="text/html" id="status">
|
|
|
- @{{#if(d.start_time < d.newstime){ }}
|
|
|
|
|
<button onclick="addResult(@{{d.match_id}})" class="layui-btn layui-btn-sm layui-btn-green set">赛事结果</button>
|
|
<button onclick="addResult(@{{d.match_id}})" class="layui-btn layui-btn-sm layui-btn-green set">赛事结果</button>
|
|
|
@{{#if(d.status==2 || d.status==3){ }}
|
|
@{{#if(d.status==2 || d.status==3){ }}
|
|
|
@{{#if(d.status==2){ }}
|
|
@{{#if(d.status==2){ }}
|
|
@@ -137,9 +136,6 @@
|
|
|
@{{#if(d.status==4){ }}
|
|
@{{#if(d.status==4){ }}
|
|
|
<span><li class="layui-btn layui-btn-sm layui-btn-danger" onclick="revokeft(@{{d.match_id}})">已作废</li></span>
|
|
<span><li class="layui-btn layui-btn-sm layui-btn-danger" onclick="revokeft(@{{d.match_id}})">已作废</li></span>
|
|
|
@{{#} }}
|
|
@{{#} }}
|
|
|
- @{{#}else{ }}
|
|
|
|
|
- <span>比赛未开始</span>
|
|
|
|
|
- @{{#} }}
|
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/html" id="statusmatch">
|
|
<script type="text/html" id="statusmatch">
|
|
@@ -161,14 +157,10 @@
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/html" id="sxalfcourt">
|
|
<script type="text/html" id="sxalfcourt">
|
|
|
- @{{#if(d.start_time < d.newstime){ }}
|
|
|
|
|
<input type="text" style="width:30px;heigth:20px" id="u_home_score@{{d.id}}" name="u_home_score" value="@{{d.u_home_score}}" onchange="inputFunc(@{{d.id}}, event.target.value,@{{d.match_id}})">
|
|
<input type="text" style="width:30px;heigth:20px" id="u_home_score@{{d.id}}" name="u_home_score" value="@{{d.u_home_score}}" onchange="inputFunc(@{{d.id}}, event.target.value,@{{d.match_id}})">
|
|
|
<input type="text" style="width:30px;heigth:20px" id="u_guest_score@{{d.id}}" name="u_guest_score" value="@{{d.u_guest_score}}" onchange="inputTunc(@{{d.id}}, event.target.value,@{{d.match_id}})"> /
|
|
<input type="text" style="width:30px;heigth:20px" id="u_guest_score@{{d.id}}" name="u_guest_score" value="@{{d.u_guest_score}}" onchange="inputTunc(@{{d.id}}, event.target.value,@{{d.match_id}})"> /
|
|
|
<input type="text" style="width:30px;heigth:20px" id="home_score@{{d.id}}" name="home_score" value="@{{d.home_score}}" onchange="inputSunc(@{{d.id}}, event.target.value,@{{d.match_id}})">
|
|
<input type="text" style="width:30px;heigth:20px" id="home_score@{{d.id}}" name="home_score" value="@{{d.home_score}}" onchange="inputSunc(@{{d.id}}, event.target.value,@{{d.match_id}})">
|
|
|
<input type="text" style="width:30px;heigth:20px" id="guest_score@{{d.id}}" name="guest_score" value="@{{d.guest_score}}" onchange="inputAunc(@{{d.id}}, event.target.value,@{{d.match_id}})">
|
|
<input type="text" style="width:30px;heigth:20px" id="guest_score@{{d.id}}" name="guest_score" value="@{{d.guest_score}}" onchange="inputAunc(@{{d.id}}, event.target.value,@{{d.match_id}})">
|
|
|
- @{{#}else{ }}
|
|
|
|
|
- <span>比赛未开始</span>
|
|
|
|
|
- @{{#} }}
|
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -609,10 +601,11 @@
|
|
|
var type = type;
|
|
var type = type;
|
|
|
$.ajax({
|
|
$.ajax({
|
|
|
type: 'POST',
|
|
type: 'POST',
|
|
|
- dataType: 'json',
|
|
|
|
|
|
|
+ dataType: 'text',
|
|
|
url: '/admin/Sportsfoot/Settlement',
|
|
url: '/admin/Sportsfoot/Settlement',
|
|
|
data: {match_id:match_id,type:type},
|
|
data: {match_id:match_id,type:type},
|
|
|
success: function(data) {
|
|
success: function(data) {
|
|
|
|
|
+ alert(data);
|
|
|
if(data.status==1){
|
|
if(data.status==1){
|
|
|
layer.msg(data.msg);
|
|
layer.msg(data.msg);
|
|
|
location. reload()//刷新当前页面
|
|
location. reload()//刷新当前页面
|