Browse Source

界面设置窗口样式

zhuth 7 years ago
parent
commit
523d09d64e

+ 0 - 2
frontend/saas-web/app/view/core/base/BasePanelController.js

@@ -179,8 +179,6 @@ Ext.define('saas.view.core.base.BasePanelController', {
             win = panel.add({
                 title: title,
                 xtype: 'settingwin',
-                width: box.width * 0.8,
-                height: box.height * 0.8,
                 viewName: viewName,
                 fieldItems: Ext.Array.clone(items),
                 settype: settype,

+ 0 - 2
frontend/saas-web/app/view/core/form/FormPanelController.js

@@ -546,8 +546,6 @@ Ext.define('saas.view.core.form.FormPanelController', {
             win = panel.add({
                 title: title,
                 xtype: 'settingwin',
-                width: box.width * 0.8,
-                height: box.height * 0.8,
                 viewName: viewName,
                 fieldItems: Ext.Array.clone(items),
                 settype: settype,

+ 2 - 5
frontend/saas-web/app/view/core/form/SettingWin.js

@@ -11,7 +11,7 @@ Ext.define('saas.view.core.form.SettingWin', {
     cls: 'x-window-dbfind x-setting-win',
     modal: true,
     height: 400,
-    width: 600,
+    width: 714,
     title: '界面设置',
     scrollable: true,
     bodyPadding: 10,
@@ -125,9 +125,6 @@ Ext.define('saas.view.core.form.SettingWin', {
                 xtype: 'numberfield',
                 decimalPrecision: 0
             }
-        }, {
-            dataIndex: '',
-            flex: 1
         }],
     },
 
@@ -183,7 +180,7 @@ Ext.define('saas.view.core.form.SettingWin', {
                 bbar: [{
                     xtype: 'tbtext',
                     style: {
-                        color: 'red'
+                        color: '#4A4A4A'
                     },
                     text: '* 拖动行以调整字段顺序',
                 }, '->', {

+ 0 - 2
frontend/saas-web/app/view/core/query/QueryPanelController.js

@@ -76,8 +76,6 @@ Ext.define('saas.view.core.query.QueryPanelController', {
             win = panel.add({
                 title: title,
                 xtype: 'settingwin',
-                width: box.width * 0.8,
-                height: box.height * 0.8,
                 viewName: viewName + '-' + mode,
                 fieldItems: Ext.Array.clone(items),
                 settype: settype,

+ 0 - 2
frontend/saas-web/app/view/core/report/ReportPanelController.js

@@ -97,8 +97,6 @@ Ext.define('saas.view.core.report.ReportPanelController', {
             win = panel.add({
                 title: title,
                 xtype: 'settingwin',
-                width: box.width * 0.8,
-                height: box.height * 0.8,
                 viewName: viewName,
                 fieldItems: Ext.Array.clone(items),
                 settype: settype,