refs #5334 search-panel
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-05-30 10:27:49 +02:00
parent 107d8d1edd
commit 2778858705
3 changed files with 30 additions and 1 deletions

View File

@ -5,4 +5,4 @@ import './card';
import './descriptor';
import './basic-data';
// import './create';
// import './search-panel';
import './search-panel';

View File

@ -0,0 +1,22 @@
<div class="search-panel">
<form ng-submit="$ctrl.onSearch()">
<vn-horizontal>
<vn-textfield
vn-one
label="Name"
ng-model="filter.name"
vn-focus>
</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>

View File

@ -0,0 +1,7 @@
import ngModule from '../../module';
import SearchPanel from 'core/components/searchbar/search-panel';
ngModule.component('vnWorkerDepartmentSearchPanel', {
template: require('./index.html'),
controller: SearchPanel
});