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

修改进度数据

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