八项作业新功能app端功能上线

八项作业
liujun 2024-11-05 14:03:55 +08:00
parent 6af1ff1f0b
commit 9009b2e459
1 changed files with 2 additions and 3 deletions

View File

@ -183,7 +183,7 @@ export const addFlowInfo = async ({form, list, taskId, EW_RU_JOB_ID, TYPE,CORP_I
export const resolveNextOperation = async ({EW_RU_TASK_ID = '', CORP_ID = '', TYPE = '', EW_RU_JOB_ID = '',vernier = ''}, isLastStep = true) => { export const resolveNextOperation = async ({EW_RU_TASK_ID = '', CORP_ID = '', TYPE = '', EW_RU_JOB_ID = '',vernier = ''}, isLastStep = true) => {
let stepNum = 0 let stepNum = 0
if (isLastStep) { if (isLastStep) {
const {info} = await getCurrentNextOperation({EW_RU_TASK_ID, EW_RU_JOB_ID, VERNIER: vernier, REQUEST_SOURCE: '2'}) const {info} = await getCurrentNextOperation({EW_RU_TASK_ID, EW_RU_JOB_ID, VERNIER: vernier})
// 选人 // 选人
if (info.chooseNextFlag === '1') { if (info.chooseNextFlag === '1') {
uni.navigateTo({ uni.navigateTo({
@ -195,7 +195,7 @@ export const resolveNextOperation = async ({EW_RU_TASK_ID = '', CORP_ID = '', TY
taskId: EW_RU_TASK_ID, taskId: EW_RU_TASK_ID,
EW_RU_JOB_ID: EW_RU_JOB_ID, EW_RU_JOB_ID: EW_RU_JOB_ID,
CORP_ID, CORP_ID,
TYPE, TYPE
}) })
} }
}) })
@ -235,7 +235,6 @@ export const resolveNextOperation = async ({EW_RU_TASK_ID = '', CORP_ID = '', TY
return return
} }
// 流程特殊权限校验 // 流程特殊权限校验
console.log('info', info)
if (info.otherFlag !== null && info.otherFlag.redirectFlag === '1') { if (info.otherFlag !== null && info.otherFlag.redirectFlag === '1') {
uni.$u.route({ uni.$u.route({
url: info.otherFlag.url, url: info.otherFlag.url,