47 6 months ago
parent
commit
759150be81
1 changed files with 11 additions and 12 deletions
  1. 11 12
      src/views/system/supervisorSelectionSetting/index.vue

+ 11 - 12
src/views/system/supervisorSelectionSetting/index.vue

@@ -175,7 +175,7 @@
             link
             @click="openRecord()"
             v-hasPermi="['system:student-select-supervisor-record:create']"
-            v-else-if="userInfo?.userType === '1' && selectStatus !== 0 && scope.row.selectType"
+            v-else-if="userInfo?.userType === '1' && selectStatus !== 0"
           >
             <Icon icon="ep:bell" />
             详情
@@ -206,7 +206,7 @@
             撤回
           </el-button> -->
 
-          <!--名额设置-->
+<!--名额设置-->
           <el-button
             link
             type="primary"
@@ -216,14 +216,14 @@
           >
             编辑
           </el-button>
-<!-- <el-button-->
-<!--   link-->
-<!--   type="danger"-->
-<!--   @click="handleDelete(scope.row.id)"-->
-<!--   v-hasPermi="['system:supervisor-selection-setting:delete']"-->
-<!-- >-->
-<!--   删除-->
-<!-- </el-button>-->
+<!--          <el-button-->
+<!--            link-->
+<!--            type="danger"-->
+<!--            @click="handleDelete(scope.row.id)"-->
+<!--            v-hasPermi="['system:supervisor-selection-setting:delete']"-->
+<!--          >-->
+<!--            删除-->
+<!--          </el-button>-->
         </template>
       </el-table-column>
     </el-table>
@@ -454,7 +454,7 @@ const getSupervisor= async () => {
 
 const teacherRequireFormRef = ref()
 const openTeacherRequireForm = (supervisorId?: number, userType?: string) => {
-  teacherRequireFormRef.value.open("detail",supervisorId,userType)
+  teacherRequireFormRef.value.open('detail',supervisorId,userType)
 }
 
 //志愿填报弹窗
@@ -465,7 +465,6 @@ const openStudentSelectSupervisorPop = async (type: string,id:number,studentId:n
     message.error("已存在申请")
   }else{
     studentSelectSupervisorPop.value.open(type,id,studentId,projectId ,supervisorId)
-    selectStatus.value = 1;
   } 
 }