@indfnd/common 0.1.98 → 0.1.101

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,26 @@
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
+ ### [0.1.101](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.100...v0.1.101) (2024-06-14)
6
+
7
+ ### [0.1.100](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.98...v0.1.100) (2024-06-14)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * 导出excel bug修复 ([86edabf](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/86edabfa1b9d2a4cef11e60a3b0e9d00cabeac64))
13
+ * 修复表格文档中isShowWX和isShowJ的默认值错误 ([94cc8d6](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/94cc8d6528084200ba7d47e445c125f718d90fe5))
14
+ * 云庭下title不变的问题修复 ([654e979](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/654e9792e1fe3a3997155f9a5570a7a2605dbe3a))
15
+
16
+ ### [0.1.99](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.98...v0.1.99) (2024-06-14)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * 导出excel bug修复 ([86edabf](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/86edabfa1b9d2a4cef11e60a3b0e9d00cabeac64))
22
+ * 修复表格文档中isShowWX和isShowJ的默认值错误 ([94cc8d6](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/94cc8d6528084200ba7d47e445c125f718d90fe5))
23
+ * 云庭下title不变的问题修复 ([654e979](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/654e9792e1fe3a3997155f9a5570a7a2605dbe3a))
24
+
5
25
  ### [0.1.98](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.97...v0.1.98) (2024-06-13)
6
26
 
7
27
  ### [0.1.97](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.96...v0.1.97) (2024-06-13)
@@ -2,7 +2,7 @@ import { Button as Button$1, ButtonGroup as ButtonGroup$1, Input, Drawer as Draw
2
2
  import { isNil, formatDate as formatDate$1, useConfig, getQuarterNum, formatQuarter, str2Date, isDate, isArray, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios, isFunction, isString, uuid, exportJsonToExcel as exportJsonToExcel$1, importJsonFromExcel, on, off, deleteMenuHistoryApi, deleteMenuCollectApi, getMenuHistoryApi, getMenuCollectApi, getPermissionCache, listItemTreeApi, getPriceInfo, MIME_TYPE, base64ToBlob, putOssFileApi, isEqual, getCaptchaURL, getLocalStorage, guid, setLocalStorage, removeLocalStorage, clearSessionStorage, cryptor, getToken, putOssFileUrl, getOssFileUrl, responseInterceptors, config as config$1, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, getSessionStorage, setSessionStorage, getAppListApi, getPermissionApi, setPermissionCache, menuHistoryApi, addMenuCollectApi, removeMenuCollectApi, getIndexDescCache, listIndexDescApi, setIndexDescCache } from "@indfnd/utils";
3
3
  import Vue$1 from "vue";
4
4
  const name$1 = "@indfnd/common";
5
- const version = "0.1.97";
5
+ const version = "0.1.100";
6
6
  const author = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -57638,6 +57638,11 @@ var render$y = function() {
57638
57638
  var staticRenderFns$y = [];
57639
57639
  const __vue2_script$z = {
57640
57640
  name: "IndPageView",
57641
+ data() {
57642
+ return {
57643
+ title: ""
57644
+ };
57645
+ },
57641
57646
  components: { ButtonGroup, Button, Icons, Col, Row, MenuDesc },
57642
57647
  props: {
57643
57648
  customTitle: String,
@@ -57645,14 +57650,27 @@ const __vue2_script$z = {
57645
57650
  isShowHeader: { type: Boolean, default: true },
57646
57651
  isShowBackBtn: Boolean
57647
57652
  },
57648
- computed: {
57649
- title() {
57653
+ methods: {
57654
+ calcTitle() {
57650
57655
  if (top == self) {
57651
- return this.$route.meta.title;
57656
+ this.title = this.$route.meta.title;
57652
57657
  } else {
57653
- return top.document.getElementsByClassName("pro-layout-tabs-wrapper")[0].getElementsByClassName("ivu-tag-primary")[0].textContent.replace(/\s/g, "");
57658
+ let tagList = JSON.parse(localStorage.getItem("ibp-sc-tagNavList"));
57659
+ if (!tagList) {
57660
+ tagList = [];
57661
+ }
57662
+ let curTag = _.find(tagList, (d) => {
57663
+ return d.uri = this.$route.path;
57664
+ });
57665
+ this.title = curTag == null ? void 0 : curTag.name;
57654
57666
  }
57655
57667
  }
57668
+ },
57669
+ mounted() {
57670
+ this.calcTitle();
57671
+ },
57672
+ activited() {
57673
+ this.calcTitle();
57656
57674
  }
57657
57675
  };
57658
57676
  const __cssModules$z = {};