dev-tmp1
tangjie 2026-08-14 16:49:47 +08:00
parent 892d154b03
commit b35985d52e
2 changed files with 6 additions and 2 deletions

View File

@ -22,6 +22,7 @@ import useIndustryOptions from "~/hooks/useIndustryOptions";
import BaiduMapPicker from "~/components/BaiduMapPicker"; import BaiduMapPicker from "~/components/BaiduMapPicker";
import { district } from "~/enumerate/constant"; import { district } from "~/enumerate/constant";
import { phoneRule } from "~/utils/validators"; import { phoneRule } from "~/utils/validators";
import { renderCapabilityList } from "~/utils";
import StaffPickerModal from "./StaffPickerModal"; import StaffPickerModal from "./StaffPickerModal";
import { import {
@ -106,7 +107,9 @@ const EvalProjectCreate = (props) => {
name: item.userName, name: item.userName,
deptName: item.deptName, deptName: item.deptName,
posName: item.postName, posName: item.postName,
capacity: item.abilityNames, capacity: item.capabilityAssessment
? renderCapabilityList(item.capabilityAssessment)
: item.capacity,
})), })),
}; };
if (isView) { if (isView) {

View File

@ -493,6 +493,7 @@ const RiskAnalysisContent = ({ readOnly, ...props }) => {
<Modal <Modal
title="选择参与人员" title="选择参与人员"
width={650}
open={participantModalOpen} open={participantModalOpen}
onCancel={() => setParticipantModalOpen(false)} onCancel={() => setParticipantModalOpen(false)}
onOk={() => { onOk={() => {
@ -533,7 +534,7 @@ const RiskAnalysisContent = ({ readOnly, ...props }) => {
{ title: "姓名", dataIndex: "name", width: 100 }, { title: "姓名", dataIndex: "name", width: 100 },
{ title: "部门", dataIndex: "deptName", width: 120 }, { title: "部门", dataIndex: "deptName", width: 120 },
{ title: "岗位", dataIndex: "posName", width: 120 }, { title: "岗位", dataIndex: "posName", width: 120 },
{ title: "能力", dataIndex: "capacity", width: 120 }, { title: "能力", dataIndex: "capacity", width: 200 },
]} ]}
pagination={false} pagination={false}
size="small" size="small"