Commit 25d240f0 authored by 罗超's avatar 罗超

優化顯示

parent 5b1b09e8
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"lodash": "^4.17.21", "lodash": "^4.17.21",
"md5-ts": "^0.1.6", "md5-ts": "^0.1.6",
"mermaid": "^8.12.1", "mermaid": "^8.12.1",
"opencc-js": "^1.0.4",
"quasar": "^2.10.1", "quasar": "^2.10.1",
"quasar-tiptap-branch": "^1.8.1", "quasar-tiptap-branch": "^1.8.1",
"vue": "^3.0.0", "vue": "^3.0.0",
......
...@@ -190,6 +190,7 @@ body ...@@ -190,6 +190,7 @@ body
right: 0 right: 0
z-index: 1 z-index: 1
box-shadow: rgba(0, 0, 0, 0.05) -2px 0px 0px box-shadow: rgba(0, 0, 0, 0.05) -2px 0px 0px
.sticky-header-table .sticky-header-table
.q-table__top, .q-table__top,
.q-table__bottom, .q-table__bottom,
...@@ -237,4 +238,27 @@ body ...@@ -237,4 +238,27 @@ body
background: var(--q-primary) background: var(--q-primary)
color: white color: white
cursor: pointer cursor: pointer
.sticky-rightrowspan-column-table
max-width: 100%
thead
background: rgb(245, 246, 247)
thead tr:first-child
height: 40px
line-height: 14px
thead tr:first-child th
font-size: 12px
font-weight: 400
color: rgb(168, 168, 179)
thead tr:first-child th:last-child
background-color: rgb(245, 246, 247)
td:last-child
background-color: #fff
th:last-child,
tbody tr:first-child td:last-child
position: sticky
right: 0
z-index: 1
box-shadow: rgba(0, 0, 0, 0.05) -2px 0px 0px
</style> </style>
...@@ -6,17 +6,27 @@ class HotelService { ...@@ -6,17 +6,27 @@ class HotelService {
static async SetCustomerOrder(param:any):Promise<HttpResponse>{ static async SetCustomerOrder(param:any):Promise<HttpResponse>{
return request('dict_post_SetCustomerOrder',param) return request('dict_post_SetCustomerOrder',param)
} }
/** /**
* 查詢城市信息 * 查詢城市信息
* @param params * @param params
* @returns * @returns
*/ */
static async GetDestination(params: any): Promise<HttpResponse> { static async GetDestination(params: any): Promise<HttpResponse> {
return request('dict_post_Destination_GetChildList', params) return request('dict_post_Destination_GetChildList', params)
} }
/**
* 取消酒店订单
* @param OrderId 订单编号
* @returns
*/
static async CancelHotelOrder(OrderId: number): Promise<HttpResponse> {
return request('dict_post_CancelCustomerOrder', {OrderId})
}
static async GetHasStockHotelList(): Promise<HttpResponse> { static async GetHasStockHotelList(): Promise<HttpResponse> {
let params={ let params={
IsMoreThanZero: 0, IsMoreThanZero: 0,
...@@ -33,8 +43,8 @@ class HotelService { ...@@ -33,8 +43,8 @@ class HotelService {
/** /**
* 查詢當前登入用戶的酒店訂單信息 * 查詢當前登入用戶的酒店訂單信息
* @param param * @param param
* @returns * @returns
*/ */
static async GetHotelOrders(param:any):Promise<HttpResponse>{ static async GetHotelOrders(param:any):Promise<HttpResponse>{
return request('dict_post_GetMyCustomerOrderPageList',param) return request('dict_post_GetMyCustomerOrderPageList',param)
...@@ -45,7 +55,7 @@ class HotelService { ...@@ -45,7 +55,7 @@ class HotelService {
* @param name 酒店名稱,支持空格分割 * @param name 酒店名稱,支持空格分割
* @param province 省編號 * @param province 省編號
* @param city 城市編號 * @param city 城市編號
* @returns * @returns
*/ */
static async GetHotels(name:string, province: number, city: number): Promise<HttpResponse> { static async GetHotels(name:string, province: number, city: number): Promise<HttpResponse> {
let params = { let params = {
......
...@@ -15,10 +15,12 @@ export default { ...@@ -15,10 +15,12 @@ export default {
loading: '正在加載數據', loading: '正在加載數據',
dialog:{ dialog:{
titles:{ titles:{
hotel:'移除酒店警示' hotel:'移除酒店警示',
horder:'取消订单警示'
}, },
contents:{ contents:{
hotel:'你確定要移除{day}的酒店{hotel}?' hotel:'你確定要移除{day}的酒店{hotel}?',
horder:'你确定需要取消此订单吗?'
} }
}, },
close:'關閉', close:'關閉',
...@@ -37,6 +39,7 @@ export default { ...@@ -37,6 +39,7 @@ export default {
t1: '出發前收款酒店,請您於 <span class="text-orange">{d}</span> 前支付訂金,並且於 <span class="text-negative">{e}</span> 日前支付尾款', t1: '出發前收款酒店,請您於 <span class="text-orange">{d}</span> 前支付訂金,並且於 <span class="text-negative">{e}</span> 日前支付尾款',
t2: '到店自付酒店,需要您於 <span class="text-negative">{e}</span> 前上傳旅客名單' t2: '到店自付酒店,需要您於 <span class="text-negative">{e}</span> 前上傳旅客名單'
}, },
hands:'手配費',
payinfo: '查看支付方式', payinfo: '查看支付方式',
sendpay: '提繳付款憑證', sendpay: '提繳付款憑證',
uploadGuest: '上傳旅客名單', uploadGuest: '上傳旅客名單',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment