|
@@ -247,6 +247,22 @@ const queryParams = reactive({
|
|
|
projectName:"",
|
|
|
studentGrade:""
|
|
|
})
|
|
|
+
|
|
|
+const recordData = ref({
|
|
|
+ id: undefined,
|
|
|
+ projectId: undefined,
|
|
|
+ studentId: undefined,
|
|
|
+ supervisorId: undefined,
|
|
|
+ selectType: undefined,
|
|
|
+ studentSignature: "",
|
|
|
+ supervisorApproveTime: undefined,
|
|
|
+ supervisorSignature: "",
|
|
|
+ externalSupervisorId: undefined,
|
|
|
+ masterType:undefined,
|
|
|
+ studentSignDate:[],
|
|
|
+ supervisorSignDate:[],
|
|
|
+})
|
|
|
+
|
|
|
const queryFormRef = ref() // 搜索的表单
|
|
|
const exportLoading = ref(false) // 导出的加载中
|
|
|
//导师类型
|
|
@@ -288,9 +304,9 @@ const openForm = (type: string, projectId?: number,supervisorId? :number,id?:num
|
|
|
const handelWithdraw = async (id) => {
|
|
|
try {
|
|
|
await message.confirm('是否确定撤回申请?')
|
|
|
- queryParams.id = id
|
|
|
- const data = recordData.value as unknown as studentSelectionProjectVO
|
|
|
- await studentSelectionProjectApi.withdrawRecord(data)
|
|
|
+ recordData.value.id = id
|
|
|
+ const data =recordData.value as unknown as studentSelectSupervisorRecordVO
|
|
|
+ await studentSelectSupervisorRecordApi.withdrawRecord(data)
|
|
|
message.success("撤回了申请")
|
|
|
await getRecordList()
|
|
|
} catch {}
|
|
@@ -477,21 +493,6 @@ const exportWordTemplate = async () => {
|
|
|
// }
|
|
|
// };
|
|
|
|
|
|
-const recordData = ref({
|
|
|
- id: undefined,
|
|
|
- projectId: undefined,
|
|
|
- studentId: undefined,
|
|
|
- supervisorId: undefined,
|
|
|
- selectType: undefined,
|
|
|
- studentSignature: "",
|
|
|
- supervisorApproveTime: undefined,
|
|
|
- supervisorSignature: "",
|
|
|
- externalSupervisorId: undefined,
|
|
|
- masterType:undefined,
|
|
|
- studentSignDate:[],
|
|
|
- supervisorSignDate:[],
|
|
|
-})
|
|
|
-
|
|
|
const selectionList = ref<studentSelectSupervisorRecordVO[]>([]) //下面的选择记录列表
|
|
|
/** 查询互选记录列表 */
|
|
|
const getRecordList = async () => {
|