@indfnd/common 1.1.26 → 1.1.28

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,12 +2,21 @@
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.1.28](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.27...v1.1.28) (2025-11-21)
6
+
7
+
8
+ ### Features
9
+
10
+ * 表格头部多选按钮丢失问题修复? ([f196fbf](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/f196fbfbd5948651a626553f25bbec8105166b42))
11
+
12
+ ### [1.1.27](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.26...v1.1.27) (2025-11-21)
13
+
5
14
  ### [1.1.26](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.25...v1.1.26) (2025-11-21)
6
15
 
7
16
 
8
- ### Bug Fixes
17
+ ### Features
9
18
 
10
- * 修改 ([d6937a4](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/d6937a4cc1b1e535cb11357325327b5577566022))
19
+ * 路由修复 ([04880b3](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/04880b357b4a0fd59267c34b72766c25ea1c06c8))
11
20
 
12
21
  ### [1.1.25](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.24...v1.1.25) (2025-11-21)
13
22
 
@@ -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.1.25";
5463
+ const version = "1.1.27";
5464
5464
  const author = "huxuetong";
5465
5465
  const publishConfig = {
5466
5466
  registry: "https://registry.npmjs.org/"
@@ -53428,7 +53428,7 @@ const __vue2_script$14 = {
53428
53428
  isPc: isPC(),
53429
53429
  tableRef: null,
53430
53430
  refreshTable: false,
53431
- rowSelection: "single",
53431
+ rowSelection: "multiple",
53432
53432
  suppressRowClickSelection: false,
53433
53433
  localeText: AG_GRID_LOCALE_ZH,
53434
53434
  isRevertingOldValue: false,
@@ -60844,7 +60844,7 @@ var render$C = function() {
60844
60844
  var _vm = this;
60845
60845
  var _h = _vm.$createElement;
60846
60846
  var _c = _vm._self._c || _h;
60847
- return _c("div", { staticClass: "ind-page-view ind-flex-column" }, [_vm.isShowHeader ? _c("div", { staticClass: "ind-flex-no-shrink header" }, [_vm.isShowBackBtn ? _c("Button", { staticClass: "back-btn", attrs: { "bizType": "back" }, on: { "click": _vm.$backToMenu } }, [_vm._v("\u8FD4\u56DE")]) : _vm._e(), _c("span", { staticClass: "title" }, [_vm._v(_vm._s(_vm.customTitle || _vm.title))]), _c("MenuDesc", { attrs: { "theContext": _vm.indexDesc } }), _c("div", { staticStyle: { "width": "70%", "height": "100%", "display": "flex", "align-items": "center", "padding": "5px", "color": "red" } }, [_vm._v(" " + _vm._s(_vm.functionDesc) + " ")]), _c("div", { staticClass: "function-wrapper" }, [_vm._t("headerButton")], 2)], 1) : _vm._e(), _c("IndLoadingPanel", { staticClass: "ind-flex-column ind-flex-grow content", attrs: { "loading": _vm.loading } }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.topSearch, expression: "$slots.topSearch" }], staticClass: "ind-flex-no-shrink ind-panel top-search-content search" }, [_vm._t("topSearch")], 2), _c("div", { staticClass: "ind-flex-grow body-content" }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.leftContent, expression: "$slots.leftContent" }], staticClass: "ind-panel body-left-content" }, [_vm._t("leftContent")], 2), _c("div", { staticClass: "ind-panel ind-flex-column body-right-content" }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.search, expression: "$slots.search" }], staticClass: "ind-flex-no-shrink search" }, [_vm._t("search")], 2), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.tip, expression: "$slots.tip" }], staticClass: "tip" }, [_vm._t("tip")], 2), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots["important-tip"], expression: "$slots['important-tip']" }], staticClass: "important-tip" }, [_c("Icons", { attrs: { "type": "md-information-circle" } }), _vm._t("important-tip")], 2), _c("div", { staticClass: "ind-flex-grow main-content" }, [_vm._t("default")], 2), _c("div", { staticClass: "ind-flex-no-shrink body-right-content-footer" }, [_vm._t("footer")], 2)])]), _c("div", { staticClass: "ind-flex-no-shrink bottom" }, [_vm._t("bottom")], 2)])], 1);
60847
+ return _c("div", { staticClass: "ind-page-view ind-flex-column" }, [_vm.isShowHeader ? _c("div", { staticClass: "ind-flex-no-shrink header" }, [_vm.isShowBackBtn ? _c("Button", { staticClass: "back-btn", attrs: { "bizType": "back" }, on: { "click": _vm.$backToMenu } }, [_vm._v("\u8FD4\u56DE")]) : _vm._e(), _c("span", { staticClass: "title" }, [_vm._v(_vm._s(_vm.customTitle || _vm.title))]), _c("MenuDesc", { attrs: { "theContext": _vm.indexDesc } }), _c("div", { staticStyle: { "width": "70%", "height": "100%", "display": "flex", "align-items": "center", "padding": "5px" } }, [_vm._v(" " + _vm._s(_vm.functionDesc) + " ")]), _c("div", { staticClass: "function-wrapper" }, [_vm._t("headerButton")], 2)], 1) : _vm._e(), _c("IndLoadingPanel", { staticClass: "ind-flex-column ind-flex-grow content", attrs: { "loading": _vm.loading } }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.topSearch, expression: "$slots.topSearch" }], staticClass: "ind-flex-no-shrink ind-panel top-search-content search" }, [_vm._t("topSearch")], 2), _c("div", { staticClass: "ind-flex-grow body-content" }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.leftContent, expression: "$slots.leftContent" }], staticClass: "ind-panel body-left-content" }, [_vm._t("leftContent")], 2), _c("div", { staticClass: "ind-panel ind-flex-column body-right-content" }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.search, expression: "$slots.search" }], staticClass: "ind-flex-no-shrink search" }, [_vm._t("search")], 2), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots.tip, expression: "$slots.tip" }], staticClass: "tip" }, [_vm._t("tip")], 2), _c("div", { directives: [{ name: "show", rawName: "v-show", value: _vm.$slots["important-tip"], expression: "$slots['important-tip']" }], staticClass: "important-tip" }, [_c("Icons", { attrs: { "type": "md-information-circle" } }), _vm._t("important-tip")], 2), _c("div", { staticClass: "ind-flex-grow main-content" }, [_vm._t("default")], 2), _c("div", { staticClass: "ind-flex-no-shrink body-right-content-footer" }, [_vm._t("footer")], 2)])]), _c("div", { staticClass: "ind-flex-no-shrink bottom" }, [_vm._t("bottom")], 2)])], 1);
60848
60848
  };
