perf: 优化特权账号创建,都特殊的api

This commit is contained in:
ibuler
2021-07-14 16:25:10 +08:00
committed by 老广
parent d1c3c63efc
commit e7ae4bfbd3
3 changed files with 6 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ export default {
data() {
const fields = getFields.bind(this)()
return {
url: '/api/v1/assets/system-users/',
url: '/api/v1/assets/admin-users/',
initial: {
},
fields: [

View File

@@ -47,7 +47,10 @@ export default {
this.$router.push({
name: routeName,
params: { id: id },
query: { protocol: vm.systemUser.protocol }
query: {
protocol: vm.systemUser.protocol,
type: vm.systemUser.type
}
})
}
}

View File

@@ -17,7 +17,7 @@ export default {
data() {
return {
tableConfig: {
url: '/api/v1/assets/system-users/?type=admin',
url: '/api/v1/assets/admin-users/',
columns: [
'name', 'username', 'assets_amount',
'created_by', 'date_created', 'date_updated', 'comment', 'org_name', 'actions'