From b10b850b9a8a2fdcff0bfd28281befa6519f8cad Mon Sep 17 00:00:00 2001 From: lyc Date: Wed, 17 Jul 2024 14:34:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E8=AF=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/api/subject/index.js | 11 +++- .../views/resource/container/resoure-list.vue | 52 ++++++++++++++----- src/renderer/src/views/resource/index.vue | 6 ++- src/renderer/src/views/resource/store.js | 3 ++ 4 files changed, 57 insertions(+), 15 deletions(-) diff --git a/src/renderer/src/api/subject/index.js b/src/renderer/src/api/subject/index.js index 3e55877..127416a 100644 --- a/src/renderer/src/api/subject/index.js +++ b/src/renderer/src/api/subject/index.js @@ -7,4 +7,13 @@ export const listEvaluation = (params)=> { method: 'get', params }) -} \ No newline at end of file +} + + +export const addFileToPrepare = (params) => { + return request({ + url: '/smarttalk/file/addFileToPrepare', + method: 'post', + params + }) +} diff --git a/src/renderer/src/views/resource/container/resoure-list.vue b/src/renderer/src/views/resource/container/resoure-list.vue index 253b9a7..980384d 100644 --- a/src/renderer/src/views/resource/container/resoure-list.vue +++ b/src/renderer/src/views/resource/container/resoure-list.vue @@ -5,12 +5,12 @@