研发需求85

master
LiuJiaNan 2026-02-04 08:41:48 +08:00
parent 4640dcd68a
commit c1fb29b46f
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-to-print": "^3.2.0", "react-to-print": "^3.2.0",
"zy-react-library": "^1.1.36" "zy-react-library": "^1.1.42"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^5.4.1", "@antfu/eslint-config": "^5.4.1",

View File

@ -95,11 +95,11 @@ function List(props) {
&& (currentTime.isBefore(planEndTime, "day") || currentTime.isSame(planEndTime, "day")); && (currentTime.isBefore(planEndTime, "day") || currentTime.isSame(planEndTime, "day"));
return ( return (
<Space> <Space>
{(props.permission(props.addPermissionKey || "inspection-qy-plan-execute-add") && isInProgress) && ( {props.permission(props.addPermissionKey || "inspection-qy-plan-execute-add") && (
<Button <Button
type="link" type="link"
onClick={() => { onClick={() => {
props.history.push(`./inspection/list?planId=${record.id}&type=${record.planType}&typeName=${record.planTypeName}`); props.history.push(`./inspection/list?planId=${record.id}&type=${record.planType}&typeName=${record.planTypeName}&edit=${+isInProgress}`);
}} }}
> >
发起检查 发起检查