1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
| export const column = [
| {
| label: '账号',
| prop: 'id',
| search:true,
| sortable:true,
| rules: [
| {
| required: true,
| message: '请输入姓名',
| trigger: 'blur'
| }
| ]
| },
| {
| label: '姓名',
| prop: 'name',
| search:true,
| sortable:true,
| rules: [
| {
| required: true,
| message: '请输入姓名',
| trigger: 'blur'
| }
| ]
| },
| {
| label: '密码',
| prop: 'password',
| hide:true,
| type:'password',
| change: (val)=>{
| const confirmPasswordColumn = column.find(item => item.prop === 'confirmPassword');
| confirmPasswordColumn.disabled = val.value === "";
| },
| rules: [
| {
| required: true,
| message: '请输入密码',
| trigger: 'blur'
| }
| ]
| },
| {
| label: '确认密码',
| prop: 'confirmPassword',
| hide:true,
| type:'password',
| disabled:true,
| rules: [
| {
| required: true,
| message: '请再次确认密码',
| trigger: 'blur'
| }
| ]
| },
| {
| label: '状态',
| prop: 'status',
| display:false,
| sortable:true,
| },
| {
| label: '密码策略',
| prop: 'pkPasswordStrategyName',
| sortable:true,
| display:false,
| },
| {
| label: '锁定状态',
| prop: 'lockFlag',
| sortable:true,
| display:false,
| },
| {
| label: '所属部门',
| prop: 'pkDepartmentName',
| align:'center',
| search:true,
| sortable:true,
| },
| {
| label: '专业',
| prop: 'specialties',
| sortable:true,
| },
| {
| label: '角色',
| prop: 'pkPersonName',
| type:'select',
| dicUrl: 'api/roleQueryController/refDataGrid',
| props: {
| label: 'name',
| value: 'oid'
| },
| search:true,
| overHidden: true,
| sortable:true,
| display:false,
| },
| {
| label: '电子邮件',
| prop: 'email',
| sortable:true,
| overHidden: true,
| row:true
| },
| {
| label: '描述',
| type:'textarea',
| prop: 'description',
| sortable:true,
| overHidden: true,
| },
| {
| label: '部门领导',
| prop: 'isDeptLeader',
| sortable:true,
| display:false,
| },
| {
| label: '所属密级',
| prop: 'secretGradeText',
| sortable:true,
| display:false,
| },
| ];
|
|