Commit 6349eee6 authored by 张俊's avatar 张俊

新增管理功能

parent 526c8eee
...@@ -206,12 +206,12 @@ export default { ...@@ -206,12 +206,12 @@ export default {
}, 1000); }, 1000);
}; };
var user_name_pass = (rule, value, callback) => { var user_name_pass = (rule, value, callback) => {
var reg = /^[a-z0-9]+$/; var reg = /^[a-zA-Z0-9|\-|_|\.]+$/;
setTimeout(() => { setTimeout(() => {
if (reg.test(value)) { if (reg.test(value)) {
callback(); callback();
} else { } else {
callback(new Error("只支持小写字母、数字")); callback(new Error("只支持字母、数字、-、_、."));
} }
}, 100); }, 100);
}; };
......
...@@ -1066,17 +1066,19 @@ export default { ...@@ -1066,17 +1066,19 @@ export default {
text: "权限管理", text: "权限管理",
role: 2, role: 2,
url: "/authority/organization" url: "/authority/organization"
} },
// { {
// pic: require("@/assets/imgs/home_tool_ic_quanxian.png"), pic: require("@/assets/imgs/home_tool_ic_shuju.png"),
// text: "容器管理", text: "数据管控",
// role: 2, role: 2,
// }, url: "/data_analysis/my_service"
// { },
// pic: require("@/assets/imgs/home_tool_ic_quanxian.png"), {
// text: "数据管控", pic: require("@/assets/imgs/home_tool_ic_message.png"),
// role: 2, text: "消息管理",
// }, role: 2,
url: "/message/recommended"
},
] ]
}; };
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment