Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
yuping
2023-03-03 12:41:56 +08:00
4 changed files with 565 additions and 490 deletions

View File

@@ -498,7 +498,7 @@ export default {
window.open(`${process.env.VUE_APP_BASE_API}/admin/online/manage/exportOnline?chapterId=${props.datasource.stageId}&type=${1}&targetId=${props.datasource.projectId}&taskId=${props.datasource.courseId}`) window.open(`${process.env.VUE_APP_BASE_API}/admin/online/manage/exportOnline?chapterId=${props.datasource.stageId}&type=${1}&targetId=${props.datasource.projectId}&taskId=${props.datasource.courseId}`)
}else if(props.datasource.type==11){ }else if(props.datasource.type==11){
{/* 评估导出 */} {/* 评估导出 */}
window.open(`${process.env.VUE_APP_BASE_API}admin/assessment/manage/exportAssessmentMessage?chapterId=${props.datasource.stageId}&type=${1}&pid=${props.datasource.projectId}&courseId=${props.datasource.courseId}&taskId=${props.datasource.id}&taskType=${props.datasource.type}`) window.open(`${process.env.VUE_APP_BASE_API}/admin/assessment/manage/exportAssessmentMessage?chapterId=${props.datasource.stageId}&type=${1}&pid=${props.datasource.projectId}&courseId=${props.datasource.courseId}&taskId=${props.datasource.id}&taskType=${props.datasource.type}`)
}else{ }else{
window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?currentStageId=${props.datasource.stageId}&type=${1}&pid=${props.datasource.projectId}&taskId=${props.datasource.id}&taskType=${props.datasource.type}`) window.open(`${process.env.VUE_APP_BASE_API}/admin/student/exportTaskStudent?currentStageId=${props.datasource.stageId}&type=${1}&pid=${props.datasource.projectId}&taskId=${props.datasource.id}&taskType=${props.datasource.type}`)
} }

View File

@@ -2637,7 +2637,7 @@ export default {
codeUrl = codeUrl =
window.location.protocol + window.location.protocol +
process.env.VUE_APP_H5 + process.env.VUE_APP_H5 +
"/externalexam?courseId=" + "/externalexam?type=2&courseId=" +
item.courseId; item.courseId;
} else { } else {
codeUrl = codeUrl =
@@ -2705,7 +2705,7 @@ export default {
item.courseId + item.courseId +
"&evaType=" + "&evaType=" +
item.evaType + item.evaType +
"&targetId=" + "&type=2&targetId=" +
item.targetId; item.targetId;
} }
@@ -2737,7 +2737,7 @@ export default {
item.id + item.id +
"&chapterOrStageId=" + "&chapterOrStageId=" +
item.chapterId + item.chapterId +
"&infoId=" + "&type=2&infoId=" +
state.routerId; state.routerId;
} }
// 项目 // 项目
@@ -2745,7 +2745,7 @@ export default {
codeUrl = codeUrl =
window.location.protocol + window.location.protocol +
process.env.VUE_APP_H5 + process.env.VUE_APP_H5 +
"/projectdetails?projectId=" + "/projectdetails?type=2&projectId=" +
item.courseId; item.courseId;
} }
state.codevisible = true; state.codevisible = true;
@@ -2787,8 +2787,15 @@ export default {
// 共享文档文件下载 // 共享文档文件下载
const downloadFile = (url) => { const downloadFile = (url) => {
console.log(url); console.log(url);
if (url) { let urlNew = url.slice(1);
window.open(url); console.log(urlNew);
if (urlNew) {
window.open(
window.location.protocol +
process.env.VUE_APP_BOE_API_URL +
process.env.VUE_APP_FILE_PATH +
urlNew
);
} }
// if(url){ // if(url){
// const filename = '操作指南' // const filename = '操作指南'

File diff suppressed because it is too large Load Diff

View File

@@ -3925,7 +3925,7 @@ export default {
}; };
//创建小组 //创建小组
const createGroup = async () => { const createGroup = async () => {
debugger debugger;
console.log("state.groupPageList" + state.groupPageList); console.log("state.groupPageList" + state.groupPageList);
const id = state.groupInfo.id; const id = state.groupInfo.id;
const d = state.groupPageList const d = state.groupPageList
@@ -4513,7 +4513,7 @@ export default {
codeUrl = codeUrl =
window.location.protocol + window.location.protocol +
process.env.VUE_APP_H5 + process.env.VUE_APP_H5 +
"/faceteach?type=2&courseId=" + "/faceteach?type=1&courseId=" +
item.courseId + item.courseId +
"&id=" + "&id=" +
item.id; item.id;
@@ -4540,7 +4540,7 @@ export default {
codeUrl = codeUrl =
window.location.protocol + window.location.protocol +
process.env.VUE_APP_H5 + process.env.VUE_APP_H5 +
"/externalexam?courseId=" + "/externalexam?type=1&courseId=" +
item.courseId; item.courseId;
} else { } else {
codeUrl = codeUrl =
@@ -4607,7 +4607,7 @@ export default {
process.env.VUE_APP_H5 + process.env.VUE_APP_H5 +
"/evaluation?courseId=" + "/evaluation?courseId=" +
item.courseId + item.courseId +
"&evaType=" + "&type=1&evaType=" +
item.evaType + item.evaType +
"&targetId=" + "&targetId=" +
item.targetId; item.targetId;
@@ -4638,7 +4638,7 @@ export default {
process.env.VUE_APP_H5 + process.env.VUE_APP_H5 +
"/ballotpage?courseId=" + "/ballotpage?courseId=" +
item.courseId + item.courseId +
"&btype=2&id=" + "&type=1&btype=2&id=" +
item.id + item.id +
"&chapterOrStageId=" + "&chapterOrStageId=" +
item.stageId + item.stageId +
@@ -4663,7 +4663,7 @@ export default {
url: url:
window.location.protocol + window.location.protocol +
process.env.VUE_APP_H5 + process.env.VUE_APP_H5 +
"/projectdetails?projectId=" + "/projectdetails?type=1&projectId=" +
state.projectId, state.projectId,
}; };
state.codeInfo = obj; state.codeInfo = obj;
@@ -4678,7 +4678,17 @@ export default {
} }
// 共享文档文件下载 // 共享文档文件下载
const downloadFile = (url) => { const downloadFile = (url) => {
url && window.open(url); console.log(url);
let urlNew = url.slice(1);
if (urlNew) {
window.open(
window.location.protocol +
process.env.VUE_APP_BOE_API_URL +
process.env.VUE_APP_FILE_PATH +
urlNew
);
}
// url && window.open(url);
}; };
function stageChange(item, index) { function stageChange(item, index) {
state.choosedStageName = item.name; state.choosedStageName = item.name;