修改账号删除和在线显示

This commit is contained in:
“wanyongkang”
2025-05-15 14:13:41 +08:00
parent 787b6debb3
commit a4aa7edd53
2 changed files with 9 additions and 10 deletions

View File

@@ -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 () {

View File

@@ -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() {