http://www.cnblogs.com/xiaohuasan/p/5329510.html
http://www.jb51.net/article/53479.htm
后面加url 路径
window.location.href="../role/add"