Commit a412f3a8 authored by liwei's avatar liwei

修改了项目管理的下拉框数据问题

parent 79223dae
......@@ -10,10 +10,10 @@ export function listUser(query) {
})
}
// 查询所有用户下拉框
// 查询事业部负责人和项目经理列表
export function listAllUser() {
return request({
url: '/system/user/getUserList',
url: '/system/user/getUserSelectList',
method: 'get'
})
}
......
......@@ -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.managerList.map(item => {
return {
value: item.userId,
label: item.nickName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment