Merge branch 'release/v2.5.0'
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
NEXT_PUBLIC_VERSION = "2.4.1"
|
NEXT_PUBLIC_VERSION = "2.5.0"
|
||||||
|
|
||||||
NEXT_PUBLIC_API_URL = "http://192.168.1.20:8888/server"
|
NEXT_PUBLIC_API_URL = "http://192.168.1.20:8888/server"
|
||||||
NEXT_PUBLIC_SERVER_SOCKET_URL = "ws://192.168.1.20:3023"
|
NEXT_PUBLIC_SERVER_SOCKET_URL = "ws://192.168.1.20:3023"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["province_operator_dialogue"]}>
|
||||||
<OperatorDialoguePage />
|
<OperatorDialoguePage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["supervise_operator_dialogue"]}>
|
||||||
<OperatorDialoguePage />
|
<OperatorDialoguePage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["province_people_message"]}>
|
||||||
<PeopleMessagePage />
|
<PeopleMessagePage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["supervise_people_message"]}>
|
||||||
<PeopleMessagePage />
|
<PeopleMessagePage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["province_system_message"]}>
|
||||||
<SystemMessagesPage />
|
<SystemMessagesPage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["supervise_people_message"]}>
|
||||||
<SystemMessagesPage />
|
<SystemMessagesPage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["province_reports"]}>
|
||||||
<ProvinceCumulativeCallsReportPage />
|
<ProvinceCumulativeCallsReportPage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["province_reports"]}>
|
||||||
<ProvinceDetailedLogsReportPage />
|
<ProvinceDetailedLogsReportPage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["province_reports"]}>
|
||||||
<ProvincePeopleMessagesReportPage />
|
<ProvincePeopleMessagesReportPage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["province_reports"]}>
|
||||||
<ProvinceOperatorPerformanceReportPage />
|
<ProvinceOperatorPerformanceReportPage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["country_calls_report"]}>
|
||||||
<CountryCallsReportPage />
|
<CountryCallsReportPage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["country_keypress_report"]}>
|
||||||
<CountryKeyPressReportPage />
|
<CountryKeyPressReportPage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["country_message_rating"]}>
|
||||||
<CountryMessageRatingReportPage />
|
<CountryMessageRatingReportPage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export const metadata = {
|
|||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
return (
|
return (
|
||||||
<WithPermission permission_name={["all"]}>
|
<WithPermission permission_name={["country_voice_rating"]}>
|
||||||
<CountryVoiceRatingReportPage />
|
<CountryVoiceRatingReportPage />
|
||||||
</WithPermission>
|
</WithPermission>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <ZoomInMapIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <ZoomInMapIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/reports/country-calls-report",
|
route: "/dashboard/reports/country-calls-report",
|
||||||
permissions: ["all"],
|
permissions: ["country_calls_report"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "reports-countryVoiceRatingReport",
|
id: "reports-countryVoiceRatingReport",
|
||||||
@@ -43,7 +43,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <StarIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <StarIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/reports/country-voice-rating-report",
|
route: "/dashboard/reports/country-voice-rating-report",
|
||||||
permissions: ["all"],
|
permissions: ["country_voice_rating"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "reports-countryMessageRatingReport",
|
id: "reports-countryMessageRatingReport",
|
||||||
@@ -51,7 +51,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <MarkEmailReadIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <MarkEmailReadIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/reports/country-message-rating-report",
|
route: "/dashboard/reports/country-message-rating-report",
|
||||||
permissions: ["all"],
|
permissions: ["country_message_rating"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "reports-countryKeypressReport",
|
id: "reports-countryKeypressReport",
|
||||||
@@ -59,7 +59,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <TtyIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <TtyIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/reports/country-keypress-report",
|
route: "/dashboard/reports/country-keypress-report",
|
||||||
permissions: ["all"],
|
permissions: ["country_keypress_report"],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -77,7 +77,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <ZoomInMapIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <ZoomInMapIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/province-reports/province-calls-report",
|
route: "/dashboard/province-reports/province-calls-report",
|
||||||
permissions: ["all"],
|
permissions: ["province_reports"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "province-messages-reports",
|
id: "province-messages-reports",
|
||||||
@@ -85,7 +85,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <MarkEmailReadIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <MarkEmailReadIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/province-reports/province-messages-report",
|
route: "/dashboard/province-reports/province-messages-report",
|
||||||
permissions: ["all"],
|
permissions: ["province_reports"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "province-detailed-reports",
|
id: "province-detailed-reports",
|
||||||
@@ -93,7 +93,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <ContentPasteSearchIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <ContentPasteSearchIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/province-reports/province-detailed-report",
|
route: "/dashboard/province-reports/province-detailed-report",
|
||||||
permissions: ["all"],
|
permissions: ["province_reports"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "province-operators-performance-reports",
|
id: "province-operators-performance-reports",
|
||||||
@@ -101,7 +101,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <SupervisorAccountIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <SupervisorAccountIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/province-reports/province-operators-performance-report",
|
route: "/dashboard/province-reports/province-operators-performance-report",
|
||||||
permissions: ["all"],
|
permissions: ["province_reports"],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@@ -143,7 +143,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <VoiceChatIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <VoiceChatIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/monitoring/operator-dialogue/supervisor",
|
route: "/dashboard/monitoring/operator-dialogue/supervisor",
|
||||||
permissions: ["all"],
|
permissions: ["supervise_operator_dialogue"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "monitoring-operator-dialogue-operator",
|
id: "monitoring-operator-dialogue-operator",
|
||||||
@@ -151,7 +151,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <VoiceChatIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <VoiceChatIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/monitoring/operator-dialogue/operator",
|
route: "/dashboard/monitoring/operator-dialogue/operator",
|
||||||
permissions: ["all"],
|
permissions: ["province_operator_dialogue"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "monitoring-system-messages-supervisor",
|
id: "monitoring-system-messages-supervisor",
|
||||||
@@ -159,7 +159,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <PointOfSaleIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <PointOfSaleIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/monitoring/system-messages/supervisor",
|
route: "/dashboard/monitoring/system-messages/supervisor",
|
||||||
permissions: ["all"],
|
permissions: ["supervise_system_message"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "monitoring-system-messages-operator",
|
id: "monitoring-system-messages-operator",
|
||||||
@@ -167,7 +167,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <PointOfSaleIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <PointOfSaleIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/monitoring/system-messages/operator",
|
route: "/dashboard/monitoring/system-messages/operator",
|
||||||
permissions: ["all"],
|
permissions: ["province_system_message"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "monitoring-people-messages-supervisor",
|
id: "monitoring-people-messages-supervisor",
|
||||||
@@ -175,7 +175,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <ThreePIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <ThreePIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/monitoring/people-messages/supervisor",
|
route: "/dashboard/monitoring/people-messages/supervisor",
|
||||||
permissions: ["all"],
|
permissions: ["supervise_people_message"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "monitoring-people-messages-operator",
|
id: "monitoring-people-messages-operator",
|
||||||
@@ -183,7 +183,7 @@ export const pageMenu = [
|
|||||||
type: "page",
|
type: "page",
|
||||||
icon: <ThreePIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <ThreePIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
route: "/dashboard/monitoring/people-messages/operator",
|
route: "/dashboard/monitoring/people-messages/operator",
|
||||||
permissions: ["all"],
|
permissions: ["province_people_message"],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user