|
@@ -81,7 +81,8 @@
|
|
|
<div @click="get(item.courseId)">预览</div>
|
|
|
<!-- 项目进展 -->
|
|
|
<div @click="getA(item.courseId)">进展</div>
|
|
|
- <div @click="jump(item.courseId)">评论</div>
|
|
|
+ <!-- <div @click="jump(item.courseId)">评论</div> -->
|
|
|
+ <div @click="copyCourse(item.courseId)">复制</div>
|
|
|
<div v-if="(item.userid == userid || role == '1')" @click="deleteCourse(item.courseId)">
|
|
|
删除
|
|
|
</div>
|
|
@@ -664,10 +665,14 @@ export default {
|
|
|
uid: this.userid
|
|
|
}]
|
|
|
this.ajax
|
|
|
- .post(this.$store.state.api + "copyCourse", params)
|
|
|
+ .post(this.$store.state.api + "copySCourse", params)
|
|
|
.then((res) => {
|
|
|
this.page = 1
|
|
|
- this.groupA = '0'
|
|
|
+ if (this.role == "1") {
|
|
|
+ this.groupA = "4";
|
|
|
+ } else {
|
|
|
+ this.groupA = "0";
|
|
|
+ }
|
|
|
this.clear()
|
|
|
})
|
|
|
.catch((err) => {
|