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
0320daa8
authored
2025-03-25 10:21:52 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据资产登记更新
1 parent
b3a8da37
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/data_asset/registerStart.vue
src/views/data_asset/registerStart.vue
View file @
0320daa
...
...
@@ -241,9 +241,9 @@ const setBaseFormItemsValue = (info: any) => {
item
.
inputOptions
.
visible
=
false
;
}
}
else
if
(
item
.
field
==
'updateFrequency'
)
{
item
.
default
=
Array
.
isArray
(
info
[
item
.
field
])
?
info
[
item
.
field
][
0
]
:
(
info
[
item
.
field
]
||
[]
);
item
.
default
=
Array
.
isArray
(
info
[
item
.
field
])
?
info
[
item
.
field
][
0
]
:
(
info
[
item
.
field
]
||
''
);
}
else
if
(
item
.
field
==
'ownIndustry'
)
{
item
.
default
=
Array
.
isArray
(
info
[
item
.
field
])
?
info
[
item
.
field
][
0
]
:
(
info
[
item
.
field
]
||
[]
);
item
.
default
=
Array
.
isArray
(
info
[
item
.
field
])
?
info
[
item
.
field
][
0
]
:
(
info
[
item
.
field
]
||
''
);
item
.
inputOptions
.
default
=
info
[
'ownIndustryOther'
];
if
(
info
[
'ownIndustry'
]?.
includes
(
4
))
{
item
.
inputOptions
.
visible
=
true
;
...
...
@@ -1698,7 +1698,7 @@ const saveDraft = () => {
}
else
if
(
!
params
.
coverageArea
)
{
params
.
coverageArea
=
params
.
coverageAreas
;
}
params
.
updateFrequency
=
baseFormInline
.
updateFrequency
.
length
?
[
baseFormInline
.
updateFrequency
]:
[];
params
.
updateFrequency
=
baseFormInline
.
updateFrequency
?
[
baseFormInline
.
updateFrequency
]:
[];
let
propertyFormLine
=
porpertyInfoFormRef
.
value
.
formInline
;
Object
.
assign
(
params
,
propertyFormLine
);
propertyFormLine
.
propertyTerm
==
'Y'
&&
(
params
.
propertyTermSdate
=
propertyFormLine
.
propertyTermDate
[
0
],
params
.
propertyTermEdate
=
propertyFormLine
.
propertyTermDate
[
1
]);
...
...
@@ -1823,7 +1823,7 @@ const save = () => {
}
else
if
(
!
params
.
coverageArea
)
{
params
.
coverageArea
=
params
.
coverageAreas
;
}
params
.
updateFrequency
=
baseFormInline
.
updateFrequency
.
length
?
[
baseFormInline
.
updateFrequency
]:
[];
params
.
updateFrequency
=
baseFormInline
.
updateFrequency
?
[
baseFormInline
.
updateFrequency
]:
[];
let
propertyFormLine
=
porpertyInfoFormRef
.
value
.
formInline
;
Object
.
assign
(
params
,
propertyFormLine
);
propertyFormLine
.
propertyTerm
==
'Y'
&&
(
params
.
propertyTermSdate
=
propertyFormLine
.
propertyTermDate
[
0
],
params
.
propertyTermEdate
=
propertyFormLine
.
propertyTermDate
[
1
]);
...
...
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