研发需求85
parent
4640dcd68a
commit
c1fb29b46f
|
|
@ -32,7 +32,7 @@
|
|||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-to-print": "^3.2.0",
|
||||
"zy-react-library": "^1.1.36"
|
||||
"zy-react-library": "^1.1.42"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^5.4.1",
|
||||
|
|
|
|||
|
|
@ -95,11 +95,11 @@ function List(props) {
|
|||
&& (currentTime.isBefore(planEndTime, "day") || currentTime.isSame(planEndTime, "day"));
|
||||
return (
|
||||
<Space>
|
||||
{(props.permission(props.addPermissionKey || "inspection-qy-plan-execute-add") && isInProgress) && (
|
||||
{props.permission(props.addPermissionKey || "inspection-qy-plan-execute-add") && (
|
||||
<Button
|
||||
type="link"
|
||||
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}`);
|
||||
}}
|
||||
>
|
||||
发起检查
|
||||
|
|
|
|||
Loading…
Reference in New Issue