luoyifan 3 vuotta sitten
vanhempi
commit
5f31a3b54d
2 muutettua tiedostoa jossa 27 lisäystä ja 21 poistoa
  1. 26 20
      dist/yvan-ext.js
  2. 1 1
      dist/yvan-ext.js.map

+ 26 - 20
dist/yvan-ext.js

@@ -95946,15 +95946,31 @@ define(['exports'], function (exports) { 'use strict';
                     floated: false,
                     width: 300,
                     docked: 'left',
-                    items: [{
-                            text: '导出表格当前的数据',
+                    items: [
+                        {
+                            text: '大批量导出 (需要客户端支持!)',
+                            iconCls: 'x-fa fa-download',
+                            listeners: {
+                                click: function (sender, value) {
+                                    // @ts-ignore
+                                    YvanUI.confirm('大批量数据导出会占用大量服务器资源和带宽资源,您真的要导出吗?')
+                                        .then(function (res) {
+                                        grid.exportBigExcelClick();
+                                    });
+                                }
+                            }
+                        },
+                        '-',
+                        {
+                            text: '导出当前数据',
                             iconCls: 'x-fa fa-download',
                             listeners: {
                                 click: function (sender, value) {
                                     grid.exportCurrentExcelClick();
                                 }
                             }
-                        }, {
+                        },
+                        {
                             xtype: "textfield",
                             fieldLabel: '当前导出页',
                             maskRe: /[0-9]/,
@@ -95978,7 +95994,8 @@ define(['exports'], function (exports) { 'use strict';
                                     grid.exportExcelCurrentPage = v + "";
                                 }
                             }
-                        }, {
+                        },
+                        {
                             xtype: "textfield",
                             fieldLabel: '导出页大小',
                             maskRe: /[0-9]/,
@@ -96008,12 +96025,14 @@ define(['exports'], function (exports) { 'use strict';
                                     grid.exportExcelPageSize = v + "";
                                 }
                             }
-                        }, {
+                        },
+                        {
                             xtype: "textfield",
                             fieldLabel: '总条数',
                             value: grid.exportExcelTotal,
                             readOnly: true
-                        }, {
+                        },
+                        {
                             text: '导出',
                             iconCls: 'x-fa fa-download',
                             listeners: {
@@ -96025,20 +96044,7 @@ define(['exports'], function (exports) { 'use strict';
                                 }
                             }
                         },
-                        '-',
-                        {
-                            text: '大批量导出 (会占用大量服务器资源,需要客户端支持,请慎用!)',
-                            iconCls: 'x-fa fa-download',
-                            listeners: {
-                                click: function (sender, value) {
-                                    // @ts-ignore
-                                    YvanUI.confirm('大批量数据导出会占用大量服务器资源和带宽资源,您真的要导出吗?')
-                                        .then(function (res) {
-                                        grid.exportBigExcelClick();
-                                    });
-                                }
-                            }
-                        }]
+                    ]
                 });
                 treeMenu.showAt(rect.left, rect.top - 120);
                 // for (let i = 1; i < grid.headerCt.getColumnCount(); i++) {

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 1 - 1
dist/yvan-ext.js.map