File tree Expand file tree Collapse file tree 4 files changed +11
-36
lines changed Expand file tree Collapse file tree 4 files changed +11
-36
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ export class EntityDto {
1313export class PagedRequestDto {
1414 skipCount : number ;
1515 maxResultCount : number ;
16- keyword : string ;
1716}
1817
1918export abstract class PagedListingComponentBase < EntityDto > extends AppComponentBase implements OnInit {
Original file line number Diff line number Diff line change 55 <Form ref =" queryForm" :label-width =" 90" label-position =" left" inline >
66 <Row :gutter =" 16" >
77 <Col span =" 8" >
8- <FormItem :label =" L('RoleName')+':'" style =" width :100% " >
9- <Input v-model =" pagerequest.roleName" ></Input >
10- </FormItem >
11- </Col >
12- <Col span =" 8" >
13- <FormItem :label =" L('DisplayName')+':'" style =" width :100% " >
14- <Input v-model =" pagerequest.displayName" ></Input >
15- </FormItem >
16- </Col >
17- <Col span =" 8" >
18- <FormItem :label =" L('Description')+':'" style =" width :100% " >
19- <Input v-model =" pagerequest.description" ></Input >
8+ <FormItem :label =" L('Keyword')+':'" style =" width :100% " >
9+ <Input v-model =" pagerequest.keyword" :placeholder =" L('RoleName')+'/'+L('DisplayName')+'/'+L('Description')" ></Input >
2010 </FormItem >
2111 </Col >
2212 </Row >
4535 import EditRole from ' ./edit-role.vue'
4636
4737 class PageRoleRequest extends PageRequest {
48- roleName: string = ' ' ;
49- displayName: string = ' ' ;
50- description: string = ' ' ;
38+ keyword: string = ' ' ;
5139 }
5240
5341 @Component ({
Original file line number Diff line number Diff line change 55 <Form ref =" queryForm" :label-width =" 100" label-position =" left" inline >
66 <Row :gutter =" 16" >
77 <Col span =" 8" >
8- <FormItem :label =" L('TenancyName ')+':'" style =" width :100% " >
9- <Input v-model =" pagerequest.tenancyName " ></Input >
8+ <FormItem :label =" L('Keyword ')+':'" style =" width :100% " >
9+ <Input v-model =" pagerequest.keyword " :placeholder = " L('TenancyName')+'/'+L('Name') " ></Input >
1010 </FormItem >
11- </Col >
12- <Col span =" 8" >
13- <FormItem :label =" L('Name')+':'" style =" width :100% " >
14- <Input v-model =" pagerequest.name" ></Input >
15- </FormItem >
16- </Col >
11+ </Col >
1712 <Col span =" 8" >
1813 <FormItem :label =" L('IsActive')+':'" style =" width :100% " >
1914 <!-- Select should not set :value="'All'" it may not trigger on-change when first select 'NoActive'(or 'Actived') then select 'All'-->
5045 import EditTenant from ' ./edit-tenant.vue'
5146
5247 class PageTenantRequest extends PageRequest {
53- tenancyName: string = ' '
54- name: string = ' '
55- isActive: boolean = null
48+ keyword: string = ' ' ;
49+ isActive: boolean = null ;
5650 }
5751
5852 @Component ({
Original file line number Diff line number Diff line change 55 <Form ref =" queryForm" :label-width =" 80" label-position =" left" inline >
66 <Row :gutter =" 16" >
77 <Col span =" 6" >
8- <FormItem :label =" L('UserName')+':'" style =" width :100% " >
9- <Input v-model =" pagerequest.userName" ></Input >
10- </FormItem >
11- </Col >
12- <Col span =" 6" >
13- <FormItem :label =" L('Name')+':'" style =" width :100% " >
14- <Input v-model =" pagerequest.name" ></Input >
8+ <FormItem :label =" L('Keyword')+':'" style =" width :100% " >
9+ <Input v-model =" pagerequest.keyword" :placeholder =" L('UserName')+'/'+L('Name')" ></Input >
1510 </FormItem >
1611 </Col >
1712 <Col span =" 6" >
5449 import CreateUser from ' ./create-user.vue'
5550 import EditUser from ' ./edit-user.vue'
5651 class PageUserRequest extends PageRequest {
57- userName: string ;
58- name: string ;
52+ keyword: string ;
5953 isActive: boolean = null ;// nullable
6054 from: Date ;
6155 to: Date ;
You can’t perform that action at this time.
0 commit comments