Compare commits
No commits in common. "c6b59483de1f9efb39da7e1d9c0f4cba9dde8d3b" and "ee320de2ca625f978d8940b37fc905d3c1baf5a9" have entirely different histories.
c6b59483de
...
ee320de2ca
|
|
@ -96,10 +96,10 @@ export class ShareCodeService {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 标记分享码为已使用
|
// 标记分享码为已使用
|
||||||
// await db.shareCode.update({
|
await db.shareCode.update({
|
||||||
// where: { id: shareCode.id },
|
where: { id: shareCode.id },
|
||||||
// data: { isUsed: true },
|
data: { isUsed: true },
|
||||||
// });
|
});
|
||||||
|
|
||||||
// 记录使用日志
|
// 记录使用日志
|
||||||
this.logger.log(`Share code ${code} used for file ${shareCode.fileId}`);
|
this.logger.log(`Share code ${code} used for file ${shareCode.fileId}`);
|
||||||
|
|
|
||||||
0
apps/web/src/components/models/course/detail/CourseOperationBtns/CourseOperationBtns.tsx
Executable file → Normal file
0
apps/web/src/components/models/course/detail/CourseOperationBtns/CourseOperationBtns.tsx
Executable file → Normal file
0
apps/web/src/components/models/department/department-children-select.tsx
Executable file → Normal file
0
apps/web/src/components/models/department/department-children-select.tsx
Executable file → Normal file
0
apps/web/src/components/models/trainContent/train-content-tree-select.tsx
Executable file → Normal file
0
apps/web/src/components/models/trainContent/train-content-tree-select.tsx
Executable file → Normal file
|
|
@ -39,57 +39,50 @@ export type CustomRouteObject =
|
||||||
| CustomIndexRouteObject
|
| CustomIndexRouteObject
|
||||||
| CustomNonIndexRouteObject;
|
| CustomNonIndexRouteObject;
|
||||||
export const routes: CustomRouteObject[] = [
|
export const routes: CustomRouteObject[] = [
|
||||||
// {
|
|
||||||
// path: "/",
|
|
||||||
// errorElement: <ErrorPage />,
|
|
||||||
// handle: {
|
|
||||||
// crumb() {
|
|
||||||
// return <Link to={"/"}>主页</Link>;
|
|
||||||
// },
|
|
||||||
// },
|
|
||||||
// children: [
|
|
||||||
// {
|
|
||||||
// element: <MainLayout></MainLayout>,
|
|
||||||
// children: [
|
|
||||||
// {
|
|
||||||
// index: true,
|
|
||||||
// element:<Dashboard></Dashboard>,
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// path: "/staffinformation",
|
|
||||||
// element: <StaffInformation></StaffInformation>,
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// path: "/staff",
|
|
||||||
// element: <StaffMessage></StaffMessage>,
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// path: "/systemlog",
|
|
||||||
// element: <SystemLogPage></SystemLogPage>,
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// path: "/admin",
|
|
||||||
// element: <AdminLayout></AdminLayout>,
|
|
||||||
// children:adminRoute.children
|
|
||||||
// },
|
|
||||||
|
|
||||||
|
|
||||||
// ],
|
|
||||||
// },
|
|
||||||
|
|
||||||
// ],
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// path: "/login",
|
|
||||||
// breadcrumb: "登录",
|
|
||||||
// element: <LoginPage></LoginPage>,
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
index: true,
|
|
||||||
path: "/",
|
path: "/",
|
||||||
element:<DeptSettingPage></DeptSettingPage>,
|
|
||||||
errorElement: <ErrorPage />,
|
errorElement: <ErrorPage />,
|
||||||
}
|
handle: {
|
||||||
|
crumb() {
|
||||||
|
return <Link to={"/"}>主页</Link>;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
element: <MainLayout></MainLayout>,
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
index: true,
|
||||||
|
element:<Dashboard></Dashboard>,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/staffinformation",
|
||||||
|
element: <StaffInformation></StaffInformation>,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/staff",
|
||||||
|
element: <StaffMessage></StaffMessage>,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/systemlog",
|
||||||
|
element: <SystemLogPage></SystemLogPage>,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/admin",
|
||||||
|
element: <AdminLayout></AdminLayout>,
|
||||||
|
children:adminRoute.children
|
||||||
|
},
|
||||||
|
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/login",
|
||||||
|
breadcrumb: "登录",
|
||||||
|
element: <LoginPage></LoginPage>,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const router = createBrowserRouter(routes);
|
export const router = createBrowserRouter(routes);
|
||||||
|
|
|
||||||
|
|
@ -154,6 +154,8 @@ export const trainSituationDetailSelect: Prisma.TrainSituationSelect = {
|
||||||
name: true,
|
name: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
age: true,
|
||||||
|
sex: true,
|
||||||
absent: true,
|
absent: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
@ -171,6 +173,8 @@ export const staffDetailSelect: Prisma.StaffSelect = {
|
||||||
username: true,
|
username: true,
|
||||||
deptId: true,
|
deptId: true,
|
||||||
avatar: true,
|
avatar: true,
|
||||||
|
age: true,
|
||||||
|
sex: true,
|
||||||
absent: true,
|
absent: true,
|
||||||
trainSituations:{
|
trainSituations:{
|
||||||
select:{
|
select:{
|
||||||
|
|
|
||||||
17014
pnpm-lock.yaml
17014
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue