提交 262a3730 authored 作者: 钟是志's avatar 钟是志

30305 所有申请应用--学生填错后,在审核前可以撤回一次

上级 5fbdea9d
...@@ -2,9 +2,9 @@ import { getIsBei_Dian } from '@/webPublic/zyd_public/utils/getSchoolType'; ...@@ -2,9 +2,9 @@ import { getIsBei_Dian } from '@/webPublic/zyd_public/utils/getSchoolType';
import { message, Modal } from 'antd'; import { message, Modal } from 'antd';
import { uaaRequest } from '@/webPublic/one_stop_public/utils/request'; import { uaaRequest } from '@/webPublic/one_stop_public/utils/request';
export default function rebackButton(){ export default function rebackButton(serviceInfo){
let reBack = []; let reBack = [];
if (getIsBei_Dian()) { if (getIsBei_Dian() && serviceInfo.isCanRecall) {
reBack.push({ reBack.push({
type: 'chehui', type: 'chehui',
name: '撤回', name: '撤回',
......
...@@ -144,6 +144,19 @@ const getFormDetail = (id) => { ...@@ -144,6 +144,19 @@ const getFormDetail = (id) => {
}); });
}; };
/**
*
* */
const getServiceDetail = (id) => {
return apiRequest('/UnifiedServiceApi/getDetail', { id }).then((x) => {
if (x) {
return x;
} else {
return {};
}
});
};
/** /**
* 发起流程 * 发起流程
* */ * */
...@@ -248,6 +261,7 @@ export { ...@@ -248,6 +261,7 @@ export {
getColumns, getColumns,
getPages, getPages,
getFormDetail, getFormDetail,
getServiceDetail,
getOptions, getOptions,
getBatchOptions, getBatchOptions,
startProcess, startProcess,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论