修改账号删除和在线显示
This commit is contained in:
@@ -163,6 +163,7 @@
|
||||
<el-table-column prop="LoginTime" label="登录时间"></el-table-column>
|
||||
<el-table-column prop="OnlineTime" label="在线时间"></el-table-column>
|
||||
<el-table-column prop="ServerIP" label="服务器Ip"></el-table-column>
|
||||
<el-table-column prop="LoginIP" label="登录Ip"></el-table-column>
|
||||
<el-table-column prop="UpStream" label="上行" ></el-table-column>
|
||||
<el-table-column prop="DownStream" label="下行"></el-table-column>
|
||||
<el-table-column label="操作" width="140px">
|
||||
@@ -386,11 +387,10 @@ export default {
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(_ => {
|
||||
this.$api
|
||||
.post('course/v1/productaccount/Delete?id=' + item.Id)
|
||||
.then(res => {
|
||||
that.get()
|
||||
})
|
||||
this.$api.post(this.$api.phpURL + 'manager/account/delete', {'id':item.Id}).then(res => {
|
||||
this.$message.success('删除成功')
|
||||
that.get()
|
||||
})
|
||||
})
|
||||
},
|
||||
dels () {
|
||||
|
||||
@@ -218,11 +218,10 @@ export default {
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
}).then(_ => {
|
||||
this.$api
|
||||
.post("course/v1/productaccount/Delete?id=" + item.Id)
|
||||
.then(res => {
|
||||
that.get();
|
||||
});
|
||||
this.$api.post(this.$api.phpURL + 'manager/account/delete', {'id':item.Id}).then(res => {
|
||||
this.$message.success('删除成功')
|
||||
that.get()
|
||||
})
|
||||
});
|
||||
},
|
||||
goAdd() {
|
||||
|
||||
Reference in New Issue
Block a user