面授结业状态新增不结业状态

This commit is contained in:
zhangsir
2024-10-11 16:57:08 +08:00
parent f7e70a1495
commit 0fea8c564d

View File

@@ -4333,7 +4333,7 @@ function onFocusEnd(){
return ( return (
<div> <div>
{ {
record.signStatus == 1 && record.completionStatus != 1 ? ( record.signStatus == 1 && record.completionStatus != 1 && record.completionStatus != 2 ? (
<div <div
style={{ color: "#4EA6FF", cursor: "pointer" }} style={{ color: "#4EA6FF", cursor: "pointer" }}
onClick={() => { onClick={() => {
@@ -4344,6 +4344,8 @@ function onFocusEnd(){
</div> </div>
) : record.completionStatus == 1 ? ( ) : record.completionStatus == 1 ? (
<div>已结业</div> <div>已结业</div>
) : record.completionStatus == 2 ?(
<div>不结业</div>
) : ( ) : (
<div>-</div> <div>-</div>
)} )}
@@ -4495,12 +4497,12 @@ function onFocusEnd(){
} }
}; };
const handleJie = async () => { const handleJie = async () => {
if (state.graduate_hs && state.jyradioV1 == 1) { if (state.graduate_hs) {
// state.studentItem.id // state.studentItem.id
// console.log("state.studentItem.id", state.studentItem.id); // console.log("state.studentItem.id", state.studentItem.id);
api1 api1
.batchUpdateStatus({ .batchUpdateStatus({
completionStatus: 1, completionStatus: state.jyradioV1,
ids: [state.studentItem?.id], ids: [state.studentItem?.id],
// status: 1, // status: 1,
}) })
@@ -4511,8 +4513,6 @@ function onFocusEnd(){
delete_exit1(); delete_exit1();
} }
}); });
}else{
graduate_exit()
} }
}; };
//确认复制 //确认复制