先锋踢线
This commit is contained in:
@@ -233,7 +233,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="online" v-cloak v-if="showOnline">
|
||||
<img src="~/img/close.png" class="btnOnlineClose" v-on:click="closeOnline()" />
|
||||
<img src="~/img/close.png" class="btnOnlineClose" v-on:click="closeOnline()" />
|
||||
<p style="color: #FF6666;font-size:20px;" id="online_status"></p>
|
||||
<div class="tab-content" style="margin-top:40px;">
|
||||
<table class="table table-striped table_person">
|
||||
<tr>
|
||||
@@ -911,15 +912,17 @@
|
||||
this.onLineData = [];
|
||||
},
|
||||
killout: function (item) {
|
||||
$("#online_status").text("正在踢线......");
|
||||
var that = this;
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: '/api/course/v1/productaccount/KillOut?productId=' + item.ProductId + '&id=' + item.Id,
|
||||
success: function (res) {
|
||||
alert("操作成功");
|
||||
this.onLineData = [];
|
||||
if (res.Code == 10000) {
|
||||
that.online(item.ProductId, item.Account)
|
||||
$("#online_status").text("断开成功!");
|
||||
that.online(item.ProductId, item.Account);
|
||||
} else {
|
||||
$("#online_status").text("断开失败!");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user