update field doctors, cities, states and specialties

This commit is contained in:
ehsan
2025-09-25 17:06:57 +03:30
parent 74c6cf7b6b
commit 0db121150d
15 changed files with 336 additions and 200 deletions
+10 -2
View File
@@ -1,11 +1,19 @@
import { numberToArStyle } from "@/helper";
import { LinearProgress } from "@mui/material";
function ProgressDetail({ data }) {
const label = [
"برخورد مناسب پزشک",
"تشخیص درست",
"زمان انتظار در مطب",
"مهارت پزشک",
"نظافت مطب",
];
function ProgressDetail({ data, idx }) {
return (
<li className="flex items-center justify-start gap-2 w-full">
<p className="text-[#525252] text-[14px] font-normal min-w-[120px] w-[118px]">
{data.label}
{label[idx]}
</p>
<LinearProgress
value={data}
@@ -21,7 +21,7 @@ function ButtonFilter({ selected, setOpen }) {
className="text-[#616161] text-[11px] md:text-[14px] leading-[17px] sm:leading-[19px]
md:leading-[22px] lg:leading-[24px] font-medium ml-1 md:mx-1"
>
{selected.city || "شهر"}
{(selected.city !== "نوبت 724" ? selected.city : false) || "شهر"}
</p>
<div className="w-[16px] h-[16px] md:w-[18px] md:h-[18px] lg:w-[20px] lg:h-[20px] grid place-items-center">
<ArrowBottomH />