|
@@ -3,33 +3,22 @@
|
|
|
<div class="pb_head top">
|
|
|
<div>
|
|
|
<span>项目管理</span>
|
|
|
- <span
|
|
|
- class="subClick"
|
|
|
- @click="
|
|
|
- goTo('/works?userid=' + userid + '&oid=' + oid + '&org=' + org)
|
|
|
- "
|
|
|
- >评价管理</span
|
|
|
- >
|
|
|
+ <span class="subClick" @click="
|
|
|
+ goTo('/works?userid=' + userid + '&oid=' + oid + '&org=' + org)
|
|
|
+ ">评价管理</span>
|
|
|
</div>
|
|
|
<div class="student_button">
|
|
|
- <el-button type="primary" class="bgColor" @click="openCourse"
|
|
|
- >协同编辑</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- class="bgColor"
|
|
|
- @click="
|
|
|
- goTo(
|
|
|
- '/course/addCourse?userid=' +
|
|
|
- userid +
|
|
|
- '&oid=' +
|
|
|
- oid +
|
|
|
- '&org=' +
|
|
|
- org
|
|
|
- )
|
|
|
- "
|
|
|
- >添加项目</el-button
|
|
|
- >
|
|
|
+ <el-button type="primary" class="bgColor" @click="openCourse">协同编辑</el-button>
|
|
|
+ <el-button type="primary" class="bgColor" @click="
|
|
|
+ goTo(
|
|
|
+ '/course/addCourse?userid=' +
|
|
|
+ userid +
|
|
|
+ '&oid=' +
|
|
|
+ oid +
|
|
|
+ '&org=' +
|
|
|
+ org
|
|
|
+ )
|
|
|
+ ">添加项目</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="pb_content_body" style="height: 100%">
|
|
@@ -42,24 +31,11 @@
|
|
|
<el-option value="1" label="他人项目"></el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
- <div
|
|
|
- class="all_choose"
|
|
|
- v-for="(item, index) in CourseType[0]"
|
|
|
- :key="index"
|
|
|
- >
|
|
|
+ <div class="all_choose" v-for="(item, index) in CourseType[0]" :key="index">
|
|
|
<span>{{ item.name }}</span>
|
|
|
- <el-select
|
|
|
- v-model="courseTypeId[item.id]"
|
|
|
- placeholder="请选择"
|
|
|
- @change="getTypeName"
|
|
|
- >
|
|
|
+ <el-select v-model="courseTypeId[item.id]" placeholder="请选择" @change="getTypeName">
|
|
|
<el-option label="全部" value="1">全部</el-option>
|
|
|
- <el-option
|
|
|
- v-for="item1 in CourseTypeJson[item.id]"
|
|
|
- :key="item1.id"
|
|
|
- :label="item1.name"
|
|
|
- :value="item1.id"
|
|
|
- >
|
|
|
+ <el-option v-for="item1 in CourseTypeJson[item.id]" :key="item1.id" :label="item1.name" :value="item1.id">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
@@ -68,14 +44,8 @@
|
|
|
|
|
|
<div class="student_right">
|
|
|
<div class="head_left">
|
|
|
- <el-input
|
|
|
- v-model="courseName"
|
|
|
- class="student_input"
|
|
|
- placeholder="请输入项目名称"
|
|
|
- ></el-input>
|
|
|
- <el-button class="course_button" @click="searchCourse"
|
|
|
- >查询</el-button
|
|
|
- >
|
|
|
+ <el-input v-model="courseName" class="student_input" placeholder="请输入项目名称"></el-input>
|
|
|
+ <el-button class="course_button" @click="searchCourse">查询</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -86,16 +56,13 @@
|
|
|
<div class="myCourse" v-else-if="item.isCourseType == 1 && groupA == 1">他人项目</div>
|
|
|
<div class="xtCourse" v-else>协同项目</div>
|
|
|
<div class="tup">
|
|
|
- <img
|
|
|
- :src="
|
|
|
- item.cover != null && item.cover != ''
|
|
|
- ? JSON.parse(item.cover).length > 0
|
|
|
- ? JSON.parse(item.cover)[0].url
|
|
|
- : mr
|
|
|
+ <img :src="
|
|
|
+ item.cover != null && item.cover != ''
|
|
|
+ ? JSON.parse(item.cover).length > 0
|
|
|
+ ? JSON.parse(item.cover)[0].url
|
|
|
: mr
|
|
|
- "
|
|
|
- alt
|
|
|
- />
|
|
|
+ : mr
|
|
|
+ " alt />
|
|
|
</div>
|
|
|
<!-- <div class="bottom_box">
|
|
|
<div>{{ item.title }}</div>
|
|
@@ -107,44 +74,39 @@
|
|
|
<div class="bottom_box">
|
|
|
<div>{{ item.title }}</div>
|
|
|
<div class="kc_t" v-if="item.isCourseType == 2 || groupA == 1">
|
|
|
- 创建老师:{{ item.uname }}
|
|
|
+ 负责老师:{{ item.uname }}
|
|
|
</div>
|
|
|
- <div class="kc_time">{{ item.time }}</div>
|
|
|
+ <div class="kc_time"><span style="color: #4b4b4b;">创建日期:</span>{{ item.time }}</div>
|
|
|
+ <div class="kc_time"><span style="color: #4b4b4b;">修改日期:</span>{{ item.utime }}</div>
|
|
|
</div>
|
|
|
<div class="three_bottom">
|
|
|
<div @click="jump(item.courseId)">评课</div>
|
|
|
- <div
|
|
|
- v-if="groupA == '0'"
|
|
|
- @click="
|
|
|
- goTo(
|
|
|
- '/course/addCourse?cid=' +
|
|
|
- item.courseId +
|
|
|
- '&userid=' +
|
|
|
- userid +
|
|
|
- '&oid=' +
|
|
|
- oid +
|
|
|
- '&org=' +
|
|
|
- org
|
|
|
- )
|
|
|
- "
|
|
|
- >
|
|
|
+ <div v-if="groupA == '0'" @click="
|
|
|
+ goTo(
|
|
|
+ '/course/addCourse?cid=' +
|
|
|
+ item.courseId +
|
|
|
+ '&userid=' +
|
|
|
+ userid +
|
|
|
+ '&oid=' +
|
|
|
+ oid +
|
|
|
+ '&org=' +
|
|
|
+ org
|
|
|
+ )
|
|
|
+ ">
|
|
|
修改
|
|
|
</div>
|
|
|
- <div
|
|
|
- v-if="groupA == '0'"
|
|
|
- @click="
|
|
|
- goTo(
|
|
|
- '/works?cid=' +
|
|
|
- item.courseId +
|
|
|
- '&userid=' +
|
|
|
- userid +
|
|
|
- '&oid=' +
|
|
|
- oid +
|
|
|
- '&org=' +
|
|
|
- org
|
|
|
- )
|
|
|
- "
|
|
|
- >
|
|
|
+ <div v-if="groupA == '0'" @click="
|
|
|
+ goTo(
|
|
|
+ '/works?cid=' +
|
|
|
+ item.courseId +
|
|
|
+ '&userid=' +
|
|
|
+ userid +
|
|
|
+ '&oid=' +
|
|
|
+ oid +
|
|
|
+ '&org=' +
|
|
|
+ org
|
|
|
+ )
|
|
|
+ ">
|
|
|
报告
|
|
|
</div>
|
|
|
<div v-if="groupA == '0'" @click="deleteCourse(item.courseId)">删除</div>
|
|
@@ -155,27 +117,14 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="student_page">
|
|
|
- <el-pagination
|
|
|
- background
|
|
|
- layout="prev, pager, next"
|
|
|
- :page-size="10"
|
|
|
- :total="total"
|
|
|
- v-if="page && course.length"
|
|
|
- style="padding-bottom: 20px"
|
|
|
- @current-change="handleCurrentChange"
|
|
|
- ></el-pagination>
|
|
|
+ <el-pagination background layout="prev, pager, next" :page-size="10" :total="total" v-if="page && course.length"
|
|
|
+ style="padding-bottom: 20px" @current-change="handleCurrentChange"></el-pagination>
|
|
|
</div>
|
|
|
<el-dialog :visible.sync="dialogVisible1" size="tiny">
|
|
|
<img width="100%" :src="dialogImageUrl" alt />
|
|
|
</el-dialog>
|
|
|
- <el-dialog
|
|
|
- title="查看提问"
|
|
|
- :visible.sync="dialogVisible"
|
|
|
- :append-to-body="true"
|
|
|
- width="750px"
|
|
|
- :before-close="handleClose"
|
|
|
- class="dialog_diy"
|
|
|
- >
|
|
|
+ <el-dialog title="查看提问" :visible.sync="dialogVisible" :append-to-body="true" width="750px"
|
|
|
+ :before-close="handleClose" class="dialog_diy">
|
|
|
<div>
|
|
|
<div class="a_addBox">
|
|
|
<CourseProblem :problemCourse="problemCourse"></CourseProblem>
|
|
@@ -185,32 +134,18 @@
|
|
|
<el-button @click="dialogVisible = false">关 闭</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
- <el-dialog
|
|
|
- title="查看协同项目"
|
|
|
- :visible.sync="dialogVisibleCourse"
|
|
|
- :append-to-body="true"
|
|
|
- width="850px"
|
|
|
- :before-close="handleClose"
|
|
|
- class="dialog_diy"
|
|
|
- >
|
|
|
+ <el-dialog title="查看协同项目" :visible.sync="dialogVisibleCourse" :append-to-body="true" width="850px"
|
|
|
+ :before-close="handleClose" class="dialog_diy">
|
|
|
<div class="ct_box">
|
|
|
- <div
|
|
|
- class="out_box"
|
|
|
- v-for="(item, index) in courseTeam"
|
|
|
- :key="index"
|
|
|
- style="margin-left: 15px"
|
|
|
- >
|
|
|
+ <div class="out_box" v-for="(item, index) in courseTeam" :key="index" style="margin-left: 15px">
|
|
|
<div class="tup">
|
|
|
- <img
|
|
|
- :src="
|
|
|
- item.cover != null && item.cover != ''
|
|
|
- ? JSON.parse(item.cover).length > 0
|
|
|
- ? JSON.parse(item.cover)[0].url
|
|
|
- : mr
|
|
|
+ <img :src="
|
|
|
+ item.cover != null && item.cover != ''
|
|
|
+ ? JSON.parse(item.cover).length > 0
|
|
|
+ ? JSON.parse(item.cover)[0].url
|
|
|
: mr
|
|
|
- "
|
|
|
- alt
|
|
|
- />
|
|
|
+ : mr
|
|
|
+ " alt />
|
|
|
</div>
|
|
|
<div class="bottom_box">
|
|
|
<div>{{ item.title }}</div>
|
|
@@ -219,20 +154,18 @@
|
|
|
</div>
|
|
|
<div class="three_bottom">
|
|
|
<div @click="jump(item.courseId)">查看内容</div>
|
|
|
- <div
|
|
|
- @click="
|
|
|
- goTo(
|
|
|
- '/course/addCourse?cid=' +
|
|
|
- item.courseId +
|
|
|
- '&userid=' +
|
|
|
- userid +
|
|
|
- '&oid=' +
|
|
|
- oid +
|
|
|
- '&org=' +
|
|
|
- org
|
|
|
- )
|
|
|
- "
|
|
|
- >
|
|
|
+ <div @click="
|
|
|
+ goTo(
|
|
|
+ '/course/addCourse?cid=' +
|
|
|
+ item.courseId +
|
|
|
+ '&userid=' +
|
|
|
+ userid +
|
|
|
+ '&oid=' +
|
|
|
+ oid +
|
|
|
+ '&org=' +
|
|
|
+ org
|
|
|
+ )
|
|
|
+ ">
|
|
|
编辑
|
|
|
</div>
|
|
|
</div>
|
|
@@ -365,7 +298,7 @@ export default {
|
|
|
this.page = val;
|
|
|
this.getCourse();
|
|
|
},
|
|
|
- init() {},
|
|
|
+ init() { },
|
|
|
handleClose(done) {
|
|
|
done();
|
|
|
},
|
|
@@ -644,28 +577,28 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
-.dialog_diy >>> .el-dialog__header {
|
|
|
+.dialog_diy>>>.el-dialog__header {
|
|
|
background: #3d67bc !important;
|
|
|
padding: 15px 20px;
|
|
|
}
|
|
|
|
|
|
-.dialog_diy >>> .el-dialog__title {
|
|
|
+.dialog_diy>>>.el-dialog__title {
|
|
|
color: #fff;
|
|
|
}
|
|
|
|
|
|
-.dialog_diy >>> .el-dialog__headerbtn {
|
|
|
+.dialog_diy>>>.el-dialog__headerbtn {
|
|
|
top: 19px;
|
|
|
}
|
|
|
|
|
|
-.dialog_diy >>> .el-dialog__headerbtn .el-dialog__close {
|
|
|
+.dialog_diy>>>.el-dialog__headerbtn .el-dialog__close {
|
|
|
color: #fff;
|
|
|
}
|
|
|
|
|
|
-.dialog_diy >>> .el-dialog__headerbtn .el-dialog__close:hover {
|
|
|
+.dialog_diy>>>.el-dialog__headerbtn .el-dialog__close:hover {
|
|
|
color: #fff;
|
|
|
}
|
|
|
|
|
|
-.student_head >>> .el-button--primary {
|
|
|
+.student_head>>>.el-button--primary {
|
|
|
background-color: #2268bc;
|
|
|
}
|
|
|
|
|
@@ -731,7 +664,7 @@ export default {
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
-.el-table >>> .even_row {
|
|
|
+.el-table>>>.even_row {
|
|
|
background-color: #f1f1f1;
|
|
|
}
|
|
|
|
|
@@ -843,7 +776,7 @@ export default {
|
|
|
justify-content: center;
|
|
|
}
|
|
|
|
|
|
-.el_cards >>> .el-card__body {
|
|
|
+.el_cards>>>.el-card__body {
|
|
|
height: 100%;
|
|
|
}
|
|
|
|
|
@@ -859,7 +792,7 @@ export default {
|
|
|
display: flex;
|
|
|
}
|
|
|
|
|
|
-.wordUpload > .buttonUp {
|
|
|
+.wordUpload>.buttonUp {
|
|
|
margin-right: 5px;
|
|
|
}
|
|
|
|
|
@@ -884,12 +817,12 @@ export default {
|
|
|
padding: 10px 0 10px 10px;
|
|
|
flex-direction: column;
|
|
|
box-sizing: border-box;
|
|
|
- height: 91px;
|
|
|
+ height: 121px;
|
|
|
flex-wrap: nowrap;
|
|
|
justify-content: space-evenly;
|
|
|
}
|
|
|
|
|
|
-.bottom_box > div:nth-child(1) {
|
|
|
+.bottom_box>div:nth-child(1) {
|
|
|
width: 230px;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
@@ -905,7 +838,7 @@ export default {
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
-.tup > img {
|
|
|
+.tup>img {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
object-fit: contain;
|
|
@@ -931,11 +864,11 @@ export default {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
-.three_bottom > div {
|
|
|
+.three_bottom>div {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
-.three_bottom > div:hover {
|
|
|
+.three_bottom>div:hover {
|
|
|
color: #79a2ff;
|
|
|
}
|
|
|
|
|
@@ -943,7 +876,7 @@ export default {
|
|
|
display: flex;
|
|
|
}
|
|
|
|
|
|
-.student_input >>> .el-input__inner {
|
|
|
+.student_input>>>.el-input__inner {
|
|
|
height: 40px;
|
|
|
width: 190px;
|
|
|
font-size: 13px;
|
|
@@ -969,7 +902,7 @@ export default {
|
|
|
width: calc(100% / 3);
|
|
|
}
|
|
|
|
|
|
-.all_choose > span {
|
|
|
+.all_choose>span {
|
|
|
width: 50px;
|
|
|
display: block;
|
|
|
}
|
|
@@ -986,26 +919,26 @@ export default {
|
|
|
align-items: center;
|
|
|
}
|
|
|
|
|
|
-.choose > div:nth-child(2) {
|
|
|
+.choose>div:nth-child(2) {
|
|
|
margin-left: 1%;
|
|
|
width: 32.33333%;
|
|
|
}
|
|
|
|
|
|
-.choose > div:nth-child(4) {
|
|
|
+.choose>div:nth-child(4) {
|
|
|
margin-right: 1%;
|
|
|
width: 32.33333%;
|
|
|
}
|
|
|
|
|
|
-.choose > div:nth-child(5) {
|
|
|
+.choose>div:nth-child(5) {
|
|
|
margin: 5px 0 0 1%;
|
|
|
}
|
|
|
|
|
|
-.choose > div:nth-child(4) > span {
|
|
|
+.choose>div:nth-child(4)>span {
|
|
|
width: 74px !important;
|
|
|
min-width: 74px;
|
|
|
}
|
|
|
|
|
|
-.choose > div:nth-child(4) >>> .el-select {
|
|
|
+.choose>div:nth-child(4)>>>.el-select {
|
|
|
width: 217.5px;
|
|
|
min-width: 215.06px;
|
|
|
}
|