From 99e7e43e9d6165e28760b390dc29e29c88e511b7 Mon Sep 17 00:00:00 2001 From: hebo Date: Wed, 4 Feb 2026 09:20:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E5=AE=9E=E8=B7=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/base/server.ts | 34 + src/components/BasicFile/preview.vue | 232 ++++ .../BasicForm/components/BasicEditor.vue | 517 ++++++++ .../BasicForm/components/BasicPicker.vue | 9 +- .../BasicForm/src/BasicComponent.vue | 65 +- .../ImageVideoUpload/ImageVideoUpload.vue | 85 +- src/components/ImageVideoUpload/README.md | 223 ++++ src/components/ImageVideoUpload/example.vue | 65 + src/components/ImageVideoUpload/index.ts | 1 - src/components/ImageVideoUpload/types.ts | 1 - src/components/ImageVideoUpload/使用说明.md | 204 +++ src/config.ts | 2 + src/pages.json | 32 + src/pages/base/home/index.vue | 21 +- src/pages/base/xszp/detail.vue | 426 +++++++ src/pages/base/xszp/index.vue | 662 ++++++++++ src/pages/base/xszp/submit.vue | 1114 +++++++++++++++++ src/pages/system/video-player/index.vue | 159 +++ src/static/base/home/book-read-line.png | Bin 479 -> 8420 bytes src/static/base/home/contacts-book-3-line.png | Bin 899 -> 14492 bytes src/static/base/home/draft-line.png | Bin 706 -> 8408 bytes src/static/base/home/file-search-line.png | Bin 1091 -> 7485 bytes src/static/base/home/file-text-line.png | Bin 639 -> 4556 bytes src/static/base/home/file-transfer-line.png | Bin 645 -> 5430 bytes src/static/base/home/jcxq.png | Bin 0 -> 5448 bytes src/static/base/home/xszp.png | Bin 0 -> 7012 bytes src/static/base/view/excel.png | Bin 0 -> 6798 bytes src/static/base/view/fire-black.png | Bin 0 -> 6261 bytes src/static/base/view/fire-white.png | Bin 0 -> 6611 bytes src/static/base/view/fire.png | Bin 0 -> 6479 bytes src/static/base/view/image.png | Bin 0 -> 8191 bytes src/static/base/view/more.png | Bin 0 -> 10412 bytes src/static/base/view/pdf.png | Bin 0 -> 4937 bytes src/static/base/view/ppt.png | Bin 0 -> 5984 bytes src/static/base/view/qdself.png | Bin 0 -> 3778 bytes src/static/base/view/rgzn.png | Bin 0 -> 12612 bytes src/static/base/view/sptg.png | Bin 0 -> 32760 bytes src/static/base/view/word.png | Bin 0 -> 6827 bytes src/static/base/view/zip.png | Bin 0 -> 4974 bytes src/static/base/view/zyyl.png | Bin 0 -> 3988 bytes src/utils/filePreview.ts | 159 ++- 41 files changed, 3974 insertions(+), 37 deletions(-) create mode 100644 src/components/BasicFile/preview.vue create mode 100644 src/components/BasicForm/components/BasicEditor.vue create mode 100644 src/components/ImageVideoUpload/README.md create mode 100644 src/components/ImageVideoUpload/example.vue create mode 100644 src/components/ImageVideoUpload/使用说明.md create mode 100644 src/pages/base/xszp/detail.vue create mode 100644 src/pages/base/xszp/index.vue create mode 100644 src/pages/base/xszp/submit.vue create mode 100644 src/pages/system/video-player/index.vue create mode 100644 src/static/base/home/jcxq.png create mode 100644 src/static/base/home/xszp.png create mode 100644 src/static/base/view/excel.png create mode 100644 src/static/base/view/fire-black.png create mode 100644 src/static/base/view/fire-white.png create mode 100644 src/static/base/view/fire.png create mode 100644 src/static/base/view/image.png create mode 100644 src/static/base/view/more.png create mode 100644 src/static/base/view/pdf.png create mode 100644 src/static/base/view/ppt.png create mode 100644 src/static/base/view/qdself.png create mode 100644 src/static/base/view/rgzn.png create mode 100644 src/static/base/view/sptg.png create mode 100644 src/static/base/view/word.png create mode 100644 src/static/base/view/zip.png create mode 100644 src/static/base/view/zyyl.png 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 @@ +