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
9eb5e3f2
Commit
9eb5e3f2
authored
Jul 10, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面查询修改
parent
1bd4f417
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
103 additions
and
22 deletions
+103
-22
TravelMyTicket.vue
src/components/TravelManager/Ticket/TravelMyTicket.vue
+66
-20
TravelticketManager.vue
src/components/TravelManager/Ticket/TravelticketManager.vue
+37
-2
No files found.
src/components/TravelManager/Ticket/TravelMyTicket.vue
View file @
9eb5e3f2
...
...
@@ -656,6 +656,16 @@
<div
class=
"flexOne TravelMyTicket"
>
<div
class=
"query-box"
>
<ul>
<li>
<span
class=
"hotel_name"
>
<em>
航空公司
</em>
<el-select
v-model=
"Query.AirLineID"
filterable
:placeholder=
"$t('system.ph_in')"
class=
"w150"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"selectDefauleValue"
></el-option>
<el-option
v-for=
"item in AirLineList"
:label=
'item.AlName'
:value=
'item.AirLineId'
:key=
'item.AirLineId'
>
</el-option>
</el-select>
</span>
</li>
<li>
<span
class=
"hotel_name"
>
<em>
起飞时间
</em>
...
...
@@ -667,10 +677,38 @@
</el-date-picker>
</span>
</li>
<li>
<span
class=
"hotel_name"
>
<em>
航班号
</em>
<el-input
v-model=
"Query.Flight_number"
type=
"text"
@
keyup
.
native
.
enter=
"getList"
placeholder=
"请输入航班号"
>
</el-input>
</span>
</li>
<li>
<span>
<em>
机票编号
</em>
<el-input
v-model=
"Query.AirticketId"
placeholder=
"机票编号"
@
keyup
.
native=
"checkInteger(Query,'AirticketId')"
></el-input>
<el-input
v-model=
"Query.AirticketId"
placeholder=
"机票编号"
@
keyup
.
native=
"checkInteger(Query,'AirticketId')"
>
</el-input>
</span>
</li>
<li>
<span>
<em>
票务
</em>
<el-select
v-model=
"Query.TicketCreateBy"
filterable
:placeholder=
"$t('system.ph_in')"
class=
"w120"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"selectDefauleValue"
></el-option>
<el-option
v-for=
"item in EmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
是否绑定
</em>
<el-select
v-model=
"Query.IsBind"
filterable
:placeholder=
"$t('system.ph_in')"
class=
"w120"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"selectDefauleValue"
></el-option>
<el-option
label=
"已绑定"
:value=
"1"
:key=
"1"
></el-option>
<el-option
label=
"未绑定"
:value=
"2"
:key=
"2"
></el-option>
</el-select>
</span>
</li>
<li>
...
...
@@ -884,7 +922,15 @@
StartNum
:
""
,
EndNum
:
""
,
//机票编号
AirticketId
:
""
AirticketId
:
""
,
//票务
TicketCreateBy
:
0
,
//航空公司编号
AirLineID
:
0
,
//航班号
Flight_number
:
""
,
//是否绑定团期
IsBind
:
0
,
},
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
...
...
@@ -919,8 +965,8 @@
dataList
:
[],
//航班详情
tripDetails
:
[],
//
城市列表
City
List
:
[],
//
航空公司
AirLine
List
:
[],
//隐藏显示转让机位数div
isShowSet
:
false
,
//员工列表
...
...
@@ -966,19 +1012,7 @@
this
.
Query
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
},
//初始化城市
initCity
()
{
this
.
apipost
(
"dict_post_Destination_GetCityList"
,
this
.
Query
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CityList
=
res
.
data
.
data
;
}
},
err
=>
{}
);
},
//转出按钮点击事件
outBtn
(
item
)
{
this
.
isShowSet
=
true
;
...
...
@@ -1048,7 +1082,19 @@
},
err
=>
{}
);
}
},
//初始化航空公司下拉
initAirline
()
{
this
.
apipost
(
"airline_post_GetList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
AirLineList
=
res
.
data
.
data
;
}
},
err
=>
{}
);
},
},
mounted
()
{
let
myDate
=
new
Date
();
...
...
@@ -1058,8 +1104,8 @@
parseInt
(
myDate
.
getMonth
()
+
1
)
+
"-"
+
myDate
.
getDate
();
this
.
Query
.
QFlightDateStart
=
nowDate
;
this
.
init
City
();
this
.
Query
.
QFlightDateStart
=
nowDate
;
this
.
init
Airline
();
this
.
getList
();
this
.
getEmployeeList
();
}
...
...
src/components/TravelManager/Ticket/TravelticketManager.vue
View file @
9eb5e3f2
...
...
@@ -673,6 +673,16 @@
<el-input
v-model=
"Query.ID"
placeholder=
"机票编号"
@
keyup
.
native=
"checkInteger(Query,'ID')"
></el-input>
</span>
</li>
<li>
<span>
<em>
操作人
</em>
<el-select
v-model=
"Query.CreateBy"
filterable
:placeholder=
"$t('system.ph_in')"
class=
"w120"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"selectDefauleValue"
></el-option>
<el-option
v-for=
"item in EmployeeList"
:label=
"item.EmName"
:value=
"item.EmployeeId"
:key=
"item.EmployeeId"
></el-option>
</el-select>
</span>
</li>
<li>
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"resetPageIndex(),getList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
...
...
@@ -905,7 +915,9 @@
//机票编号
ID
:
""
,
//PNR
PNR
:
""
PNR
:
""
,
//票务人员
CreateBy
:
0
,
},
//线路列表
LineList
:
[],
...
...
@@ -931,6 +943,8 @@
AirticketId
:
0
,
TotalNum
:
0
},
//员工列表
EmployeeList
:
[],
//绑定框提示
UseNum_placeholder
:
""
,
pickerBeginDateBefore
:
{
...
...
@@ -1048,9 +1062,30 @@
err
=>
{}
);
}
}
},
//根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList
()
{
let
userInfo
=
this
.
getLocalStorage
()
let
msg
=
{
GroupId
:
userInfo
.
RB_Group_id
,
BranchId
:
'-1'
,
DepartmentId
:
'-1'
,
PostId
:
'-1'
,
IsLeave
:
'0'
}
this
.
apipost
(
'admin_get_EmployeeGetList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EmployeeList
=
res
.
data
.
data
}
},
err
=>
{}
)
},
},
mounted
()
{
this
.
getEmployeeList
();
this
.
GetLineList
();
this
.
initAirline
();
this
.
getList
();
...
...
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