| | |
| | | id, |
| | | Voicetype, |
| | | visitCount, |
| | | followUpDeptCode, |
| | | followUpWardCode, |
| | | } = params; |
| | | console.log( |
| | | token, |
| | |
| | | deptCode, |
| | | redirect, |
| | | campusid, |
| | | followUpDeptCode, |
| | | followUpWardCode, |
| | | "参数日志" |
| | | ); |
| | | |
| | |
| | | visitCount: visitCount || "", |
| | | }; |
| | | console.log("使用taskid跳转到详情页:", redirectPath, redirectQuery); |
| | | } else if (followUpDeptCode || followUpWardCode) { |
| | | // 7.2 携带科室/病区编码,跳转到出院随访列表并按科室/病区查询 |
| | | redirectPath = "/followvisit/discharge"; |
| | | redirectQuery = { |
| | | followUpDeptCode: followUpDeptCode || "", |
| | | followUpWardCode: followUpWardCode || "", |
| | | }; |
| | | console.log("使用科室/病区编码跳转到出院随访列表:", redirectPath, redirectQuery); |
| | | } else if (redirect) { |
| | | // 7.2 如果传入的redirect存在,使用传入的重定向路径 |
| | | // 7.3 如果传入的redirect存在,使用传入的重定向路径 |
| | | try { |
| | | redirectPath = decodeURIComponent(redirect); |
| | | console.log("使用传入的重定向路径:", redirectPath); |
| | |
| | | redirectPath = this.getDefaultRedirectPath(); |
| | | } |
| | | } else { |
| | | // 7.3 使用默认路径 |
| | | // 7.4 使用默认路径 |
| | | redirectPath = this.getDefaultRedirectPath(); |
| | | } |
| | | |