Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
罗鑫霖
/
vion-tools
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 80c5cdef
authored
Apr 17, 2024
by
Tianqing Liu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 人员类型修正,增加countdate字段
1 parent
b9a1f14f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
src/views/SnapshotCluster/ClusterResult/PersonGroupEditor.vue
src/views/SnapshotCluster/ClusterResult/PersonGroupEditor.vue
View file @
80c5cde
...
...
@@ -53,6 +53,7 @@ export default {
age
:
1
,
gender
:
0
,
type
:
0
,
countdate
:
''
,
}
}
const
formData
=
ref
(
getInitialFormData
())
...
...
@@ -61,9 +62,12 @@ export default {
console
.
log
(
'initDialog'
,
data
)
formData
.
value
=
getInitialFormData
()
formData
.
value
.
personUnid
=
data
.
person_unid
formData
.
value
.
age
=
data
.
perrsonList
.
length
>
0
?
data
.
perrsonList
[
0
].
age
:
1
formData
.
value
.
gender
=
data
.
perrsonList
.
length
>
0
?
data
.
perrsonList
[
0
].
gender
:
0
formData
.
value
.
type
=
data
.
perrsonList
.
length
>
0
?
data
.
perrsonList
[
0
].
person_type
:
0
if
(
data
.
perrsonList
.
length
>
0
)
{
formData
.
value
.
age
=
data
.
perrsonList
[
0
].
age
formData
.
value
.
gender
=
data
.
perrsonList
[
0
].
gender
formData
.
value
.
type
=
data
.
perrsonList
[
0
].
person_type
formData
.
value
.
countdate
=
data
.
perrsonList
[
0
].
counttime
}
isVisible
.
value
=
true
;
};
...
...
Write
Preview
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