modificaciones estilos
This commit is contained in:
parent
8f372a7331
commit
ec5c70ed94
|
@ -5,7 +5,7 @@ export const NAME = 'vnClientAddressesDataCreate';
|
|||
export const COMPONENT = {
|
||||
template: template,
|
||||
controllerAs: 'addressData',
|
||||
controller: function($http)
|
||||
controller: function($http, $state)
|
||||
{
|
||||
this.address = {};
|
||||
$http.get('/client/api/Agencies').then(
|
||||
|
@ -16,10 +16,12 @@ export const COMPONENT = {
|
|||
);
|
||||
|
||||
this.submit = function(){
|
||||
$http.post('/client/api/Addresses', this.address);
|
||||
}
|
||||
}
|
||||
$http.post('/client/api/Addresses', this.address).then(
|
||||
json => $state.go('clientCard.addresses')
|
||||
);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
COMPONENT.controller.$inject = ['$http'];
|
||||
COMPONENT.controller.$inject = ['$http', '$state'];
|
||||
module.component(NAME, COMPONENT);
|
||||
|
|
|
@ -7,7 +7,8 @@ vn-item-client a {
|
|||
color: inherit;
|
||||
}
|
||||
vn-item-client a:hover {
|
||||
background-color: rgba(0, 0, 0, .1);
|
||||
color: white;
|
||||
background-color: #424242;
|
||||
}
|
||||
|
||||
.vn-item-client-name{
|
||||
|
|
Loading…
Reference in New Issue