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
df011cb7
authored
2025-12-02 14:16:28 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改连接器调用接口
1 parent
1627e794
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
18 additions
and
58 deletions
src/api/modules/dataAsset.ts
src/api/modules/dataIdentify.ts
src/api/modules/dataRequire.ts
src/api/modules/dataSmartContract.ts
src/api/modules/queryService.ts
src/views/data_asset/importTableField.vue
src/views/data_product/productListing.vue
src/views/data_product/productListingDetail.vue
src/views/data_service/dataSource.vue
src/api/modules/dataAsset.ts
View file @
df011cb
...
...
@@ -272,55 +272,19 @@ 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'
,
params
})
/** 获取参数类型列表 */
// export const getDamTypesList = () => request({
// url:`${import.meta.env.VITE_APP_DATA_SOURCE_URL}/data-dict/get-data-list`,
// method: 'post',
// data: { paramCode: "DAM-TYPE" }
// })
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
})
/** 获取所属主题的四级参数类型列表 */
// export const getSubjectDoaminList = () => request({
// url:`${import.meta.env.VITE_APP_DATA_SOURCE_URL}/data-dict/get-data-tree`,
// method: 'post',
// data: { paramCode: "SUBJECT-DOMAIN" }
// })
// export const getSubjectDoaminList = (params) => request({
// url: `${import.meta.env.VITE_APP_CONFIG_URL}/dict/data/get-by-dictType`,
// method: 'get',
// params
// })
// 获取数据类型的接口
// export const getDataTypeList = () => request({
// url:`${import.meta.env.VITE_APP_API_BASEURL}/data-dict/get-data-list`,
// method: 'post',
// data: { paramCode: "DATA_TYPE" }
// })
// // 新获取数据类型的接口
// export const getDataTypeList = (params) => request({
// url: `${import.meta.env.VITE_APP_CONFIG_URL}/dict/data/get-by-dictType`,
// method: 'get',
// params
// })
/** 获取权利主体下拉列表 */
export
const
getDamCatalogRightMainList
=
()
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/dam-catalog-table/right-main-list`
,
...
...
src/api/modules/dataIdentify.ts
View file @
df011cb
...
...
@@ -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 @
df011cb
...
...
@@ -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 @
df011cb
...
...
@@ -112,19 +112,19 @@ export const copyContractTemplate = (params) => request({
/** 获取操作行为下拉列表 */
export
const
getActionPolicyList
=
()
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/
policy-templat
e/list-by-policy-type?policyType=XW`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/
connector-invok
e/list-by-policy-type?policyType=XW`
,
method
:
'get'
});
/** 获取约束条件下拉列表 */
export
const
getConstraintPolicyList
=
()
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/
policy-templat
e/list-by-policy-type?policyType=YS`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/
connector-invok
e/list-by-policy-type?policyType=YS`
,
method
:
'get'
});
/** 根据状态获取可用的数字合约模板 */
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/api/modules/queryService.ts
View file @
df011cb
...
...
@@ -298,15 +298,8 @@ export const checkDataSourceConnectTest = (params) => request({
data
:
params
,
});
// 获取所有参数列表
export
const
getAllFlowData
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_CONFIG_URL
}
/dict/data/get-by-dictType`
,
method
:
'get'
,
params
})
export
const
getParamsDictList
=
(
dictType
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
CONFIG_URL
}
/dict/data
/get-by-dictType?dictType=
${
dictType
}
`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
DIGITAL_CONTRACT_URL
}
/connector-invoke/platform
/get-by-dictType?dictType=
${
dictType
}
`
,
method
:
'get'
,
})
...
...
@@ -334,7 +327,7 @@ export const exportTemplate = (params) => request({
/** 获取字典列表数据 */
export
const
getParamsList
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
CONFIG_URL
}
/dict/data
/get-by-dictType`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
DIGITAL_CONTRACT_URL
}
/connector-invoke/platform
/get-by-dictType`
,
method
:
'get'
,
params
})
...
...
src/views/data_asset/importTableField.vue
View file @
df011cb
...
...
@@ -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 @
df011cb
...
...
@@ -15,7 +15,8 @@ import DialogApproval from '@/components/ApprovalProcess/dialog_approval.vue';
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 @
df011cb
...
...
@@ -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
,
getDamTypesList
,
}
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
...
...
src/views/data_service/dataSource.vue
View file @
df011cb
...
...
@@ -15,7 +15,7 @@ import {
getDataSourceDetail
,
checkDataSourceConnect
,
checkDataSourceConnectTest
,
get
AllFlowData
get
ParamsList
}
from
"@/api/modules/queryService"
;
const
{
proxy
}
=
getCurrentInstance
()
as
any
;
...
...
@@ -1021,7 +1021,7 @@ const getFirstPageData = () => {
getTableData
();
};
onMounted
(()
=>
{
get
AllFlowData
({
dictType
:
"业务系统"
}).
then
((
res
)
=>
{
get
ParamsList
({
dictType
:
"业务系统"
}).
then
((
res
)
=>
{
flowList
.
value
=
res
.
data
contents
.
value
.
normal
.
items
[
3
].
options
=
flowList
.
value
})
...
...
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