add: search-panel
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
3335cb8a01
commit
76515bdd3f
|
@ -4,7 +4,6 @@ import Section from 'salix/components/section';
|
|||
export default class Controller extends Section {
|
||||
preview(role) {
|
||||
this.selectedRole = role;
|
||||
console.log(this.selectedRole);
|
||||
this.$.summary.show();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,3 +5,4 @@ import './card';
|
|||
import './descriptor';
|
||||
import './create';
|
||||
import './basic-data';
|
||||
import './search-panel';
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Search itemType by id, name or code: Buscar familia por id, nombre o código
|
|
@ -0,0 +1,21 @@
|
|||
<div class="search-panel">
|
||||
<form ng-submit="$ctrl.onSearch()">
|
||||
<vn-horizontal>
|
||||
<vn-textfield
|
||||
vn-one
|
||||
label="Name"
|
||||
ng-model="filter.name">
|
||||
</vn-textfield>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal>
|
||||
<vn-textfield
|
||||
vn-one
|
||||
label="Code"
|
||||
ng-model="filter.code">
|
||||
</vn-textfield>
|
||||
</vn-horizontal>
|
||||
<vn-horizontal class="vn-mt-lg">
|
||||
<vn-submit label="Search"></vn-submit>
|
||||
</vn-horizontal>
|
||||
</form>
|
||||
</div>
|
|
@ -0,0 +1,7 @@
|
|||
import ngModule from '../../module';
|
||||
import SearchPanel from 'core/components/searchbar/search-panel';
|
||||
|
||||
ngModule.component('vnItemTypeSearchPanel', {
|
||||
template: require('./index.html'),
|
||||
controller: SearchPanel
|
||||
});
|
Loading…
Reference in New Issue