Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3b9144f4
authored
2025-11-27 14:17:57 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
连接器换成调用平台的接口
1 parent
e7f9f76d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
17 deletions
src/api/modules/dataAsset.ts
src/api/modules/dataIdentify.ts
src/api/modules/dataRequire.ts
src/api/modules/dataSmartContract.ts
src/views/data_asset/importTableField.vue
src/views/data_product/productListing.vue
src/views/data_product/productListingDetail.vue
src/api/modules/dataAsset.ts
View file @
3b9144f
...
...
@@ -272,12 +272,7 @@ export const dataSourcesList = [
}
]
//获取参数字典列表。 这个是主系统的所有字典
// export const getParamsList = (data) => request({
// url:`${import.meta.env.VITE_APP_CONFIG_URL}/dict/get-type-page-list`,
// method: 'post',
// data
// })
/** 目前只有以前的废弃资产代码使用,新的需要使用queryService中的 */
export
const
getParamsList
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_CONFIG_URL
}
/dict/data/get-by-dictType`
,
method
:
'get'
,
...
...
@@ -285,7 +280,7 @@ export const getParamsList = (params) => request({
})
export
const
getDamTypesList
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_AP
I_NEW_PORTAL
}
/dict/data
/get-by-dictType`
,
url
:
`
${
import
.
meta
.
env
.
VITE_AP
P_DIGITAL_CONTRACT_URL
}
/connector-invoke/dam
/get-by-dictType`
,
method
:
'get'
,
params
})
...
...
src/api/modules/dataIdentify.ts
View file @
3b9144f
...
...
@@ -89,7 +89,7 @@ export const getUserTenant = () => request({
// 获取企业信息
export
const
getEnterpriseData
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/
enterpris
e/detail-by-logonUser`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/
connector-invok
e/detail-by-logonUser`
,
method
:
'get'
,
params
})
...
...
src/api/modules/dataRequire.ts
View file @
3b9144f
...
...
@@ -94,7 +94,7 @@ export const getUserTenant = () => request({
// 获取企业信息
export
const
getEnterpriseData
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/
enterpris
e/detail-by-logonUser`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/
connector-invok
e/detail-by-logonUser`
,
method
:
'get'
,
params
})
...
...
src/api/modules/dataSmartContract.ts
View file @
3b9144f
...
...
@@ -124,7 +124,7 @@ export const getConstraintPolicyList = () => request({
/** 根据状态获取可用的数字合约模板 */
export
const
getValidContractTemplateList
=
()
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/con
tract-templat
e/list-by-biz-status`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/con
nector-invok
e/list-by-biz-status`
,
method
:
'get'
});
...
...
src/views/data_asset/importTableField.vue
View file @
3b9144f
...
...
@@ -5,7 +5,9 @@
<
script
lang=
"ts"
setup
name=
"importTableField"
>
import
{
ref
}
from
'vue'
;
import
{
getParamsList
,
getParamsList
}
from
"@/api/modules/queryService"
;
import
{
chTransformEn
}
from
"@/api/modules/dataAsset"
;
import
useUserStore
from
"@/store/modules/user"
;
...
...
src/views/data_product/productListing.vue
View file @
3b9144f
...
...
@@ -15,7 +15,8 @@ import { TableColumnWidth } from '@/utils/enum';
import
TableTools
from
"@/components/Tools/table_tools.vue"
;
import
Table
from
"@/components/Table/index.vue"
;
import
{
CarouselPanel
}
from
'@/components/CarouselPanel'
;
import
{
getParamsList
,
getDamTypesList
}
from
"@/api/modules/dataAsset"
;
import
{
getParamsList
}
from
"@/api/modules/queryService"
;
import
{
getDamTypesList
}
from
"@/api/modules/dataAsset"
;
import
{
changeNum
,
}
from
"@/utils/common"
;
...
...
src/views/data_product/productListingDetail.vue
View file @
3b9144f
...
...
@@ -13,8 +13,8 @@ import useUserStore from "@/store/modules/user";
import
useDataAssetStore
from
"@/store/modules/dataAsset"
;
import
{
changeNum
}
from
'@/utils/common'
;
import
{
onUploadFilePreview
,
onUploadFileDownload
}
from
'@/api/modules/common'
;
import
{
getAreaData
,
getS
erviceTenants
,
getSingle
List
}
from
"@/api/modules/queryService"
;
import
{
getApproveList
,
getTenantApprove
,
get
ParamsList
,
getServiceDetail
}
from
"@/api/modules/dataAsset"
;
import
{
getAreaData
,
getS
ingleList
,
getParams
List
}
from
"@/api/modules/queryService"
;
import
{
getApproveList
,
getTenantApprove
,
get
DamTypesList
}
from
"@/api/modules/dataAsset"
;
import
{
getProductList
,
getFileByDamGuid
,
productRejectFlowData
,
getListingDetail
,
listingSave
,
listingUpdate
,
listingSavePortal
,
getParamsDataList
,
listingUpdateGateway
,
getDataExchangeProductList
,
getTemplateFile
,
getListingList
...
...
@@ -1387,7 +1387,7 @@ onBeforeMount(async () => {
})
}
// getApproveData();
get
ParamsData
List
({
dictType
:
'资产类型'
}).
then
((
res
:
any
)
=>
{
get
DamTypes
List
({
dictType
:
'资产类型'
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
damTypes
.
value
=
res
.
data
||
[];
let
item
=
formInfo
.
value
.
items
.
find
(
item
=>
item
.
field
==
'damType'
);
...
...
@@ -1396,7 +1396,7 @@ onBeforeMount(async () => {
proxy
.
$ElMessage
.
error
(
res
.
msg
);
}
})
get
ParamsData
List
({
dictType
:
'交付方式'
}).
then
((
res
:
any
)
=>
{
get
DamTypes
List
({
dictType
:
'交付方式'
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
deliveryWayList
.
value
=
res
.
data
||
[];
let
item
=
formInfo
.
value
.
items
.
find
(
item
=>
item
.
field
==
'deliveryWay'
);
...
...
@@ -1424,7 +1424,7 @@ onBeforeMount(async () => {
}
})
if
(
detailType
!=
'detail'
)
{
get
Param
sList
({
get
DamType
sList
({
dictType
:
"数据资产目录主题名称"
,
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment