|
@@ -170,18 +170,9 @@ const getOptions = () => {
|
|
|
tableData.value[0].history = res.regionCoordinatorInfo.historicalList;
|
|
|
tableData.value[1].history = res.projectManagerInfo.historicalList;
|
|
|
tableData.value[2].history = res.engineerInfo.historicalList;
|
|
|
- options1.value = [
|
|
|
- ...(res.regionCoordinatorInfo.allocatedList || []),
|
|
|
- ...(res.regionCoordinatorInfo.canChooseList || []),
|
|
|
- ];
|
|
|
- options2.value = [
|
|
|
- ...(res.projectManagerInfo.allocatedList || []),
|
|
|
- ...(res.projectManagerInfo.canChooseList || []),
|
|
|
- ];
|
|
|
- options3.value = [
|
|
|
- ...(res.engineerInfo.allocatedList || []),
|
|
|
- ...(res.engineerInfo.canChooseList || []),
|
|
|
- ];
|
|
|
+ options1.value = [...(res.regionCoordinatorInfo.canChooseList || [])];
|
|
|
+ options2.value = [...(res.projectManagerInfo.canChooseList || [])];
|
|
|
+ options3.value = [...(res.engineerInfo.canChooseList || [])];
|
|
|
formData.allocationParams[0].userIdList = (
|
|
|
res.regionCoordinatorInfo.allocatedList || []
|
|
|
).map((item) => item.userId);
|