mooho-base-admin-plus 2.10.31 → 2.10.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1728,7 +1728,35 @@
|
|
|
1728
1728
|
}
|
|
1729
1729
|
}
|
|
1730
1730
|
|
|
1731
|
-
if (this.
|
|
1731
|
+
if (!!(this.tableView.exportDataViewCode || '').trim()) {
|
|
1732
|
+
if (name === 'exportExcel') {
|
|
1733
|
+
dataViewApi.exportExcel(
|
|
1734
|
+
this.tableView,
|
|
1735
|
+
this.staticData
|
|
1736
|
+
// this.columns.filter(item => {
|
|
1737
|
+
// return item.slot == 'normal';
|
|
1738
|
+
// })
|
|
1739
|
+
);
|
|
1740
|
+
} else if (name === 'exportPdf') {
|
|
1741
|
+
dataViewApi.exportPdf(
|
|
1742
|
+
this.tableView,
|
|
1743
|
+
this.staticData
|
|
1744
|
+
// this.columns.filter(item => {
|
|
1745
|
+
// return item.slot == 'normal';
|
|
1746
|
+
// })
|
|
1747
|
+
);
|
|
1748
|
+
} else if (name === 'print') {
|
|
1749
|
+
dataViewApi.print(
|
|
1750
|
+
this.tableView,
|
|
1751
|
+
this.staticData
|
|
1752
|
+
// this.columns.filter(item => {
|
|
1753
|
+
// return item.slot == 'normal';
|
|
1754
|
+
// })
|
|
1755
|
+
);
|
|
1756
|
+
} else if (name === 'batchEdit') {
|
|
1757
|
+
this.error('Front_Msg_Not_Supported');
|
|
1758
|
+
}
|
|
1759
|
+
} else if (this.static) {
|
|
1732
1760
|
if (name === 'exportExcel') {
|
|
1733
1761
|
dataViewApi.exportExcel(
|
|
1734
1762
|
this.tableView,
|