|
@@ -52,6 +52,16 @@
|
|
|
</el-option>
|
|
</el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
+ <el-form-item label="用户状态" prop="status">
|
|
|
|
|
+ <el-select v-model="queryParams.status" placeholder="请选择用户状态" clearable size="small" style="width: 200px">
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="item in statusOptions"
|
|
|
|
|
+ :key="item.dictValue"
|
|
|
|
|
+ :label="item.dictLabel"
|
|
|
|
|
+ :value="parseInt(item.dictValue)"
|
|
|
|
|
+ />
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
|
<el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
<el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
@@ -214,9 +224,16 @@ export default {
|
|
|
queryParams: {
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
|
|
|
+ companyUserId: null,
|
|
|
|
|
+ userId: null,
|
|
|
|
|
+ nickname: null,
|
|
|
|
|
+ phone: null,
|
|
|
|
|
+ projectId: null,
|
|
|
|
|
+ status: null,
|
|
|
salesName: null,
|
|
salesName: null,
|
|
|
phoneNumber: null,
|
|
phoneNumber: null,
|
|
|
},
|
|
},
|
|
|
|
|
+ statusOptions: [],
|
|
|
projectOptions: [],
|
|
projectOptions: [],
|
|
|
selectedUser: [],
|
|
selectedUser: [],
|
|
|
};
|
|
};
|
|
@@ -225,6 +242,9 @@ export default {
|
|
|
this.getDicts("sys_course_project").then(response => {
|
|
this.getDicts("sys_course_project").then(response => {
|
|
|
this.projectOptions = response.data;
|
|
this.projectOptions = response.data;
|
|
|
});
|
|
});
|
|
|
|
|
+ this.getDicts("user_status").then(response => {
|
|
|
|
|
+ this.statusOptions = response.data;
|
|
|
|
|
+ });
|
|
|
getUserList().then(res=>{
|
|
getUserList().then(res=>{
|
|
|
if(res.code === 200) {
|
|
if(res.code === 200) {
|
|
|
this.companyUserList = res.data
|
|
this.companyUserList = res.data
|