File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
ui/src/views/system-resource-management Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 3434 clearable
3535 style =" width : 220px "
3636 >
37- <el-option v-for =" u in user_options" :key =" u.id" :value =" u.id" :label =" u.username " />
37+ <el-option v-for =" u in user_options" :key =" u.id" :value =" u.id" :label =" u.nick_name " />
3838 </el-select >
3939 </div >
4040 </div >
@@ -161,6 +161,7 @@ import { isAppIcon } from '@/utils/common'
161161import useStore from ' @/stores'
162162import { datetimeFormat } from ' @/utils/time'
163163import {loadPermissionApi } from " @/utils/dynamics-api/permission-api.ts" ;
164+ import UserApi from ' @/api/user/user.ts'
164165
165166const { user } = useStore ()
166167
@@ -215,6 +216,10 @@ function getList() {
215216onMounted (() => {
216217 getWorkspaceList ()
217218 getList ()
219+
220+ UserApi .getAllMemberList (' ' ).then ((res : any ) => {
221+ user_options .value = res .data
222+ })
218223})
219224 </script >
220225
Original file line number Diff line number Diff line change 3434 clearable
3535 style =" width : 220px "
3636 >
37- <el-option v-for =" u in user_options" :key =" u.id" :value =" u.id" :label =" u.username " />
37+ <el-option v-for =" u in user_options" :key =" u.id" :value =" u.id" :label =" u.nick_name " />
3838 </el-select >
3939 <el-select
4040 v-else-if =" search_type === 'model_type'"
@@ -174,6 +174,7 @@ import {t} from '@/locales'
174174import useStore from ' @/stores'
175175import {datetimeFormat } from ' @/utils/time'
176176import {loadPermissionApi } from " @/utils/dynamics-api/permission-api.ts" ;
177+ import UserApi from ' @/api/user/user.ts'
177178
178179const {user, model} = useStore ()
179180
@@ -263,6 +264,10 @@ function getProvider() {
263264onMounted (() => {
264265 getWorkspaceList ()
265266 getProvider ()
267+
268+ UserApi .getAllMemberList (' ' ).then ((res : any ) => {
269+ user_options .value = res .data
270+ })
266271})
267272 </script >
268273
You can’t perform that action at this time.
0 commit comments