This commit is contained in:
yziiy
2025-10-28 11:18:56 +08:00
parent f6399b8c4a
commit 8fbf649dc5
2 changed files with 11 additions and 14 deletions

View File

@@ -20,7 +20,7 @@ import {
banUserData
} from "@/api/modules/newuserList";
import { addDialog } from "@/components/ReDialog";
import { object } from "vue-types";
// import { object } from "vue-types";
export function useData() {
const formRef = ref();
const searchFormMore = ref({
@@ -43,11 +43,13 @@ export function useData() {
background: true
});
const searchForm = ref({
user_code: '',
search: "",
is_sys_tester: "",
is_real: ""
});
const searchLabel = ref([
{ label: "会员ID", prop: "user_code", type: "input" },
{ label: "昵称/手机号查询", prop: "search", type: "input" },
{
label: "官方账号",
@@ -161,8 +163,8 @@ export function useData() {
}
const { data, code } = await queryList({
...formData,
// coin1: searchForm.value.coin1 ? searchForm.value.coin1 : '',
// coin2: searchForm.value.coin2 ? searchForm.value.coin2 : '',
coin1: searchForm.value.coin1 !== '' ? searchForm.value.coin1 : '',
coin2: searchForm.value.coin2 !== '' ? searchForm.value.coin2 : '',
page: pagination.value.currentPage,
page_limit: pagination.value.pageSize
});