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() { data() {
const fields = getFields.bind(this)() const fields = getFields.bind(this)()
return { return {
url: '/api/v1/assets/system-users/', url: '/api/v1/assets/admin-users/',
initial: { initial: {
}, },
fields: [ fields: [

View File

@@ -47,7 +47,10 @@ export default {
this.$router.push({ this.$router.push({
name: routeName, name: routeName,
params: { id: id }, 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() { data() {
return { return {
tableConfig: { tableConfig: {
url: '/api/v1/assets/system-users/?type=admin', url: '/api/v1/assets/admin-users/',
columns: [ columns: [
'name', 'username', 'assets_amount', 'name', 'username', 'assets_amount',
'created_by', 'date_created', 'date_updated', 'comment', 'org_name', 'actions' 'created_by', 'date_created', 'date_updated', 'comment', 'org_name', 'actions'