|
|
@ -47,7 +47,7 @@ async function basicDataAllProject (ctx) { |
|
|
|
}) |
|
|
|
|
|
|
|
let pepProjectIds = new Set() |
|
|
|
for (let p of proRes.rows) { |
|
|
|
for (let p of proRes) { |
|
|
|
if (p.pepProjectId) { |
|
|
|
pepProjectIds.add(p.pepProjectId) |
|
|
|
} |
|
|
@ -66,7 +66,7 @@ async function basicDataAllProject (ctx) { |
|
|
|
).toPromise() || [] : |
|
|
|
[] |
|
|
|
|
|
|
|
const list = proRes.map(p => { |
|
|
|
const list = proRes.map(p => { |
|
|
|
const corPro = pepProjectRes.find(pp => pp.id == p.pepProjectId) || {} |
|
|
|
return { |
|
|
|
value: p.id, |
|
|
|