refactor event

This commit is contained in:
Timi
2026-08-06 20:53:22 +08:00
parent 1243068fc3
commit 9df6dfaf59
37 changed files with 1584 additions and 2316 deletions
+6 -4
View File
@@ -109,11 +109,13 @@ async function loadCustomers(): Promise<void> {
searchToken = token;
loading.value = true;
try {
const result = await CustomerAPI.searchPage({
const result = await CustomerAPI.list({
index: pageIndex.value,
size: pageSize,
equalsExample: {
keyword: keyword.value || undefined
likesExample: {
code: keyword.value || undefined,
name: keyword.value || undefined,
telephone: keyword.value || undefined
}
});
if (token !== searchToken) {
@@ -253,7 +255,7 @@ onUnmounted(() => {
.search-wrapper {
z-index: 1;
padding: 1rem 0 .5rem 0;
box-shadow: var(--td-shadow-1);
box-shadow: 0 4px 4px rgba(0, 0, 0, .05);
.search {
--td-input-vertical-padding: 8px;
+1
View File
@@ -7,6 +7,7 @@
:class="{ clickable: !!href }"
@click="handleClick"
>
<t-icon v-if="value" name="call" />
<span v-text="displayText" />
</component>
</template>