|
@@ -170,7 +170,7 @@
|
|
|
招生详情
|
|
|
</el-button>
|
|
|
<!--志愿填报修改-->
|
|
|
- <!-- <el-button
|
|
|
+ <el-button
|
|
|
link
|
|
|
type="primary"
|
|
|
@click="handelWithdraw( scope.row.supervisorId)"
|
|
@@ -178,7 +178,7 @@
|
|
|
v-if="userInfo?.userType === '1' && scope.row.selectType ==1"
|
|
|
>
|
|
|
撤回
|
|
|
- </el-button> -->
|
|
|
+ </el-button>
|
|
|
|
|
|
<!--名额设置-->
|
|
|
<el-button
|
|
@@ -434,10 +434,11 @@ const recordData = ref({
|
|
|
studentSignDate:[],
|
|
|
supervisorSignDate:[],
|
|
|
})
|
|
|
-const handelWithdraw = async (supervisorId:number) => {
|
|
|
+const handelWithdraw = async (projectId:number,supervisorId:number) => {
|
|
|
try {
|
|
|
await message.confirm('是否确定撤回申请?')
|
|
|
recordData.value.supervisorId=supervisorId
|
|
|
+ recordData.value.projectId=projectId
|
|
|
const data =recordData.value as unknown as studentSelectSupervisorRecordVO
|
|
|
await studentSelectSupervisorRecordApi.withdrawStudentSelectSupervisorRecord(data)
|
|
|
message.success("撤回了申请")
|