提交 09f3c5a5 authored 作者: yaoxinguo's avatar yaoxinguo

就业处批量审核

上级 58626a36
......@@ -120,15 +120,15 @@ const initSignFunc = () => {
taskForm: JSON.stringify(taskForm),
};
//console.log('examineJson', examineJson);
return true;
// return uaaRequest('/UnifiedAppFormApi/examineProcess', examineJson).then((resProcess) => {
// if (!resProcess) {
// console.log('->>>>>>>>>', '审核失败');
// return false;
// }
// console.log('->>>>>>>>>', '审核成功');
// return true;
// });
//return true;
return uaaRequest('/UnifiedAppFormApi/examineProcess', examineJson).then((resProcess) => {
if (!resProcess) {
console.log('->>>>>>>>>', '审核失败');
return false;
}
console.log('->>>>>>>>>', '审核成功');
return true;
});
});
} else { //无需盖章流程跳过
let examineMaps = {
......@@ -145,15 +145,15 @@ const initSignFunc = () => {
};
//console.log('examineJson', examineJson);
resOneStudentRes = true
// await uaaRequest('/UnifiedAppFormApi/examineProcess', examineJson).then((resProcess) => {
// if (!resProcess) {
// console.log('->>>>>>>>>', '审核失败');
// return false;
// }
// //console.log('->>>>>>>>>', '审核成功');
// return true;
// });
resOneStudentRes =
await uaaRequest('/UnifiedAppFormApi/examineProcess', examineJson).then((resProcess) => {
if (!resProcess) {
console.log('->>>>>>>>>', '审核失败');
return false;
}
//console.log('->>>>>>>>>', '审核成功');
return true;
});
}
if (resOneStudentRes) {
success++;
......@@ -180,17 +180,17 @@ const initSignFunc = () => {
taskFunc().then((g) => {
if (g) {
let modalContent1 = `正在进行批量签章审核,请耐心等待, 共审核成功${success}条, 失败${fail}条。共需审核${total}条,其中盖章${selectTotal}条,无需盖章${total - selectTotal}条。`;
let modalContent2 = ``;
for(var i in messageList){
modalContent2 += `【${messageList[i].username }${messageList[i].name};`
}
//message.success('审核完成');
let modalJosn = {
title: '批量审批错误的信息',
content: (
<div>
<p>{modalContent1}</p>
<p>{modalContent2}</p>
<p>{modalContent1}</p>
{
messageList.map((mV,mI)=>{
return <p key={mI}>{`(${mI+1})【${mV.username }${mV.name}`}</p>
})
}
</div>
),
width:500
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论