Commit dbc7820a authored by 周宏民's avatar 周宏民

fix: 修改弥勒集成登录营收跳转问题

parent 1d10eeab
Pipeline #96511 passed with stages
...@@ -244,17 +244,13 @@ const IntegrationMile = props => { ...@@ -244,17 +244,13 @@ const IntegrationMile = props => {
if (res.code === 0) { if (res.code === 0) {
// 营收是api-bcs,直饮水是api-ddw // 营收是api-bcs,直饮水是api-ddw
const apiPath = `${item.url}/api-ddw/sysUser/ssoGCK?sysFlag=0&${item.paramName}=${res.data}`; const apiPath = `${item.url}/api-ddw/sysUser/ssoGCK?sysFlag=0&${item.paramName}=${res.data}`;
setLinkUrl(apiPath); // setLinkUrl(apiPath);
const res2 = await axios({ if (item?.openOpt === '当前页打开') {
url: apiPath, setLinkUrl(apiPath);
method: 'get', } else {
dataType: 'json',
});
if (res2?.data?.resultcode !== 'no') {
setLinkUrl('');
setJumpLoading(false); setJumpLoading(false);
jumpProgressEnd(); jumpProgressEnd();
message.warning('没权限,请联系管理员'); window.open(apiPath, '_blank');
} }
} else { } else {
res.msg && message.error(res.msg); res.msg && message.error(res.msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment