提交数据产品带上权力主体guid和name
Showing
1 changed file
with
4 additions
and
1 deletions
| ... | @@ -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) { | ... | ... |
-
Please register or sign in to post a comment