5334-editDepartment #1521

Merged
carlossa merged 84 commits from 5334-editDepartment into dev 2023-07-06 07:09:06 +00:00
3 changed files with 30 additions and 1 deletions
Showing only changes of commit 2778858705 - Show all commits

View File

@ -5,4 +5,4 @@ import './card';
import './descriptor'; import './descriptor';
import './basic-data'; import './basic-data';
// import './create'; // 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
});