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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
| export const column = [
| {
| label: '账号',
| prop: 'id',
| search:true,
| sortable:true,
| rules: [
| {
| required: true,
| message: '请输入账号',
| trigger: 'blur'
| }
| ]
| },
| {
| label: '姓名',
| prop: 'name',
| search:true,
| sortable:true,
| overHidden: 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,
| width: 80,
| },
| {
| label: '密码策略',
| prop: 'pkPasswordStrategyName',
| sortable:true,
| display:false,
| width: 100
| },
| {
| label: '锁定状态',
| prop: 'lockFlag',
| sortable:true,
| display:false,
| width: 100,
| },
| {
| label: '所属部门',
| prop: 'pkDepartment',
| align:'center',
| type:'tree',
| dicData: [],
| props: {
| label: 'name',
| value: 'oid'
| },
| search:true,
| sortable:true,
| overHidden: true,
| width:200,
| },
| {
| 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,
| span:24
| },
| {
| label: '描述',
| type:'textarea',
| prop: 'description',
| sortable:true,
| overHidden: true,
| span:24
| },
| {
| label: '部门领导',
| prop: 'isDeptLeader',
| sortable:true,
| display:false,
| width: 95,
| formatter:function (row, value){
| if(value=='不是'){
| return "否"
| }
| return value
| }
| },
| {
| label: '所属密级',
| prop: 'secretGradeText',
| width: 100,
| sortable:true,
| type: 'select',
| dicUrl: 'api/webEnumController/getEnum?comboxKey=usersecurityenum',
| props: {
| label: 'value',
| value: 'key',
| res: "obj",
| },
| },
| ];
|
|