11wqe1 hai 3 semanas
pai
achega
a11b48d2b4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/components/pages/studentManageNew/index.vue

+ 2 - 2
src/components/pages/studentManageNew/index.vue

@@ -6,7 +6,7 @@
         <span style="color: #86909c; font-size: 12px">{{ lang.GradeManagement }}</span>
       </div>
       <div style="display: flex; gap: 10px;">
-        <div v-if="this.role == 1" class="Clabtn" @click="openaddClass(1)">
+        <div v-if="orglist.includes(org) || role == 1" class="Clabtn" @click="openaddClass(1)">
           <img src="../../../assets/stuImg/jia.svg" alt="" />
           <span>{{ lang.ssGradeType }}</span>
         </div>
@@ -33,7 +33,7 @@
                   src="../../../assets/stuImg/zankai.svg"
                   alt=""
                 />
-                <div v-if="role == 1 && (mouseEnterId == item.id || mouseEnterId2 == item.id)">
+                <div v-if="(orglist.includes(org) || role == 1) && (mouseEnterId == item.id || mouseEnterId2 == item.id)">
                   <el-popover
                       placement="bottom-end"
                       width="80"