6/16 完成后台页面会员管理的搜索按钮和公共字段自动填充

This commit is contained in:
zyx 2023-06-16 16:49:02 +08:00
parent 5fab1b22e0
commit b376c2f454
2 changed files with 5 additions and 5 deletions

View File

@ -4,8 +4,8 @@
<el-form-item label="姓名" prop="name">
<el-input v-model="dataForm.name" placeholder="姓名"></el-input>
</el-form-item>
<el-form-item label="手机号" prop="phone">
<el-input v-model="dataForm.phone" placeholder="手机号"></el-input>
<el-form-item label="邮箱" prop="phone">
<el-input v-model="dataForm.phone" placeholder="邮箱"></el-input>
</el-form-item>
<el-form-item prop="gender" :label="$t('user.gender')">
<ren-radio-group v-model="dataForm.gender" dict-type="gender"></ren-radio-group>

View File

@ -3,7 +3,7 @@
<div class="mod-takeout__user}">
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
<el-form-item>
<el-input v-model="dataForm.id" placeholder="手机号" clearable></el-input>
<el-input v-model="dataForm.phone" placeholder="邮箱" clearable></el-input>
</el-form-item>
<el-form-item>
<el-button @click="getDataList()">{{ $t('query') }}</el-button>
@ -22,7 +22,7 @@
<el-table-column type="selection" header-align="center" align="center" width="50"></el-table-column>
<el-table-column prop="id" label="ID" header-align="center" align="center"></el-table-column>
<el-table-column prop="name" label="姓名" header-align="center" align="center"></el-table-column>
<el-table-column prop="phone" label="手机号" header-align="center" align="center"></el-table-column>
<el-table-column prop="phone" label="邮箱" header-align="center" align="center"></el-table-column>
<!-- <el-table-column prop="gender" label="性别" header-align="center" align="center"></el-table-column>-->
<el-table-column prop="gender" :label="$t('user.gender')" sortable="custom" header-align="center" align="center">
<template slot-scope="scope">
@ -79,7 +79,7 @@ export default {
deleteIsBatch: true
},
dataForm: {
id: ''
phone: ''
}
}
},