Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
psa-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高滢
psa-web
Commits
a412f3a8
Commit
a412f3a8
authored
Apr 16, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了项目管理的下拉框数据问题
parent
79223dae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
user.js
src/api/system/user.js
+2
-2
index.vue
src/views/project/index.vue
+2
-2
No files found.
src/api/system/user.js
View file @
a412f3a8
...
...
@@ -10,10 +10,10 @@ export function listUser(query) {
})
}
// 查询
所有用户下拉框
// 查询
事业部负责人和项目经理列表
export
function
listAllUser
()
{
return
request
({
url
:
'/system/user/getUserList'
,
url
:
'/system/user/getUser
Select
List'
,
method
:
'get'
})
}
...
...
src/views/project/index.vue
View file @
a412f3a8
...
...
@@ -338,13 +338,13 @@ function getList() {
// 获取用户列表
const
getUserList
=
()
=>
{
listAllUser
().
then
(
response
=>
{
headOptions
.
value
=
response
.
data
.
map
(
item
=>
{
headOptions
.
value
=
response
.
data
.
headerList
.
map
(
item
=>
{
return
{
value
:
item
.
userId
,
label
:
item
.
nickName
}
}
)
managerOptions
.
value
=
response
.
data
.
map
(
item
=>
{
managerOptions
.
value
=
response
.
data
.
ma
nagerList
.
ma
p
(
item
=>
{
return
{
value
:
item
.
userId
,
label
:
item
.
nickName
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment