|
@@ -49,17 +49,18 @@
|
|
|
<div
|
|
|
@click="
|
|
|
goTo(
|
|
|
- '/worksDetail?cid=' + item.courseId + '&userid=' + userid + '&oid=' + oid
|
|
|
+ '/worksDetail?cid=' +
|
|
|
+ item.courseId +
|
|
|
+ '&userid=' +
|
|
|
+ userid +
|
|
|
+ '&oid=' +
|
|
|
+ oid
|
|
|
)
|
|
|
"
|
|
|
>
|
|
|
作业
|
|
|
</div>
|
|
|
- <div
|
|
|
- @click="deleteCourse(item.courseId)"
|
|
|
- >
|
|
|
- 删除
|
|
|
- </div>
|
|
|
+ <div @click="deleteCourse(item.courseId)">删除</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="course_empty" v-if="course.length == 0">暂无数据</div>
|
|
@@ -144,7 +145,13 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
jump(cid) {
|
|
|
- window.open("//pbl.cocorobo.cn/pbl-student-table/dist/#/courseDetail?courseId=" + cid + '&userid=' + this.userid);
|
|
|
+ // window.open(
|
|
|
+ // "//pbl.cocorobo.cn/pbl-student-table/dist/#/courseDetail?courseId=" +
|
|
|
+ // cid +
|
|
|
+ // "&userid=" +
|
|
|
+ // this.userid
|
|
|
+ // );
|
|
|
+ window.parent.postMessage({cid:cid,type:"1"},'*')
|
|
|
},
|
|
|
handle_remove(file, fileList) {
|
|
|
var _tmp = this.fileList;
|
|
@@ -233,7 +240,7 @@ export default {
|
|
|
console.error(err);
|
|
|
});
|
|
|
},
|
|
|
- deleteCourse(cid){
|
|
|
+ deleteCourse(cid) {
|
|
|
const loading = this.openLoading(
|
|
|
document.querySelector(".student_table")
|
|
|
);
|
|
@@ -516,6 +523,6 @@ export default {
|
|
|
}
|
|
|
|
|
|
.three_bottom > div:hover {
|
|
|
- color:#79a2ff;
|
|
|
+ color: #79a2ff;
|
|
|
}
|
|
|
</style>
|