|
|
@ -8,7 +8,7 @@ import MultiRangeInput from "./MultiRangeInput"; |
|
|
|
import grayLeftArrow from "./gray-arrow-left.svg"; |
|
|
|
import grayLeftArrow from "./gray-arrow-left.svg"; |
|
|
|
import { BreadCrumb } from "../BreadCrumb"; |
|
|
|
import { BreadCrumb } from "../BreadCrumb"; |
|
|
|
|
|
|
|
|
|
|
|
const ReactTable5 = ({ breadCrumbs, subTitle, title }) => { |
|
|
|
const ReactTable5 = ({ breadCrumbs, breadCrumb }) => { |
|
|
|
const [tabs, setTabs] = useState([ |
|
|
|
const [tabs, setTabs] = useState([ |
|
|
|
{ name: "جدول " + breadCrumbs[breadCrumbs.length - 1].name, id: 0 }, |
|
|
|
{ name: "جدول " + breadCrumbs[breadCrumbs.length - 1].name, id: 0 }, |
|
|
|
]); |
|
|
|
]); |
|
|
@ -35,7 +35,8 @@ const ReactTable5 = ({ breadCrumbs, subTitle, title }) => { |
|
|
|
<div className="my-10 w-11/12 mx-auto"> |
|
|
|
<div className="my-10 w-11/12 mx-auto"> |
|
|
|
{/* breadCrumb */} |
|
|
|
{/* breadCrumb */} |
|
|
|
<div className="flex flex-row items-center"> |
|
|
|
<div className="flex flex-row items-center"> |
|
|
|
{breadCrumbs.map((breadCrumb, index) => ( |
|
|
|
{breadCrumb && |
|
|
|
|
|
|
|
breadCrumbs.map((breadCrumb, index) => ( |
|
|
|
<div className="flex flex-row items-center" key={index}> |
|
|
|
<div className="flex flex-row items-center" key={index}> |
|
|
|
<span |
|
|
|
<span |
|
|
|
className={`cursor-pointer text-xs hover:text-blue-900 ${ |
|
|
|
className={`cursor-pointer text-xs hover:text-blue-900 ${ |
|
|
@ -57,7 +58,7 @@ const ReactTable5 = ({ breadCrumbs, subTitle, title }) => { |
|
|
|
))} |
|
|
|
))} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="my-7"> |
|
|
|
<div className="my-7"> |
|
|
|
<TitleSubtitle /> |
|
|
|
<TitleSubtitle titleShow={false} subTitleShow={false} /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<BasicTable |
|
|
|
<BasicTable |
|
|
|
addTab={addTab} |
|
|
|
addTab={addTab} |
|
|
@ -92,6 +93,5 @@ ReactTable5.defaultProps = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
|
|
|
|
title: "میزان فروش محصولات", |
|
|
|
breadCrumb: false, |
|
|
|
subTitle: "اطلاعات جداول مشخصاتی کارکنان مجموعه ایران تایر", |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|