更新
This commit is contained in:
@@ -20,7 +20,7 @@ import {
|
|||||||
banUserData
|
banUserData
|
||||||
} from "@/api/modules/newuserList";
|
} from "@/api/modules/newuserList";
|
||||||
import { addDialog } from "@/components/ReDialog";
|
import { addDialog } from "@/components/ReDialog";
|
||||||
import { object } from "vue-types";
|
// import { object } from "vue-types";
|
||||||
export function useData() {
|
export function useData() {
|
||||||
const formRef = ref();
|
const formRef = ref();
|
||||||
const searchFormMore = ref({
|
const searchFormMore = ref({
|
||||||
@@ -43,11 +43,13 @@ export function useData() {
|
|||||||
background: true
|
background: true
|
||||||
});
|
});
|
||||||
const searchForm = ref({
|
const searchForm = ref({
|
||||||
|
user_code: '',
|
||||||
search: "",
|
search: "",
|
||||||
is_sys_tester: "",
|
is_sys_tester: "",
|
||||||
is_real: ""
|
is_real: ""
|
||||||
});
|
});
|
||||||
const searchLabel = ref([
|
const searchLabel = ref([
|
||||||
|
{ label: "会员ID", prop: "user_code", type: "input" },
|
||||||
{ label: "昵称/手机号查询", prop: "search", type: "input" },
|
{ label: "昵称/手机号查询", prop: "search", type: "input" },
|
||||||
{
|
{
|
||||||
label: "官方账号",
|
label: "官方账号",
|
||||||
@@ -161,8 +163,8 @@ export function useData() {
|
|||||||
}
|
}
|
||||||
const { data, code } = await queryList({
|
const { data, code } = await queryList({
|
||||||
...formData,
|
...formData,
|
||||||
// coin1: searchForm.value.coin1 ? searchForm.value.coin1 : '',
|
coin1: searchForm.value.coin1 !== '' ? searchForm.value.coin1 : '',
|
||||||
// coin2: searchForm.value.coin2 ? searchForm.value.coin2 : '',
|
coin2: searchForm.value.coin2 !== '' ? searchForm.value.coin2 : '',
|
||||||
page: pagination.value.currentPage,
|
page: pagination.value.currentPage,
|
||||||
page_limit: pagination.value.pageSize
|
page_limit: pagination.value.pageSize
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -27,13 +27,14 @@ defineExpose({ getRef });
|
|||||||
<el-form ref="ruleFormRef" :model="newFormInline" label-position="top" label-width="120px">
|
<el-form ref="ruleFormRef" :model="newFormInline" label-position="top" label-width="120px">
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="ID" prop="user_code">
|
<el-form-item label="登录设备" prop="login_device">
|
||||||
<el-input v-model="newFormInline.user_code"></el-input>
|
<el-input v-model="newFormInline.login_device"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="登录设备" prop="login_device">
|
<el-form-item label="创建时间" prop="createtime">
|
||||||
<el-input v-model="newFormInline.login_device"></el-input>
|
<el-date-picker style="width: 100%;" v-model="newFormInline.createtime" type="date" placeholder="选择创建时间">
|
||||||
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@@ -62,7 +63,7 @@ defineExpose({ getRef });
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row type="flex" :gutter="20" justify="center">
|
<el-row type="flex" :gutter="20" justify="center">
|
||||||
<el-col :span="12">
|
<el-col :span="24">
|
||||||
<el-form-item label="金币区间" prop="nickname">
|
<el-form-item label="金币区间" prop="nickname">
|
||||||
<el-row :gutter="20">
|
<el-row :gutter="20">
|
||||||
<el-col :span="10">
|
<el-col :span="10">
|
||||||
@@ -76,12 +77,6 @@ defineExpose({ getRef });
|
|||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
|
||||||
<el-form-item label="创建时间" prop="createtime">
|
|
||||||
<el-date-picker style="width: 100%;" v-model="newFormInline.createtime" type="date" placeholder="选择创建时间">
|
|
||||||
</el-date-picker>
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user