diff --git a/src/api/base/server.ts b/src/api/base/server.ts index a23d7d0..1bc70fc 100644 --- a/src/api/base/server.ts +++ b/src/api/base/server.ts @@ -118,3 +118,37 @@ export const jzXsQjActivitiHistoryApi = async (params: any) => { export const getUserLatestInfoApi = async () => { return await get("/open/login/getLatestInfo"); }; + +/** + * 根据课程ID查询作品执行数据(家长端) + */ +export const zpzxFindByKcParamsApi = async (params: { + kcId?: string; + njId?: string; + njmcId?: string; + bjId?: string; + xsId?: string; +}) => { + return await get("/api/zpzx/findByKcParams", params); +}; + +/** + * 根据ID获取作品任务完整详情(包含任务信息、任务类型列表、评价人列表) + */ +export const zpFindDetailByIdApi = async (params: { id: string }) => { + return await get("/api/zp/findDetailById", params); +}; + +/** + * 新增/修改学生作品执行记录 + */ +export const zpzxSaveApi = async (params: any) => { + return await post("/api/zpzx/save", params); +}; + +/** + * 根据作品执行ID查询作品清单 + */ +export const zpqdFindByZpzxIdApi = async (params: { zpzxId: string }) => { + return await get("/api/zpqd/findPage", { zpzxId: params.zpzxId, page: 1, rows: 100 }); +}; \ No newline at end of file diff --git a/src/components/BasicFile/preview.vue b/src/components/BasicFile/preview.vue new file mode 100644 index 0000000..db89145 --- /dev/null +++ b/src/components/BasicFile/preview.vue @@ -0,0 +1,232 @@ + + + + + diff --git a/src/components/BasicForm/components/BasicEditor.vue b/src/components/BasicForm/components/BasicEditor.vue new file mode 100644 index 0000000..d542d43 --- /dev/null +++ b/src/components/BasicForm/components/BasicEditor.vue @@ -0,0 +1,517 @@ +