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
289d0ae8
authored
2025-11-27 13:28:50 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改连接器调用接口
1 parent
44465e4d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
46 deletions
src/api/modules/dataAsset.ts
src/api/modules/dataSmartContract.ts
src/api/modules/queryService.ts
src/views/data_product/productListing.vue
src/views/data_service/dataSource.vue
src/api/modules/dataAsset.ts
View file @
289d0ae
...
...
@@ -284,43 +284,12 @@ export const getParamsList = (params) => request({
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_API_NEW_PORTAL
}
/dict/data/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/dataSmartContract.ts
View file @
289d0ae
...
...
@@ -112,13 +112,13 @@ 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=CZ`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_DIGITAL_CONTRACT_URL
}
/
connector-invok
e/list-by-policy-type?policyType=CZ`
,
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'
});
...
...
src/api/modules/queryService.ts
View file @
289d0ae
...
...
@@ -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_product/productListing.vue
View file @
289d0ae
...
...
@@ -15,7 +15,7 @@ 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
}
from
"@/api/modules/dataAsset"
;
import
{
getParamsList
,
getDamTypesList
}
from
"@/api/modules/dataAsset"
;
import
{
changeNum
,
}
from
"@/utils/common"
;
...
...
@@ -631,7 +631,7 @@ onActivated(() => {
})
onBeforeMount
(()
=>
{
get
Param
sList
({
get
DamType
sList
({
dictType
:
"资产类型"
,
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
...
...
src/views/data_service/dataSource.vue
View file @
289d0ae
...
...
@@ -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