feat
parent
6d991e7675
commit
7d7c624d16
|
|
@ -10,10 +10,10 @@ module.exports = {
|
|||
javaGitBranch: "dev",
|
||||
// 本地联调 safetyEval-service(context-path: /safetyEval,默认端口 8095)
|
||||
// 可通过环境变量覆盖: SAFETY_EVAL_API_HOST=http://192.168.x.x:8095
|
||||
API_HOST: "https://gbs-gateway.qhdsafety.com",
|
||||
//API_HOST: "https://gbs-gateway.qhdsafety.com",
|
||||
|
||||
//API_HOST: "http://192.168.0.152",
|
||||
//API_HOST: "http://192.168.0.150", //太浅
|
||||
API_HOST: "http://192.168.0.150", //太浅
|
||||
// API_HOST: "http://192.168.0.152",
|
||||
//API_HOST: "http://192.168.0.103", //huwei
|
||||
},
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ const ControlContent = (props) => {
|
|||
message.success(
|
||||
resultCode === "passed" ? "已提交通过审核" : "已提交退回修改",
|
||||
);
|
||||
fetchDetail();
|
||||
fetchDetail();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -141,6 +141,7 @@ const ControlContent = (props) => {
|
|||
if (res?.success !== false) {
|
||||
message.success("项目已归档入库");
|
||||
fetchDetail();
|
||||
props.getDetail?.();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ const InternalReviewContent = (props) => {
|
|||
resultCode === "passed" ? "已提交" : "已保存",
|
||||
);
|
||||
fetchDetail();
|
||||
props.getDetail?.();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -114,6 +114,7 @@ const TechnicalReviewContent = (props) => {
|
|||
resultCode === "1" ? "已确认技审并提交过程控制" : "已保存",
|
||||
);
|
||||
fetchDetail();
|
||||
props.getDetail?.();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -158,13 +158,13 @@ const ProjectFlow = (props) => {
|
|||
break;
|
||||
|
||||
case "internal":
|
||||
children = <InternalReviewContent />;
|
||||
children = <InternalReviewContent getDetail={getDetail} />;
|
||||
break;
|
||||
case "technical":
|
||||
children = <TechnicalReviewContent />;
|
||||
children = <TechnicalReviewContent getDetail={getDetail} />;
|
||||
break;
|
||||
case "control":
|
||||
children = <ControlContent />;
|
||||
children = <ControlContent getDetail={getDetail} />;
|
||||
break;
|
||||
default:
|
||||
children = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue