|
|
|
@ -33,7 +33,7 @@
|
|
|
|
|
type="primary"
|
|
|
|
|
icon="el-icon-refresh"
|
|
|
|
|
@click="onReset"
|
|
|
|
|
></el-button>
|
|
|
|
|
>重置</el-button>
|
|
|
|
|
<el-button type="primary" icon="search" @click="onSubmit"
|
|
|
|
|
>查询</el-button
|
|
|
|
|
>
|
|
|
|
@ -277,14 +277,20 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
{ validator: validatePass2, trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
userFlag: [
|
|
|
|
|
{ required: true, message: "请选择状态", trigger: "change" },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
editRules: {
|
|
|
|
|
userName: [{ required: true, message: "请输入姓名", trigger: "blur" }],
|
|
|
|
|
userFlag: [
|
|
|
|
|
{ required: true, message: "请选择状态", trigger: "change" },
|
|
|
|
|
password: [
|
|
|
|
|
{ required: true, message: "请输入密码", trigger: "blur" },
|
|
|
|
|
{ validator: validatePass, trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
checkPassword: [
|
|
|
|
|
{
|
|
|
|
|
required: true,
|
|
|
|
|
message: "请再次输入密码",
|
|
|
|
|
trigger: "blur",
|
|
|
|
|
},
|
|
|
|
|
{ validator: validatePass2, trigger: "blur" },
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
deleteLoading: false,
|
|
|
|
@ -315,23 +321,24 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
this.query = {
|
|
|
|
|
userName: "",
|
|
|
|
|
userFlag: "",
|
|
|
|
|
name: "",
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 20,
|
|
|
|
|
roleId: "",
|
|
|
|
|
customerId: this.currentCustomer,
|
|
|
|
|
tel: "",
|
|
|
|
|
qq: "",
|
|
|
|
|
weChat: "",
|
|
|
|
|
email: "",
|
|
|
|
|
createTime: "",
|
|
|
|
|
companyId: this.currentCustomer,
|
|
|
|
|
};
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
onSubmit() {
|
|
|
|
|
this.$router.push({
|
|
|
|
|
path: "",
|
|
|
|
|
query: this.query,
|
|
|
|
|
});
|
|
|
|
|
this.query.page = 1;
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
|
this.query.page = val;
|
|
|
|
|
this.query.page = val.page;
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
getList() {
|
|
|
|
|