From aac05a2296c0bea7f4d82666230e76a331dc4bdf Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 30 May 2024 15:53:12 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E5=9B=BE=E7=89=87=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/CoachingSuccess.vue | 3 ++- src/views/lecturer/FinalSuccess.vue | 3 ++- src/views/lecturer/OnlineLearning.vue | 3 ++- src/views/lecturer/TwoAthentication.vue | 3 ++- src/views/lecturer/TwoCos.vue | 3 ++- src/views/lecturer/TwoFinals.vue | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/views/lecturer/CoachingSuccess.vue b/src/views/lecturer/CoachingSuccess.vue index 9a624824..1dc20672 100644 --- a/src/views/lecturer/CoachingSuccess.vue +++ b/src/views/lecturer/CoachingSuccess.vue @@ -15,6 +15,7 @@ export default { }, progressData: {}, fileBaseUrl: process.env.VUE_APP_BOE_MOBILE_URL, + uploadUrl:process.env.VUE_APP_FILE_BASE_URL, disabled: false, statusInfo: '', teacherInfo:'' @@ -166,7 +167,7 @@ export default {
- +
{{ item.courseName }}
diff --git a/src/views/lecturer/FinalSuccess.vue b/src/views/lecturer/FinalSuccess.vue index 83eb494a..97b65472 100644 --- a/src/views/lecturer/FinalSuccess.vue +++ b/src/views/lecturer/FinalSuccess.vue @@ -21,6 +21,7 @@ export default { }, progressData: {}, fileBaseUrl: process.env.VUE_APP_BOE_MOBILE_URL, + uploadUrl:process.env.VUE_APP_FILE_BASE_URL, disabled: false, statusInfo: '', result: '', @@ -207,7 +208,7 @@ export default {
- +
{{ item.courseName }}
diff --git a/src/views/lecturer/OnlineLearning.vue b/src/views/lecturer/OnlineLearning.vue index 95f42701..0285c047 100644 --- a/src/views/lecturer/OnlineLearning.vue +++ b/src/views/lecturer/OnlineLearning.vue @@ -16,6 +16,7 @@ export default { }, progressData:{}, fileBaseUrl:process.env.VUE_APP_BOE_MOBILE_URL, + uploadUrl:process.env.VUE_APP_FILE_BASE_URL, disabled:false, statusInfo:'', teacherInfo:'', @@ -162,7 +163,7 @@ export default {
- +
{{ item.courseName }}
diff --git a/src/views/lecturer/TwoAthentication.vue b/src/views/lecturer/TwoAthentication.vue index 9a2cd7f6..ae3f2b9c 100644 --- a/src/views/lecturer/TwoAthentication.vue +++ b/src/views/lecturer/TwoAthentication.vue @@ -21,6 +21,7 @@ export default { }, progressData:{}, fileBaseUrl:process.env.VUE_APP_BOE_MOBILE_URL, + uploadUrl:process.env.VUE_APP_FILE_BASE_URL, disabled:false, statusInfo:'', result:'', @@ -194,7 +195,7 @@ export default {
- +
{{ item.courseName }}
diff --git a/src/views/lecturer/TwoCos.vue b/src/views/lecturer/TwoCos.vue index 26a8a927..46e2f4f1 100644 --- a/src/views/lecturer/TwoCos.vue +++ b/src/views/lecturer/TwoCos.vue @@ -21,6 +21,7 @@ export default { }, progressData:{}, fileBaseUrl:process.env.VUE_APP_BOE_MOBILE_URL, + uploadUrl:process.env.VUE_APP_FILE_BASE_URL, disabled:false, statusInfo:'', result:'', @@ -197,7 +198,7 @@ export default {
- +
{{ item.courseName }}
diff --git a/src/views/lecturer/TwoFinals.vue b/src/views/lecturer/TwoFinals.vue index d321b3ab..36f58ba6 100644 --- a/src/views/lecturer/TwoFinals.vue +++ b/src/views/lecturer/TwoFinals.vue @@ -21,6 +21,7 @@ export default { }, progressData:{}, fileBaseUrl:process.env.VUE_APP_BOE_MOBILE_URL, + uploadUrl:process.env.VUE_APP_FILE_BASE_URL, disabled:false, statusInfo:'', statusInfo1:'', @@ -203,7 +204,7 @@ export default {
- +
{{ item.courseName }}
From ddde77d2c67473f4371eb8ba3390b983d20968c8 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 30 May 2024 16:02:04 +0800 Subject: [PATCH 02/13] =?UTF-8?q?=E6=94=B9=E4=B8=BA=E9=A1=BF=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/FinalDraft.vue | 2 +- src/views/lecturer/FirstDraft.vue | 2 +- src/views/lecturer/TwoFinal.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/lecturer/FinalDraft.vue b/src/views/lecturer/FinalDraft.vue index 86d083d6..bfc4125f 100644 --- a/src/views/lecturer/FinalDraft.vue +++ b/src/views/lecturer/FinalDraft.vue @@ -230,7 +230,7 @@ export default { multiple>
将文件拖到此处,或点击上传
-
请上传解密后的文件,仅支持上传ppt,pptx,pdf格式文件
+
请上传解密后的文件,仅支持上传ppt、pptx、pdf格式文件
diff --git a/src/views/lecturer/FirstDraft.vue b/src/views/lecturer/FirstDraft.vue index 152614da..e8ed2bca 100644 --- a/src/views/lecturer/FirstDraft.vue +++ b/src/views/lecturer/FirstDraft.vue @@ -236,7 +236,7 @@ export default { multiple>
将文件拖到此处,或点击上传
-
请上传解密后的文件,仅支持上传ppt,pptx,pdf格式文件
+
请上传解密后的文件,仅支持上传ppt、pptx、pdf格式文件
diff --git a/src/views/lecturer/TwoFinal.vue b/src/views/lecturer/TwoFinal.vue index 2599f8f0..06666aa6 100644 --- a/src/views/lecturer/TwoFinal.vue +++ b/src/views/lecturer/TwoFinal.vue @@ -232,7 +232,7 @@ export default { multiple>
将文件拖到此处,或点击上传
-
请上传解密后的文件,仅支持上传ppt,pptx,pdf格式文件
+
请上传解密后的文件,仅支持上传ppt、pptx、pdf格式文件
From 31399063e30695c9abeea7a29531eba39cf8e2cc Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 30 May 2024 16:19:23 +0800 Subject: [PATCH 03/13] =?UTF-8?q?=E5=A4=84=E7=90=86=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E7=9A=84=E5=9B=BE=E7=89=87=E8=B7=AF=E5=BE=84=E4=B8=8D=E4=B8=80?= =?UTF-8?q?=E6=A0=B7=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/CoachingSuccess.vue | 3 ++- src/views/lecturer/FinalSuccess.vue | 3 ++- src/views/lecturer/OnlineLearning.vue | 3 ++- src/views/lecturer/TwoAthentication.vue | 3 ++- src/views/lecturer/TwoCos.vue | 3 ++- src/views/lecturer/TwoFinals.vue | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/views/lecturer/CoachingSuccess.vue b/src/views/lecturer/CoachingSuccess.vue index 1dc20672..533de371 100644 --- a/src/views/lecturer/CoachingSuccess.vue +++ b/src/views/lecturer/CoachingSuccess.vue @@ -167,7 +167,8 @@ export default {
- + +
{{ item.courseName }}
diff --git a/src/views/lecturer/FinalSuccess.vue b/src/views/lecturer/FinalSuccess.vue index 97b65472..ed958a6c 100644 --- a/src/views/lecturer/FinalSuccess.vue +++ b/src/views/lecturer/FinalSuccess.vue @@ -208,7 +208,8 @@ export default {
- + +
{{ item.courseName }}
diff --git a/src/views/lecturer/OnlineLearning.vue b/src/views/lecturer/OnlineLearning.vue index 0285c047..4d74b015 100644 --- a/src/views/lecturer/OnlineLearning.vue +++ b/src/views/lecturer/OnlineLearning.vue @@ -163,7 +163,8 @@ export default {
- + +
{{ item.courseName }}
diff --git a/src/views/lecturer/TwoAthentication.vue b/src/views/lecturer/TwoAthentication.vue index ae3f2b9c..236960d4 100644 --- a/src/views/lecturer/TwoAthentication.vue +++ b/src/views/lecturer/TwoAthentication.vue @@ -195,7 +195,8 @@ export default {
- + +
{{ item.courseName }}
diff --git a/src/views/lecturer/TwoCos.vue b/src/views/lecturer/TwoCos.vue index 46e2f4f1..26222577 100644 --- a/src/views/lecturer/TwoCos.vue +++ b/src/views/lecturer/TwoCos.vue @@ -198,7 +198,8 @@ export default {
- + +
{{ item.courseName }}
diff --git a/src/views/lecturer/TwoFinals.vue b/src/views/lecturer/TwoFinals.vue index 36f58ba6..7558ef9a 100644 --- a/src/views/lecturer/TwoFinals.vue +++ b/src/views/lecturer/TwoFinals.vue @@ -204,7 +204,8 @@ export default {
- + +
{{ item.courseName }}
From 5e335d1c0d49fe001ab6c8bcdd044f9a5993c7d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E5=8F=91?= <2577324884@qq.com> Date: Fri, 31 May 2024 14:29:14 +0800 Subject: [PATCH 04/13] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=81=87=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/processStatus.vue | 28 +++++++++++++++++++++++++-- src/views/lecturer/OnlineLearning.vue | 2 +- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/components/processStatus.vue b/src/components/processStatus.vue index dde6954c..ac56a6d0 100644 --- a/src/components/processStatus.vue +++ b/src/components/processStatus.vue @@ -58,8 +58,20 @@ export default { this.status.reviewResult=data.reviewResult } } - }else if(data.onlineLearning==2){ + }else if(data.onlineLearning==2 && data.offlineTutoring==1){ this.status.onlineLearning=2 + }else if (data.onlineLearning==2 && data.offlineTutoring==0){ + this.status.onlineLearning=0 + if (data.offlineTutoring==0){ + this.status.offlineTutoring=0 + if (data.endStatus==0){ + this.status.endStatus=0 + this.status.reviewResult=data.reviewResult + }else if (data.endStatus==2){ + this.status.endStatus=2 + this.status.reviewResult=data.reviewResult + } + } } }else if (data.draftStatus==2){ this.status.draftStatus=2 @@ -75,8 +87,20 @@ export default { this.status.reviewResult=data.reviewResult } } - }else if(data.onlineLearning==2){ + }else if(data.onlineLearning==2 && data.offlineTutoring==1){ this.status.onlineLearning=2 + }else if (data.onlineLearning==2 && data.offlineTutoring==0){ + this.status.onlineLearning=0 + if (data.offlineTutoring==0){ + this.status.offlineTutoring=0 + if (data.endStatus==0){ + this.status.endStatus=0 + this.status.reviewResult=data.reviewResult + }else if (data.endStatus==2){ + this.status.endStatus=2 + this.status.reviewResult=data.reviewResult + } + } } } diff --git a/src/views/lecturer/OnlineLearning.vue b/src/views/lecturer/OnlineLearning.vue index 95f42701..2b8944ff 100644 --- a/src/views/lecturer/OnlineLearning.vue +++ b/src/views/lecturer/OnlineLearning.vue @@ -62,7 +62,7 @@ export default { getProgress(id){ getProgress({teacherId:id}).then(res=>{ this.progressData=res.data - if (res.data.length==0){ + if (res.data.length==0 || res.data==null || res.data==''){ this.disabled=true return } From 2dfe4db873fb989955909d7f14e2832a1f717d86 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Fri, 31 May 2024 16:07:19 +0800 Subject: [PATCH 05/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/CoachingPage.vue | 2 +- src/views/lecturer/TwoCoaching.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/lecturer/CoachingPage.vue b/src/views/lecturer/CoachingPage.vue index 35c806a1..ecac1bc9 100644 --- a/src/views/lecturer/CoachingPage.vue +++ b/src/views/lecturer/CoachingPage.vue @@ -85,7 +85,7 @@ export default { diff --git a/src/views/lecturer/TwoCoaching.vue b/src/views/lecturer/TwoCoaching.vue index 4ea3211f..77a13b35 100644 --- a/src/views/lecturer/TwoCoaching.vue +++ b/src/views/lecturer/TwoCoaching.vue @@ -88,7 +88,7 @@ export default { From 2b63203354f5e1fffe8030a5d1e30727794b21b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E5=8F=91?= <2577324884@qq.com> Date: Fri, 31 May 2024 16:55:37 +0800 Subject: [PATCH 06/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/OnlineLearning.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/lecturer/OnlineLearning.vue b/src/views/lecturer/OnlineLearning.vue index 499d800d..430d6376 100644 --- a/src/views/lecturer/OnlineLearning.vue +++ b/src/views/lecturer/OnlineLearning.vue @@ -63,7 +63,7 @@ export default { getProgress(id){ getProgress({teacherId:id}).then(res=>{ this.progressData=res.data - if (res.data.length==0 || res.data==null || res.data==''){ + if (res.data.length==0 || res.data==null || res.data=='' || res.data=='null'){ this.disabled=true return } From 3da869218aff776f6e900805498f9f80b2db02ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E5=8F=91?= <2577324884@qq.com> Date: Fri, 31 May 2024 17:00:04 +0800 Subject: [PATCH 07/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/OnlineLearning.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/lecturer/OnlineLearning.vue b/src/views/lecturer/OnlineLearning.vue index 430d6376..c164e753 100644 --- a/src/views/lecturer/OnlineLearning.vue +++ b/src/views/lecturer/OnlineLearning.vue @@ -63,7 +63,7 @@ export default { getProgress(id){ getProgress({teacherId:id}).then(res=>{ this.progressData=res.data - if (res.data.length==0 || res.data==null || res.data=='' || res.data=='null'){ + if ( res.data==null ||res.data.length==0 || res.data=='' || res.data=='null'){ this.disabled=true return } From 167612bf3a0a7878aa525b2cf3e0fa7c2e9b18ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E5=8F=91?= <2577324884@qq.com> Date: Fri, 31 May 2024 17:04:30 +0800 Subject: [PATCH 08/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/OnlineLearning.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/lecturer/OnlineLearning.vue b/src/views/lecturer/OnlineLearning.vue index c164e753..1281a60a 100644 --- a/src/views/lecturer/OnlineLearning.vue +++ b/src/views/lecturer/OnlineLearning.vue @@ -63,7 +63,7 @@ export default { getProgress(id){ getProgress({teacherId:id}).then(res=>{ this.progressData=res.data - if ( res.data==null ||res.data.length==0 || res.data=='' || res.data=='null'){ + if ( res.data==null ||res.data=='' ||res.data=='null' || res.data.length==0){ this.disabled=true return } From 68009561616628b359878679fbf30c796d7621f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E5=8F=91?= <2577324884@qq.com> Date: Fri, 31 May 2024 17:19:35 +0800 Subject: [PATCH 09/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/OnlineLearning.vue | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/views/lecturer/OnlineLearning.vue b/src/views/lecturer/OnlineLearning.vue index 1281a60a..ec242c81 100644 --- a/src/views/lecturer/OnlineLearning.vue +++ b/src/views/lecturer/OnlineLearning.vue @@ -17,7 +17,7 @@ export default { progressData:{}, fileBaseUrl:process.env.VUE_APP_BOE_MOBILE_URL, uploadUrl:process.env.VUE_APP_FILE_BASE_URL, - disabled:false, + disabled:true, statusInfo:'', teacherInfo:'', pid:'' @@ -63,16 +63,19 @@ export default { getProgress(id){ getProgress({teacherId:id}).then(res=>{ this.progressData=res.data - if ( res.data==null ||res.data=='' ||res.data=='null' || res.data.length==0){ - this.disabled=true - return + if ( res.data.length>=1 ){ + res.data.forEach((item,index)=>{ + if (item.progress==100){ + + }else if (item.progress==100 && index==res.data.length-1) { + this.disabled=false + }else { + this.disabled=true + return + } + }) + } - res.data.forEach((item,index)=>{ - if (item.progress!=100){ - this.disabled=true - return - } - }) }) }, getJump(){ From 04d7e13a62ffd549840a3b2beb1d335f049cb3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E5=8F=91?= <2577324884@qq.com> Date: Fri, 31 May 2024 17:34:37 +0800 Subject: [PATCH 10/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/OnlineLearning.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/lecturer/OnlineLearning.vue b/src/views/lecturer/OnlineLearning.vue index ec242c81..6a2a66bb 100644 --- a/src/views/lecturer/OnlineLearning.vue +++ b/src/views/lecturer/OnlineLearning.vue @@ -65,10 +65,9 @@ export default { this.progressData=res.data if ( res.data.length>=1 ){ res.data.forEach((item,index)=>{ - if (item.progress==100){ - - }else if (item.progress==100 && index==res.data.length-1) { + if (item.progress==100 && index==res.data.length-1){ this.disabled=false + }else if (item.progress==100) { }else { this.disabled=true return From 5fed77d662498ad602faf73c699dc771379efac5 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Mon, 3 Jun 2024 19:06:58 +0800 Subject: [PATCH 11/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoPlayer/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/VideoPlayer/index.vue b/src/components/VideoPlayer/index.vue index a8c94147..11a2f7ea 100644 --- a/src/components/VideoPlayer/index.vue +++ b/src/components/VideoPlayer/index.vue @@ -591,6 +591,7 @@ export default { src: function () { // 当视频地址变更时,重载视频 this.videoDom.load(); + this.isPlaying = false }, }, }; From 4649a9db4a4b651e33370f2207fd78cb112bf269 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Mon, 3 Jun 2024 19:56:22 +0800 Subject: [PATCH 12/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=99=E5=B8=88?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/CoachingPage.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/lecturer/CoachingPage.vue b/src/views/lecturer/CoachingPage.vue index ecac1bc9..b5754bc4 100644 --- a/src/views/lecturer/CoachingPage.vue +++ b/src/views/lecturer/CoachingPage.vue @@ -28,8 +28,12 @@ export default { }); }) }, - getCoachingTeacher(){ - console.log(this.value) + getCoachingTeacher(val){ + addTeacher({pageNo:1,pageSize:20,keyword:val}).then(res=>{ + this.options = res.data.map(item => { + return { value: item.realName, label: item.realName }; + }); + }) }, getJump(){ @@ -71,7 +75,7 @@ export default { remote reserve-keyword placeholder="请输入辅导老师姓名" - @change="getCoachingTeacher" + :remote-method="getCoachingTeacher" > Date: Mon, 3 Jun 2024 20:49:09 +0800 Subject: [PATCH 13/13] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoPlayer/index.vue | 1 + src/views/study/coursenew.vue | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/VideoPlayer/index.vue b/src/components/VideoPlayer/index.vue index 11a2f7ea..bf7b6f2f 100644 --- a/src/components/VideoPlayer/index.vue +++ b/src/components/VideoPlayer/index.vue @@ -576,6 +576,7 @@ export default { // 进度条到终点时修改播放状态 this.isShowPlayer = false this.$emit('onPlayerPlaying', this.videoDom.currentTime,this.videoDom.duration) + this.$emit('progress',this.currentProgress) if (this.currentProgress === 1) { this.isPlaying = false; this.$emit('onPlayerEnded', {}) diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index 271f6c07..73893027 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -27,7 +27,7 @@
- @@ -320,6 +320,7 @@ }, data() { return { + sendEventProgress: 0, trueFalse: true, audiences:'', isCrowd:false, @@ -1390,6 +1391,9 @@ } }); }, + progress(val) { + this.sendEventProgress = val + }, saveStudyDuration(duration) { //保存本地存储的学习时长 if (duration > 0) { //发送用户学习事件 @@ -1405,7 +1409,9 @@ "objInfo": ""+this.courseInfo.name, "aid":this.userInfo.aid, //当前登录人的id "aname":this.userInfo.name,//当前人的姓名 - "status": 1 //状态 + "status": 1, //状态 + "contentId": this.contentData.id, + "progress": this.sendEventProgress, } //静默处理 apiStat.sendEvent(postData).then(rs=>{