From e20c1b59747ce2d0ceedc2fe8ad134308df3d4de Mon Sep 17 00:00:00 2001 From: SGPublic <3300633844@qq.com> Date: Wed, 18 Aug 2021 15:11:05 +0800 Subject: [PATCH] 210818 --- .idea/.gitignore | 3 + .idea/.name | 1 + .idea/AideSCIT_Web.iml | 12 + .idea/inspectionProfiles/Project_Default.xml | 17 +- .idea/misc.xml | 6 + .idea/modules.xml | 2 +- .idea/runConfigurations.xml | 10 + .idea/runConfigurations/npm_build.xml | 12 + .idea/runConfigurations/npm_start.xml | 12 + .idea/vcs.xml | 2 +- README.md | 51 +- .idea/scitedutool_web.iml => aidescit_web.iml | 7 +- package-lock.json | 32696 +++------------- package.json | 18 +- public/index.html | 30 +- src/index.tsx | 10 +- src/res/css/App.css | 18 + src/res/css/Home.css | 22 +- src/res/css/Login.css | 0 src/res/css/Welcome.css | 4 - src/res/css/index.css | 5 +- src/ts/App.tsx | 20 - src/ts/component/App.tsx | 24 + src/ts/component/pages/Home.tsx | 69 + src/ts/component/pages/Login.tsx | 17 + src/ts/{ => component}/pages/Welcome.tsx | 16 +- src/ts/component/view/DrawerMenu.tsx | 82 + src/ts/component/view/NodeImage.tsx | 13 + src/ts/core/ComposeComponent.ts | 9 + src/ts/core/ReactComponentCompact.ts | 17 - src/ts/core/RouteComponent.ts | 14 + src/ts/core/SharedPreferences.ts | 38 +- src/ts/{ => core}/util/CurlUtil.ts | 33 +- src/ts/{ => core}/util/Log.ts | 0 src/ts/core/util/RSAStaticUtil.ts | 9 + src/ts/data/ExamData.ts | 13 + src/ts/data/FailedMarkData.ts | 9 + src/ts/data/HomeSiderData.ts | 2 +- src/ts/data/PassedMarkData.ts | 15 + src/ts/data/TableData.ts | 11 + src/ts/module/AchieveModule.ts | 80 + src/ts/module/ApiModule.ts | 121 + src/ts/module/ExamModule.ts | 62 + src/ts/module/LoginModule.ts | 92 + src/ts/module/ScheduleModule.ts | 88 + src/ts/module/UserInfoModule.ts | 45 + src/ts/pages/Home.tsx | 68 - src/ts/pages/Login.tsx | 14 - src/ts/util/CookieUtil.ts | 38 - src/ts/util/Map.ts | 55 - src/ts/util/RSAStaticUtil.ts | 13 - tsconfig.json | 2 +- 52 files changed, 6098 insertions(+), 27929 deletions(-) create mode 100644 .idea/.name create mode 100644 .idea/AideSCIT_Web.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/runConfigurations.xml create mode 100644 .idea/runConfigurations/npm_build.xml create mode 100644 .idea/runConfigurations/npm_start.xml rename .idea/scitedutool_web.iml => aidescit_web.iml (52%) create mode 100644 src/res/css/Login.css delete mode 100644 src/ts/App.tsx create mode 100644 src/ts/component/App.tsx create mode 100644 src/ts/component/pages/Home.tsx create mode 100644 src/ts/component/pages/Login.tsx rename src/ts/{ => component}/pages/Welcome.tsx (58%) create mode 100644 src/ts/component/view/DrawerMenu.tsx create mode 100644 src/ts/component/view/NodeImage.tsx create mode 100644 src/ts/core/ComposeComponent.ts delete mode 100644 src/ts/core/ReactComponentCompact.ts create mode 100644 src/ts/core/RouteComponent.ts rename src/ts/{ => core}/util/CurlUtil.ts (94%) rename src/ts/{ => core}/util/Log.ts (100%) create mode 100644 src/ts/core/util/RSAStaticUtil.ts create mode 100644 src/ts/data/ExamData.ts create mode 100644 src/ts/data/FailedMarkData.ts create mode 100644 src/ts/data/PassedMarkData.ts create mode 100644 src/ts/data/TableData.ts create mode 100644 src/ts/module/AchieveModule.ts create mode 100644 src/ts/module/ApiModule.ts create mode 100644 src/ts/module/ExamModule.ts create mode 100644 src/ts/module/LoginModule.ts create mode 100644 src/ts/module/ScheduleModule.ts create mode 100644 src/ts/module/UserInfoModule.ts delete mode 100644 src/ts/pages/Home.tsx delete mode 100644 src/ts/pages/Login.tsx delete mode 100644 src/ts/util/CookieUtil.ts delete mode 100644 src/ts/util/Map.ts delete mode 100644 src/ts/util/RSAStaticUtil.ts diff --git a/.idea/.gitignore b/.idea/.gitignore index b58b603..73f69e0 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -1,5 +1,8 @@ # Default ignored files /shelf/ /workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml # Editor-based HTTP Client requests /httpRequests/ diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..934d311 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +AideSCIT_Web \ No newline at end of file diff --git a/.idea/AideSCIT_Web.iml b/.idea/AideSCIT_Web.iml new file mode 100644 index 0000000..905ee4d --- /dev/null +++ b/.idea/AideSCIT_Web.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index ff0b601..03d9549 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -1,21 +1,6 @@ \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..e64e4b1 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml index 13a2ba1..14d55d8 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml new file mode 100644 index 0000000..797acea --- /dev/null +++ b/.idea/runConfigurations.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/npm_build.xml b/.idea/runConfigurations/npm_build.xml new file mode 100644 index 0000000..d69a7d8 --- /dev/null +++ b/.idea/runConfigurations/npm_build.xml @@ -0,0 +1,12 @@ + + + + + +