Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
3a7f3f00
Commit
3a7f3f00
authored
Jun 14, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
53992f2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
33 deletions
+41
-33
addPassenger.vue
src/components/SalesModule/addPassenger.vue
+41
-33
No files found.
src/components/SalesModule/addPassenger.vue
View file @
3a7f3f00
...
...
@@ -447,15 +447,14 @@
护照
<div
v-show=
"templateType==2"
></div>
</li>
<li
v-show=
"templateType==2"
>
<
!--
<
li
v-show=
"templateType==2"
>
<el-select
class=
'w200'
v-model=
'templateSign'
>
<el-option
label=
'中国护照'
value=
'2625f80ec957a0c837ca14f8ce608a51'
></el-option>
<!--
<el-option
label=
'台湾护照'
value=
'7224a048d0fcc94413c3a729e481a775'
></el-option>
<el-option
label=
'台湾护照'
value=
'7224a048d0fcc94413c3a729e481a775'
></el-option>
<el-option
label=
'中国护照旧版'
value=
'2dc78a37e516f18ebe56aeacc6d49203'
></el-option>
<el-option
label=
'台湾通行证'
value=
'2cd1d05f5efc5eec23ffad6358bdb70f'
></el-option>
-->
<el-option
label=
'台湾通行证'
value=
'2cd1d05f5efc5eec23ffad6358bdb70f'
></el-option>
</el-select>
</li>
</li>
-->
</div>
<p>
</p>
...
...
@@ -468,6 +467,8 @@
</label>
</div>
<input
type=
"button"
value=
"开始识别"
class=
"normalBtn"
@
click=
"commonTextDiscern"
/>
<br/>
<span
style=
"color:red;font-weight:bold"
>
请认真核对识别结果,如有不正确的请手动调整。
</span>
</div>
</div>
<p
class=
"btmTitle"
>
日本签证补录资料
</p>
...
...
@@ -982,10 +983,31 @@
this
.
loading
=
false
;
if
(
res
.
data
.
StatusCode
==
1
)
{
var
tempObj
=
res
.
data
;
console
.
log
(
"tempObj"
,
tempObj
);
//大陆护照
if
(
params
.
Type
==
1
)
{
if
(
tempObj
)
{
if
(
tempObj
)
{
//中文姓
if
(
tempObj
.
SurName
&&
tempObj
.
SurName
!=
''
)
{
this
.
addMsg
.
SurName
=
tempObj
.
SurName
;
this
.
Transformation
(
this
.
addMsg
.
SurName
,
'SurName'
);
}
//中文名
if
(
tempObj
.
Name
&&
tempObj
.
Name
!=
''
)
{
this
.
addMsg
.
Name
=
tempObj
.
Name
;
this
.
Transformation
(
this
.
addMsg
.
Name
,
'Name'
);
}
//性别
if
(
tempObj
.
Gender
&&
tempObj
.
Gender
!=
''
)
{
if
(
tempObj
.
Gender
==
'男'
)
{
this
.
addMsg
.
Sex
=
"1"
;
}
else
{
this
.
addMsg
.
Sex
=
"2"
;
}
}
//出生日期
if
(
tempObj
.
BirthDate
&&
tempObj
.
BirthDate
!=
''
)
{
this
.
addMsg
.
Birthday
=
tempObj
.
BirthDate
;
}
//大陆护照
if
(
params
.
Type
==
1
)
{
//护照号
if
(
tempObj
.
PassportNumber
&&
tempObj
.
PassportNumber
!=
''
)
{
this
.
addMsg
.
PassportNo
=
tempObj
.
PassportNumber
;
...
...
@@ -994,14 +1016,6 @@
if
(
tempObj
.
BirthAddress
&&
tempObj
.
BirthAddress
!=
''
)
{
this
.
addMsg
.
BirthdayAddress
=
tempObj
.
BirthAddress
;
}
//性别
if
(
tempObj
.
Gender
&&
tempObj
.
Gender
!=
''
)
{
if
(
tempObj
.
Gender
==
'男'
)
{
this
.
addMsg
.
Sex
=
"1"
;
}
else
{
this
.
addMsg
.
Sex
=
"2"
;
}
}
//护照签发日期
if
(
tempObj
.
IssueDate
&&
tempObj
.
IssueDate
!=
''
)
{
this
.
addMsg
.
PassportIssued
=
tempObj
.
IssueDate
;
...
...
@@ -1014,26 +1028,20 @@
if
(
tempObj
.
Placoofissue
&&
tempObj
.
Placoofissue
!=
''
)
{
this
.
addMsg
.
PassportAddress
=
tempObj
.
Placoofissue
;
}
//出生日期
if
(
tempObj
.
BirthDate
&&
tempObj
.
BirthDate
!=
''
)
{
this
.
addMsg
.
Birthday
=
tempObj
.
BirthDate
;
}
//英文姓
if
(
tempObj
.
ESName
&&
tempObj
.
ESName
!=
''
)
{
this
.
addMsg
.
ESurName
=
tempObj
.
ESName
;
}
//大陆身份证
else
if
(
params
.
Type
==
2
)
{
//家庭居住地、家庭详细地址
if
(
tempObj
.
BirthAddress
&&
tempObj
.
BirthAddress
!=
''
)
{
this
.
addMsg
.
Address
=
tempObj
.
BirthAddress
;
this
.
addMsg
.
AddressDetail
=
tempObj
.
BirthAddress
;
}
//英文名
if
(
tempObj
.
EName
&&
tempObj
.
EName
!=
''
)
{
this
.
addMsg
.
EName
=
tempObj
.
EName
;
//身份证号
if
(
tempObj
.
PassportNumber
&&
tempObj
.
PassportNumber
!=
''
)
{
this
.
addMsg
.
IdCard
=
tempObj
.
PassportNumber
;
}
}
}
//大陆身份证
else
if
(
params
.
Type
==
2
)
{
}
}
});
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment