Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuzhen@situdata.com
/
yunxiao-admin-fe
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
161ec22d
authored
2020-12-29 18:00:30 +0800
by
zhen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:订单详情添加性别和证件号映射表
1 parent
bb06e160
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
8 deletions
src/views/monitorDetails.vue
src/views/monitorDetails.vue
View file @
161ec22
...
...
@@ -43,6 +43,18 @@
import
VideoPlayer
from
'@/components/videoPlayer'
import
{
getResourceDetail
,
saveResourceMonitorRemarks
}
from
'@/api/monitor'
const
custIdTypeMap
=
{
1
:
'身份证'
,
2
:
'护照'
,
3
:
'军官证'
,
4
:
'出生证'
,
5
:
'户口本'
,
6
:
'士兵证'
,
7
:
'港澳通'
,
8
:
'台通'
,
11
:
'外国人永久居留身份证'
}
export
default
{
components
:
{
VideoPlayer
...
...
@@ -73,18 +85,16 @@ export default {
},
computed
:
{
sexCom
()
{
if
(
this
.
custInfoCopy
.
custGender
===
''
)
{
return
''
if
(
!
this
.
custInfoCopy
.
custGender
)
{
return
'
无
'
}
else
{
return
Number
(
this
.
custInfoCopy
.
custGender
)
===
0
?
'女'
:
'男'
return
this
.
custInfoCopy
.
custGender
===
'F'
?
'女'
:
'男'
}
},
custIdTypeCom
()
{
if
(
this
.
custInfoCopy
.
custIdType
===
''
)
{
return
''
}
else
{
return
Number
(
this
.
custInfoCopy
.
custIdType
)
===
0
?
'身份证'
:
'其他'
}
return
custIdTypeMap
[
this
.
custInfoCopy
.
custIdType
]
?
custIdTypeMap
[
this
.
custInfoCopy
.
custIdType
]
:
'无'
}
},
methods
:
{
...
...
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