|
@@ -220,13 +220,19 @@
|
|
|
添加班级
|
|
|
</div>
|
|
|
</div> -->
|
|
|
- <div style="flex: 0.5 1 0%; margin: 0"
|
|
|
+ <div style="flex: 0.5 1 0%; margin: 0;width:180px"
|
|
|
v-if="courseUserid != '' ? courseUserid == userid : true">
|
|
|
<div class="bInfo_title">协同编辑</div>
|
|
|
<div class="addPeople" @click="dialogVisibleMember = true"
|
|
|
style="background: #6b92c9">
|
|
|
添加协同成员
|
|
|
</div>
|
|
|
+ <div v-if="checkboxList3.length"
|
|
|
+ style="max-width: 100%;word-break: break-all;overflow: hidden;margin-top: 10px;font-size:14px;color:#6e6e6e">
|
|
|
+ <span :class="{ tcMember: getMan2(tc) }"
|
|
|
+ v-for="(tc, tcIndex) in checkboxList3" :key="tcIndex">{{
|
|
|
+ getMan2(tc)
|
|
|
+ }}</span></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -2553,6 +2559,38 @@ export default {
|
|
|
return this.ManAarray.length ? _people : ''
|
|
|
}
|
|
|
},
|
|
|
+ getMan() {
|
|
|
+ return function (people) {
|
|
|
+ let _people = people
|
|
|
+ if (this.ManAarray.length) {
|
|
|
+ for (var i = 0; i < this.ManAarray.length; i++) {
|
|
|
+ if (this.ManAarray[i].userid == people) {
|
|
|
+ _people = this.ManAarray[i].name;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return this.ManAarray.length ? _people : ''
|
|
|
+ }
|
|
|
+ },
|
|
|
+ getMan2() {
|
|
|
+ return function (people) {
|
|
|
+ let _people = people
|
|
|
+ let _people2 = ''
|
|
|
+ if (this.ManAarray.length) {
|
|
|
+ for (var i = 0; i < this.ManAarray.length; i++) {
|
|
|
+ if (this.ManAarray[i].userid == people) {
|
|
|
+ _people2 = this.ManAarray[i].name;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (people == this.courseUserid) {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ return this.ManAarray.length ? _people2 : ''
|
|
|
+ }
|
|
|
+ },
|
|
|
getMen() {
|
|
|
return function (people) {
|
|
|
let _people = people
|
|
@@ -4542,7 +4580,7 @@ export default {
|
|
|
cover: this.cover.length > 0 ?
|
|
|
JSON.stringify(this.cover) : JSON.stringify([{
|
|
|
name: "noBanner.jpg",
|
|
|
- url: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/noBanner1656409780264.jpg",
|
|
|
+ url: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/wu1676621845022.png",
|
|
|
uid: 1656409780264,
|
|
|
status: "success",
|
|
|
},]),
|
|
@@ -4702,7 +4740,7 @@ export default {
|
|
|
cover: this.cover.length > 0 ?
|
|
|
JSON.stringify(this.cover) : JSON.stringify([{
|
|
|
name: "noBanner.jpg",
|
|
|
- url: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/noBanner1656409780264.jpg",
|
|
|
+ url: "https://ccrb.s3.cn-northwest-1.amazonaws.com.cn/wu1676621845022.png",
|
|
|
uid: 1656409780264,
|
|
|
status: "success",
|
|
|
},]),
|
|
@@ -4799,6 +4837,7 @@ export default {
|
|
|
},
|
|
|
isAddPPTeacher() {
|
|
|
this.dialogVisibleMember = false;
|
|
|
+ this.setMan();
|
|
|
},
|
|
|
isAddPPTcTeacher() {
|
|
|
this.unitJson[this.unitIndex].chapterInfo[0].taskJson[this.taskCount].tcMember = this.tcMember
|
|
@@ -5941,7 +5980,7 @@ export default {
|
|
|
this.templateC.id = "123";
|
|
|
this.courseUserid = res.data[0][0].userid;
|
|
|
this.nbOrder = res.data[0][0].ordernumber;
|
|
|
- if(res.data[1].length){
|
|
|
+ if (res.data[1].length) {
|
|
|
this.courseTypeId = []
|
|
|
for (var i = 0; i < res.data[1].length; i++) {
|
|
|
this.courseTypeId.push(res.data[1][i].typeid);
|
|
@@ -5953,6 +5992,7 @@ export default {
|
|
|
this.timer = null;
|
|
|
// this.timer = setInterval(() => {
|
|
|
this.seleteCourseUpdate();
|
|
|
+ this.setMan();
|
|
|
// }, 5000);
|
|
|
this.$forceUpdate();
|
|
|
setTimeout(() => {
|