@indfnd/common 1.0.116 → 1.0.117

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.117](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.116...v1.0.117) (2025-05-27)
6
+
7
+
8
+ ### Features
9
+
10
+ * 放开列筛选 ([177133c](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/177133c081f9976b0a216e8b089f166955df3cee))
11
+
5
12
  ### [1.0.116](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.115...v1.0.116) (2025-05-13)
6
13
 
7
14
 
@@ -5460,7 +5460,7 @@ var lodash = { exports: {} };
5460
5460
  })(lodash, lodash.exports);
5461
5461
  var _ = lodash.exports;
5462
5462
  const name$1 = "@indfnd/common";
5463
- const version = "1.0.115";
5463
+ const version = "1.0.116";
5464
5464
  const author = "huxuetong";
5465
5465
  const publishConfig = {
5466
5466
  registry: "https://registry.npmjs.org/"
@@ -50871,6 +50871,7 @@ function deepEach$6(parentNode, list, callback) {
50871
50871
  }
50872
50872
  }
50873
50873
  const __vue2_script$1k = {
50874
+ name: "IndexManage",
50874
50875
  props: {
50875
50876
  funId: String,
50876
50877
  tableRef: Object
@@ -50910,8 +50911,11 @@ const __vue2_script$1k = {
50910
50911
  this.renderManageColumns();
50911
50912
  }
50912
50913
  },
50913
- created() {
50914
- let cacheData = localStorage.getItem("index-cache" + this.funId);
50914
+ mounted() {
50915
+ let cacheData;
50916
+ if (typeof window !== "undefined") {
50917
+ cacheData = localStorage.getItem("index-cache" + this.funId);
50918
+ }
50915
50919
  if (cacheData) {
50916
50920
  let cacheList = JSON.parse(cacheData);
50917
50921
  cacheList.forEach((d) => {
@@ -50937,7 +50941,9 @@ const __vue2_script$1k = {
50937
50941
  }
50938
50942
  });
50939
50943
  });
50940
- localStorage.setItem("index-cache" + this.funId, JSON.stringify(dataToCache));
50944
+ if (typeof window !== "undefined") {
50945
+ localStorage.setItem("index-cache" + this.funId, JSON.stringify(dataToCache));
50946
+ }
50941
50947
  await this.$nextTick();
50942
50948
  },
50943
50949
  renderManageColumns() {
@@ -52759,7 +52765,7 @@ var render$13 = function() {
52759
52765
  _vm.unitType = $$v;
52760
52766
  }, expression: "unitType" } }) : _vm._e(), _c("Dropdown", { directives: [{ name: "show", rawName: "v-show", value: _vm.showTableOption, expression: "showTableOption" }], staticClass: "table-option-dropdown", staticStyle: { "float": "right", "margin-bottom": "var(--ind-table-button-padding)" }, attrs: { "trigger": "custom", "visible": _vm.optionDropdownVisible, "placement": "bottom-end" }, on: { "on-click": _vm.resetTableSize } }, [_c("IndButtonGroup", { staticStyle: { "display": "flex" }, attrs: { "split": false, "mb": "" } }, [_c("IndButton", { attrs: { "bizType": "reset" }, on: { "click": _vm.toggleFullScreen } }, [_vm._v(" " + _vm._s(_vm.fullSreen ? "\u53D6\u6D88\u5168\u5C4F" : "\u5168\u5C4F") + " ")]), _vm.revertBtn ? _c("IndButton", { attrs: { "bizType": "reset" }, on: { "click": function($event) {
52761
52767
  return _vm.$emit("revertColumnRow");
52762
- } } }, [_vm._v(" \u8F6C\u7F6E ")]) : _vm._e(), _c("IndButton", { attrs: { "bizType": "reset" }, on: { "click": function($event) {
52768
+ } } }, [_vm._v(" \u8F6C\u7F6E ")]) : _vm._e(), !_vm.isIndexManageTable && _vm.$config.indexManage ? _c("IndexManage", { attrs: { "tableRef": _vm.tableRef, "funId": (_vm.funId || "") + "-" + _vm.$route.meta.permissionId }, on: { "resetColumns": _vm.resetColumns } }) : _vm._e(), _c("IndButton", { attrs: { "bizType": "reset" }, on: { "click": function($event) {
52763
52769
  return _vm.tableSettingToggle("3");
52764
52770
  } } }, [_vm._v(" \u5BFC\u51FA ")])], 1), _c("DropdownMenu", { style: { width: _vm.btnSel != "1" ? "400px" : "200px", padding: "5px 10px" }, attrs: { "slot": "list" }, slot: "list" }, [_c("ExportData", { directives: [{ name: "show", rawName: "v-show", value: _vm.btnSel == "3", expression: "btnSel == '3'" }], ref: "exportData", attrs: { "rowSpanDefs": _vm.rowSpanDefs, "exportFileName": _vm.exportFileName, "paramLeft": _vm.paramLeft, "paramRight": _vm.paramRight || _vm.paramRightUnit, "rowSpanColumns": _vm.rowSpanColumns || _vm.mergeColumns, "rowSpanIndexCol": _vm.rowSpanIndexCol || _vm.mergeIndexCol, "pinnedTopRowData": _vm.topRows, "tableColumns": _vm.tableColumns, "data": _vm.tableData, "dataApi": _vm.dataApi, "searchParams": _vm.searchParams, "sortParams": _vm.sortParams, "paginationParams": _vm.paginationParams, "show-summary": _vm.tableShowSummary, "summary-method": _vm.tableSummaryMethod, "parsedColumns": _vm.parsedColumns, "exportEnum": _vm.exportEnum, "data-children": _vm.dataChildren, "defaultUnitType": _vm.defaultUnitType, "unitType": _vm.unitType, "switchCols": _vm.switchCols }, on: { "doExport": function($event) {
52765
52771
  _vm.optionDropdownVisible = false;