恢复用户列表功能
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
<!-- 搜索表单 -->
|
||||
<template>
|
||||
<a-space :size="10" style="flex-wrap: wrap">
|
||||
<SelectMerchantDown
|
||||
:placeholder="`选择场馆`"
|
||||
class="input-item"
|
||||
v-model:value="where.merchantCode"
|
||||
@change="search"
|
||||
/>
|
||||
<a-input-search
|
||||
allow-clear
|
||||
v-model:value="where.keywords"
|
||||
@@ -9,6 +15,7 @@
|
||||
@pressEnter="search"
|
||||
/>
|
||||
<a-button @click="getCode">生成支付二维码</a-button>
|
||||
<a-button @click="reset">重置</a-button>
|
||||
</a-space>
|
||||
<ele-modal
|
||||
:width="500"
|
||||
@@ -48,7 +55,7 @@
|
||||
}>();
|
||||
|
||||
// 表单数据
|
||||
const { where } = useSearch<OrderParam>({
|
||||
const { where, resetFields } = useSearch<OrderParam>({
|
||||
keywords: ''
|
||||
});
|
||||
|
||||
@@ -57,6 +64,12 @@
|
||||
emit('search', where);
|
||||
};
|
||||
|
||||
/* 重置 */
|
||||
const reset = () => {
|
||||
resetFields();
|
||||
search();
|
||||
};
|
||||
|
||||
// 二维码内容
|
||||
const text = ref('');
|
||||
const showQrcode = ref(false);
|
||||
|
||||
Reference in New Issue
Block a user