This commit is contained in:
Mehdi104797 2025-04-28 08:28:52 +03:30
parent 78b4d2464e
commit c460543f5d
5 changed files with 58 additions and 3 deletions

1
.env
View File

@ -55,7 +55,6 @@ VITE_ENTITY_SYSTEM=entity-view-system
VITE_BORHAN_SYSTEM=borhan-system
VITE_THIQAT_SYSTEM=thiqat-system
VITE_CHAT_SYSTEM=chat-system
VITE_TASK_SYSTEM=task-system
VITE_REPORT_SYSTEM=report-system
VITE_ADMIN_SYSTEM=admin-panel
VITE_TAHRIR_SYSTEM=tahrir-system

View File

@ -21,6 +21,7 @@ VITE_TAHRIR_PAGE_TITLE = قانون - سامانه ای برای سندنگار
VITE_REPORT_PAGE_TITLE = قانون - سامانه گزارش گیری داده
VITE_PERMISSION_PAGE_TITLE = قانون - سامانه کنترل وظایف
VITE_CHAT_PAGE_TITLE = قانون - سامانه گفتگو
VITE_TASK_PAGE_TITLE = قانون - سامانه وظایف
VITE_RESEARCH_PAGE_TITLE = قانون - تحقیقات من
VITE_AI_TOOLS_PAGE_TITLE = قانون - حاشیه نویسی

View File

@ -6,6 +6,7 @@ import chat from "./routes/chat";
import haditha from "./routes/haditha";
import search from "./routes/search";
import research from "./routes/research";
import task from "./routes/task";
const envs = import.meta.env;
let sassEnvVariables = "";
@ -44,7 +45,7 @@ export default defineNuxtConfig({
"pages:extend"(pages) {
// Add custom routes
pages.push(...search, ...research, ...haditha, ...chat);
pages.push(...search, ...research, ...haditha, ...chat, ...task);
},
},
@ -170,6 +171,7 @@ export default defineNuxtConfig({
"@research": "~/systems/research_ui",
"@haditha": "~/systems/hadith_ui",
"@chat": "~/systems/chat_ui",
"@task": "~/systems/task_ui",
},
vite: {
resolve: {},

53
routes/task.ts Normal file
View File

@ -0,0 +1,53 @@
export default [
{
path: "/task",
file: "@task/pages/index.vue",
meta: { breadcrumb: "سامانه وظایف" },
children: [
{
path: "",
redirect: { name: "taskDashboard" },
},
{
path: "dashboard",
name: "taskDashboard",
file: "@task/pages/TaskDashboard.vue",
meta: {
breadcrumb: "پیشخوان مدیریت وظایف",
},
},
{
path: "times/list",
name: "taskTimes",
file: "@task/pages/Task.vue",
meta: {
breadcrumb: "ساعات",
},
},
{
path: "tasks/list",
name: "taskList",
file: "@task/pages/Task.vue",
meta: {
breadcrumb: "وظایف",
},
},
{
path: "teams/list",
name: "teams",
file: "@task/pages/TaskTeams.vue",
meta: {
breadcrumb: "تیم ها",
},
},
{
path: "admin/list",
name: "taskReport",
file: "@task/pages/TaskReport.vue",
meta: {
breadcrumb: "گزارش وظایف",
},
},
],
},
];

@ -1 +1 @@
Subproject commit 0e61ff5f8d1e301cf6436a390f6412d2b0117d21
Subproject commit ad470940f4cf986638b575d4b8afaa2ec50c267c