|
@@ -422,7 +422,12 @@ export default {
|
|
|
{ required: true, message: "管理员账号不能为空", trigger: "blur" }
|
|
|
],
|
|
|
password: [
|
|
|
- { required: true, message: "管理员密码不能为空", trigger: "blur" }
|
|
|
+ { required: true, message: "管理员密码不能为空", trigger: "blur" },
|
|
|
+ {
|
|
|
+ pattern: /^(?=.*[A-Za-z])(?=.*\d)(?=.*[^A-Za-z0-9]).{8,20}$/,
|
|
|
+ message: "密码长度为8-20 位,必须包含字母、数字和特殊字符",
|
|
|
+ trigger: ["blur", "change"],
|
|
|
+ }
|
|
|
],
|
|
|
manager: [
|
|
|
{ required: true, message: "商务负责人不能为空", trigger: "blur" }
|
|
@@ -566,7 +571,7 @@ export default {
|
|
|
|
|
|
handleResetPwd(row) {
|
|
|
const companyIds = row.companyId || this.ids;
|
|
|
- this.$confirm('是否确认重复密码为123456?', "警告", {
|
|
|
+ this.$confirm('是否确认重复密码为cq654321!!', "警告", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|