This commit is contained in:
何美荣 2025-12-19 16:22:21 +08:00
commit 7f8c1508c8

View File

@ -67,7 +67,7 @@ export function getRequestHeaders(url, type = 'post', data, isIgnoreTenant) {
// 非 OP 路径接口header 需要添加 Tenant // 非 OP 路径接口header 需要添加 Tenant
const Tenant = storage('lacal').getItem('Tenant').val const Tenant = storage('lacal').getItem('Tenant').val
//wyw 总部数据搜索 子公司切换处理 //wyw 总部数据搜索 子公司切换处理
if (data && data.OrgId && data.OrgId === '00300000-0000-0000-0000-000000000000' && url && data.FilterGroup. if (data && data.OrgId && data.OrgId === '00300000-0000-0000-0000-000000000000' && url && data.FilterGroup && data.FilterGroup.
Groups && data.FilterGroup.Groups.length > 0 && (data.Parameter22 == null || data.Parameter22 === '')) { Groups && data.FilterGroup.Groups.length > 0 && (data.Parameter22 == null || data.Parameter22 === '')) {
data.FilterGroup.Groups.forEach(e => { data.FilterGroup.Groups.forEach(e => {
if (e.Rules && e.Rules.length > 0 && (data.Parameter22 == null || data.Parameter22 === '')) { if (e.Rules && e.Rules.length > 0 && (data.Parameter22 == null || data.Parameter22 === '')) {