53
53
<el-option v-for =" item in postOptions" :key =" parseInt(item.id)" :label =" item.name" :value =" parseInt(item.id)" />
54
54
</el-select >
55
55
</el-form-item >
56
- <el-form-item v-if =" form.type === 30" label =" 指定用户" prop =" userIds" >
56
+ <el-form-item v-if =" form.type === 30 || form.type === 31 || form.type === 32 " label =" 指定用户" prop =" userIds" >
57
57
<el-select v-model =" form.userIds" multiple clearable style =" width : 100% " >
58
58
<el-option v-for =" item in userOptions" :key =" parseInt(item.id)" :label =" item.nickname" :value =" parseInt(item.id)" />
59
59
</el-select >
@@ -215,7 +215,7 @@ export default {
215
215
this .form .deptIds .push (... row .options );
216
216
} else if (row .type === 22 ) {
217
217
this .form .postIds .push (... row .options );
218
- } else if (row .type === 30 ) {
218
+ } else if (row .type === 30 || row . type === 31 || row . type === 32 ) {
219
219
this .form .userIds .push (... row .options );
220
220
} else if (row .type === 40 ) {
221
221
this .form .userGroupIds .push (... row .options );
@@ -240,7 +240,7 @@ export default {
240
240
form .options = form .deptIds ;
241
241
} else if (form .type === 22 ) {
242
242
form .options = form .postIds ;
243
- } else if (form .type === 30 ) {
243
+ } else if (form .type === 30 || form . type === 31 || form . type === 32 ) {
244
244
form .options = form .userIds ;
245
245
} else if (form .type === 40 ) {
246
246
form .options = form .userGroupIds ;
@@ -302,7 +302,7 @@ export default {
302
302
return postOption .name ;
303
303
}
304
304
}
305
- } else if (type === 30 ) {
305
+ } else if (type === 30 || type === 31 || type === 32 ) {
306
306
for (const userOption of this .userOptions ) {
307
307
if (userOption .id === option) {
308
308
return userOption .nickname ;
0 commit comments