Commit 13b50673 authored by Tình Trương's avatar Tình Trương

update

parent 7a6f9e9d
...@@ -170,7 +170,6 @@ ...@@ -170,7 +170,6 @@
option-value="id" option-value="id"
option-label="groupName" option-label="groupName"
multiple multiple
use-input
use-chips use-chips
map-options map-options
emit-value emit-value
......
...@@ -140,7 +140,6 @@ ...@@ -140,7 +140,6 @@
:options="listGroup" :options="listGroup"
option-value="id" option-value="id"
option-label="groupName" option-label="groupName"
use-input
use-chips use-chips
map-options map-options
multiple multiple
......
...@@ -386,8 +386,8 @@ export default defineComponent({ ...@@ -386,8 +386,8 @@ export default defineComponent({
const pageIndex = ref(1); const pageIndex = ref(1);
const pageSize = ref(20); const pageSize = ref(20);
const totalPage = ref(1); const totalPage = ref(1);
const sreachArtist: Ref<string | null> = ref(null); const sreachArtist: Ref<ListArrayArtist | null> = ref(null);
const sreachUserName: Ref<string | null> = ref(null); const sreachUserName: Ref<ListArrayArtist | null> = ref(null);
const sreachStatus: Ref< const sreachStatus: Ref<
{ id: number; name: string; color: string } | undefined { id: number; name: string; color: string } | undefined
> = ref(undefined); > = ref(undefined);
...@@ -448,10 +448,10 @@ export default defineComponent({ ...@@ -448,10 +448,10 @@ export default defineComponent({
params: { params: {
pageIndex: pageIndex.value, pageIndex: pageIndex.value,
pageSize: pageSize.value, pageSize: pageSize.value,
artistId: sreachArtist.value, artistId: sreachArtist.value?.id,
custId: sreachUserName.value, custId: sreachUserName.value?.id,
status: sreachStatus.value, status: sreachStatus.value?.id,
performBooking: sreachPerformStatus.value, performBooking: sreachPerformStatus.value?.id,
fromTime: moment(date.value[0], 'DD/MM/YYYY').format('DD/MM/YYYY'), fromTime: moment(date.value[0], 'DD/MM/YYYY').format('DD/MM/YYYY'),
toTime: moment(date.value[1], 'DD/MM/YYYY').format('DD/MM/YYYY'), toTime: moment(date.value[1], 'DD/MM/YYYY').format('DD/MM/YYYY'),
}, },
......
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