提交 010275b6 作者: 18928357778

改-修改跳转逻辑

上级 f789f2be
...@@ -157,7 +157,7 @@ export default function WaterfallFlowBody() { ...@@ -157,7 +157,7 @@ export default function WaterfallFlowBody() {
const resValuelist1 = res1 const resValuelist1 = res1
.map((item, index) => { .map((item, index) => {
return item.result?.map((it) => { return item.result?.map((it) => {
it.type = jobApiTypeList[index]; it.type = eqApiTypeList[index];
return it; return it;
}); });
}) })
...@@ -173,7 +173,7 @@ export default function WaterfallFlowBody() { ...@@ -173,7 +173,7 @@ export default function WaterfallFlowBody() {
const resValuelist3 = res3 const resValuelist3 = res3
.map((item, index) => { .map((item, index) => {
return item.result?.map((it) => { return item.result?.map((it) => {
it.type = jobApiTypeList[index]; it.type = mallApiTypeList[index];
return it; return it;
}); });
}) })
...@@ -181,7 +181,7 @@ export default function WaterfallFlowBody() { ...@@ -181,7 +181,7 @@ export default function WaterfallFlowBody() {
const resValuelist5 = res5 const resValuelist5 = res5
.map((item, index) => { .map((item, index) => {
return item.result?.map((it) => { return item.result?.map((it) => {
it.type = jobApiTypeList[index]; it.type = flightApiTypeList[index];
return it; return it;
}); });
}) })
...@@ -244,25 +244,6 @@ export default function WaterfallFlowBody() { ...@@ -244,25 +244,6 @@ export default function WaterfallFlowBody() {
index: number, index: number,
resultList: Array<Array<AllType>> resultList: Array<Array<AllType>>
) => { ) => {
function onClick(item: string) {
switch (item) {
case "无人机出租":
router.push("/equipmentLeasing");
break;
case "无人机服务":
router.push("/jobServices");
break;
case "无人机销售":
router.push("/mall");
break;
case "无人机培训":
router.push("/flyingHandService");
break;
}
}
return ( return (
<div key={item.title} className="item"> <div key={item.title} className="item">
<div className="item-title"> <div className="item-title">
...@@ -369,15 +350,15 @@ export default function WaterfallFlowBody() { ...@@ -369,15 +350,15 @@ export default function WaterfallFlowBody() {
boxIndex={2} boxIndex={2}
leftRenderDom={{ leftRenderDom={{
columns: [ columns: [
// { noFor: true, element: <RotationChart /> }, { noFor: true, element: <RotationChart /> },
// ...leftDomList ...leftDomList,
], ],
}} }}
rightRenderDom={{ rightRenderDom={{
columns: [ columns: [
{ element: <Map /> }, { element: <Map /> },
// { element: rightTopDomList as JSX.Element}, { element: rightTopDomList as JSX.Element },
// { element: rightBottomDomList as JSX.Element}, { element: rightBottomDomList as JSX.Element },
], ],
}} }}
/> />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论