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
d449ff95
authored
2025-01-10 10:14:45 +0800
by
xukangle
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update:新增审批流程
1 parent
94395ee8
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
10 deletions
pnpm-lock.yaml
src/api/modules/dataAsset.ts
src/views/data_asset/registerCatalogManagement.vue
src/views/data_asset/registerStart.vue
src/views/data_inventory/classifyGradeCatalogue.vue
src/views/data_product/productListingDetail.vue
pnpm-lock.yaml
View file @
d449ff9
This diff could not be displayed because it is too large.
src/api/modules/dataAsset.ts
View file @
d449ff9
...
...
@@ -252,11 +252,11 @@ export const getParamsList = (params) => request({
// method: 'post',
// data: { paramCode: "DAM-TYPE" }
// })
//
export const getDamTypesList = (params) => request({
//
url: `${import.meta.env.VITE_APP_CONFIG_URL}/dict/data/get-by-dictType`,
//
method: 'get',
//
params
//
})
export
const
getDamTypesList
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_CONFIG_URL
}
/dict/data/get-by-dictType`
,
method
:
'get'
,
params
})
/** 获取所属主题的四级参数类型列表 */
// export const getSubjectDoaminList = () => request({
...
...
src/views/data_asset/registerCatalogManagement.vue
View file @
d449ff9
...
...
@@ -11,7 +11,8 @@ import { MoreFilled } from "@element-plus/icons-vue";
import
{
getParamsList
,
getDamCatalogTable
,
registerCatalogDelete
registerCatalogDelete
,
getDamTypesList
}
from
"@/api/modules/dataAsset"
;
import
{
commonPageConfig
}
from
"@/utils/enum"
;
import
useDataAssetStore
from
"@/store/modules/dataAsset"
;
...
...
src/views/data_asset/registerStart.vue
View file @
d449ff9
...
...
@@ -528,7 +528,7 @@ onBeforeMount(() => {
}
});
}
else
{
getCamundaDeploymentId
(
'1001
7
'
).
then
((
res
:
any
)
=>
{
getCamundaDeploymentId
(
'1001
6
'
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
deploymentId
.
value
=
res
.
data
;
}
else
{
...
...
src/views/data_inventory/classifyGradeCatalogue.vue
View file @
d449ff9
...
...
@@ -1120,6 +1120,11 @@ const drawerBtnClick = async (btn, info) => {
params
.
length
=
0
;
// 清空数组
}
});
if
(
params
.
length
===
0
)
{
btn
.
loading
=
false
;
drawerInfo
.
value
.
visible
=
false
;
return
;
}
try
{
const
res
:
any
=
await
saveBizRuleConfig
(
params
);
...
...
@@ -1189,8 +1194,8 @@ const drawerSelectChange = (val, row, info) => {
if
(
item
.
field
===
'dictionaryGuid'
)
{
item
.
default
=
tempInfo
.
dictionaryGuid
;
}
if
(
item
.
field
===
'
isN
otNull'
)
{
item
.
default
=
tempInfo
.
isN
otNull
;
if
(
item
.
field
===
'
n
otNull'
)
{
item
.
default
=
tempInfo
.
n
otNull
;
}
if
(
item
.
field
===
'isUnique'
)
{
item
.
default
=
tempInfo
.
isUnique
;
...
...
src/views/data_product/productListingDetail.vue
View file @
d449ff9
...
...
@@ -18,6 +18,7 @@ import { getApproveList, getTenantApprove, registerApproveAllow, registerApprove
import
{
getProductList
,
getAddedProductList
,
getListingDetail
,
listingSave
,
listingUpdate
,
listingSavePortal
,
getParamsDataList
}
from
"@/api/modules/dataProduct"
;
import
{
getMatchDetail
}
from
"@/api/modules/dataFinance"
;
import
{
useValidator
}
from
'@/hooks/useValidator'
;
import
{
getCamundaDeploymentId
}
from
"@/api/modules/workFlowService"
;
const
{
required
}
=
useValidator
();
const
route
=
useRoute
();
...
...
@@ -1121,6 +1122,8 @@ onActivated(() => {
getProducts
();
};
})
const
deploymentId
=
ref
(
''
);
onBeforeMount
(()
=>
{
if
(
route
.
query
.
type
==
'add'
&&
!
route
.
query
.
type1
)
{
formInfo
.
value
.
items
.
forEach
(
item
=>
{
...
...
@@ -1202,6 +1205,14 @@ onBeforeMount(() => {
proxy
.
$ElMessage
.
error
(
res
.
msg
);
}
})
getCamundaDeploymentId
(
'10016'
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
deploymentId
.
value
=
res
.
data
;
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
})
})
</
script
>
...
...
@@ -1405,7 +1416,9 @@ onBeforeMount(() => {
<div
class=
"panel_body"
:class=
"{ collapse: collapseIcon1 }"
>
<div
class=
"list_panel"
>
<div
class=
"table_panel_wrap"
>
<Table
:tableInfo=
"approveTableInfo"
/>
<!-- <Table :tableInfo="approveTableInfo" /> -->
<ApprovalProcess
v-if=
"deploymentId"
:deploymentId=
"deploymentId"
:definitionId=
"''"
>
</ApprovalProcess>
</div>
</div>
</div>
...
...
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