|
|
@@ -66,5 +66,13 @@ jQuery( function() {
|
|
|
$("#check-all").change(function () {
|
|
|
$("input[type='checkbox']").prop('checked', $(this).prop("checked"));
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
+ // iframe打开tab
|
|
|
+ $('.js-create-tab').on('click', function(){
|
|
|
+ parent.$(parent.document).data('multitabs').create({
|
|
|
+ iframe : true,
|
|
|
+ title : $(this).data('title') ? $(this).data('title') : '标题',
|
|
|
+ url : $(this).data('url') ? $(this).data('url') : 'lyear-main.html'
|
|
|
+ }, true);
|
|
|
+ });
|
|
|
});
|