根因:getList() 中 filteredOptions 只取 allImplementDepartmentList 的前100项, 当保存的项目ID不在前100项中时,el-select 找不到匹配选项,直接回显ID值而非名称。 修复:在映射记录时,将后端返回的 activityDefinitionId_dictText(项目名称)补充到 filteredOptions 中,确保 el-select 能正确匹配并显示项目名称。
The file is empty.
根因:getList() 中 filteredOptions 只取 allImplementDepartmentList 的前100项, 当保存的项目ID不在前100项中时,el-select 找不到匹配选项,直接回显ID值而非名称。 修复:在映射记录时,将后端返回的 activityDefinitionId_dictText(项目名称)补充到 filteredOptions 中,确保 el-select 能正确匹配并显示项目名称。