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
69ed4f78
Commit
69ed4f78
authored
Aug 06, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增酒店工作页面
parent
0b21bcca
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
108 additions
and
5 deletions
+108
-5
HotelWorkList.vue
src/components/Hotel/HotelWorkList.vue
+73
-0
RestaurantSalesBoard.vue
src/components/Restaurant/RestaurantSalesBoard.vue
+17
-5
scenicSpotSalesBoard.vue
src/components/scenicSpot/scenicSpotSalesBoard.vue
+10
-0
config.js
src/router/config.js
+8
-0
No files found.
src/components/Hotel/HotelWorkList.vue
0 → 100644
View file @
69ed4f78
<
template
>
<div>
<div
class=
"query-box"
style=
"border-bottom: none;"
>
<ul>
<li>
<span>
<em>
时间
</em>
<el-date-picker
v-model=
"msg.YearMonthStr"
type=
"month"
value-format=
"yyyy-MM"
placeholder=
"选择月"
>
</el-date-picker>
</span>
</li>
<li>
<input
type=
"button"
class=
"normalBtn"
value=
"查询"
@
click=
"getList()"
/>
<!--
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
@
click=
"DownLoadHotelQuery()"
/>
-->
</li>
</ul>
</div>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
//查询条件
msg
:
{
YearMonthStr
:
""
,
CountryId
:
651
,
//只查询日本
},
defaultSelectValue
:
0
,
dataList
:
[],
loading
:
false
,
};
},
methods
:
{
GotoHotel
(
HotelId
)
{
this
.
$router
.
push
({
path
:
"HotelManagement"
,
query
:
{
ID
:
HotelId
,
tab
:
"酒店查询"
,
blank
:
'y'
,
}
});
},
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
"hotel_post_GetHotelWorkListService"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
;
console
.
log
(
"this.dataList"
,
this
.
dataList
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
},
},
mounted
()
{
this
.
msg
.
YearMonthStr
=
new
Date
().
Format
(
"yyyy-MM"
);;
this
.
getList
();
},
};
</
script
>
<
style
>
</
style
>
src/components/Restaurant/RestaurantSalesBoard.vue
View file @
69ed4f78
...
...
@@ -210,9 +210,18 @@
</el-select>
</span>
</li>
<li
>
<span>
<em>
类型
</em>
<el-select
v-model=
"msg.QStatus"
:placeholder=
"$t('pub.pleaseSel')"
filterable
>
<el-option
:key=
"0"
label=
"地接餐厅订单"
:value=
"0"
></el-option>
<el-option
:key=
"1"
label=
"行程餐厅"
:value=
"1"
></el-option>
</el-select>
</span>
</li>
<li
style=
"margin-right:50px;"
>
<button
class=
"normalBtn"
type=
"button"
@
click=
"GetHoltelInventory()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"button"
@
click=
"DownLoadDinnerSalesBoard()"
>
下载
</button>
<button
class=
"normalBtn"
type=
"button"
@
click=
"DownLoadDinnerSalesBoard()"
>
下载
</button>
</li>
</ul>
</div>
...
...
@@ -267,7 +276,8 @@
Year
:
0
,
Month
:
0
,
DiningID
:
0
,
loading
:
false
QStatus
:
0
,
loading
:
false
,
},
//餐厅列表
DinnerList
:
[],
...
...
@@ -347,7 +357,7 @@
var
that
=
this
;
this
.
msg
.
Year
=
this
.
currentYear
;
this
.
msg
.
Month
=
this
.
currentMonth
;
this
.
DayData
=
[];
this
.
DayData
=
[];
this
.
apipost
(
"order_post_GetDinnerMonthStatistics"
,
this
.
msg
,
...
...
@@ -363,7 +373,7 @@
d
.
getMonth
()
+
1
,
d
.
getDate
()
);
dayItem
.
dayValue
=
[];
dayItem
.
dayValue
=
[];
for
(
var
j
=
0
;
j
<
this
.
DayData
.
length
;
j
++
)
{
if
(
this
.
DayData
[
j
].
Day
==
myDate
)
{
dayItem
.
dayValue
=
this
.
DayData
[
j
].
SubList
;
...
...
@@ -381,7 +391,9 @@
//获取酒店列表
GetDinnerList
()
{
this
.
apipost
(
"dining_post_GetList"
,
{
QCountry
:
651
},
"dining_post_GetList"
,
{
QCountry
:
651
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DinnerList
=
res
.
data
.
data
;
...
...
src/components/scenicSpot/scenicSpotSalesBoard.vue
View file @
69ed4f78
...
...
@@ -209,6 +209,15 @@
<el-option
v-for=
"item in ScenicList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</span>
</li>
<li
>
<span>
<em>
类型
</em>
<el-select
v-model=
"msg.QStatus"
:placeholder=
"$t('pub.pleaseSel')"
filterable
>
<el-option
:key=
"0"
label=
"地接门票订单"
:value=
"0"
></el-option>
<el-option
:key=
"1"
label=
"行程门票"
:value=
"1"
></el-option>
</el-select>
</span>
</li>
<li
style=
"margin-right:50px;"
>
<button
class=
"normalBtn"
type=
"button"
@
click=
"GetHoltelInventory()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
...
...
@@ -267,6 +276,7 @@
Year
:
0
,
Month
:
0
,
CouponsId
:
0
,
QStatus
:
0
,
loading
:
false
},
//餐厅列表
...
...
src/router/config.js
View file @
69ed4f78
...
...
@@ -786,6 +786,14 @@ export default {
title
:
'酒店查询统计'
},
},
{
path
:
'/HotelWorkList'
,
//酒店工作表
name
:
'HotelWorkList'
,
component
:
resolve
=>
require
([
'@/components/Hotel/HotelWorkList'
],
resolve
),
meta
:
{
title
:
'酒店工作表'
},
},
{
path
:
'/RestauranOrder'
,
//餐厅订单信息
name
:
'RestauranOrder'
,
...
...
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