mirror of https://gitee.com/y_project/RuoYi.git
添加导入数据弹出窗体自定义宽高
parent
03c952d819
commit
74445e76c3
|
@ -383,12 +383,14 @@ var table = {
|
|||
});
|
||||
},
|
||||
// 导入数据
|
||||
importExcel: function(formId) {
|
||||
importExcel: function(formId, width, height) {
|
||||
table.set();
|
||||
var currentId = $.common.isEmpty(formId) ? 'importTpl' : formId;
|
||||
var _width = $.common.isEmpty(width) ? "400" : width;
|
||||
var _height = $.common.isEmpty(height) ? "230" : height;
|
||||
layer.open({
|
||||
type: 1,
|
||||
area: ['400px', '230px'],
|
||||
area: [_width + 'px', _height + 'px'],
|
||||
fix: false,
|
||||
//不固定
|
||||
maxmin: true,
|
||||
|
|
Loading…
Reference in New Issue