| | |
| | | console.log(userStore.userInfo.roles); |
| | | |
| | | const roles = userStore.userInfo?.roles || []; |
| | | return roles.some((role) => role.roleKey === "admin" || "opoadmin"|| "leader"|| "business"); |
| | | return roles.some( |
| | | (role) => role.roleKey === "admin" || "opoadmin" || "leader" || "business", |
| | | ); |
| | | }); |
| | | |
| | | // 驳回原因选项 |
| | |
| | | |
| | | onLoad(async (options) => { |
| | | checkAutoLogin(options); |
| | | if (options.id) { |
| | | caseId.value = options.id; |
| | | await loadCaseDetail(options.id); |
| | | if (options.id||options.fcid) { |
| | | console.log(options.fcid); |
| | | |
| | | caseId.value = options.id || options.fcid; |
| | | await loadCaseDetail(caseId.value); |
| | | } |
| | | }); |
| | | |