|
@@ -81,9 +81,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
text:'打印',
|
|
|
title:'打印',
|
|
|
icon:'fa fa-exclamation-circle',
|
|
|
- classname:'btn btn-xs btn-info btn-dialog',
|
|
|
- url:'trainactive/showinfo/id/{ids}?dialog=1',
|
|
|
- target:'_self',
|
|
|
+ classname:'btn btn-xs btn-info btn-addtabs',
|
|
|
+ url:'trainactive/showinfo/id/{ids}',
|
|
|
+ target:'_blank',
|
|
|
}
|
|
|
],
|
|
|
events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
@@ -175,7 +175,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
};
|
|
|
return Controller;
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
$('#left').click(function(){
|
|
|
$('#left_table').show();
|
|
|
$('#right_table').hide();
|
|
@@ -184,7 +184,12 @@ $('#right').click(function(){
|
|
|
$('#left_table').hide();
|
|
|
$('#right_table').show();
|
|
|
})
|
|
|
+
|
|
|
function jump(url){
|
|
|
console.log(url);
|
|
|
window.location.href = url;
|
|
|
}
|
|
|
+
|
|
|
+function printPage() {
|
|
|
+ window.print();
|
|
|
+}
|