File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed
ui/src/views/system-resource-management Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 3232 v-model =" search_form.create_user"
3333 @change =" getList"
3434 clearable
35+ filterable
3536 style =" width : 220px "
3637 >
37- <el-option v-for =" u in user_options" :key =" u.id" :value =" u.id" :label =" u.username " />
38+ <el-option v-for =" u in user_options" :key =" u.id" :value =" u.id" :label =" u.nick_name " />
3839 </el-select >
3940 </div >
4041 </div >
@@ -237,6 +238,7 @@ import useStore from '@/stores'
237238import {datetimeFormat } from ' @/utils/time'
238239import {loadPermissionApi } from " @/utils/dynamics-api/permission-api.ts" ;
239240import {isWorkFlow } from " @/utils/application.ts" ;
241+ import UserApi from " @/api/user/user.ts" ;
240242
241243const {user} = useStore ()
242244
@@ -317,6 +319,10 @@ function getList() {
317319onMounted (() => {
318320 getWorkspaceList ()
319321 getList ()
322+
323+ UserApi .getAllMemberList (' ' ).then ((res : any ) => {
324+ user_options .value = res .data
325+ })
320326})
321327 </script >
322328
Original file line number Diff line number Diff line change 3131 v-else-if =" search_type === 'create_user'"
3232 v-model =" search_form.create_user"
3333 @change =" getList"
34+ filterable
3435 clearable
3536 style =" width : 220px "
3637 >
Original file line number Diff line number Diff line change 3131 v-else-if =" search_type === 'create_user'"
3232 v-model =" model_search_form.create_user"
3333 @change =" getList"
34+ filterable
3435 clearable
3536 style =" width : 220px "
3637 >
Original file line number Diff line number Diff line change 3131 v-else-if =" search_type === 'create_user'"
3232 v-model =" search_form.create_user"
3333 @change =" getList"
34+ filterable
3435 clearable
3536 style =" width : 220px "
3637 >
You can’t perform that action at this time.
0 commit comments