|
@@ -90,7 +90,7 @@ export default {
|
|
|
title: `999智控终端平台\n学习报告`,
|
|
|
path: `/pages/video/record?type=${this.type}&record_id=${this.record_id}`,
|
|
|
promise: new Promise((resolve, reject) => {
|
|
|
- this.$http.request(`api/${this.type}_report_share_image/get`, {course_id: this.reportInfo.course_id}).then((callback) => {
|
|
|
+ this.$http.request(`api/${this.type}_report_share_image/get`, {course_id: this.reportInfo.course_id,record_id:this.record_id}).then((callback) => {
|
|
|
let obj = {
|
|
|
title: callback.data?.title,
|
|
|
path: `/pages/video/record?type=${this.type}&record_id=${this.record_id}`,
|
|
@@ -105,7 +105,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
showShareImage(){
|
|
|
- this.$http.request(`api/${this.type}_report_share_image/get_after`, {course_id: this.reportInfo.course_id,scene:`type=${this.type}&record_id=${this.record_id}`}).then((callback) => {
|
|
|
+ this.$http.request(`api/${this.type}_report_share_image/get_after`, {course_id: this.reportInfo.course_id,record_id:this.record_id,scene:`type=${this.type}&record_id=${this.record_id}`}).then((callback) => {
|
|
|
if( callback.code == 'success'){
|
|
|
// 分离base64中的数据部分
|
|
|
const imgSrc = callback.data?.base64_image; // 假设这是你的base64字符串,例如:"data:image/png;base64,iVBORw0K..."
|