|
@@ -197,7 +197,7 @@
|
|
|
<div class="returnIndexImg">
|
|
|
<img src="../assets/icon/newIcon/people.png" alt="" />
|
|
|
</div>
|
|
|
- <div>立即授课</div>
|
|
|
+ <div>以班级授课</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1314,7 +1314,40 @@ export default {
|
|
|
if (l.length > 0) {
|
|
|
this.dialogVisibleSk = true;
|
|
|
} else {
|
|
|
- this.addUserRate(0);
|
|
|
+ const h = this.$createElement;
|
|
|
+ this.$confirm("该课程尚未指定授课班级,请放回首页,使用修改功能添加授课班级。","提示",{
|
|
|
+ confirmButtonText: '去修改',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type:"error",
|
|
|
+ }).then(() => {
|
|
|
+ if(this.courseDetail.state == 1 || this.courseDetail.state == 2){
|
|
|
+ window.parent.postMessage({ tools: "openCourseUpdate",cid:this.classId }, "*");
|
|
|
+ }else if(this.courseDetail.state == 3){
|
|
|
+ window.parent.postMessage({ tools: "openCourseEUpdate",cid:this.classId }, "*");
|
|
|
+ }
|
|
|
+ })
|
|
|
+ // this.$msgbox({
|
|
|
+ // title:'错误',
|
|
|
+ // message:"该课程尚未指定授课班级,请放回首页,使用修改功能添加授课班级。",
|
|
|
+ // iconClass:"el-icon-error",
|
|
|
+ // confirmButtonText: '去修改',
|
|
|
+ // cancelButtonText: '取消',
|
|
|
+ // showCancelButton:true,
|
|
|
+ // confirmButtonClass:'confirmButtonClass',
|
|
|
+ // type:"success"
|
|
|
+ // }).then(() => {
|
|
|
+ // if(this.courseDetail.state == 1){
|
|
|
+ // window.parent.postMessage({ tools: "openCourseUpdate",cid:"课程id" }, "*");
|
|
|
+ // this.$message.info("阶段")
|
|
|
+ // }else if(this.courseDetail.state == 2){
|
|
|
+ // window.parent.postMessage({ tools: "openCourseUpdate",cid:"课程id" }, "*");
|
|
|
+ // this.$message.info("任务")
|
|
|
+ // }else if(this.courseDetail.state == 3){
|
|
|
+ // window.parent.postMessage({ tools: "openCourseEUpdate",cid:"课程id" }, "*");
|
|
|
+ // this.$message.info("极简模式")
|
|
|
+ // }
|
|
|
+ // })
|
|
|
+ // this.addUserRate(0);
|
|
|
}
|
|
|
},
|
|
|
goToStudyRate(i) {
|
|
@@ -2066,6 +2099,7 @@ export default {
|
|
|
|
|
|
.returnIndexImg > img {
|
|
|
width: 100%;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
.wheel {
|
|
@@ -3060,4 +3094,10 @@ export default {
|
|
|
margin: 0 auto;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
+
|
|
|
+.confirmButtonClass{
|
|
|
+ background-color: #1463eb !important;
|
|
|
+ border-color: #1463eb !important;
|
|
|
+}
|
|
|
+
|
|
|
</style>
|