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 {
13
13
export class PagedRequestDto {
14
14
skipCount : number ;
15
15
maxResultCount : number ;
16
- keyword : string ;
17
16
}
18
17
19
18
export abstract class PagedListingComponentBase < EntityDto > extends AppComponentBase implements OnInit {
Original file line number Diff line number Diff line change 5
5
<Form ref =" queryForm" :label-width =" 90" label-position =" left" inline >
6
6
<Row :gutter =" 16" >
7
7
<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 >
20
10
</FormItem >
21
11
</Col >
22
12
</Row >
45
35
import EditRole from ' ./edit-role.vue'
46
36
47
37
class PageRoleRequest extends PageRequest {
48
- roleName: string = ' ' ;
49
- displayName: string = ' ' ;
50
- description: string = ' ' ;
38
+ keyword: string = ' ' ;
51
39
}
52
40
53
41
@Component ({
Original file line number Diff line number Diff line change 5
5
<Form ref =" queryForm" :label-width =" 100" label-position =" left" inline >
6
6
<Row :gutter =" 16" >
7
7
<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 >
10
10
</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 >
17
12
<Col span =" 8" >
18
13
<FormItem :label =" L('IsActive')+':'" style =" width :100% " >
19
14
<!-- Select should not set :value="'All'" it may not trigger on-change when first select 'NoActive'(or 'Actived') then select 'All'-->
50
45
import EditTenant from ' ./edit-tenant.vue'
51
46
52
47
class PageTenantRequest extends PageRequest {
53
- tenancyName: string = ' '
54
- name: string = ' '
55
- isActive: boolean = null
48
+ keyword: string = ' ' ;
49
+ isActive: boolean = null ;
56
50
}
57
51
58
52
@Component ({
Original file line number Diff line number Diff line change 5
5
<Form ref =" queryForm" :label-width =" 80" label-position =" left" inline >
6
6
<Row :gutter =" 16" >
7
7
<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 >
15
10
</FormItem >
16
11
</Col >
17
12
<Col span =" 6" >
54
49
import CreateUser from ' ./create-user.vue'
55
50
import EditUser from ' ./edit-user.vue'
56
51
class PageUserRequest extends PageRequest {
57
- userName: string ;
58
- name: string ;
52
+ keyword: string ;
59
53
isActive: boolean = null ;// nullable
60
54
from: Date ;
61
55
to: Date ;
You can’t perform that action at this time.
0 commit comments