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/treeLog.vue b/src/renderer/src/views/prepare/components/treeLog.vue index 9658dee..90b2fa7 100644 --- a/src/renderer/src/views/prepare/components/treeLog.vue +++ b/src/renderer/src/views/prepare/components/treeLog.vue @@ -22,7 +22,7 @@ import { ref, defineExpose,defineEmits } from 'vue' import ChooseTextbook from './chooseTextbook.vue' const emit = defineEmits(['onsuccess']) - + const dialogVisible = ref(false) const getNodeInfo = ref({}) @@ -48,7 +48,7 @@ const nodeClick = (data) => { getNodeInfo.value = { textbookId:data.node.rootid, - bookList:getFullObj(data.node) + cataList:getFullObj(data.node) } console.log(getNodeInfo.value,'log') } diff --git a/src/renderer/src/views/prepare/index.vue b/src/renderer/src/views/prepare/index.vue index 0e26080..ebceb1d 100644 --- a/src/renderer/src/views/prepare/index.vue +++ b/src/renderer/src/views/prepare/index.vue @@ -2,7 +2,6 @@