Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quasar-web-base
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
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
Nguyễn Hải Sơn
quasar-web-base
Commits
ff80f9b6
Commit
ff80f9b6
authored
Apr 06, 2023
by
Nguyễn Đức Thắng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update index.vue
parent
8492f54b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
31 deletions
+13
-31
index.vue
src/pages/danh-sach-booking-cho-huy/index.vue
+13
-31
No files found.
src/pages/danh-sach-booking-cho-huy/index.vue
View file @
ff80f9b6
...
@@ -147,7 +147,6 @@
...
@@ -147,7 +147,6 @@
<q-btn
<q-btn
flat
flat
round
round
color=
"primary"
color=
"primary"
icon=
"mdi-check-circle-outline"
icon=
"mdi-check-circle-outline"
@
click=
"confirmDeleteCustomer(rowData.row.id)"
@
click=
"confirmDeleteCustomer(rowData.row.id)"
...
@@ -155,7 +154,6 @@
...
@@ -155,7 +154,6 @@
<q-tooltip
:offset=
"[20, 10]"
>
Xác nhận
</q-tooltip>
<q-tooltip
:offset=
"[20, 10]"
>
Xác nhận
</q-tooltip>
</q-btn>
</q-btn>
<q-btn
<q-btn
flat
flat
round
round
size=
"0.9em"
size=
"0.9em"
...
@@ -165,7 +163,6 @@
...
@@ -165,7 +163,6 @@
>
>
<q-tooltip>
Từ chối
</q-tooltip>
<q-tooltip>
Từ chối
</q-tooltip>
</q-btn>
</q-btn>
</q-td>
</q-td>
</
template
>
</
template
>
<
template
v-slot:body-cell-stt=
"item"
>
<
template
v-slot:body-cell-stt=
"item"
>
...
@@ -192,30 +189,16 @@
...
@@ -192,30 +189,16 @@
<
template
v-slot:body-cell-isArtistCancel=
"rowData"
>
<
template
v-slot:body-cell-isArtistCancel=
"rowData"
>
<q-td>
<q-td>
<div
align=
"center"
>
<div
align=
"center"
>
<q-chip
<q-chip
v-if=
"rowData.value === 1"
size=
"sm"
>
Nghệ sĩ
</q-chip>
v-if=
"rowData.value === 1"
size=
"sm"
>
Nghệ sĩ
</q-chip>
<q-chip
v-else
<q-chip
v-else
size=
"sm"
>
Khách hàng
</q-chip>
size=
"sm"
>
Khách hàng
</q-chip>
</div>
</div>
</q-td>
</q-td>
</
template
>
</
template
>
<
template
v-slot:body-cell-reasonRefuse=
"item"
>
<
template
v-slot:body-cell-reasonRefuse=
"item"
>
<td>
<td>
<div>
{{
item
.
row
.
reasonRefuse
}}
</div>
<div>
{{
item
.
row
.
reasonRefuse
}}
</div>
</td>
</td>
</
template
>
</
template
>
<
template
v-slot:body-cell-content=
"item"
>
<
template
v-slot:body-cell-content=
"item"
>
...
@@ -383,7 +366,6 @@ export default defineComponent({
...
@@ -383,7 +366,6 @@ export default defineComponent({
sortable
:
false
,
sortable
:
false
,
},
},
// {
// {
// name: 'favoriteScore',
// name: 'favoriteScore',
// field: 'favoriteScore',
// field: 'favoriteScore',
...
@@ -403,7 +385,6 @@ export default defineComponent({
...
@@ -403,7 +385,6 @@ export default defineComponent({
sortable
:
false
,
sortable
:
false
,
},
},
{
{
name
:
'action'
,
name
:
'action'
,
field
:
'action'
,
field
:
'action'
,
...
@@ -417,7 +398,6 @@ export default defineComponent({
...
@@ -417,7 +398,6 @@ export default defineComponent({
const
ListStatusBooking
=
ref
([
const
ListStatusBooking
=
ref
([
{
id
:
4
,
name
:
'Chờ hủy'
,
color
:
'warning'
},
{
id
:
4
,
name
:
'Chờ hủy'
,
color
:
'warning'
},
]);
]);
const
ListPerformStatus
=
ref
([
const
ListPerformStatus
=
ref
([
...
@@ -458,7 +438,9 @@ export default defineComponent({
...
@@ -458,7 +438,9 @@ export default defineComponent({
title
:
i18n
.
global
.
t
(
title
:
i18n
.
global
.
t
(
'customer.confirmActionsTitle.confirmDeleteUserTitle'
'customer.confirmActionsTitle.confirmDeleteUserTitle'
),
),
message
:
i18n
.
global
.
t
(
'Bạn có chắc muốn xác nhận hủy booking này không?'
),
message
:
i18n
.
global
.
t
(
'Bạn có chắc muốn xác nhận hủy booking này không?'
),
cancel
:
i18n
.
global
.
t
(
cancel
:
i18n
.
global
.
t
(
'customer.confirmActionsTitle.confirmDeleteUserCancelBtnLabel'
'customer.confirmActionsTitle.confirmDeleteUserCancelBtnLabel'
),
),
...
@@ -544,8 +526,8 @@ export default defineComponent({
...
@@ -544,8 +526,8 @@ export default defineComponent({
custId
:
sreachUserName
.
value
?.
id
,
custId
:
sreachUserName
.
value
?.
id
,
status
:
sreachStatus
.
value
?.
id
,
status
:
sreachStatus
.
value
?.
id
,
performStatus
:
sreachPerformStatus
.
value
?.
id
,
performStatus
:
sreachPerformStatus
.
value
?.
id
,
fromTime
:
moment
(
date
.
value
[
0
],
'DD/MM/YYYY'
).
format
(
'DD/MM/YYYY'
)
,
fromTime
:
''
,
toTime
:
moment
(
date
.
value
[
1
],
'DD/MM/YYYY'
).
format
(
'DD/MM/YYYY'
)
,
toTime
:
''
,
},
},
}))
as
AxiosResponse
<
BaseResponseBody
<
PaginationResponse
<
ListBooking
>>>
;
}))
as
AxiosResponse
<
BaseResponseBody
<
PaginationResponse
<
ListBooking
>>>
;
if
(
response
.
data
.
error
.
code
===
config
.
API_RES_CODE
.
OK
.
code
)
{
if
(
response
.
data
.
error
.
code
===
config
.
API_RES_CODE
.
OK
.
code
)
{
...
...
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