Rework SystemController methods and paths, no functional changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<form class="row g-0 needs-validation" method="post" action="{{ url('ftn/system/addaddress',$o->id) }}" novalidate>
|
||||
<form class="row g-0 needs-validation" method="post" action="{{ url('system/address/add',$o->id) }}" novalidate>
|
||||
<input type="hidden" id="action" name="action" value="">
|
||||
@csrf
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
<a href="{{ url('ftn/system') }}" class="btn btn-danger">Cancel</a>
|
||||
<a href="{{ url('system') }}" class="btn btn-danger">Cancel</a>
|
||||
</div>
|
||||
|
||||
<span class="col-6 mt-auto mx-auto text-center align-bottom">
|
||||
@@ -216,8 +216,7 @@
|
||||
id = $(this).attr('data-id');
|
||||
event.stopPropagation();
|
||||
|
||||
modify = $.get('{{ url('address/get') }}'+'/'+id,function(data) {
|
||||
console.log(data.security);
|
||||
modify = $.get('{{ url('system/api/address/get') }}'+'/'+id,function(data) {
|
||||
$('#zone_id').val(data.zone_id).change();
|
||||
$('#node_id').val(data.node_id).change();
|
||||
$('#point_id').val(data.point_id).change();
|
||||
|
Reference in New Issue
Block a user