更改目录结构
parent
a80a2bb2f3
commit
d8050e3b56
|
|
@ -61,7 +61,7 @@ function List(props) {
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.history.push(`../../viewInfo?id=${record.id}&inspectionId=${record.inspectionId}&isExport=0`);
|
props.history.push(`../../inspectionView?id=${record.id}&inspectionId=${record.inspectionId}&isExport=0`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ function List(props) {
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.history.push(`../../viewInfo?id=${record.id}&inspectionId=${record.inspectionId}&isExport=0`);
|
props.history.push(`../../inspectionView?id=${record.id}&inspectionId=${record.inspectionId}&isExport=0`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ function List(props) {
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.history.push(`../../viewInfo?id=${record.id}&inspectionId=${record.inspectionId}&isExport=0`);
|
props.history.push(`../../inspectionView?id=${record.id}&inspectionId=${record.inspectionId}&isExport=0`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ function List(props) {
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.history.push(`../../viewInfo?id=${record.id}&inspectionId=${record.inspectionId}&isExport=0`);
|
props.history.push(`../../inspectionView?id=${record.id}&inspectionId=${record.inspectionId}&isExport=0`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
|
|
|
||||||
|
|
@ -187,7 +187,7 @@ function List(props) {
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.history.push(`../../viewInfo?id=${record.id}&inspectionId=${record.inspectionId}`);
|
props.history.push(`../../inspectionView?id=${record.id}&inspectionId=${record.inspectionId}`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ function List(props) {
|
||||||
<Button
|
<Button
|
||||||
type="link"
|
type="link"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
props.history.push(`../../viewInfo?id=${record.id}&inspectionId=${record.inspectionId}&isExport=0`);
|
props.history.push(`../../inspectionView?id=${record.id}&inspectionId=${record.inspectionId}&isExport=0`);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
查看
|
查看
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import { NS_INSPECTION } from "~/enumerate/namespace";
|
||||||
import { getFlowData } from "~/utils/flow";
|
import { getFlowData } from "~/utils/flow";
|
||||||
import "./index.less";
|
import "./index.less";
|
||||||
|
|
||||||
function View(props) {
|
function InspectionView(props) {
|
||||||
const query = useGetUrlQuery();
|
const query = useGetUrlQuery();
|
||||||
const { loading: getFileLoading, getFile } = useGetFile();
|
const { loading: getFileLoading, getFile } = useGetFile();
|
||||||
const { getUserInfo } = useGetUserInfo();
|
const { getUserInfo } = useGetUserInfo();
|
||||||
|
|
@ -322,4 +322,4 @@ function FlowModalComponent(props) {
|
||||||
|
|
||||||
const FlowModal = Connect([NS_INSPECTION], true)(FlowModalComponent);
|
const FlowModal = Connect([NS_INSPECTION], true)(FlowModalComponent);
|
||||||
|
|
||||||
export default Connect([NS_INSPECTION], true)(View);
|
export default Connect([NS_INSPECTION], true)(InspectionView);
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
import InspectionViewA from "../../BranchCompany/InspectionView";
|
||||||
|
|
||||||
|
function InspectionView() {
|
||||||
|
return <InspectionViewA />;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default InspectionView;
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
import ViewInfoA from "../../BranchCompany/ViewInfo";
|
|
||||||
|
|
||||||
function ViewInfo() {
|
|
||||||
return <ViewInfoA />;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default ViewInfo;
|
|
||||||
Loading…
Reference in New Issue