From 399c4b546163dd823a0544c00465b9e46744d475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Thu, 5 Dec 2024 14:47:23 +0800 Subject: [PATCH 01/12] =?UTF-8?q?add:=E6=B7=BB=E5=8A=A0=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/AixPPTist/src/api/index.ts | 2 + .../ElementStylePanel/Active/index.vue | 84 ++++++++++++------- .../classTask/newClassTaskAssign/index.vue | 12 ++- src/renderer/src/views/model/index.vue | 2 +- 4 files changed, 67 insertions(+), 33 deletions(-) diff --git a/src/renderer/src/AixPPTist/src/api/index.ts b/src/renderer/src/AixPPTist/src/api/index.ts index d7ff6ad..0d657b1 100644 --- a/src/renderer/src/AixPPTist/src/api/index.ts +++ b/src/renderer/src/AixPPTist/src/api/index.ts @@ -142,6 +142,8 @@ export class PPTApi { static updateSlide(data: object): Promise { return new Promise(async (resolve, reject) => { const res: Result = await API_entpcoursefile.updateEntpcoursefileNew(data) + console.log(data,'data'); + console.log(res,'dresata'); if (res.code === 200) { resolve(true) } else msgUtils.msgError(res.msg || '更新失败');resolve(false) diff --git a/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementStylePanel/Active/index.vue b/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementStylePanel/Active/index.vue index 9bf72ac..4322dfb 100644 --- a/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementStylePanel/Active/index.vue +++ b/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementStylePanel/Active/index.vue @@ -32,21 +32,24 @@
- @@ -88,7 +86,6 @@ import ThumbnailSlide from '../../../views/components/ThumbnailSlide/index.vue' import LayoutPool from './LayoutPool.vue' import Popover from '../../../components/Popover.vue' import Draggable from 'vuedraggable' -import Active from '../Toolbar/ElementStylePanel/Active/index.vue' const mainStore = useMainStore() const slidesStore = useSlidesStore() @@ -127,7 +124,6 @@ const { updateSectionTitle, } = useSectionHandler() -const activeRef = ref() // 页面被切换时 const thumbnailsRef = ref>() @@ -151,8 +147,6 @@ watch(() => slideIndex.value, () => { // 切换页面 const changeSlideIndex = (index: number) => { - console.log(workItem.value[index],'hasSection'); - activeRef.value.clickPPTList(workItem.value[index]) mainStore.setActiveElementIdList([]) diff --git a/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementStylePanel/Active/index.vue b/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementStylePanel/Active/index.vue index 4322dfb..c5f5c31 100644 --- a/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementStylePanel/Active/index.vue +++ b/src/renderer/src/AixPPTist/src/views/Editor/Toolbar/ElementStylePanel/Active/index.vue @@ -37,13 +37,12 @@
{{item.worktype}} -
{{item.evaltitle}}
+
{{item.evaltitle}}
删除
- {{workList.length}} @@ -58,8 +57,8 @@ append-to-body :show-close="false" width="40%" - > - + > + @@ -71,183 +70,246 @@ -