@indfnd/common 1.1.18 → 1.1.19

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.1.19](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.18...v1.1.19) (2025-11-20)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * 修改页面帮助组件 ([eefe6af](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/eefe6af7ab5f8af7a0317a13b57f5e4e2e12bc6f))
11
+
5
12
  ### [1.1.18](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.1.17...v1.1.18) (2025-11-06)
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.1.17";
5463
+ const version = "1.1.18";
5464
5464
  const author = "huxuetong";
5465
5465
  const publishConfig = {
5466
5466
  registry: "https://registry.npmjs.org/"
@@ -60722,16 +60722,17 @@ var render$E = function() {
60722
60722
  _vm.show = false;
60723
60723
  } }, model: { value: _vm.show, callback: function($$v) {
60724
60724
  _vm.show = $$v;
60725
- }, expression: "show" } }, [_vm.menuInfo.menuDesc ? [_c("div", { staticClass: "ind-menu-help-panel" }, [_c("div", { staticClass: "ind-flex" }, [_c("div", { staticClass: "ind-menu-title" }, [_vm._v("\u529F\u80FD\u8BF4\u660E\uFF1A")]), _c("div", { staticClass: "ind-menu-title-content" }, [_vm._v(" " + _vm._s(_vm.menuInfo.menuDesc) + " ")])]), _c("div", { staticClass: "ind-menu-title" }, [_vm._v("\u6307\u6807\u5B9A\u4E49\uFF1A")]), _vm._l(_vm.menuInfo.indexList, function(item2, idx) {
60725
+ }, expression: "show" } }, [_vm.theContext != "" ? [_c("div", { domProps: { "innerHTML": _vm._s(_vm.theContext) } })] : [_vm.menuInfo.menuDesc ? _c("div", { staticClass: "ind-menu-help-panel" }, [_c("div", { staticClass: "ind-flex" }, [_c("div", { staticClass: "ind-menu-title" }, [_vm._v("\u529F\u80FD\u8BF4\u660E\uFF1A")]), _c("div", { staticClass: "ind-menu-title-content" }, [_vm._v(" " + _vm._s(_vm.menuInfo.menuDesc) + " ")])]), _c("div", { staticClass: "ind-menu-title" }, [_vm._v("\u6307\u6807\u5B9A\u4E49\uFF1A")]), _vm._l(_vm.menuInfo.indexList, function(item2, idx) {
60726
60726
  return _c("div", { key: "index" + idx, staticClass: "ind-menu-line-item" }, [_c("div", { staticClass: "ind-intent-1 ind-flex-no-shrink" }, [_vm._v(_vm._s(item2.indexName))]), _c("div", { staticClass: "ind-menu-desc-content" }, [_vm._v(" " + _vm._s(item2.indexRule) + " ")])]);
60727
- })], 2)] : [_c("div", { staticClass: "ind-empty" }, [_vm._v("\u6682\u65E0")])]], 2)], 1);
60727
+ })], 2) : _c("div", { staticClass: "ind-empty" }, [_vm._v("\u6682\u65E0")])]], 2)], 1);
60728
60728
  };
60729
60729
  var staticRenderFns$E = [];
60730
60730
  const __vue2_script$F = {
60731
60731
  props: {
60732
60732
  title: { type: String, default: "\u9875\u9762\u5E2E\u52A9" },
60733
60733
  width: { type: Number, default: 1060 },
60734
- height: { type: Number, default: 650 }
60734
+ height: { type: Number, default: 650 },
60735
+ theContext: { type: String, default: "" }
60735
60736
  },
60736
60737
  data() {
60737
60738
  return {
@@ -60835,18 +60836,24 @@ function __vue2_injectStyles$E(context) {
60835
60836
  var detailView = /* @__PURE__ */ function() {
60836
60837
  return __component__$E.exports;
60837
60838
  }();
60839
+ `${config.ismAmServerContext}/manage/item`;
60840
+ function getIndexPreset(params) {
60841
+ return axios$3.get(`/ind-uc-ext-server/manage/ind-index-manage-preset/get`, { params });
60842
+ }
60838
60843
  var render$C = function() {
60839
60844
  var _vm = this;
60840
60845
  var _h = _vm.$createElement;
60841
60846
  var _c = _vm._self._c || _h;
60842
- 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"), _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);
60843
60848
  };
60844
60849
  var staticRenderFns$C = [];
60845
60850
  const __vue2_script$D = {
60846
60851
  name: "IndPageView",
60847
60852
  data() {
60848
60853
  return {
60849
- title: ""
60854
+ title: "",
60855
+ functionDesc: "",
60856
+ indexDesc: ""
60850
60857
  };
60851
60858
  },
60852
60859
  components: { ButtonGroup, Button, Icons, Col, Row, MenuDesc },
@@ -60874,8 +60881,22 @@ const __vue2_script$D = {
60874
60881
  }
60875
60882
  }
60876
60883
  },
60877
- mounted() {
60884
+ async mounted() {
60878
60885
  this.calcTitle();
60886
+ let params = {
60887
+ userId: this.$route.meta.permissionId,
60888
+ funId: "pageHelpSet"
60889
+ };
60890
+ let res = await getIndexPreset(params);
60891
+ if (res.code == "1") {
60892
+ if (res.data != "") {
60893
+ let data2 = JSON.parse(res.data);
60894
+ this.functionDesc = data2.functionDesc;
60895
+ this.indexDesc = data2.indexDesc;
60896
+ } else {
60897
+ this.functionDesc = "";
60898
+ }
60899
+ }
60879
60900
  }
60880
60901
  };
60881
60902
  const __cssModules$D = {};