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 361479b5
authored
Sep 10, 2024
by
李乾广
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改bug
1 parent
053e4122
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
src/views/SnapshotCluster/ClusterResult/ClusterResult.vue
View file @
361479b
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
:maxTagCount=
"1"
:maxTagCount=
"1"
style=
"width: 240px"
>
style=
"width: 240px"
>
<a-select-option
<a-select-option
v-for=
"item in childAdultOptions"
v-for=
"item in childAdult
Age
Options"
:key=
"item.value"
:key=
"item.value"
:value=
"item.value"
:value=
"item.value"
>
{{
item
.
label
}}
</a-select-option>
>
{{
item
.
label
}}
</a-select-option>
...
@@ -601,7 +601,7 @@ export default {
...
@@ -601,7 +601,7 @@ export default {
const
personTypeStr
=
function
(
val
){
const
personTypeStr
=
function
(
val
){
return
(
personTypeList
.
value
.
filter
(
v
=>
v
.
value
==
val
)[
0
]
||
{
label
:
'--'
}).
label
return
(
personTypeList
.
value
.
filter
(
v
=>
v
.
value
==
val
)[
0
]
||
{
label
:
'--'
}).
label
}
}
const
childAdult
Options
=
ref
([
const
childAdultAge
Options
=
ref
([
{
value
:
0
,
label
:
'婴儿'
},
{
value
:
0
,
label
:
'婴儿'
},
{
value
:
1
,
label
:
'儿童'
},
{
value
:
1
,
label
:
'儿童'
},
{
value
:
2
,
label
:
'少年'
},
{
value
:
2
,
label
:
'少年'
},
...
@@ -610,6 +610,11 @@ export default {
...
@@ -610,6 +610,11 @@ export default {
{
value
:
5
,
label
:
'老年'
},
{
value
:
5
,
label
:
'老年'
},
{
value
:
-
1
,
label
:
'未知'
},
{
value
:
-
1
,
label
:
'未知'
},
])
])
const
childAdultOptions
=
ref
([
{
value
:
0
,
label
:
'儿童'
},
{
value
:
1
,
label
:
'成人'
},
{
value
:
-
1
,
label
:
'未知'
},
])
const
formatChildAdult
=
function
(
val
)
{
const
formatChildAdult
=
function
(
val
)
{
const
targetitem
=
childAdultOptions
.
value
.
find
(
item
=>
item
.
value
===
val
)
const
targetitem
=
childAdultOptions
.
value
.
find
(
item
=>
item
.
value
===
val
)
if
(
targetitem
)
return
targetitem
.
label
if
(
targetitem
)
return
targetitem
.
label
...
@@ -1169,6 +1174,7 @@ export default {
...
@@ -1169,6 +1174,7 @@ export default {
mutipleOperationText
,
mutipleOperationText
,
deleteRealPersonRecord
,
deleteRealPersonRecord
,
addShopkeeper
,
addShopkeeper
,
childAdultAgeOptions
,
childAdultOptions
,
childAdultOptions
,
formatChildAdult
formatChildAdult
}
}
...
...
src/views/SnapshotCluster/SnapshotRecord/SnapshotRecord.vue
View file @
361479b
This diff is collapsed.
Click to expand it.
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