aq-fe-framework 0.1.155 → 0.1.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/apiFactory.ts +46 -0
- package/dist/api/baseAxios.ts +22 -0
- package/dist/app/admin/(core)/core12196/page.tsx +13 -0
- package/dist/app/admin/(core)/core16209/page.tsx +13 -0
- package/dist/app/admin/(core)/core18256/page.tsx +12 -0
- package/dist/app/admin/(core)/core26965/page.tsx +13 -0
- package/dist/app/admin/(core)/core27311/page.tsx +13 -0
- package/dist/app/admin/(core)/core38677/page.tsx +13 -0
- package/dist/app/admin/(core)/core40207/page.tsx +13 -0
- package/dist/app/admin/(core)/core60524/page.tsx +11 -0
- package/dist/app/admin/(core)/core64229/page.tsx +12 -0
- package/dist/app/admin/(core)/core71678/page.tsx +11 -0
- package/dist/app/admin/(core)/core76318/page.tsx +13 -0
- package/dist/app/admin/(core)/core83092/page.tsx +13 -0
- package/dist/app/admin/[...slug]/page.tsx +7 -0
- package/dist/app/admin/error.tsx +42 -0
- package/dist/app/admin/layout.tsx +21 -0
- package/dist/app/admin/test/page.tsx +44 -0
- package/dist/app/auth/login/page.tsx +14 -0
- package/dist/app/globals.css +59 -0
- package/dist/app/layout.tsx +39 -0
- package/dist/app/page.tsx +18 -0
- package/dist/{chunk-PAHZ57DT.mjs → chunk-JLT4BL7I.mjs} +1 -1
- package/dist/components/Aceternity/BoxesBackground/MyBoxes.tsx +66 -0
- package/dist/components/Aceternity/BoxesBackground/MyBoxesBackground.tsx +31 -0
- package/dist/components/ActionIcons/ActionIcon/MyActionIcon.tsx +47 -0
- package/dist/components/ActionIcons/ActionIconCRUD/MyActionIconDelete.tsx +81 -0
- package/dist/components/ActionIcons/ActionIconCRUD/MyActionIconUpdate.tsx +68 -0
- package/dist/components/ActionIcons/ActionIconCheck/MyActionIconCheck.tsx +50 -0
- package/dist/components/ActionIcons/ActionIconDownloadPDF/MyActionIconDownloadPDF.tsx +13 -0
- package/dist/components/ActionIcons/ActionIconModal/MyActionIconModal.tsx +113 -0
- package/dist/components/ActionIcons/ActionIconUpload/MyActionIconUpload.tsx +19 -0
- package/dist/components/ActionIcons/ActionIconViewPdf/MyActionIconViewPDF.tsx +63 -0
- package/dist/components/ActionIcons/SwitchTheme/MySwitchTheme.tsx +36 -0
- package/dist/components/AppSpotlight/MyAppSpotlight.tsx +112 -0
- package/dist/components/Buttons/Anchor/MyAnchorViewPDF.tsx +46 -0
- package/dist/components/Buttons/Button/MyButton.tsx +90 -0
- package/dist/components/Buttons/ButtonCRUD/AQButtonCreateByImportFile.tsx +81 -0
- package/dist/components/Buttons/ButtonCRUD/AQButtonExportData.tsx +75 -0
- package/dist/components/Buttons/ButtonCRUD/MyButtonCreate.tsx +68 -0
- package/dist/components/Buttons/ButtonImport/MyButtonImport.tsx +29 -0
- package/dist/components/Buttons/ButtonImport/SelectFieldModal.tsx +100 -0
- package/dist/components/Buttons/ButtonImport/SelectFileModal.tsx +81 -0
- package/dist/components/Buttons/ButtonImport/useS_ButtonImport.ts +196 -0
- package/dist/components/Buttons/ButtonModal/AQSelectTableByOpenModal.tsx +71 -0
- package/dist/components/Buttons/ButtonModal/MyButtonModal.tsx +117 -0
- package/dist/components/Buttons/ButtonPrintPDF/MyButtonPrintPDF.tsx +37 -0
- package/dist/components/Buttons/ButtonPrintPDFTable/MyButtonPrintTablePDF.tsx +174 -0
- package/dist/components/Buttons/ButtonRouterBack/MyButtonRouterBack.tsx +29 -0
- package/dist/components/Buttons/ButtonViewPDF/MyButtonViewPDF.tsx +121 -0
- package/dist/components/Calendar/MyCalendar.tsx +118 -0
- package/dist/components/CenterFull/MyCenterFull.tsx +10 -0
- package/dist/components/Checkbox/MyCheckbox.tsx +9 -0
- package/dist/components/Combobox/Select/MySelect.tsx +12 -0
- package/dist/components/DataDisplay/Card/AQCard.tsx +49 -0
- package/dist/components/DataDisplay/CardInformation/MyCardInformation.tsx +77 -0
- package/dist/components/DataDisplay/DataTable/MyDataTable.tsx +184 -0
- package/dist/components/DataDisplay/IconText/MyIconText.tsx +17 -0
- package/dist/components/DataDisplay/KeyLabel/MyKeyLabel.tsx +15 -0
- package/dist/components/DataDisplay/NumberFormatter/MyNumberFormatter.tsx +9 -0
- package/dist/components/DataDisplay/StatCard/AQStatCard1.tsx +68 -0
- package/dist/components/FaviconSetter/FaviconSetter.tsx +33 -0
- package/dist/components/Inputs/DateInput/MyDateInput.tsx +11 -0
- package/dist/components/Inputs/Fieldset/MyFieldset.tsx +32 -0
- package/dist/components/Inputs/FileInput/MyFileInput.tsx +12 -0
- package/dist/components/Inputs/NumberInput/MyNumberInput.tsx +12 -0
- package/dist/components/Inputs/TextArea/MyTextArea.tsx +11 -0
- package/dist/components/Inputs/TextEditor/MyTextEditor.tsx +191 -0
- package/dist/components/Inputs/TextInput/MyTextInput.tsx +30 -0
- package/dist/components/Layouts/BasicAppShell/BasicAppShell.tsx +357 -0
- package/dist/components/Layouts/BasicAppShell/css.module.css +62 -0
- package/dist/components/Layouts/BasicAppShell/useS_BasicAppShell.ts +64 -0
- package/dist/components/Layouts/Container/MyContainer.tsx +16 -0
- package/dist/components/Layouts/FlexColumn/MyFlexColumn.tsx +14 -0
- package/dist/components/Layouts/FlexEnd/MyFlexEnd.tsx +14 -0
- package/dist/components/Layouts/FlexRow/MyFlexRow.tsx +14 -0
- package/dist/components/Layouts/HeaderMegaMenu/HeaderMegaMenu.tsx +147 -0
- package/dist/components/Layouts/HeaderMegaMenu/HeaderMegaMenuStore.ts +19 -0
- package/dist/components/Layouts/HeaderMegaMenu/css.module.css +50 -0
- package/dist/components/Layouts/HtmlWrapper/MyHtmlWrapper.tsx +29 -0
- package/dist/components/Layouts/PageContent/MyPageContent.tsx +67 -0
- package/dist/components/Layouts/Tab/MyTab.tsx +33 -0
- package/dist/components/Loaders/MyCardioLoader.tsx +12 -0
- package/dist/components/RESTAPIComponents/DataTableSelect/MyDataTableSelect.tsx +61 -0
- package/dist/components/RESTAPIComponents/SelectAPIGet/MySelectAPIGet.tsx +37 -0
- package/dist/components/ScheduleX/MyScheduleX.tsx +58 -0
- package/dist/components/Skeletons/SkeletonTable/MySkeletonTable.tsx +9 -0
- package/dist/components/index.mjs +1 -1
- package/dist/components/index.ts +62 -0
- package/dist/constants/array/daysOfWeek.ts +9 -0
- package/dist/constants/enum/ENUM_EMAILCONFIG.ts +6 -0
- package/dist/constants/enum/global.ts +26 -0
- package/dist/constants/object/color.ts +5 -0
- package/dist/constants/object/documentTypes.ts +8 -0
- package/dist/{components/index.css → css.module-4ICLUKPO.module.css} +29 -16
- package/dist/css.module-P45UW6UZ.module.css +4 -0
- package/dist/data/menuData.ts +31 -0
- package/dist/hooks/custom-hooks/useC_MutationAction.tsx +36 -0
- package/dist/hooks/index.ts +2 -0
- package/dist/hooks/query/AQ/useQ_AQ_GetAQModule.ts +14 -0
- package/dist/interfaces/EmailConfig.ts +10 -0
- package/dist/interfaces/IAQModule.ts +21 -0
- package/dist/interfaces/base.ts +9 -0
- package/dist/interfaces/global-interface/IAQSSO.ts +15 -0
- package/dist/interfaces/global-interface/IAQSyncData.ts +9 -0
- package/dist/interfaces/global-interface/IAcademicYear.ts +12 -0
- package/dist/interfaces/global-interface/IChangePassWord.ts +8 -0
- package/dist/interfaces/global-interface/IComplaintProccess.ts +9 -0
- package/dist/interfaces/global-interface/ICreateAccount.ts +24 -0
- package/dist/interfaces/global-interface/IDocument.ts +25 -0
- package/dist/interfaces/global-interface/IDocumentAttribute.ts +12 -0
- package/dist/interfaces/global-interface/IEvent.ts +30 -0
- package/dist/interfaces/global-interface/IEventComplaint.ts +20 -0
- package/dist/interfaces/global-interface/IEventFillter.ts +14 -0
- package/dist/interfaces/global-interface/IFile.ts +8 -0
- package/dist/interfaces/global-interface/IImportStudentPaticipation.ts +8 -0
- package/dist/interfaces/global-interface/IPagePermission.ts +12 -0
- package/dist/interfaces/global-interface/IRolePermission.ts +7 -0
- package/dist/interfaces/global-interface/ISRMUserinfo.ts +35 -0
- package/dist/interfaces/global-interface/IScientificProfileProjectUser.ts +15 -0
- package/dist/interfaces/global-interface/IScientificProfileResearchGroup.ts +15 -0
- package/dist/interfaces/global-interface/IScientificProfileResearchGroupUser.ts +14 -0
- package/dist/interfaces/global-interface/IScientificProfileResearchProject.ts +21 -0
- package/dist/interfaces/global-interface/ISignIn.ts +7 -0
- package/dist/interfaces/global-interface/ISystemCatalogAcademicYear.ts +15 -0
- package/dist/interfaces/global-interface/ISystemCatalogDomainCategory.ts +11 -0
- package/dist/interfaces/global-interface/ISystemCatalogProjectLevelCategory.ts +11 -0
- package/dist/interfaces/global-interface/ISystemCatalogProjectTypeCategory.ts +11 -0
- package/dist/interfaces/global-interface/ISystemCatalogRoleActivity.ts +11 -0
- package/dist/interfaces/global-interface/ISystemCatalogTaskCategory.ts +11 -0
- package/dist/interfaces/global-interface/ISystemManagementAcademicHistory.ts +31 -0
- package/dist/interfaces/global-interface/ISystemManagementProfessionalWorkHistory.ts +14 -0
- package/dist/interfaces/global-interface/ISystemManagementPublishedScientificWork.ts +14 -0
- package/dist/interfaces/global-interface/ISystemManagementRoleGroup.ts +12 -0
- package/dist/interfaces/global-interface/ISystemManagementRoleGroupMenuPermission.ts +18 -0
- package/dist/interfaces/global-interface/ISystemManagementScientificResearchProject.ts +16 -0
- package/dist/interfaces/global-interface/ISystemManagementUserMenuPermission.ts +18 -0
- package/dist/interfaces/global-interface/IUpdateAccount.ts +15 -0
- package/dist/interfaces/global-interface/IUser.ts +21 -0
- package/dist/interfaces/global-interface/IUserPermission.ts +7 -0
- package/dist/lib/utils.ts +6 -0
- package/dist/modules-features/admin/core/MainDashboard/BarChart_CourseStatus.tsx +87 -0
- package/dist/modules-features/admin/core/MainDashboard/BarChart_ExamStatus.tsx +65 -0
- package/dist/modules-features/admin/core/MainDashboard/BarChart_RevenueByAcademicYear.tsx +82 -0
- package/dist/modules-features/admin/core/MainDashboard/BarChart_StudentStatusIn30Days.tsx +67 -0
- package/dist/modules-features/admin/core/MainDashboard/HBarChart_CourseDropOutPercentage.tsx +77 -0
- package/dist/modules-features/admin/core/MainDashboard/HBarChart_CourseProgressPercentage.tsx +77 -0
- package/dist/modules-features/admin/core/MainDashboard/LineChart_RevenueIn12Months.tsx +78 -0
- package/dist/modules-features/admin/core/MainDashboard/LineChart_TotalRevenueByDiscountIn3Months.tsx +69 -0
- package/dist/modules-features/admin/core/MainDashboard/LineChart_TotalRevenueByVoucherIn3Months.tsx +69 -0
- package/dist/modules-features/admin/core/MainDashboard/LineChart_TotalStudentIn12Months.tsx +64 -0
- package/dist/modules-features/admin/core/MainDashboard/ViewDiscountStat.tsx +311 -0
- package/dist/modules-features/admin/core/MainDashboard/ViewVoucherStat.tsx +311 -0
- package/dist/modules-features/admin/core/core12196/F_core12196.tsx +20 -0
- package/dist/modules-features/admin/core/core12196/F_core12196_Create.tsx +101 -0
- package/dist/modules-features/admin/core/core12196/F_core12196_Delete.tsx +19 -0
- package/dist/modules-features/admin/core/core12196/F_core12196_Read.tsx +165 -0
- package/dist/modules-features/admin/core/core12196/F_core12196_Update.tsx +112 -0
- package/dist/modules-features/admin/core/core16209/F_core16209.tsx +108 -0
- package/dist/modules-features/admin/core/core16209/F_core16209_Create.tsx +112 -0
- package/dist/modules-features/admin/core/core16209/F_core16209_Delete.tsx +17 -0
- package/dist/modules-features/admin/core/core16209/F_core16209_Update.tsx +114 -0
- package/dist/modules-features/admin/core/core18256/F_core18256.tsx +29 -0
- package/dist/modules-features/admin/core/core18256/F_core18256_Create.tsx +34 -0
- package/dist/modules-features/admin/core/core18256/F_core18256_Delete.tsx +14 -0
- package/dist/modules-features/admin/core/core18256/F_core18256_Read.tsx +59 -0
- package/dist/modules-features/admin/core/core18256/F_core18256_Select.tsx +40 -0
- package/dist/modules-features/admin/core/core18256/F_core18256_Update.tsx +22 -0
- package/dist/modules-features/admin/core/core26965/F_core26965.tsx +17 -0
- package/dist/modules-features/admin/core/core26965/F_core26965_Create.tsx +106 -0
- package/dist/modules-features/admin/core/core26965/F_core26965_Delete.tsx +19 -0
- package/dist/modules-features/admin/core/core26965/F_core26965_Read.tsx +165 -0
- package/dist/modules-features/admin/core/core26965/F_core26965_Update.tsx +112 -0
- package/dist/modules-features/admin/core/core27311/F_core27311.tsx +21 -0
- package/dist/modules-features/admin/core/core27311/F_core27311_Create.tsx +109 -0
- package/dist/modules-features/admin/core/core27311/F_core27311_Delete.tsx +19 -0
- package/dist/modules-features/admin/core/core27311/F_core27311_Read.tsx +165 -0
- package/dist/modules-features/admin/core/core27311/F_core27311_Update.tsx +113 -0
- package/dist/modules-features/admin/core/core35923/F_core35923.tsx +46 -0
- package/dist/modules-features/admin/core/core38677/F_core38677.tsx +28 -0
- package/dist/modules-features/admin/core/core38677/F_core38677_ReadUser.tsx +79 -0
- package/dist/modules-features/admin/core/core38677/F_core38677_Save.tsx +52 -0
- package/dist/modules-features/admin/core/core38677/F_core38677_ViewMenuPermissions.tsx +264 -0
- package/dist/modules-features/admin/core/core40207/F_core40207.tsx +9 -0
- package/dist/modules-features/admin/core/core40207/F_core40207_Create.tsx +81 -0
- package/dist/modules-features/admin/core/core40207/F_core40207_Delete.tsx +17 -0
- package/dist/modules-features/admin/core/core40207/F_core40207_Read.tsx +98 -0
- package/dist/modules-features/admin/core/core40207/F_core40207_Update.tsx +83 -0
- package/dist/modules-features/admin/core/core47643/F_core47643.tsx +10 -0
- package/dist/modules-features/admin/core/core47643/F_core47643_Delete.tsx +13 -0
- package/dist/modules-features/admin/core/core47643/F_core47643_Form.tsx +34 -0
- package/dist/modules-features/admin/core/core47643/F_core47643_Read.tsx +57 -0
- package/dist/modules-features/admin/core/core60524/F_core60524.tsx +13 -0
- package/dist/modules-features/admin/core/core60524/F_core60524_Form.tsx +111 -0
- package/dist/modules-features/admin/core/core60524/F_core60524_Save.tsx +56 -0
- package/dist/modules-features/admin/core/core60524/useS_core60524.ts +16 -0
- package/dist/modules-features/admin/core/core64229/F_core64229.tsx +7 -0
- package/dist/modules-features/admin/core/core64229/F_core64229_Delete.tsx +21 -0
- package/dist/modules-features/admin/core/core64229/F_core64229_Form.tsx +95 -0
- package/dist/modules-features/admin/core/core64229/F_core64229_Read.tsx +67 -0
- package/dist/modules-features/admin/core/core71678/F_core71678.tsx +8 -0
- package/dist/modules-features/admin/core/core71678/F_core71678_ChangePermission.tsx +117 -0
- package/dist/modules-features/admin/core/core71678/F_core71678_Create.tsx +61 -0
- package/dist/modules-features/admin/core/core71678/F_core71678_Delete.tsx +16 -0
- package/dist/modules-features/admin/core/core71678/F_core71678_Read.tsx +92 -0
- package/dist/modules-features/admin/core/core71678/F_core71678_Update.tsx +49 -0
- package/dist/modules-features/admin/core/core76318/F_core76318.tsx +9 -0
- package/dist/modules-features/admin/core/core76318/F_core76318_Create.tsx +89 -0
- package/dist/modules-features/admin/core/core76318/F_core76318_Delete.tsx +17 -0
- package/dist/modules-features/admin/core/core76318/F_core76318_Read.tsx +104 -0
- package/dist/modules-features/admin/core/core76318/F_core76318_Update.tsx +89 -0
- package/dist/modules-features/admin/core/core83092/F_core83092.tsx +27 -0
- package/dist/modules-features/admin/core/core83092/F_core83092_ReadUser.tsx +85 -0
- package/dist/modules-features/admin/core/core83092/F_core83092_Save.tsx +52 -0
- package/dist/modules-features/admin/core/core83092/F_core83092_ViewMenuPermissions.tsx +263 -0
- package/dist/modules-features/admin/core/core83092/useS_core83092.tsx +70 -0
- package/dist/modules-features/authenticate/F_authenticate_Login/F_authenticate_Login.tsx +154 -0
- package/dist/modules-features/authenticate/F_authenticate_Login/css.module.css +4 -0
- package/dist/modules-features/authenticate/F_authenticate_Logout.tsx +22 -0
- package/dist/modules-features/authenticate/F_authenticate_SplashPage.tsx +21 -0
- package/dist/modules-features/authenticate/useS_authenticate.ts +23 -0
- package/dist/modules-features/index.mjs +2 -2
- package/dist/modules-features/index.ts +79 -0
- package/dist/providers/MyMantineProvider.tsx +140 -0
- package/dist/providers/MyReactQueryProvider.tsx +24 -0
- package/dist/providers/Provider.tsx +13 -0
- package/dist/providers/mantine.module.css +21 -0
- package/dist/stores/CreateGenericStore.ts +23 -0
- package/dist/stores/index.ts +1 -0
- package/dist/types/types.ts +16 -0
- package/dist/utils/index.ts +9 -0
- package/dist/utils/utils_converter.ts +39 -0
- package/dist/utils/utils_currency.ts +5 -0
- package/dist/utils/utils_date.ts +34 -0
- package/dist/utils/utils_excel.ts +128 -0
- package/dist/utils/utils_file.ts +61 -0
- package/dist/utils/utils_notification.ts +46 -0
- package/dist/utils/utils_pdf.ts +21 -0
- package/dist/utils/utils_time.ts +15 -0
- package/dist/utils/utils_validateForm.ts +9 -0
- package/package.json +1 -1
- package/dist/modules-features/index.css +0 -100
@@ -0,0 +1,31 @@
|
|
1
|
+
import { I_BasicAppShell_LinkItem } from "@/components/Layouts/BasicAppShell/BasicAppShell";
|
2
|
+
|
3
|
+
export const menuData: I_BasicAppShell_LinkItem[] = [
|
4
|
+
{
|
5
|
+
label: "Quản lí hệ thống",
|
6
|
+
links: [
|
7
|
+
{ pageId: 1, name: "Account management", label: "Quản lí tài khoản", link: "core71678" },
|
8
|
+
{ pageId: 2, name: "Access control level", label: "Phân quyền cấp đơn vị", link: "core38677" },
|
9
|
+
{ pageId: 3, name: "Access control", label: "Phân quyền sử dụng", link: "core83092" },
|
10
|
+
{ pageId: 4, name: "Security regulations", label: "Quy định an toàn/ bảo mật thông tin", link: "core76318", status: "Default" },
|
11
|
+
{ pageId: 5, name: "System updates", label: "Thông tin xây dựng, cải tiến, bảo trì hệ thống", link: "core16209", status: "Default" },
|
12
|
+
{ pageId: 6, name: "User guide", label: "Tài liệu hướng dẫn sử dụng", link: "core40207", status: "Default" },
|
13
|
+
],
|
14
|
+
},
|
15
|
+
{
|
16
|
+
label: "Văn bản - Quy định",
|
17
|
+
links: [
|
18
|
+
{ pageId: 7, name: "Organizational regulations", label: "Văn bản - Quy định tổ chức", link: "core26965", status: "Default" },
|
19
|
+
{ pageId: 8, name: "Workflow process", label: "Quy trình xử lý công việc", link: "core27311", status: "Default" },
|
20
|
+
{ pageId: 9, name: "Form templates", label: "Tài liệu biểu mẫu", link: "core12196", status: "Default" },
|
21
|
+
],
|
22
|
+
},
|
23
|
+
{
|
24
|
+
label: "Danh mục hệ thống ",
|
25
|
+
links: [
|
26
|
+
{ pageId: 0, name: "Document categories", label: "Danh mục loại văn bản", link: "core18256" },
|
27
|
+
{ pageId: 0, name: "", label: "Danh mục cấu hình mail", link: "core64229", status: "Default" },
|
28
|
+
{ pageId: 0, name: "", label: "Cấu hình thông tin chủ quản", link: "core60524", status: "Default" },
|
29
|
+
],
|
30
|
+
},
|
31
|
+
];
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { utils_notification_show } from "@/utils/utils_notification";
|
2
|
+
import { useForm } from "@mantine/form";
|
3
|
+
import { useDisclosure } from "@mantine/hooks";
|
4
|
+
import { useQueryClient } from "@tanstack/react-query";
|
5
|
+
|
6
|
+
interface I {
|
7
|
+
disc?: ReturnType<typeof useDisclosure>
|
8
|
+
form?: ReturnType<typeof useForm>,
|
9
|
+
crudType?: "delete" | "update" | "create"
|
10
|
+
manualNotification?: () => void
|
11
|
+
}
|
12
|
+
export default function useC_MutationAction({
|
13
|
+
disc,
|
14
|
+
form,
|
15
|
+
crudType = "create",
|
16
|
+
manualNotification
|
17
|
+
}: I = {}) {
|
18
|
+
const queryClient = useQueryClient()
|
19
|
+
|
20
|
+
const Action = ({ manualCrudType }: { manualCrudType?: "delete" | "update" | "create" }) => {
|
21
|
+
const finalCrudType = manualCrudType || crudType;
|
22
|
+
form && form.reset();
|
23
|
+
disc && disc[1].close();
|
24
|
+
queryClient.invalidateQueries();
|
25
|
+
|
26
|
+
if (manualNotification) {
|
27
|
+
manualNotification();
|
28
|
+
return;
|
29
|
+
}
|
30
|
+
utils_notification_show({ crudType: finalCrudType });
|
31
|
+
};
|
32
|
+
return {
|
33
|
+
Action
|
34
|
+
}
|
35
|
+
|
36
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import baseAxios from '@/api/baseAxios'
|
2
|
+
import { IAQModule } from '@/interfaces/IAQModule'
|
3
|
+
import { useQuery } from '@tanstack/react-query'
|
4
|
+
|
5
|
+
export function useQ_AQ_GetAQModule() {
|
6
|
+
const query = useQuery<IAQModule>({
|
7
|
+
queryKey: ["/AQ/GetAQModule"],
|
8
|
+
queryFn: async () => {
|
9
|
+
const res = await baseAxios.get("/AQ/GetAQModule")
|
10
|
+
return res.data.data
|
11
|
+
}
|
12
|
+
})
|
13
|
+
return query
|
14
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { IBaseEntity } from "./base";
|
2
|
+
|
3
|
+
export interface IAQModule extends IBaseEntity {
|
4
|
+
officelName?: string;
|
5
|
+
phoneNumber?: string;
|
6
|
+
email?: string;
|
7
|
+
faviconPath?: string;
|
8
|
+
logoPath?: string;
|
9
|
+
registrationDate?: Date;
|
10
|
+
limiteDate?: Date;
|
11
|
+
faviconFileDetail?: {
|
12
|
+
fileName?: string;
|
13
|
+
fileExtension?: string;
|
14
|
+
fileBase64String?: string;
|
15
|
+
};
|
16
|
+
logoFileDetail?: {
|
17
|
+
fileName?: string;
|
18
|
+
fileExtension?: string;
|
19
|
+
fileBase64String?: string;
|
20
|
+
};
|
21
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface IAQSSO {
|
4
|
+
studentCode?: string | undefined;
|
5
|
+
falcutyName?: string | undefined;
|
6
|
+
falcutyId?: string | undefined;
|
7
|
+
majorsName?: string | undefined;
|
8
|
+
majorsId?: string | undefined;
|
9
|
+
fullname?: string | undefined;
|
10
|
+
dateOfBirth?: string | undefined;
|
11
|
+
email?: string | undefined;
|
12
|
+
classId?: string | undefined;
|
13
|
+
className?: string | undefined;
|
14
|
+
|
15
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface ICreateAccount {
|
4
|
+
id?: number;
|
5
|
+
isEnabled?: boolean;
|
6
|
+
isBlocked?: boolean;
|
7
|
+
roleId?: number | undefined;
|
8
|
+
userName?: string | undefined;
|
9
|
+
passwordHash?: string | undefined;
|
10
|
+
passWord?: string | undefined;
|
11
|
+
code?: string | undefined;
|
12
|
+
email?: string | undefined;
|
13
|
+
phoneNumber?: string | undefined;
|
14
|
+
address?: string | undefined;
|
15
|
+
avatarPath?: string | undefined;
|
16
|
+
fullName?: string | undefined;
|
17
|
+
lockoutEnd?: Date | undefined;
|
18
|
+
securityStamp?: string | undefined;
|
19
|
+
expiresDate?: Date | undefined;
|
20
|
+
facultyId?: number | undefined;
|
21
|
+
majorsId?: number | undefined;
|
22
|
+
classId?: number | undefined;
|
23
|
+
workingUnitId?: number | undefined;
|
24
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { IFile } from "./IFile";
|
2
|
+
|
3
|
+
export interface IDocument {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
path?: string | undefined;
|
10
|
+
orderBy?: number;
|
11
|
+
documentType?: number;
|
12
|
+
promulgateDate?: Date | undefined;
|
13
|
+
decisionCode?: string | undefined;
|
14
|
+
departmentName?: string | undefined;
|
15
|
+
description?: string | undefined;
|
16
|
+
startDate?: Date | undefined;
|
17
|
+
endDate?: Date | undefined;
|
18
|
+
conclusion?: string | undefined;
|
19
|
+
note?: string | undefined;
|
20
|
+
documentAttributeId?: number | undefined;
|
21
|
+
documentAttributeName?: string | undefined;
|
22
|
+
isCycleCheck?: boolean | undefined;
|
23
|
+
meetingDate?: Date | undefined;
|
24
|
+
fileDetail?: IFile;
|
25
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export interface IDocumentAttribute {
|
2
|
+
id?: number;
|
3
|
+
isEnabled?: boolean;
|
4
|
+
name?: string | undefined;
|
5
|
+
code?: string | undefined;
|
6
|
+
createdWhen?: Date | undefined;
|
7
|
+
createdBy?: number | undefined;
|
8
|
+
modifiedWhen?: Date | undefined;
|
9
|
+
modifiedBy?: number | undefined;
|
10
|
+
concurrencyStamp?: string | undefined;
|
11
|
+
documentType?: number | undefined;
|
12
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface IEvent {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
host?: number | undefined;
|
10
|
+
startDate?: Date | undefined;
|
11
|
+
endDate?: Date | undefined;
|
12
|
+
maxPoint?: number | undefined;
|
13
|
+
minPoint?: number | undefined;
|
14
|
+
standardId?: number | undefined;
|
15
|
+
note?: string | undefined;
|
16
|
+
isNoted?: boolean | undefined;
|
17
|
+
address?: number | undefined;
|
18
|
+
quantity?: number;
|
19
|
+
facultyId?: number | undefined;
|
20
|
+
isRequired?: boolean;
|
21
|
+
isCompleted?: boolean;
|
22
|
+
completedBy?: number | undefined;
|
23
|
+
reviewdBy?: number | undefined;
|
24
|
+
session?: number | undefined;
|
25
|
+
isTemplate?: boolean | undefined;
|
26
|
+
parentEventId?: number | undefined;
|
27
|
+
futurePlanId?: number | undefined;
|
28
|
+
eventGroupId?: number | undefined;
|
29
|
+
|
30
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { IFile } from "./IFile";
|
2
|
+
|
3
|
+
export interface IEventComplaint {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
eventCode?: string | undefined;
|
10
|
+
description?: string | undefined;
|
11
|
+
status?: number;
|
12
|
+
path?: string | undefined;
|
13
|
+
studentId?: number;
|
14
|
+
point?: number;
|
15
|
+
complaintPoint?: number;
|
16
|
+
newPoint?: number | undefined;
|
17
|
+
note?: string | undefined;
|
18
|
+
fileDetail?: IFile;
|
19
|
+
|
20
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface IEventFillter {
|
4
|
+
standardId?: number | undefined;
|
5
|
+
host?: number | undefined;
|
6
|
+
searchText?: string | undefined;
|
7
|
+
facultyId?: number | undefined;
|
8
|
+
startDate?: Date | undefined;
|
9
|
+
endDate?: Date | undefined;
|
10
|
+
isOrganization?: boolean | undefined;
|
11
|
+
pageNumber?: number | undefined;
|
12
|
+
pageSize?: number | undefined;
|
13
|
+
|
14
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface ISRMUserinfo {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
userId?: number;
|
10
|
+
isEmailVerified?: boolean | undefined;
|
11
|
+
isExternal?: boolean | undefined;
|
12
|
+
isBlocked?: boolean | undefined;
|
13
|
+
isLocked?: boolean | undefined;
|
14
|
+
gender?: number | undefined;
|
15
|
+
birthDate?: Date | undefined;
|
16
|
+
birthPlace?: string | undefined;
|
17
|
+
hometown?: string | undefined;
|
18
|
+
ethnicity?: string | undefined;
|
19
|
+
highestDegree?: string | undefined;
|
20
|
+
degreeYear?: number | undefined;
|
21
|
+
degreeCountry?: string | undefined;
|
22
|
+
highestScientificTitle?: string | undefined;
|
23
|
+
scientificTitleAppointmentYear?: number | undefined;
|
24
|
+
workingTitle?: string | undefined;
|
25
|
+
woringPlace?: string | undefined;
|
26
|
+
officePhoneNumber?: string | undefined;
|
27
|
+
personalPhoneNumber?: string | undefined;
|
28
|
+
mobilePhoneNumber?: string | undefined;
|
29
|
+
fax?: string | undefined;
|
30
|
+
nationalId?: string | undefined;
|
31
|
+
idIssueDate?: Date | undefined;
|
32
|
+
idIssuePlace?: string | undefined;
|
33
|
+
contactAddress?: string | undefined;
|
34
|
+
|
35
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface IScientificProfileProjectUser {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
projectId?: number | undefined;
|
10
|
+
userId?: number | undefined;
|
11
|
+
isLeader?: boolean | undefined;
|
12
|
+
role?: string | undefined;
|
13
|
+
linkFileId?: number | undefined;
|
14
|
+
|
15
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface IScientificProfileResearchGroup {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
nameEnglish?: string | undefined;
|
10
|
+
abbreviation?: string | undefined;
|
11
|
+
strategicObjective?: string | undefined;
|
12
|
+
fieldOfExpertiseId?: number | undefined;
|
13
|
+
researchGroupType?: string | undefined;
|
14
|
+
|
15
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface IScientificProfileResearchGroupUser {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
userId?: number | undefined;
|
10
|
+
isGroupLeader?: boolean | undefined;
|
11
|
+
researchGroupId?: number | undefined;
|
12
|
+
isCollaborator?: boolean | undefined;
|
13
|
+
|
14
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface IScientificProfileResearchProject {
|
4
|
+
|
5
|
+
id?: number;
|
6
|
+
code?: string | undefined;
|
7
|
+
name?: string | undefined;
|
8
|
+
concurrencyStamp?: string | undefined;
|
9
|
+
isEnabled?: boolean;
|
10
|
+
fileLinks?: string[] | undefined;
|
11
|
+
isPublished?: boolean | undefined;
|
12
|
+
projectLevel?: string | undefined;
|
13
|
+
leadUnit?: string | undefined;
|
14
|
+
managingUnit?: string | undefined;
|
15
|
+
startDate?: Date | undefined;
|
16
|
+
endDate?: Date | undefined;
|
17
|
+
funding?: number | undefined;
|
18
|
+
researchGroupId?: number | undefined;
|
19
|
+
|
20
|
+
|
21
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface ISystemCatalogAcademicYear {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
administrativeYearStart?: Date | undefined;
|
10
|
+
administrativeYearEnd?: Date | undefined;
|
11
|
+
academicYearStart?: Date | undefined;
|
12
|
+
academicYearEnd?: Date | undefined;
|
13
|
+
isCurrent?: boolean;
|
14
|
+
|
15
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface ISystemManagementAcademicHistory {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
userId?: number;
|
10
|
+
degreeEducationLevel?: string | undefined;
|
11
|
+
degreeInstitution?: string | undefined;
|
12
|
+
degreeFieldOfStudy?: string | undefined;
|
13
|
+
degreeCountry?: string | undefined;
|
14
|
+
degreeGraduationYear?: number | undefined;
|
15
|
+
degreeSecondBachelor?: string | undefined;
|
16
|
+
degreeSecondBachelorGraduationYear?: number | undefined;
|
17
|
+
masterSpecializedThesis?: string | undefined;
|
18
|
+
masterGraduationYear?: number | undefined;
|
19
|
+
masterInstitution?: string | undefined;
|
20
|
+
doctoralSpecializedThesis?: string | undefined;
|
21
|
+
doctoralGraduationYear?: number | undefined;
|
22
|
+
doctoralInstitution?: string | undefined;
|
23
|
+
doctoralThesisTitle?: string | undefined;
|
24
|
+
foreignLanguage1?: string | undefined;
|
25
|
+
foreignLanguage1UsageLevel?: string | undefined;
|
26
|
+
foreignLanguage2?: string | undefined;
|
27
|
+
foreignLanguage2UsageLevel?: string | undefined;
|
28
|
+
foreignLanguage3?: string | undefined;
|
29
|
+
foreignLanguage3UsageLevel?: string | undefined;
|
30
|
+
|
31
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface ISystemManagementProfessionalWorkHistory {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
userId?: number | undefined;
|
10
|
+
timePeriod?: string | undefined;
|
11
|
+
workPlace?: string | undefined;
|
12
|
+
responsibilities?: string | undefined;
|
13
|
+
|
14
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface ISystemManagementPublishedScientificWork {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
userId?: number;
|
10
|
+
projectName?: string | undefined;
|
11
|
+
publicationYear?: string | undefined;
|
12
|
+
journalName?: string | undefined;
|
13
|
+
|
14
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface ISystemManagementRoleGroup {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
roleGroupName?: string | undefined;
|
10
|
+
description?: string | undefined;
|
11
|
+
|
12
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
export interface ISystemManagementRoleGroupMenuPermission {
|
4
|
+
id?: number;
|
5
|
+
code?: string | undefined;
|
6
|
+
name?: string | undefined;
|
7
|
+
concurrencyStamp?: string | undefined;
|
8
|
+
isEnabled?: boolean;
|
9
|
+
roleGroupId?: number;
|
10
|
+
menuId?: number;
|
11
|
+
isRead?: boolean | undefined;
|
12
|
+
isAdd?: boolean | undefined;
|
13
|
+
isUpdate?: boolean | undefined;
|
14
|
+
isPrint?: boolean | undefined;
|
15
|
+
isExport?: boolean | undefined;
|
16
|
+
isDelete?: boolean | undefined;
|
17
|
+
|
18
|
+
}
|