@@ -159,18 +167,18 @@ const Workplace: FC = () => {
>
-
-
+ {
legend={{
position: 'top-center',
}}
- point={{size:5}}
+ point={{ size: 5 }}
/>
@@ -207,7 +215,7 @@ const Workplace: FC = () => {
bodyStyle={{ padding: 0 }}
>
-
+
{
loading={data?.radarData?.length === 0}
>
-
+
>
diff --git a/web/src/pages/dashboard/workplace/service.ts b/web/src/pages/dashboard/workplace/service.ts
index dd4cc47..3d35af5 100644
--- a/web/src/pages/dashboard/workplace/service.ts
+++ b/web/src/pages/dashboard/workplace/service.ts
@@ -1,6 +1,34 @@
import { request } from 'umi';
import type { NoticeType, ActivitiesType, AnalysisData } from './data';
+
+/**
+ * 【6.5】(教师首页)当前学习主题课程信息
+ * /dsideal_yy/ypt/careerTraining/report/personLastLearning
+ * @param params
+ * @returns
+ */
+export async function personLastLearning(params: {
+ page_size: number;
+ //count: number;
+}): Promise<{ data: { list: CardListItemDataType[] } }> {
+ return request('/dsideal_yy/ypt/careerTraining/report/personLastLearning', {
+ params,
+ });
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
export async function queryProjectNotice(): Promise<{ data: NoticeType[] }> {
return request('/api/project/notice');
}