Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
netvs-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scc-net
netvs
netvs-core
Commits
04ac28e5
You need to sign in or sign up before continuing.
Commit
04ac28e5
authored
4 years ago
by
Janis Streib
Browse files
Options
Downloads
Patches
Plain Diff
ADD: macauth cient edit
parent
a7146070
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/views/macauth/MACAuth.vue
+8
-4
8 additions, 4 deletions
frontend/src/views/macauth/MACAuth.vue
with
8 additions
and
4 deletions
frontend/src/views/macauth/MACAuth.vue
+
8
−
4
View file @
04ac28e5
...
...
@@ -74,7 +74,7 @@
<b-button-group
class=
"fullwidth"
>
<b-button
variant=
"outline-primary"
:id=
"'button-edit-client-' + bcd.name + '-' + data.index"
@
click=
"editClient"
>
@
click=
"editClient
(data.item)
"
>
<font-awesome-icon
:icon=
"['far', 'edit']"
/>
</b-button>
<b-tooltip
:target=
"'button-edit-client-' + bcd.name + '-' + data.index"
...
...
@@ -190,13 +190,17 @@ export default {
return
new
Date
(
Date
.
parse
(
value
)).
toLocaleString
(
'
de-DE
'
)
},
createClient
(
bcd
)
{
this
.
db_editor_function
=
'
create
'
this
.
db_editor_
object_
function
=
'
create
'
this
.
db_editor_old_data
=
{}
this
.
db_editor_presets
=
{
'
bcd_name
'
:
bcd
.
name
}
this
.
$root
.
$emit
(
'
bv::show::modal
'
,
'
dbeditor_macauth
'
)
},
editClient
()
{
alert
(
'
TODO: DBEditor edit client
'
)
editClient
(
item
)
{
this
.
db_editor_object_function
=
'
update
'
this
.
db_editor_old_data
=
item
this
.
db_editor_presets
=
item
this
.
db_editor_object_title
=
item
.
mac_addr
+
'
in BCD
'
+
item
.
bcd_name
this
.
$root
.
$emit
(
'
bv::show::modal
'
,
'
dbeditor_macauth
'
)
},
deleteClient
(
item
)
{
let
ta
=
transactionutil
.
generateDeleteElement
(
'
macauth.client
'
,
MACAuthService
.
deleteParamsList
(),
item
,
item
.
mac_addr
+
'
in BCD
'
+
item
.
bcd_name
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment