|
|
@@ -387,11 +387,16 @@ Ext.define('saas.view.core.form.FormPanelController', {
|
|
|
mlCaller = form.caller,
|
|
|
win = Ext.getCmp(form.xtype+mlKeyvalue);
|
|
|
if (!win&&mlKeyvalue!=0) {
|
|
|
+ var panel = form.up('core-tab-panel'),panelEl;panelEl = panel.getEl()
|
|
|
+ var box = panelEl.getBox();
|
|
|
+ var height = box.height;
|
|
|
+ var width = box.width;
|
|
|
var win = form.add(Ext.create('Ext.window.Window', {
|
|
|
modal: true,
|
|
|
id:me.xtype+mlKeyvalue,
|
|
|
- height: '60%',
|
|
|
- width: '80%',
|
|
|
+ cls:'x-window-dbfind',
|
|
|
+ height: height*0.8,
|
|
|
+ width: width*0.8,
|
|
|
title: '操作日志('+viewModel.get(form._codeField)+')',
|
|
|
scrollable: true,
|
|
|
constrain: true,
|