提交 9e7e4038 编写于 作者: huangwensu's avatar huangwensu

修改进度数据

上级 61cf5510
......@@ -153,14 +153,14 @@ export default {
};
},
props: {
moduleName: {
type: String,
default: ""
},
paramData: {
type: Array,
default: () => []
},
// moduleName: {
// type: String,
// default: ""
// },
// paramData: {
// type: Array,
// default: () => []
// },
projectComponent: {
type: Array,
default: () => []
......@@ -288,13 +288,13 @@ export default {
getActionText(status) {
return actionMap[status];
},
showDialog(introduce) {
Dialog.alert({
title: '说明',
message: introduce,
confirmButtonText: '我知道了',
})
},
// showDialog(introduce) {
// Dialog.alert({
// title: '说明',
// message: introduce,
// confirmButtonText: '我知道了',
// })
// },
changeCollapse(activeNames) {
console.log('activeNames',activeNames);
let param = {
......
......@@ -64,7 +64,7 @@ export default {
data() {
return {
step1: false,
step2: false,
step2: true,
step3: false,
step4: false,
progressText: "审核中",
......@@ -72,40 +72,40 @@ export default {
};
},
watch: {
currentProgress(n,o) {
if(n == 1) { // 项目学习
this.step1 = true;
this.step2 = false;
this.step3 = false;
this.step4 = false;
}else if(n == 2) { // 申请学分
this.step1 = false;
this.step2 = true;
this.step3 = false;
this.step4 = false;
this.showTip = true;
setInterval(() => {
this.showTip = false;
},5000)
}else if(n == 3) { // 学分审核
this.step1 = false;
this.step2 = false;
this.step3 = true;
this.step4 = false;
this.progressText = "审核中";
}else if(n == 4) { // 审核失败
this.step1 = false;
this.step2 = false;
this.step3 = true;
this.step4 = false;
this.progressText = "审核失败";
}else if(n == 5) { // 申请成功
this.step1 = false;
this.step2 = false;
this.step3 = false;
this.step4 = true;
}
}
// currentProgress(n,o) {
// if(n == 1) { // 项目学习
// this.step1 = true;
// this.step2 = false;
// this.step3 = false;
// this.step4 = false;
// }else if(n == 2) { // 申请学分
// this.step1 = false;
// this.step2 = true;
// this.step3 = false;
// this.step4 = false;
// this.showTip = true;
// setInterval(() => {
// this.showTip = false;
// },5000)
// }else if(n == 3) { // 学分审核
// this.step1 = false;
// this.step2 = false;
// this.step3 = true;
// this.step4 = false;
// this.progressText = "审核中";
// }else if(n == 4) { // 审核失败
// this.step1 = false;
// this.step2 = false;
// this.step3 = true;
// this.step4 = false;
// this.progressText = "审核失败";
// }else if(n == 5) { // 申请成功
// this.step1 = false;
// this.step2 = false;
// this.step3 = false;
// this.step4 = true;
// }
// }
},
created() {},
methods: {
......
......@@ -65,8 +65,6 @@
<div class="catalogue-title">目录</div>
<CellListDetail
:projectComponent="projectComponentDTOS"
:paramData="contentList"
:moduleName="moduleName"
:actionList="actionList"
:detailNum="detailNum"
:courseRequire="courseRequire"
......@@ -151,7 +149,7 @@ export default {
//componentId: 1,
//moduleId: 1,
contentList: [],
moduleName: "",
//moduleName: "",
bannerType: 1, // 1 图片 2视频
videoOptions: {
mp4: "",
......@@ -199,7 +197,7 @@ export default {
this.projectId = this.$route.query.id || 1;
//this.componentId = this.$route.query.componentId;
// this.moduleId = this.$route.query.moduleId;
this.moduleName = this.$route.query.moduleName;
//this.moduleName = this.$route.query.moduleName;
this.courseRequire = this.$route.query.courseRequire;
window.__getUserInfo64Comp = function(param) {
......@@ -329,7 +327,7 @@ export default {
};
rocNative.checkPermissions(params);
} else if (res.code == "219012") {
this.dialogContent = `您的所属机构不在可申请范围(${_this.project.scope})内`;
this.dialogContent = res.message;
this.cancleBtnText = "我知道了";
this.isShowDialog = true;
this.isSingle = true;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册