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
f5d41ca9
authored
2025-02-25 14:27:22 +0800
by
lxs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
数据资产登记更新
1 parent
e0eee7fe
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
12 deletions
src/views/data_asset/registerDetail.vue
src/views/data_asset/registerStart.vue
src/views/data_asset/registerDetail.vue
View file @
f5d41ca
...
...
@@ -1328,7 +1328,7 @@ const passCommonDialogBtnClick = (btn, info) => {
'--'
}}
<
/span
>
<
/div
>
<
/div
>
<
div
class
=
"first-col"
style
=
"width: 250px;"
>
<
div
class
=
"first-col"
>
<
div
class
=
"list_item"
>
<
span
class
=
"item_label"
>
结构化数据
:
<
/span
>
<
span
class
=
"item_value"
>
{{
assetDetailInfo
.
isStructured
==
'Y'
?
'是'
:
'否'
}}
<
/span
>
...
...
@@ -2344,14 +2344,17 @@ const passCommonDialogBtnClick = (btn, info) => {
.
info
-
content
{
display
:
flex
;
.
first
-
col
{
width
:
3
10
px
;
>
div
{
width
:
3
3.33
%
;
}
// .first-col
{
// width: 310px;
//
}
.
last
-
col
{
flex
:
1
;
min
-
width
:
120
px
;
}
//
.last-col
{
//
flex: 1;
//
min-width: 120px;
//
}
}
}
...
...
src/views/data_asset/registerStart.vue
View file @
f5d41ca
...
...
@@ -241,7 +241,7 @@ const setBaseFormItemsValue = (info) => {
item
.
inputOptions
.
visible
=
false
;
}
}
else
if
(
item
.
field
==
'updateFrequency'
)
{
item
.
default
=
info
[
item
.
field
]
||
[]
;
item
.
default
=
Array
.
isArray
(
info
[
item
.
field
])
?
info
[
item
.
field
][
0
]
:
(
info
[
item
.
field
]
||
[])
;
}
else
if
(
item
.
field
==
'ownIndustry'
)
{
item
.
default
=
info
[
item
.
field
]
||
[];
item
.
inputOptions
.
default
=
info
[
'ownIndustryOther'
];
...
...
@@ -972,8 +972,8 @@ const baseFormItems: any = ref([
type
:
"checkbox-group-row"
,
placeholder
:
""
,
field
:
"updateFrequency"
,
default
:
[]
,
children
:
updateFrequencyListData
.
value
,
default
:
''
,
options
:
updateFrequencyListData
.
value
,
required
:
true
,
block
:
true
,
},
...
...
@@ -1082,7 +1082,7 @@ const baseFormRules = ref({
{
required
:
true
,
trigger
:
'blur'
,
message
:
"请填写数据取得方式其他内容"
}
],
updateFrequency
:
[
{
type
:
'array'
,
required
:
true
,
trigger
:
'change'
,
message
:
"请选择数据更新频率"
}
{
required
:
true
,
trigger
:
'change'
,
message
:
"请选择数据更新频率"
}
],
updateFrequencyOther
:
[
{
required
:
true
,
trigger
:
'blur'
,
message
:
"请填写数据更新频率其他内容"
}
...
...
@@ -1721,6 +1721,7 @@ const saveDraft = () => {
}
else
if
(
!
params
.
coverageArea
)
{
params
.
coverageArea
=
params
.
coverageAreas
;
}
params
.
updateFrequency
=
[
baseFormInline
.
updateFrequency
];
let
propertyFormLine
=
porpertyInfoFormRef
.
value
.
formInline
;
Object
.
assign
(
params
,
propertyFormLine
);
delete
params
.
qualityEvaluationInstitutionGuid
;
...
...
@@ -1833,6 +1834,7 @@ const save = () => {
}
else
if
(
!
params
.
coverageArea
)
{
params
.
coverageArea
=
params
.
coverageAreas
;
}
params
.
updateFrequency
=
[
baseFormInline
.
updateFrequency
];
let
propertyFormLine
=
porpertyInfoFormRef
.
value
.
formInline
;
Object
.
assign
(
params
,
propertyFormLine
);
delete
params
.
qualityEvaluationInstitutionGuid
;
...
...
@@ -2150,7 +2152,7 @@ onBeforeMount(() => {
const
data
=
res
.
data
||
[];
updateFrequencyListData
.
value
=
data
;
let
item
=
baseFormItems
.
value
.
find
(
item
=>
item
.
field
==
'updateFrequency'
);
item
&&
(
item
.
children
=
updateFrequencyListData
.
value
);
item
&&
(
item
.
options
=
updateFrequencyListData
.
value
);
}
else
{
proxy
.
$ElMessage
.
error
(
res
.
msg
);
}
...
...
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