This commit is contained in:
kclf
2022-12-05 16:59:49 +08:00
parent c8986f44e3
commit bb77d559db

View File

@@ -4774,10 +4774,13 @@ export default defineComponent({
score: state.lrcj_inputV1,
studentIds: [state.studentId],
type: 1,
});
}).then((res) => {
if (res.data.code === 200) {
getTableDate2();
delete_exit1();
}
});
}
}
};
const handleJie = async () => {
@@ -4787,10 +4790,13 @@ export default defineComponent({
score: "",
studentIds: [state.studentId],
type: 2,
});
}).then((res) => {
if (res.data.code === 200) {
getTableDate2();
delete_exit1();
}
});
}
};
//确认复制
const handleAgreeTrue = async () => {
@@ -4800,21 +4806,27 @@ export default defineComponent({
score: "",
studentIds: [state.studentId],
type: 3,
});
}).then((res) => {
if (res.data.code === 200) {
getTableDate2();
delete_exit1();
state.addLoading = false;
}
});
}
if (state.rejectstudy_hs) {
handleStudent({
offcoursePlanId: state.offcoursePlanId,
score: "",
studentIds: [state.studentId],
type: 4,
});
}).then((res) => {
if (res.data.code === 200) {
getTableDate2();
delete_exit1();
}
});
}
};
//确认复制课程
const handleDeleteExit = async () => {