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