|
|
|
@ -117,7 +117,7 @@
|
|
|
|
|
<tr><td colspan="12" style="text-align: center;height: 45vh;"><img src="__IMG__/20180207/icon_wushujv2.png"/><p style="line-height: 40px;color: #A5A5A5;">暂无数据</p></td></tr>
|
|
|
|
|
<else />
|
|
|
|
|
<volist name="data" id="s" mod="2">
|
|
|
|
|
<tr data-id="{$s.id}" class="<eq name='mod' value='1'>odd</eq>">
|
|
|
|
|
<tr data-id="{$s.user_id}" class="<eq name='mod' value='1'>odd</eq>">
|
|
|
|
|
<td>{$s.game_name}</td>
|
|
|
|
|
<td>{$s.server_name}</td>
|
|
|
|
|
<td>{$s.user_account}</td>
|
|
|
|
@ -129,13 +129,13 @@
|
|
|
|
|
</if>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<if condition="$s['freeze'] eq 0">冻结
|
|
|
|
|
<if condition="$s['check_status'] eq 0">冻结
|
|
|
|
|
<else/>启用
|
|
|
|
|
</if>
|
|
|
|
|
</td>
|
|
|
|
|
<td>{$s.create_time}</td>
|
|
|
|
|
<td>
|
|
|
|
|
<if condition="$s['freeze'] eq 1">
|
|
|
|
|
<if condition="$s['check_status'] eq 1">
|
|
|
|
|
<a href="javascript:;" class="froze-btn editbtn">冻结</a>
|
|
|
|
|
<else/>
|
|
|
|
|
<a href="javascript:;" class="unfroze-btn editbtn">启用</a>
|
|
|
|
@ -377,25 +377,6 @@
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
$('.unfroze-btn').on({
|
|
|
|
|
click: function() {
|
|
|
|
|
var id = $(this).parents('tr').eq(0).attr('data-id')
|
|
|
|
|
layer.confirm('是否确认启用帐号?', {icon: 3, title:'提示'}, function(index){
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "{:U('TestResource/unfreezeSupport')}",
|
|
|
|
|
data: {support_id: id},
|
|
|
|
|
type: 'post',
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
success: function(response) {
|
|
|
|
|
layer.msg(response.msg, {time: 1000}, function() {
|
|
|
|
|
window.location.href = window.location.href
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
$('.changePassward-btn').on({
|
|
|
|
|
click: function() {
|
|
|
|
|
var id = $(this).attr('data-id')
|
|
|
|
|