Merge branch 'release/v1.3.0'

This commit is contained in:
AmirHossein Mahmoodi
2025-05-31 10:19:11 +03:30
5 changed files with 10 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
HOST="rms.witel.ir"
NEXT_PUBLIC_VERSION="1.2.0"
NEXT_PUBLIC_VERSION="1.3.0"
NEXT_PUBLIC_API_URL="https://rms.witel.ir"
NEXT_PUBLIC_MAPTILE_ENDPOINT="https://rmsmap.rmto.ir/141map"

View File

@@ -259,13 +259,13 @@ const ComplaintListTable = ({ open, setOpen, mutate }) => {
need_filter={true}
table_title={"لیست شکایات"}
columns={columns}
sorting={[{ id: "fk_RegisteredEventMessage", desc: true }]}
sorting={[{ id: "StartTime_DateTime", desc: true }]}
table_url={GET_FAST_REACT_COMPLAINTS}
page_name={"fastReactComplaint"}
table_name={"fastReactComplaintList"}
TableToolbar={Toolbar}
enableRowActions
positionActionsColumn={"last"}
positionActionsColumn={"first"}
RowActions={(props) => <RowActions {...props} mutateParentTable={mutate} />}
/>
</Box>

View File

@@ -360,7 +360,7 @@ const OperatorList = () => {
table_name={"fastReactOperatorList"}
TableToolbar={Toolbar}
enableRowActions
positionActionsColumn={"last"}
positionActionsColumn={"first"}
RowActions={RowActions}
/>
</Box>

View File

@@ -460,7 +460,7 @@ const SupervisorList = () => {
table_name={"fastReactSupervisorList"}
TableToolbar={Toolbar}
enableRowActions
positionActionsColumn={"last"}
positionActionsColumn={"first"}
RowActions={RowActions}
/>
</Box>

View File

@@ -378,19 +378,11 @@ export const pageMenu = [
id: "roadObservationsManagmentSupervisorCartable",
label: "کارتابل",
type: "page",
route: process.env.NEXT_PUBLIC_API_URL + "/v2/road_observations/supervisor/cartable",
permissions: ["supervise-fast-react", "supervise-fast-react-province"],
route: "/dashboard/fast-react/supervisor",
permissions: ["show-fast-react", "show-fast-react-province"],
},
],
},
{
id: "roadObservationsManagmentList",
label: "رسیدگی به شکایات",
type: "page",
route: process.env.NEXT_PUBLIC_API_URL + "/v2/road_observations",
icon: <AssignmentLateIcon sx={{ width: "inherit", height: "inherit" }} />,
permissions: ["show-fast-react", "show-fast-react-province", "show-fast-react-edarate-shahri"],
},
{
id: "roadObservationsManagmentOparation",
label: "عملیات",
@@ -403,8 +395,8 @@ export const pageMenu = [
id: "roadObservationsManagmentOparationCartable",
label: "کارتابل",
type: "page",
route: process.env.NEXT_PUBLIC_API_URL + "/v2/road_observations/operator/cartable",
permissions: ["show-fast-react", "show-fast-react-province", "show-fast-react-edarate-shahri"],
route: "/dashboard/fast-react/operator",
permissions: ["show-fast-react-edarate-shahri"],
},
],
},
@@ -421,7 +413,7 @@ export const pageMenu = [
label: "گزارش ها",
type: "page",
route: process.env.NEXT_PUBLIC_API_URL + "/v2/road_observations/report/index",
icon: <ReportIcon sx={{ width: "inherit", height: "inherit" }} />,
icon: <AssessmentIcon sx={{ width: "inherit", height: "inherit" }} />,
permissions: ["all"],
},
],