|
@@ -9,7 +9,16 @@
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
class="bgColor"
|
|
class="bgColor"
|
|
- @click="goTo('/course/addCourse?userid=' + userid + '&oid=' + oid + '&org=' + org)"
|
|
|
|
|
|
+ @click="
|
|
|
|
+ goTo(
|
|
|
|
+ '/course/addCourse?userid=' +
|
|
|
|
+ userid +
|
|
|
|
+ '&oid=' +
|
|
|
|
+ oid +
|
|
|
|
+ '&org=' +
|
|
|
|
+ org
|
|
|
|
+ )
|
|
|
|
+ "
|
|
>添加项目</el-button
|
|
>添加项目</el-button
|
|
>
|
|
>
|
|
</div>
|
|
</div>
|
|
@@ -63,6 +72,8 @@
|
|
<div class="student_table">
|
|
<div class="student_table">
|
|
<div class="course_box">
|
|
<div class="course_box">
|
|
<div class="out_box" v-for="(item, index) in course" :key="index">
|
|
<div class="out_box" v-for="(item, index) in course" :key="index">
|
|
|
|
+ <div class="myCourse" v-if="item.isCourseType == 1">我的项目</div>
|
|
|
|
+ <div class="xtCourse" v-else>协同项目</div>
|
|
<div class="tup">
|
|
<div class="tup">
|
|
<img
|
|
<img
|
|
:src="
|
|
:src="
|
|
@@ -75,12 +86,17 @@
|
|
alt
|
|
alt
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
- <div class="bottom_box">
|
|
|
|
|
|
+ <!-- <div class="bottom_box">
|
|
<div>{{ item.title }}</div>
|
|
<div>{{ item.title }}</div>
|
|
<div class="kc_t" v-if="groupA == '1'">
|
|
<div class="kc_t" v-if="groupA == '1'">
|
|
创建老师:{{ item.uname }}
|
|
创建老师:{{ item.uname }}
|
|
</div>
|
|
</div>
|
|
<div class="kc_time">{{ item.time }}</div>
|
|
<div class="kc_time">{{ item.time }}</div>
|
|
|
|
+ </div> -->
|
|
|
|
+ <div class="bottom_box">
|
|
|
|
+ <div>{{ item.title }}</div>
|
|
|
|
+ <div class="kc_t" v-if="item.isCourseType == 2">创建老师:{{ item.uname }}</div>
|
|
|
|
+ <div class="kc_time">{{ item.time }}</div>
|
|
</div>
|
|
</div>
|
|
<div class="three_bottom">
|
|
<div class="three_bottom">
|
|
<div @click="jump(item.courseId)">查看内容</div>
|
|
<div @click="jump(item.courseId)">查看内容</div>
|
|
@@ -93,7 +109,9 @@
|
|
'&userid=' +
|
|
'&userid=' +
|
|
userid +
|
|
userid +
|
|
'&oid=' +
|
|
'&oid=' +
|
|
- oid+ '&org=' + org
|
|
|
|
|
|
+ oid +
|
|
|
|
+ '&org=' +
|
|
|
|
+ org
|
|
)
|
|
)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
@@ -107,7 +125,9 @@
|
|
'&userid=' +
|
|
'&userid=' +
|
|
userid +
|
|
userid +
|
|
'&oid=' +
|
|
'&oid=' +
|
|
- oid+ '&org=' + org
|
|
|
|
|
|
+ oid +
|
|
|
|
+ '&org=' +
|
|
|
|
+ org
|
|
)
|
|
)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
@@ -193,7 +213,9 @@
|
|
'&userid=' +
|
|
'&userid=' +
|
|
userid +
|
|
userid +
|
|
'&oid=' +
|
|
'&oid=' +
|
|
- oid+ '&org=' + org
|
|
|
|
|
|
+ oid +
|
|
|
|
+ '&org=' +
|
|
|
|
+ org
|
|
)
|
|
)
|
|
"
|
|
"
|
|
>
|
|
>
|
|
@@ -425,7 +447,7 @@ export default {
|
|
page: this.page,
|
|
page: this.page,
|
|
};
|
|
};
|
|
this.ajax
|
|
this.ajax
|
|
- .get(this.$store.state.api + "selectCourseNew", params)
|
|
|
|
|
|
+ .get(this.$store.state.api + "selectCourseNew2", params)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
this.loading.close();
|
|
this.loading.close();
|
|
this.loading = "";
|
|
this.loading = "";
|
|
@@ -811,6 +833,7 @@ export default {
|
|
border-radius: 0px 0px 5px 5px;
|
|
border-radius: 0px 0px 5px 5px;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
margin-bottom: 15px;
|
|
margin-bottom: 15px;
|
|
|
|
+ position: relative;
|
|
}
|
|
}
|
|
|
|
|
|
.bottom_box {
|
|
.bottom_box {
|
|
@@ -943,4 +966,30 @@ export default {
|
|
display: flex;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
+.myCourse {
|
|
|
|
+ position: absolute;
|
|
|
|
+ background: #3c3c3c;
|
|
|
|
+ width: 70px;
|
|
|
|
+ height: 30px;
|
|
|
|
+ border-radius: 15px;
|
|
|
|
+ color: #fff;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ line-height: 30px;
|
|
|
|
+ top: 5px;
|
|
|
|
+ left: 5px;
|
|
|
|
+}
|
|
|
|
+.xtCourse {
|
|
|
|
+ position: absolute;
|
|
|
|
+ background: #41a5f0;
|
|
|
|
+ width: 70px;
|
|
|
|
+ height: 30px;
|
|
|
|
+ border-radius: 15px;
|
|
|
|
+ color: #fff;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ line-height: 30px;
|
|
|
|
+ top: 5px;
|
|
|
|
+ left: 5px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|