|
@@ -142,7 +142,7 @@ const userList = computed(()=>{
|
|
|
if(searchParams.value.city === 'all'){ //所有城市
|
|
if(searchParams.value.city === 'all'){ //所有城市
|
|
|
// 所有组下的人员
|
|
// 所有组下的人员
|
|
|
if(searchParams.value.group == 'all'){
|
|
if(searchParams.value.group == 'all'){
|
|
|
- let userOption = (cityList.value.slice(1).map(city=>{
|
|
|
|
|
|
|
+ let userOption = (cityList.value.map(city=>{
|
|
|
return Object.values(city.userList)
|
|
return Object.values(city.userList)
|
|
|
}).flat(Infinity).map(item=>{
|
|
}).flat(Infinity).map(item=>{
|
|
|
return {
|
|
return {
|
|
@@ -158,7 +158,7 @@ const userList = computed(()=>{
|
|
|
})
|
|
})
|
|
|
}else{
|
|
}else{
|
|
|
// 指定组下的人员,
|
|
// 指定组下的人员,
|
|
|
- let userOption = (cityList.value.slice(1).map(city=>{
|
|
|
|
|
|
|
+ let userOption = (cityList.value.map(city=>{
|
|
|
return city.userList[searchParams.value.group]
|
|
return city.userList[searchParams.value.group]
|
|
|
}).flat(Infinity).map(item=>{
|
|
}).flat(Infinity).map(item=>{
|
|
|
return {
|
|
return {
|