|
|
@@ -1058,7 +1058,7 @@ import echartsDialog from './echartsDialog.vue'
|
|
|
import { chat_stream, chat_no_stream } from '@/tools/aiChat'
|
|
|
import axios from '@/services/config'
|
|
|
import Switch from '@/components/Switch.vue'
|
|
|
-import { likeWork } from '@/services/course'
|
|
|
+import { likeWork, addPPTOp2 } from '@/services/course'
|
|
|
|
|
|
const props = defineProps<{
|
|
|
visible: number[];
|
|
|
@@ -1463,6 +1463,15 @@ const castScreen = (item: any) => {
|
|
|
lookWorkIndex.value = 0
|
|
|
lookWorkDetail.value = item.id
|
|
|
isCastScreen.value = true
|
|
|
+ addPPTOp2({
|
|
|
+ id: props.courseid,
|
|
|
+ userid: props.userid || '',
|
|
|
+ type: '5',
|
|
|
+ index: item.id, // 获取当前ppt页面iframe的id
|
|
|
+ data: item.id, // 进入作业页面到提交的耗时(秒)
|
|
|
+ }).then(res => {
|
|
|
+ console.log('res', res)
|
|
|
+ })
|
|
|
emit('sendMessage', {
|
|
|
type: 'cast_screen',
|
|
|
courseid: props.courseid,
|