49eaced9 by lihua

提交数据产品带上权力主体guid和name

1 parent e8b8ffc7
......@@ -677,6 +677,7 @@ const save = () => {
params.guid = damGuid.value;
params.foundMode = route.query.foundMode;
params.rightMain = detailInfo.value.rightMain;
params.rightMainName = detailInfo.value.rightMainName;
fullscreenLoading.value = true;
registerCatalogUpdate(params).then((res: any) => {
fullscreenLoading.value = false;
......@@ -695,7 +696,9 @@ const save = () => {
params.damCatalogTableInfo = assetDataTableInfo.value.data;
fullscreenLoading.value = true;
console.log(params, 'params');
params.rightMain = JSON.parse(userStore.userData).tenantGuid;
let userData = userStore.userData;
params.rightMain = userData.tenantGuid;
params.rightMainName = userData.tenantName;
registerCatalogSave(params).then((res: any) => {
fullscreenLoading.value = false;
if (res.code == proxy.$passCode) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!