@juzhenfe/page-model 3.17.4 → 3.17.6
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.
|
@@ -302,6 +302,14 @@ export default class TableManager extends IManager {
|
|
|
302
302
|
* 更新当前渲染的列元素
|
|
303
303
|
*/
|
|
304
304
|
updateCurrentRenderTableEls(els: PageModel.TableBaseItem[]): void;
|
|
305
|
+
/**
|
|
306
|
+
* 当前elTable渲染的column
|
|
307
|
+
*/
|
|
308
|
+
currentTableColumns: any[];
|
|
309
|
+
/**
|
|
310
|
+
* 更新当前elTable渲染的column
|
|
311
|
+
*/
|
|
312
|
+
updateCurrentTableColumns(columns: any[]): void;
|
|
305
313
|
/**
|
|
306
314
|
* 当前列元素更新
|
|
307
315
|
*/
|
package/dist/index.es.js
CHANGED
|
@@ -4698,6 +4698,7 @@ class TableManager extends IManager {
|
|
|
4698
4698
|
__publicField(this, "radioData", null);
|
|
4699
4699
|
__publicField(this, "currentFilterTableEls", []);
|
|
4700
4700
|
__publicField(this, "currentRenderTableEls");
|
|
4701
|
+
__publicField(this, "currentTableColumns", []);
|
|
4701
4702
|
__publicField(this, "innerFilters", null);
|
|
4702
4703
|
__publicField(this, "saveContentScope");
|
|
4703
4704
|
__publicField(this, "saveContent");
|
|
@@ -5443,6 +5444,9 @@ class TableManager extends IManager {
|
|
|
5443
5444
|
this.currentRenderTableEls = els;
|
|
5444
5445
|
this.onCurrentRenderTableElsChange();
|
|
5445
5446
|
}
|
|
5447
|
+
updateCurrentTableColumns(columns) {
|
|
5448
|
+
this.currentTableColumns = columns;
|
|
5449
|
+
}
|
|
5446
5450
|
onCurrentRenderTableElsChange() {
|
|
5447
5451
|
const propList = this.currentRenderTableEls.map((a) => a.prop).filter((a) => a);
|
|
5448
5452
|
this.columnParamsList = this.columnParamsList.filter((a) => {
|
|
@@ -9100,7 +9104,11 @@ function useUserSummary(tableManager) {
|
|
|
9100
9104
|
if (!columns.length) {
|
|
9101
9105
|
return summaryResult;
|
|
9102
9106
|
}
|
|
9107
|
+
tableManager.updateCurrentTableColumns(columns);
|
|
9103
9108
|
if (isServerSummary) {
|
|
9109
|
+
if (columns.length !== currentTableColumns.length) {
|
|
9110
|
+
getSummaryData();
|
|
9111
|
+
}
|
|
9104
9112
|
currentTableColumns = columns;
|
|
9105
9113
|
} else {
|
|
9106
9114
|
const _result = columns.map((column) => {
|
|
@@ -13706,6 +13714,8 @@ const _sfc_main$4 = defineComponent({
|
|
|
13706
13714
|
} else {
|
|
13707
13715
|
tableZIndex.value = 3e3;
|
|
13708
13716
|
}
|
|
13717
|
+
} else {
|
|
13718
|
+
tableZIndex.value = 0;
|
|
13709
13719
|
}
|
|
13710
13720
|
};
|
|
13711
13721
|
const handleShowColumnTool = (item, e) => {
|
|
@@ -14893,7 +14903,7 @@ const defineEditableTable = function(config) {
|
|
|
14893
14903
|
};
|
|
14894
14904
|
var iconfont = "";
|
|
14895
14905
|
const name = "@juzhenfe/page-model";
|
|
14896
|
-
const version = "3.17.
|
|
14906
|
+
const version = "3.17.6";
|
|
14897
14907
|
const types = "dist/main.d.ts";
|
|
14898
14908
|
const main = "dist/index.umd.js";
|
|
14899
14909
|
const keywords = [
|