// $("#fjyj").click(function () {// //window.location.href = "/sysconfig/SuperVisorEdit";// navigateToTeamPersonModule('/CollectData/GradeWarning/EduIndex', '分级预警');// });function navigateToTeamPersonModule(url, name) {var ids = new Date().getTime();window.parent.layui.element.tabAdd('layuiminiTab',{tabId: url,href: url,title: name,content: `<iframe width="100%" height="100%" frameborder="no" border="0" marginwidth="0" marginheight="0" src="${url}"></iframe>`,id:ids,});//窗体定位到新tabwindow.parent.layui.element.tabChange('layuiminiTab', ids);//跳转的同时关闭弹窗,便于返回页面后请求接口layer.close(layer.index);}
效果: