From 34fec10fc106e6ae1e1ea99343fe00e927063c99 Mon Sep 17 00:00:00 2001 From: zhuhao <979263092@qq.com> Date: Tue, 12 Nov 2024 15:51:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=89=E6=96=B9=E8=B5=84=E6=BA=90=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E5=A4=87=E8=AF=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +- src/renderer/src/api/file/index.js | 11 + .../prepare/components/chooseTextbook.vue | 308 ++++++++++++++++++ .../src/views/prepare/components/treeLog.vue | 64 ++++ .../views/resource/container/third-list.vue | 37 ++- 5 files changed, 421 insertions(+), 3 deletions(-) create mode 100644 src/renderer/src/views/prepare/components/chooseTextbook.vue create mode 100644 src/renderer/src/views/prepare/components/treeLog.vue diff --git a/package.json b/package.json index 1c822d7..b44e9f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "aix-win", - "version": "2.5.1", + "name": "aix-win-ws", + "version": "2.5.3", "description": "", "main": "./out/main/index.js", "author": "上海交大重庆人工智能研究院", diff --git a/src/renderer/src/api/file/index.js b/src/renderer/src/api/file/index.js index e655614..64cfdfb 100644 --- a/src/renderer/src/api/file/index.js +++ b/src/renderer/src/api/file/index.js @@ -53,3 +53,14 @@ export const moveSmarttalk = (params) => { params }) } + +export const addFileToPrepareThird = (data) => { + return request({ + url: '/smarttalk/file/addFileToPrepareThird', + method: 'post', + headers: { + 'Content-Type': 'multipart/form-data' + }, + data + }) +} diff --git a/src/renderer/src/views/prepare/components/chooseTextbook.vue b/src/renderer/src/views/prepare/components/chooseTextbook.vue new file mode 100644 index 0000000..144720f --- /dev/null +++ b/src/renderer/src/views/prepare/components/chooseTextbook.vue @@ -0,0 +1,308 @@ + + + + + {{ curBook.data.itemtitle }} + + + + + + {{ node.label }} + + + + + + + + + + 切换教材 + + + + + + + + + + + + {{ item.itemtitle }} + + + + + + + + + + \ No newline at end of file diff --git a/src/renderer/src/views/prepare/components/treeLog.vue b/src/renderer/src/views/prepare/components/treeLog.vue new file mode 100644 index 0000000..90b2fa7 --- /dev/null +++ b/src/renderer/src/views/prepare/components/treeLog.vue @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + diff --git a/src/renderer/src/views/resource/container/third-list.vue b/src/renderer/src/views/resource/container/third-list.vue index 0039e24..204dc12 100644 --- a/src/renderer/src/views/resource/container/third-list.vue +++ b/src/renderer/src/views/resource/container/third-list.vue @@ -50,6 +50,10 @@ + + + 备课 @@ -66,17 +70,20 @@ /> +