研发需求85
parent
4640dcd68a
commit
c1fb29b46f
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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}`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
发起检查
|
发起检查
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue