+ {
+ showDialogItems ?
+ {[...Array(4)].map((_, i) => (
+
+ ))}
+
+ {[...Array(5)].map((_, i) => (
+
+ ))}
+
:
+
+
+
+
+
+
+
+ {
+ const { xAxisMap, width, height } = props;
+ const xAxes = Object.values(xAxisMap || {});
+ if (!xAxes.length) return null;
+
+ const xAxis: any = xAxes[0];
+ const ticks = xAxis?.ticks || [];
+ const tick = ticks.find((t: any) => {
+ return t && (t.value === "بلوغ" || (t.payload && t.payload.value === "بلوغ"));
+ });
+
+ const x = (tick && tick.coordinate) ?? width / 2 + 80
+
+ const rectWidth = 140;
+ const rectHeight = 28;
+ const rectX = x - rectWidth / 2;
+
+ const axisHeight = xAxis?.height ?? 40;
+ const rectY = (height - axisHeight) - 30;
+
+ return (
+
+
+
+ سطح بلوغ تکنولوژی
+
+
+ );
+ }}
+ />
+
+
+ }
+
+
+
-
-
-
- زمان شروع:
-
-
- {selectedProjectDetails?.start_date
- ? moment(
- selectedProjectDetails?.start_date,
- "YYYY-MM-DD"
- ).format("YYYY/MM/DD")
- : "-"}
-
-
-
-
-
- زمان پایان:
-
-
- {selectedProjectDetails?.done_date
- ? moment(
- selectedProjectDetails?.done_date,
- "YYYY-MM-DD"
- ).format("YYYY/MM/DD")
- : "-"}
-
-
-
-
-
-
- هزینه برآورد شده:
-
-
- {formatNumber(
- Number(
- selectedProjectDetails?.approved_budget.replaceAll(
- ",",
- ""
- )
- )
- ) || "-"}
-
-
-
-
-
- نفر مرتبط:
-
-
- {selectedProjectDetails?.observer || "-"}
-
-
-
- {/*
-
-
- حوزه کاری :
-
-
- {selectedProjectDetails?.observer || "-"}
-
- */}
-
- {/*
-
-
- صنعت :
-
-
- {selectedProjectDetails?.observer || "-"}
-
- */}