|
@@ -171,11 +171,11 @@
|
|
|
选择
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
- type="primary"
|
|
|
- link
|
|
|
- @click="openRecord()"
|
|
|
- v-hasPermi="['system:student-select-supervisor-record:create']"
|
|
|
- v-else-if="userInfo?.userType === '1' && selectStatus !== 0"
|
|
|
+ type="primary"
|
|
|
+ link
|
|
|
+ @click="openRecord()"
|
|
|
+ v-hasPermi="['system:student-select-supervisor-record:create']"
|
|
|
+ v-else-if="userInfo?.userType === '1' && selectStatus !== 0 && scope.row.selectType"
|
|
|
>
|
|
|
<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>
|
|
@@ -465,6 +465,7 @@ const openStudentSelectSupervisorPop = async (type: string,id:number,studentId:n
|
|
|
message.error("已存在申请")
|
|
|
}else{
|
|
|
studentSelectSupervisorPop.value.open(type,id,studentId,projectId ,supervisorId)
|
|
|
+ selectStatus.value = 1;
|
|
|
}
|
|
|
}
|
|
|
|