Commit 67a2c406 authored by 周宏民's avatar 周宏民

fix: 云平台 项目案例临时账号管理 权限 userID修改

parent 47704262
Pipeline #89312 passed with stages
...@@ -280,13 +280,17 @@ const Demonstration = props => { ...@@ -280,13 +280,17 @@ const Demonstration = props => {
}, },
], ],
}; };
if (props.global.userInfo.OID) { const oid = props.global.userInfo?.cloudStationOID || props.global.userInfo?.OID;
if (oid) {
params.queryWheres.push({ params.queryWheres.push({
field: '账号', field: '账号',
type: '等于', type: '等于',
value: props.global.userInfo.OID.toString(), value: oid.toString(),
}); });
} else {
return;
} }
appService.getAccountPageList(params).then(res => { appService.getAccountPageList(params).then(res => {
let data = res?.data?.list || []; let data = res?.data?.list || [];
data = data.map(d => { data = data.map(d => {
......
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