refactor event
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
:class="{ clickable: !!href }"
|
||||
@click="handleClick"
|
||||
>
|
||||
<t-icon v-if="value" name="call" />
|
||||
<span v-text="displayText" />
|
||||
</component>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user