49eaced9 by lihua

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

1 parent e8b8ffc7
...@@ -677,6 +677,7 @@ const save = () => { ...@@ -677,6 +677,7 @@ const save = () => {
677 params.guid = damGuid.value; 677 params.guid = damGuid.value;
678 params.foundMode = route.query.foundMode; 678 params.foundMode = route.query.foundMode;
679 params.rightMain = detailInfo.value.rightMain; 679 params.rightMain = detailInfo.value.rightMain;
680 params.rightMainName = detailInfo.value.rightMainName;
680 fullscreenLoading.value = true; 681 fullscreenLoading.value = true;
681 registerCatalogUpdate(params).then((res: any) => { 682 registerCatalogUpdate(params).then((res: any) => {
682 fullscreenLoading.value = false; 683 fullscreenLoading.value = false;
...@@ -695,7 +696,9 @@ const save = () => { ...@@ -695,7 +696,9 @@ const save = () => {
695 params.damCatalogTableInfo = assetDataTableInfo.value.data; 696 params.damCatalogTableInfo = assetDataTableInfo.value.data;
696 fullscreenLoading.value = true; 697 fullscreenLoading.value = true;
697 console.log(params, 'params'); 698 console.log(params, 'params');
698 params.rightMain = JSON.parse(userStore.userData).tenantGuid; 699 let userData = userStore.userData;
700 params.rightMain = userData.tenantGuid;
701 params.rightMainName = userData.tenantName;
699 registerCatalogSave(params).then((res: any) => { 702 registerCatalogSave(params).then((res: any) => {
700 fullscreenLoading.value = false; 703 fullscreenLoading.value = false;
701 if (res.code == proxy.$passCode) { 704 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!