change style

This commit is contained in:
AmirHossein Mahmoodi
2025-03-05 10:24:12 +03:30
parent c9410da5ef
commit 9abfd54b50
7 changed files with 27 additions and 27 deletions

View File

@@ -129,8 +129,8 @@ const OperatorList = () => {
props.dependencyFieldValue?.value === ""
? "empty"
: loadingEdaratList
? "loading"
: props.filterParameters.value
? "loading"
: props.filterParameters.value
}
columnSelectOption={getColumnSelectOptions}
/>
@@ -256,7 +256,7 @@ const OperatorList = () => {
}
return (
<Typography textAlign={"center"} variant="body2">
بدون تصویر
-
</Typography>
);
},

View File

@@ -115,8 +115,8 @@ const ComplaintListTable = ({ open, setOpen, mutate }) => {
props.dependencyFieldValue?.value === ""
? "empty"
: loadingEdaratList
? "loading"
: props.filterParameters.value
? "loading"
: props.filterParameters.value
}
columnSelectOption={getColumnSelectOptions}
/>
@@ -196,7 +196,7 @@ const ComplaintListTable = ({ open, setOpen, mutate }) => {
</Stack>
);
}
return <Typography variant="body2">بدون توضیحات</Typography>;
return <Typography variant="body2">-</Typography>;
},
},
{

View File

@@ -105,7 +105,7 @@ const OperatorList = () => {
</Stack>
);
}
return <Typography variant="body2">بدون توضیحات</Typography>;
return <Typography variant="body2">-</Typography>;
},
},
{
@@ -126,7 +126,7 @@ const OperatorList = () => {
},
},
Cell: ({ row }) => {
if (!row.original.rms_start_latlng) return <>بدون موقعیت</>;
if (!row.original.rms_start_latlng) return <>-</>;
return (
<Stack alignItems={"center"} justifyContent={"center"}>
<LocationForm
@@ -155,7 +155,7 @@ const OperatorList = () => {
},
},
Cell: ({ row }) => {
if (!row.original?.image_before && !row.original?.image_after) return <>بدون تصویر</>;
if (!row.original?.image_before && !row.original?.image_after) return <>-ر</>;
return (
<Stack alignItems={"center"} justifyContent={"center"}>
{row.original?.image_before && row.original?.image_after && (
@@ -199,7 +199,7 @@ const OperatorList = () => {
accessorFn: (row) => {
return row.rms_last_activity
? moment(row?.rms_last_activity).locale("fa").format("HH:mm | yyyy/MM/DD")
: "بدون تاریخ";
: "-";
},
header: "تاریخ اقدام",
id: "rms_last_activity",
@@ -241,7 +241,7 @@ const OperatorList = () => {
</Stack>
);
}
return <Typography variant="body2">بدون توضیحات</Typography>;
return <Typography variant="body2">-</Typography>;
},
},
{
@@ -276,7 +276,7 @@ const OperatorList = () => {
</Stack>
);
}
return <Typography variant="body2">بدون توضیحات</Typography>;
return <Typography variant="body2">-</Typography>;
},
},
{

View File

@@ -125,8 +125,8 @@ const SupervisorList = () => {
props.dependencyFieldValue?.value === ""
? "empty"
: loadingEdaratList
? "loading"
: props.filterParameters.value
? "loading"
: props.filterParameters.value
}
columnSelectOption={getColumnSelectOptions}
/>
@@ -206,7 +206,7 @@ const SupervisorList = () => {
</Stack>
);
}
return <Typography variant="body2">بدون توضیحات</Typography>;
return <Typography variant="body2">-</Typography>;
},
},
{
@@ -227,7 +227,7 @@ const SupervisorList = () => {
},
},
Cell: ({ row }) => {
if (!row.original.rms_start_latlng) return <>بدون موقعیت</>;
if (!row.original.rms_start_latlng) return <>-</>;
return (
<Stack alignItems={"center"} justifyContent={"center"}>
<LocationForm
@@ -256,7 +256,7 @@ const SupervisorList = () => {
},
},
Cell: ({ row }) => {
if (!row.original?.image_before && !row.original?.image_after) return <>بدون تصویر</>;
if (!row.original?.image_before && !row.original?.image_after) return <>-</>;
return (
<Stack alignItems={"center"} justifyContent={"center"}>
{row.original?.image_before && row.original?.image_after && (
@@ -300,7 +300,7 @@ const SupervisorList = () => {
accessorFn: (row) => {
return row.rms_last_activity
? moment(row?.rms_last_activity).locale("fa").format("HH:mm | yyyy/MM/DD")
: "بدون تاریخ";
: "-";
},
header: "تاریخ اقدام",
id: "rms_last_activity",
@@ -342,7 +342,7 @@ const SupervisorList = () => {
</Stack>
);
}
return <Typography variant="body2">بدون توضیحات</Typography>;
return <Typography variant="body2">-</Typography>;
},
},
{
@@ -377,7 +377,7 @@ const SupervisorList = () => {
</Stack>
);
}
return <Typography variant="body2">بدون توضیحات</Typography>;
return <Typography variant="body2">-</Typography>;
},
},
{

View File

@@ -120,8 +120,8 @@ const OperatorList = () => {
props.dependencyFieldValue.value === ""
? "empty"
: loadingSubItemsList
? "loading"
: props.filterParameters.value
? "loading"
: props.filterParameters.value
}
columnSelectOption={getColumnSelectOptions}
/>
@@ -330,7 +330,7 @@ const OperatorList = () => {
</Stack>
);
}
return <Typography variant="body2">بدون توضیحات</Typography>;
return <Typography variant="body2">-</Typography>;
},
},
],

View File

@@ -79,7 +79,7 @@ const OperatorList = () => {
</Stack>
);
}
return <Typography variant="body2">بدون شخص</Typography>;
return <Typography variant="body2">-</Typography>;
},
},
{

View File

@@ -119,8 +119,8 @@ const SupervisorList = () => {
props.dependencyFieldValue?.value === ""
? "empty"
: loadingEdaratList
? "loading"
: props.filterParameters.value
? "loading"
: props.filterParameters.value
}
columnSelectOption={getColumnSelectOptions}
/>
@@ -179,7 +179,7 @@ const SupervisorList = () => {
<RahdaranDialog rahdarLists={renderedCellValue} />
</Stack>
) : (
<Typography variant="body2">بدون شخص</Typography>
<Typography variant="body2">-</Typography>
),
},
{