28bd5f7d by lxs

数据资产登记更新

1 parent f13946e2
...@@ -84,9 +84,8 @@ export const getProduct = (params) => request({ ...@@ -84,9 +84,8 @@ export const getProduct = (params) => request({
84 }) 84 })
85 // 查看平台会员详情 85 // 查看平台会员详情
86 export const getTenantDetailInfo = (params) => request({ 86 export const getTenantDetailInfo = (params) => request({
87 url: `${import.meta.env.VITE_APP_API_BASEURL}/tenant/data/detail`, 87 url: `${import.meta.env.VITE_APP_PERSONAL_URL}/tenant/getByGuid/${params}`,
88 method: 'get', 88 method: 'get'
89 params
90 }) 89 })
91 90
92 91
......
...@@ -285,7 +285,7 @@ const handleExpand = () => { ...@@ -285,7 +285,7 @@ const handleExpand = () => {
285 285
286 onBeforeMount(() => { 286 onBeforeMount(() => {
287 getDetailInfo(); 287 getDetailInfo();
288 getTenantDetail(); 288 daTenantGuid.value && getTenantDetail();
289 }); 289 });
290 290
291 onActivated(() => { 291 onActivated(() => {
...@@ -400,7 +400,7 @@ const tenantDetail: any = ref({}); ...@@ -400,7 +400,7 @@ const tenantDetail: any = ref({});
400 400
401 /** 获取当前登录会员,服务商,企业等详情。 */ 401 /** 获取当前登录会员,服务商,企业等详情。 */
402 const getTenantDetail = () => { 402 const getTenantDetail = () => {
403 getTenantDetailInfo({ guid: daTenantGuid.value }).then((res: any) => { 403 getTenantDetailInfo(daTenantGuid.value).then((res: any) => {
404 if (res.code == proxy.$passCode) { 404 if (res.code == proxy.$passCode) {
405 const data = res.data ?? {}; 405 const data = res.data ?? {};
406 tenantDetail.value = data; 406 tenantDetail.value = data;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!