|
|
@ -91,7 +91,7 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
const handleReset = () => {
|
|
|
|
const handleReset = () => {
|
|
|
|
state.condition = {
|
|
|
|
state.condition = {
|
|
|
|
storeId: null,
|
|
|
|
storeId: unref(opts).store?.[0]?.id,
|
|
|
|
waiterId: null,
|
|
|
|
waiterId: null,
|
|
|
|
waiterNickname: null,
|
|
|
|
waiterNickname: null,
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -101,6 +101,9 @@
|
|
|
|
loading.value = true;
|
|
|
|
loading.value = true;
|
|
|
|
await store.dispatch('chatWaiter/search');
|
|
|
|
await store.dispatch('chatWaiter/search');
|
|
|
|
loading.value = false;
|
|
|
|
loading.value = false;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
store.commit('chatWaiter/setList', []);
|
|
|
|
|
|
|
|
store.commit('chatWaiter/setTotal', 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
watch(
|
|
|
|
watch(
|
|
|
|