|
@@ -1,21 +1,26 @@
|
|
|
<template>
|
|
|
<div class="padding-20">
|
|
|
<div class="search-box">
|
|
|
- <el-form ref="form" :inline="true" :model="searchForm" clearable label-width="100px" class="mt-10">
|
|
|
- <el-form-item label="创建时间:">
|
|
|
+ <el-form
|
|
|
+ ref="form"
|
|
|
+ :inline="true"
|
|
|
+ :model="searchForm"
|
|
|
+ clearable
|
|
|
+ class="mt-10">
|
|
|
+ <el-form-item label="用户手机:">
|
|
|
+ <el-input v-model="searchForm.user_phone" placeholder="请输入用户手机" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="注册时间:">
|
|
|
<el-date-picker
|
|
|
:editable="false"
|
|
|
v-model="time"
|
|
|
- @change="timearr => {timearr ? (searchForm.start_time = timearr[0] + ' 00:00:00', searchForm.end_time = timearr[1] + ' 23:59:59') : searchForm.start_time = searchForm.end_time = undefined}"
|
|
|
+ @change="timearr => {timearr ? (searchForm.register_start_time = timearr[0] + ' 00:00:00', searchForm.register_end_time = timearr[1] + ' 23:59:59') : searchForm.register_start_time = searchForm.register_end_time = undefined}"
|
|
|
type="daterange"
|
|
|
value-format="yyyy-MM-dd"
|
|
|
start-placeholder="开始时间"
|
|
|
end-placeholder="结束时间"
|
|
|
></el-date-picker>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="部门名称:">
|
|
|
- <el-input v-model="searchForm.department_name" placeholder="请输入部门名称" clearable></el-input>
|
|
|
- </el-form-item>
|
|
|
<el-form-item class="ml-10">
|
|
|
<el-button icon="el-icon-search" type="primary" @click="searchSubmit">查询</el-button>
|
|
|
</el-form-item>
|
|
@@ -81,7 +86,7 @@ export default {
|
|
|
},
|
|
|
mounted () {
|
|
|
this.init()
|
|
|
- },
|
|
|
+ }
|
|
|
}
|
|
|
</script>
|
|
|
|