fix(ViewProjectReviewUserModal): 修正证书信息显示字段映射

- 交换了操作项目和作业类别的字段映射关系
- 确保 assignmentOperatingItemsName 映射到操作项目
- 确保 assignmentCategoryName 映射到作业类别

fix(ProjectFilingApplication): 添加资质类型选择验证

- 在获取资质类型列表后验证当前选中值是否有效
- 如果当前资质类型ID不存在于列表中则清空表单字段
- 防止无效资质类型导致的数据不一致问题
master
LiuJiaNan 2026-03-02 15:54:30 +08:00
parent aba9bd5a8f
commit 9c849f8d5b
2 changed files with 5 additions and 2 deletions

View File

@ -207,8 +207,8 @@ const ViewInfoModalComponent = (props) => {
items={[
{ label: "证书名称", children: info.certificateName },
{ label: "证书编号", children: info.certificateCode },
{ label: "操作项目", children: info.assignmentCategoryName },
{ label: "作业类别", children: info.assignmentOperatingItemsName },
{ label: "操作项目", children: info.assignmentOperatingItemsName },
{ label: "作业类别", children: info.assignmentCategoryName },
{ label: "发证机构", children: info.issuingAuthority },
{ label: "发证日期", children: info.dateIssue },
{ label: "复审日期", children: info.reviewDate },

View File

@ -174,6 +174,9 @@ const StepOneComponent = (props) => {
const getQualificationsTypeList = async () => {
const { data } = await props["qualificationsTypeList"]();
setQualificationsTypeList(data);
if (!data.find(item => item.qualificationsTypeId === props.formValues.qualificationsTypeId)) {
form.setFieldValue("qualificationsTypeId", "");
}
};
// 获取项目执行属地公司名称列表数据
const getDeptList = async (id) => {