60849
60849
  var staticRenderFns$C = [];
60850
60850
  const __vue2_script$D = {
@@ -60882,9 +60882,14 @@ const __vue2_script$D = {
60882
60882
  }
60883
60883
  },
60884
60884
  async mounted() {
60885
+ var _a;
60885
60886
  this.calcTitle();
60887
+ let permissionList = getPermissionCache();
60888
+ let permissionReal = ((_a = permissionList.filter((d) => {
60889
+ return d.uri && d.uri != "/" && this.$route.fullPath.includes(d.uri.replace(/^\/ind([^/]{1,})/, ""));
60890
+ })) == null ? void 0 : _a[0]) || {};
60886
60891
  let params = {
60887
- userId: this.$route.meta.permissionId,
60892
+ userId: permissionReal.permissionId || this.$route.meta.permissionId,
60888
60893
  funId: "pageHelpSet"
60889
60894
  };
60890
60895
  let res = await getIndexPreset(params);
@@ -71992,7 +71997,9 @@ async function renderRoutes({
71992
71997
  var _a, _b, _c;
71993
71998
  return ((_a = item2 == null ? void 0 : item2.uri) == null ? void 0 : _a.includes("?")) ? (_b = item2 == null ? void 0 : item2.uri) == null ? void 0 : _b.includes(to.path) : (_c = item2 == null ? void 0 : item2.uri) == null ? void 0 : _c.endsWith(to.path);
71994
71999
  });
71995
- let urlList = arr.map((item2) => item2.uri);
72000
+ let urlList = arr.filter((item2) => {
72001
+ return !item2.uri.includes("ibp-sc");
72002
+ }).map((item2) => item2.uri);
71996
72003
  let urlMatchMin = _.minBy(urlList, (item2) => item2.length);
71997
72004
  tempPer = arr.find((item2) => item2.uri === urlMatchMin);
71998
72005
  }