|
|
@@ -263,9 +263,6 @@
|
|
|
<select name="firstscore" id="firstscore">
|
|
|
</select>
|
|
|
</div>
|
|
|
- <div style="display: flex;">
|
|
|
- <li>最先进球时间:</li><input type="text" id="onescoretime" name="onescoretime" value="" autocomplete="off">分钟
|
|
|
- </div>
|
|
|
<div style="display: flex;">
|
|
|
<li> 进 球 方 式 :</li>
|
|
|
<select name="firststye" id="firststye">
|
|
|
@@ -276,6 +273,9 @@
|
|
|
<select name="lastscore" id="lastscore">
|
|
|
</select>
|
|
|
</div>
|
|
|
+ <div style="display: flex;">
|
|
|
+ <li>最先进球时间:</li><input type="text" id="onescoretime" name="onescoretime" value="" autocomplete="off">分钟
|
|
|
+ </div>
|
|
|
<div style="display: flex;">
|
|
|
<li> 获 胜 球 队 :</li><input type="text" id="matchwiner" name="matchwiner" value="">
|
|
|
</div>
|
|
|
@@ -316,7 +316,6 @@
|
|
|
$('body').on('click', 'a[eventtype="event-delete"]', function () {
|
|
|
var span = $(this).prev();
|
|
|
var id = span.attr('data-id');
|
|
|
- // openWin('/admin/system/AddMenu','{{ trans("menu.menu_edit")}}','600px','500px',id);
|
|
|
})
|
|
|
$('body').on('click','#form_sureblur~.layui-form-switch',function(){
|
|
|
var sus = $('#form_sureblur').next().text();
|
|
|
@@ -330,7 +329,7 @@
|
|
|
|
|
|
function addResult($match_id){
|
|
|
$(":input",$("#myModal")).each(function(i){ $(this).val('');});
|
|
|
- var match_id = $match_id;//alert(match_id);
|
|
|
+ var match_id = $match_id;
|
|
|
document.getElementById("matchid").value=$match_id;//赋值个弹窗
|
|
|
|
|
|
$.ajax({
|
|
|
@@ -339,7 +338,6 @@
|
|
|
url: '/admin/Sportsfoot/Matchresult',
|
|
|
data: {match_id:match_id},
|
|
|
success: function(data) {
|
|
|
- // alert(data);
|
|
|
document.getElementById("matchwiner").value=data.newapp.match_winer;
|
|
|
document.getElementById("homeallcard").value=data.penalty_card.home;
|
|
|
document.getElementById("guestallcard").value=data.penalty_card.guest;
|
|
|
@@ -431,8 +429,7 @@
|
|
|
var homehalfcorner = $("#homehalfcorner").val();
|
|
|
var guesthalfcorner = $("#guesthalfcorner").val();
|
|
|
var reg = /^[0-99]\d*$/;
|
|
|
- // alert(firstscore);
|
|
|
- // alert(firststye);
|
|
|
+
|
|
|
$.ajax({
|
|
|
type: 'POST',
|
|
|
dataType: 'json',
|
|
|
@@ -456,7 +453,6 @@
|
|
|
url: '/admin/Sportsfoot/addend',
|
|
|
data: {matchid:matchid,firstscore:firstscore,onescoretime:onescoretime,firststye:firststye,lastscore:lastscore,matchwiner:matchwiner,homeallcard:homeallcard,guestallcard:guestallcard,homehalfcard:homehalfcard,guesthalfcard:guesthalfcard,homeallcorner:homeallcorner,guestallcorner:guestallcorner,homehalfcorner:homehalfcorner,guesthalfcorner:guesthalfcorner},
|
|
|
success: function(data) {
|
|
|
-
|
|
|
layer.msg(data.msg);
|
|
|
location. reload()//刷新当前页面
|
|
|
|
|
|
@@ -464,10 +460,8 @@
|
|
|
})
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
}
|
|
|
|
|
|
-
|
|
|
//刷新赛事数据
|
|
|
function refreshall(game_code){
|
|
|
var game_code = game_code;
|
|
|
@@ -495,7 +489,6 @@
|
|
|
url: '/admin/Sportsfoot/revokeft',
|
|
|
data: {match_id:match_id},
|
|
|
success: function(data) {
|
|
|
- // alert(data);
|
|
|
if(data.status==1){
|
|
|
layer.msg(data.msg);
|
|
|
location. reload()//刷新当前页面
|
|
|
@@ -532,6 +525,7 @@
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
//上半场客队
|
|
|
function inputTunc(id,num,match_id){
|
|
|
var id = id;
|
|
|
@@ -558,6 +552,7 @@
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
//全场主队
|
|
|
function inputSunc(id,num,match_id){
|
|
|
var id = id;
|
|
|
@@ -580,6 +575,7 @@
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
//全场客队
|
|
|
function inputAunc(id,num,match_id){
|
|
|
var id = id;
|
|
|
@@ -613,7 +609,6 @@
|
|
|
url: '/admin/Sportsfoot/Settlement',
|
|
|
data: {match_id:match_id,type:type},
|
|
|
success: function(data) {
|
|
|
- // alert(data);
|
|
|
if(data.status==1){
|
|
|
layer.msg(data.msg);
|
|
|
location. reload()//刷新当前页面
|