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