Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
罗超
bigwood
Commits
ed3b388f
Commit
ed3b388f
authored
Dec 09, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8141e3eb
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
197 additions
and
13 deletions
+197
-13
index.ts
src/i18n/zh-TW/index.ts
+113
-9
HotelOrder.vue
src/pages/hotel/HotelOrder.vue
+1
-1
ModifyHotelOrder.vue
src/pages/hotel/ModifyHotelOrder.vue
+1
-1
routes.ts
src/router/routes.ts
+1
-0
hotelRate.ts
src/utils/hotelRate.ts
+66
-2
menus.ts
src/utils/menus.ts
+15
-0
No files found.
src/i18n/zh-TW/index.ts
View file @
ed3b388f
...
...
@@ -331,6 +331,11 @@ export default {
second
:
'酒店檢索'
,
three
:
'酒店訂單'
},
scattered
:
{
first
:
'散客預定'
,
second
:
'酒店檢索'
,
three
:
'散客訂單'
},
car
:
{
first
:
'車輛預定'
,
second
:
'車輛預定'
,
...
...
@@ -396,19 +401,19 @@ export default {
//eg:
//#region v1.0.1
v101
:{
downloadHands
:
'下載手佩書'
,
noneHands
:
'手佩書未生成'
,
hotelTips
:
'酒店溫馨提醒'
,
iknow
:
'我已知曉'
,
versionUpgrade
:
'版本更新紀錄'
,
comingsoon
:
'我們即將推出'
,
comingsoonDesc
:
'我們正在努力推進此功能的開發,預期將在1個月左右的週期內完成上線。感謝您的支持'
,
downloadHands
:
'下載手佩書'
,
noneHands
:
'手佩書未生成'
,
hotelTips
:
'酒店溫馨提醒'
,
iknow
:
'我已知曉'
,
versionUpgrade
:
'版本更新紀錄'
,
comingsoon
:
'我們即將推出'
,
comingsoonDesc
:
'我們正在努力推進此功能的開發,預期將在1個月左右的週期內完成上線。感謝您的支持'
,
hotelRemark
:
'備註'
,
cancelRemark
:
'取消備註'
,
selfCancle
:
'客戶自己取消了訂單'
,
versonDetails
:{
date
:
'2022/11/29'
,
content
:
''
date
:
'2022/11/29'
,
content
:
''
},
Listofquotation
:{
pageTitle
:
'報價單'
,
...
...
@@ -441,6 +446,105 @@ export default {
cjfaipiao
:
'創建發票'
,
bjd
:
'報價單'
}
},
scattered
:{
kefang
:
'客房'
,
chengren
:
'成人'
,
ertong
:
'兒童'
,
pingfen
:
'評分'
,
minpingfen
:
'最低評分'
,
maxpingfen
:
'最高評分'
,
zhusutype
:
'住宿類型'
,
jiudian
:
'酒店'
,
rishilg
:
'日式旅館'
,
chuzubs
:
'出租別墅'
,
jiudiansw
:
'酒店/商務酒店'
,
jianyilgms
:
'簡易旅館/名宿/山間小屋'
,
HotelArea1
:
'東京都'
,
HotelArea2
:
'大阪府'
,
HotelArea3
:
'京都府'
,
HotelArea4
:
'愛知縣'
,
HotelArea5
:
'秋田縣'
,
HotelArea6
:
'青森縣'
,
HotelArea7
:
'千葉縣'
,
HotelArea8
:
'愛媛縣'
,
HotelArea9
:
'福井縣'
,
HotelArea10
:
'福岡縣'
,
HotelArea11
:
'福島縣'
,
HotelArea12
:
'岐阜縣'
,
HotelArea13
:
'群馬縣'
,
HotelArea14
:
'廣島縣'
,
HotelArea15
:
'北海道'
,
HotelArea16
:
'兵庫縣'
,
HotelArea17
:
'茨城縣'
,
HotelArea18
:
'石川縣'
,
HotelArea19
:
'巖手縣'
,
HotelArea20
:
'香川縣'
,
HotelArea21
:
'鹿兒島縣'
,
HotelArea22
:
'神奈川縣'
,
HotelArea23
:
'高知縣'
,
HotelArea24
:
'熊本縣'
,
HotelArea25
:
'三重縣'
,
HotelArea26
:
'宮城縣'
,
HotelArea27
:
'宮崎縣'
,
HotelArea28
:
'長野縣'
,
HotelArea29
:
'長崎縣'
,
HotelArea30
:
'奈良縣'
,
HotelArea31
:
'新瀉縣'
,
HotelArea32
:
'大分縣'
,
HotelArea33
:
'岡山縣'
,
HotelArea34
:
'沖繩縣'
,
HotelArea35
:
'佐賀縣'
,
HotelArea36
:
'崎玉縣'
,
HotelArea37
:
'滋賀縣'
,
HotelArea38
:
'島根縣'
,
HotelArea39
:
'靜岡縣'
,
HotelArea40
:
'櫪木縣'
,
HotelArea41
:
'德島縣'
,
HotelArea42
:
'鳥取縣'
,
HotelArea43
:
'富山縣'
,
HotelArea44
:
'富山縣'
,
HotelArea45
:
'山形縣'
,
HotelArea46
:
'山口縣'
,
HotelArea47
:
'山梨縣'
,
fangxingtype
:
'房型'
,
HotelRoom1
:
'單人床'
,
HotelRoom2
:
'雙人間'
,
HotelRoom3
:
'大床房'
,
HotelRoom4
:
'三人間'
,
HotelRoom5
:
'四人間'
,
HotelRoom6
:
'日式房'
,
HotelRoom7
:
'日式+西式混合'
,
canxingtype
:
'餐飲'
,
HotelMeal1
:
'無餐'
,
HotelMeal2
:
'含早餐'
,
HotelMeal3
:
'含晚餐'
,
HotelMeal4
:
'包含早餐.晚餐'
,
liniantype
:
'理念'
,
HotelConcept1
:
'至外匯兌換處步行5分鐘以內'
,
HotelConcept2
:
'車站步行5分鐘以內'
,
HotelConcept3
:
'溫泉'
,
HotelConcept4
:
'前臺可兌換'
,
HotelConcept5
:
'到觀光信息中心5分鐘'
,
HotelConcept6
:
'露天浴池'
,
HotelConcept7
:
'自然式溫泉'
,
HotelConcept8
:
'濁湯溫泉'
,
HotelConcept9
:
'室外遊泳池'
,
HotelConcept10
:
'去海灘步行5分鐘的路程'
,
HotelConcept11
:
'停車場免費'
,
HotelConcept12
:
'室內浴池/大型浴池'
,
HotelConcept13
:
'包租浴池/包租露天浴池'
,
HotelConcept14
:
'11點之後退房'
,
HotelConcept15
:
'美容沙龍護理設備'
,
HotelConcept16
:
'有乒乓球臺'
,
HotelConcept17
:
'瞭望式浴池'
,
HotelConcept18
:
'桑拿浴'
,
HotelConcept19
:
'噴流式氣泡浴缸'
,
HotelConcept20
:
'按摩'
,
HotelConcept21
:
'出租滑雪用具'
,
HotelConcept22
:
'租賃滑板'
,
HotelConcept23
:
'有車接送'
,
jiudianName
:
'酒店名稱'
,
}
}
//#endregion
...
...
src/pages/hotel/HotelOrder.vue
View file @
ed3b388f
...
...
@@ -38,7 +38,7 @@ export default defineComponent({
ContactName
:
''
,
ContactNumber
:
''
})
search
.
OrderId
=
currentRouter
.
currentRoute
.
value
&&
currentRouter
.
currentRoute
.
value
.
params
.
orderId
search
.
OrderId
=
currentRouter
.
currentRoute
.
value
.
params
.
orderId
provide
(
DirtionmaryHelper
.
HOTEL_ORDER_SEARCH
,
search
)
const
menu
=
inject
(
DirtionmaryHelper
.
MENU_KEYS
)
as
any
...
...
src/pages/hotel/ModifyHotelOrder.vue
View file @
ed3b388f
...
...
@@ -213,7 +213,7 @@ export default defineComponent({
{
Name
:
t
(
'hotel.car.group'
),
ID
:
2
}
]
})
data
.
orderId
=
currentRouter
.
currentRoute
.
value
&&
currentRouter
.
currentRoute
.
value
.
params
.
orderId
data
.
orderId
=
currentRouter
.
currentRoute
.
value
.
params
.
orderId
if
(
data
.
orderId
==
0
)
{
history
.
back
()
}
...
...
src/router/routes.ts
View file @
ed3b388f
...
...
@@ -11,6 +11,7 @@ const routes: RouteRecordRaw[] = [
{
path
:
'/hotel/modify/:orderId'
,
component
:
()
=>
import
(
'pages/hotel/ModifyHotelOrder.vue'
)
},
{
path
:
'/hotel/offer/:orderId'
,
component
:
()
=>
import
(
'pages/hotel/ListOfQuotation.vue'
)
},
{
path
:
'/personal'
,
component
:
()
=>
import
(
'pages/personal/personal.vue'
)},
{
path
:
'/scattered'
,
component
:
()
=>
import
(
'pages/scattered/HotelList.vue'
)},
{
path
:
'/comingsoon'
,
component
:
()
=>
import
(
'pages/ComingSoon.vue'
)}
]
},
...
...
src/utils/hotelRate.ts
View file @
ed3b388f
...
...
@@ -3,8 +3,12 @@ interface HotelRate {
id
:
number
,
name
:
string
}
interface
HotelArea
{
name
:
string
,
}
const
{
t
}
=
i18n
.
global
const
useHotel
=
{
// 酒店星级
getHotelRate
():
HotelRate
[]{
let
rates
=
[]
as
HotelRate
[]
rates
.
push
({
...
...
@@ -24,6 +28,66 @@ const useHotel={
name
:
t
(
'hotel.rates.hight'
)
})
return
rates
}
},
// 酒店住宿类型
getAccommodationType
():
HotelRate
[]{
let
rates
=
[]
as
HotelRate
[]
rates
.
push
({
id
:
1
,
name
:
t
(
'v101.scattered.jiudian'
),
})
rates
.
push
({
id
:
2
,
name
:
t
(
'v101.scattered.rishilg'
),
})
rates
.
push
({
id
:
3
,
name
:
t
(
'v101.scattered.chuzubs'
),
})
rates
.
push
({
id
:
4
,
name
:
t
(
'v101.scattered.jiudiansw'
),
})
rates
.
push
({
id
:
5
,
name
:
t
(
'v101.scattered.jianyilgms'
),
})
return
rates
},
// 区域
getHotelArea
():
HotelArea
[]{
let
rates
=
[]
as
HotelArea
[]
for
(
let
i
=
1
;
i
<
48
;
i
++
){
rates
.
push
({
name
:
t
(
`v101.scattered.HotelArea
${
i
}
`
)})
}
return
rates
},
// 房类型
getHotelRoom
():
HotelRate
[]{
let
rates
=
[]
as
HotelRate
[]
for
(
let
i
=
1
;
i
<
8
;
i
++
){
rates
.
push
({
name
:
t
(
`v101.scattered.HotelRoom
${
i
}
`
),
id
:
i
})
}
return
rates
},
// 餐饮
getHotelMeal
():
HotelRate
[]{
let
rates
=
[]
as
HotelRate
[]
for
(
let
i
=
1
;
i
<
5
;
i
++
){
rates
.
push
({
name
:
t
(
`v101.scattered.HotelMeal
${
i
}
`
),
id
:
i
})
}
return
rates
},
// 理念
getHotelConcept
():
HotelRate
[]{
let
rates
=
[]
as
HotelRate
[]
for
(
let
i
=
1
;
i
<
24
;
i
++
){
rates
.
push
({
name
:
t
(
`v101.scattered.HotelConcept
${
i
}
`
),
id
:
i
})
}
return
rates
},
}
export
{
useHotel
,
type
HotelRate
}
\ No newline at end of file
export
{
useHotel
,
type
HotelRate
,
type
HotelArea
,
}
\ No newline at end of file
src/utils/menus.ts
View file @
ed3b388f
...
...
@@ -32,6 +32,21 @@ const useMenus={
}
]
})
menus
.
push
({
name
:
t
(
'menu.scattered.first'
),
url
:
''
,
id
:
13
,
parentId
:
0
,
icon
:
'scattered/The.svg'
,
childs
:[
{
name
:
t
(
'menu.scattered.second'
),
url
:
'/scattered'
,
id
:
14
,
parentId
:
13
,
},
]
})
menus
.
push
({
name
:
t
(
'menu.car.first'
),
url
:
''
,
...
...
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