|
|
@@ -153,7 +153,7 @@
|
|
|
</div>
|
|
|
<div
|
|
|
@click="addStudent"
|
|
|
- v-if="boxType == 1 && interestType == 1"
|
|
|
+ v-if="boxType == 1 && interestType == 1 && activeinfo.createuserid == userid"
|
|
|
class="action_btn"
|
|
|
>
|
|
|
<i class="el-icon-plus"></i>
|
|
|
@@ -175,7 +175,7 @@
|
|
|
>
|
|
|
<el-table-column
|
|
|
type="selection"
|
|
|
- v-if="boxType == 0"
|
|
|
+ v-if="boxType == 0 || (boxType == 1 && interestType == 1)"
|
|
|
width="55px"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
@@ -259,7 +259,7 @@
|
|
|
删除
|
|
|
</div>
|
|
|
</template>
|
|
|
- <template v-if="boxType == 1 && interestType == 0">
|
|
|
+ <template v-if="boxType == 1 && interestType == 0 && scope.row.createuserid == userid">
|
|
|
<!-- <div @click="viewStudent(scope.row)">查看</div> -->
|
|
|
<div @click="editInterestCla(scope.row)">编辑</div>
|
|
|
<div @click="deleteCla(scope.row.id,0,scope.row.createuserid)">删除</div>
|
|
|
@@ -300,7 +300,7 @@
|
|
|
selectedData.length
|
|
|
"
|
|
|
>
|
|
|
- <div class="page_box_area">
|
|
|
+ <div class="page_box_area" v-if="boxType == 0">
|
|
|
<div style="display: flex; align-items: center; gap: 10px">
|
|
|
<!-- <el-checkbox
|
|
|
@change="handleCheckedAllSelection"
|
|
|
@@ -536,7 +536,7 @@ export default {
|
|
|
oid: this.$route.query.oid,
|
|
|
role: this.$route.query.role,
|
|
|
activeId: "", // 当前选中的班级id
|
|
|
-
|
|
|
+ activeinfo: {}, // 当前选中的班级信息
|
|
|
eidl:require('../../../../assets/stuImg/eidl.svg'),
|
|
|
eidh:require('../../../../assets/stuImg/eidh.svg'),
|
|
|
|
|
|
@@ -1202,7 +1202,7 @@ export default {
|
|
|
// console.log('111');
|
|
|
console.log(row, column, event);
|
|
|
|
|
|
- if (row.createuserid != this.userid) return
|
|
|
+ // if (row.createuserid != this.userid) return
|
|
|
|
|
|
if (this.boxType == 1 && this.interestType == 0) {
|
|
|
this.interestType = 1;
|