var host = window.location.host;var protocal = window.location.protocolwindow.location.href = protocal+'//'+host+'/store/record/index?type=2'