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
38fffdb4
Commit
38fffdb4
authored
Sep 16, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改领队签证签发地下拉改为搜索
parent
332fba18
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
3 deletions
+39
-3
leaderManagement.vue
src/components/LeaderManagement/leaderManagement.vue
+39
-3
No files found.
src/components/LeaderManagement/leaderManagement.vue
View file @
38fffdb4
...
@@ -513,10 +513,25 @@
...
@@ -513,10 +513,25 @@
<el-input
type=
"text"
v-model=
"addMsg.Passport"
:placeholder=
"$t('system.ph_Passport')"
maxlength=
"9"
class=
"w210"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg.Passport"
:placeholder=
"$t('system.ph_Passport')"
maxlength=
"9"
class=
"w210"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('admin.admin_IssuePlace')"
prop=
"IssuePlace"
v-if=
"addMsg.LeaderGuidClass==0"
>
<el-form-item
:label=
"$t('admin.admin_IssuePlace')"
prop=
"IssuePlace"
v-if=
"addMsg.LeaderGuidClass==0"
>
<el-select
v-model=
"addMsg.IssuePlace"
filterable
:placeholder=
"$t('admin.admin_phIssuePlace')"
class=
"w210"
>
<el-select
<el-option
v-for=
'item in cityList'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
v-model=
"addMsg.IssuePlace"
filterable
remote
reserve-keyword
placeholder=
"输入关键字搜索"
:remote-method=
"searchKey"
:loading=
"loading2"
>
<el-option
v-for=
"item in searchList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
<!--
<el-select
v-model=
"addMsg.IssuePlace"
filterable
:placeholder=
"$t('admin.admin_phIssuePlace')"
class=
"w210"
>
<el-option
v-for=
'item in cityList'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
-->
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('admin.admin_IssueDate')"
prop=
"IssueDate"
class=
'time'
v-if=
"addMsg.LeaderGuidClass==0"
>
<el-form-item
:label=
"$t('admin.admin_IssueDate')"
prop=
"IssueDate"
class=
'time'
v-if=
"addMsg.LeaderGuidClass==0"
>
<el-date-picker
class=
"w210"
v-model=
"addMsg.IssueDate"
type=
"date"
:placeholder=
"$t('admin.admin_choDate')"
<el-date-picker
class=
"w210"
v-model=
"addMsg.IssueDate"
type=
"date"
:placeholder=
"$t('admin.admin_choDate')"
...
@@ -566,6 +581,8 @@
...
@@ -566,6 +581,8 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
searchList
:
[],
loading2
:
false
,
outerVisible
:
false
,
outerVisible
:
false
,
//选择的语言
//选择的语言
LanguageIdS
:
""
,
LanguageIdS
:
""
,
...
@@ -850,6 +867,25 @@ export default {
...
@@ -850,6 +867,25 @@ export default {
};
};
},
},
methods
:
{
methods
:
{
searchKey
(
query
){
if
(
query
!==
''
)
{
this
.
loading2
=
true
this
.
apipost
(
"dict_post_Destination_GetCountryByKeyWord"
,
{
keyWord
:
query
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
console
.
log
(
res
)
this
.
searchList
=
res
.
data
.
data
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
this
.
loading2
=
false
},
err
=>
{}
);
}
},
//领队账户管理
//领队账户管理
AccountManage
(
item
)
{
AccountManage
(
item
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -1124,7 +1160,6 @@ export default {
...
@@ -1124,7 +1160,6 @@ export default {
res
=>
{
res
=>
{
let
LanguageIdArr
=
[];
let
LanguageIdArr
=
[];
this
.
addMsg
=
res
.
data
.
data
;
this
.
addMsg
=
res
.
data
.
data
;
this
.
addMsg
.
LeaderGuidClass
=
this
.
addMsg
.
LeaderGuidClass
?
this
.
addMsg
.
LeaderGuidClass
:
0
;
this
.
addMsg
.
LeaderGuidClass
=
this
.
addMsg
.
LeaderGuidClass
?
this
.
addMsg
.
LeaderGuidClass
:
0
;
this
.
addMsg
.
Type
=
this
.
addMsg
.
Type
.
toString
();
this
.
addMsg
.
Type
=
this
.
addMsg
.
Type
.
toString
();
this
.
addMsg
.
Sex
=
this
.
addMsg
.
Sex
.
toString
();
this
.
addMsg
.
Sex
=
this
.
addMsg
.
Sex
.
toString
();
...
@@ -1144,6 +1179,7 @@ export default {
...
@@ -1144,6 +1179,7 @@ export default {
this
.
LanguageIdS
.
push
(
Number
(
x
));
this
.
LanguageIdS
.
push
(
Number
(
x
));
});
});
}
}
this
.
searchKey
(
this
.
addMsg
.
CityName
)
this
.
addMsg
.
EmPassword
=
""
;
this
.
addMsg
.
EmPassword
=
""
;
// this.getCityList();
// this.getCityList();
console
.
log
(
"this.addMsg"
,
this
.
addMsg
)
console
.
log
(
"this.addMsg"
,
this
.
addMsg
)
...
...
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