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

就业处批量审核

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