6/16 完成后台页面会员管理的搜索按钮和公共字段自动填充
This commit is contained in:
parent
5fab1b22e0
commit
b376c2f454
@ -4,8 +4,8 @@
|
|||||||
<el-form-item label="姓名" prop="name">
|
<el-form-item label="姓名" prop="name">
|
||||||
<el-input v-model="dataForm.name" placeholder="姓名"></el-input>
|
<el-input v-model="dataForm.name" placeholder="姓名"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="手机号" prop="phone">
|
<el-form-item label="邮箱" prop="phone">
|
||||||
<el-input v-model="dataForm.phone" placeholder="手机号"></el-input>
|
<el-input v-model="dataForm.phone" placeholder="邮箱"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item prop="gender" :label="$t('user.gender')">
|
<el-form-item prop="gender" :label="$t('user.gender')">
|
||||||
<ren-radio-group v-model="dataForm.gender" dict-type="gender"></ren-radio-group>
|
<ren-radio-group v-model="dataForm.gender" dict-type="gender"></ren-radio-group>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<div class="mod-takeout__user}">
|
<div class="mod-takeout__user}">
|
||||||
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
|
<el-form :inline="true" :model="dataForm" @keyup.enter.native="getDataList()">
|
||||||
<el-form-item>
|
<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-form-item>
|
<el-form-item>
|
||||||
<el-button @click="getDataList()">{{ $t('query') }}</el-button>
|
<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 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="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="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="性别" header-align="center" align="center"></el-table-column>-->
|
||||||
<el-table-column prop="gender" :label="$t('user.gender')" sortable="custom" header-align="center" align="center">
|
<el-table-column prop="gender" :label="$t('user.gender')" sortable="custom" header-align="center" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@ -79,7 +79,7 @@ export default {
|
|||||||
deleteIsBatch: true
|
deleteIsBatch: true
|
||||||
},
|
},
|
||||||
dataForm: {
|
dataForm: {
|
||||||
id: ''
|
phone: ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user