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
ff3ebf91
authored
2025-09-16 17:21:33 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
专区资产登记自动生成登记名称
1 parent
6c8c41e0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
src/api/modules/dataAssetZq.ts
src/components/Form/index.vue
src/views/data_asset/registerStartJS.vue
src/api/modules/dataAssetZq.ts
View file @
ff3ebf9
...
...
@@ -7,6 +7,12 @@ export const getRegiaterDetail = (params) => request({
params
})
/** 获取产品登记详情 */
export
const
getRegisterCatalogDetail
=
(
damGuid
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/public-data-products-main/detail-by-dam-guid?damGuid=
${
damGuid
}
`
,
method
:
'get'
})
/** 提交登记信息。 */
export
const
registerSave
=
(
params
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/public-data-products-main/save`
,
...
...
@@ -26,4 +32,10 @@ export const registerDelete = (params) => request({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/public-data-products-main/delete`
,
method
:
'delete'
,
data
:
params
});
\ No newline at end of file
});
/** 获取可使用的资产目录列表 */
export
const
getRegisterCatalogList
=
()
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_API_NEW_PORTAL
}
/dam-catalog-table/public-data/dam-list?isRegister=
${
'Y'
}
&foundMode=4`
,
method
:
'get'
})
...
...
src/components/Form/index.vue
View file @
ff3ebf9
...
...
@@ -816,7 +816,7 @@ const panelChange = (scope, row) => {
</span>
<el-select
v-if=
"child.type == 'select'"
v-model=
"formInline[child.field]"
:placeholder=
"child.placeholder"
:disabled=
"child.disabled || readonly"
:filterable=
"child.filterable"
:multiple=
"child.multiple ?? false"
:multiple=
"child.multiple ?? false"
@
change=
"(val) => selectChange(val, child)"
:collapse-tags=
"child.collapse ?? false"
:collapse-tags-tooltip=
"child.tagsTooltip ?? false"
:max-collapse-tags=
"child.maxTags ?? 1"
:teleported=
"child.teleported || true"
>
<el-option
v-for=
"opts in child.options"
...
...
@@ -827,7 +827,7 @@ const panelChange = (scope, row) => {
:options=
"child.options"
:props=
"child.props"
:show-all-levels=
"child.showAllLevels ?? true"
:clearable=
"child.clearable"
:filterable=
"child.filterable ?? false"
:collapse-tags=
"child.collapse ?? false"
:collapse-tags-tooltip=
"child.tagsTooltip ?? false"
:max-collapse-tags=
"child.maxTags ?? 1"
:disabled=
"child.disabled || readonly"
/>
:max-collapse-tags=
"child.maxTags ?? 1"
:disabled=
"child.disabled || readonly"
@
change=
"(val) => cascaderChange(val, child)"
/>
</el-form-item>
</div>
</div>
...
...
src/views/data_asset/registerStartJS.vue
View file @
ff3ebf9
This diff is collapsed.
Click to expand it.
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