@indfnd/common 0.1.42 → 0.1.43

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
+ ### [0.1.43](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.42...v0.1.43) (2024-04-18)
6
+
7
+
8
+ ### Features
9
+
10
+ * 指标管理问题修复 ([d063746](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/d06374615149edca4d14feb4a042650f16eb4512))
11
+
5
12
  ### [0.1.42](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.41...v0.1.42) (2024-04-17)
6
13
 
7
14
 
@@ -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, getLocalStorage, getQuarterNum, formatQuarter, str2Date, isDate, isArray, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios, isFunction, isString, uuid, exportJsonToExcel as exportJsonToExcel$1, importJsonFromExcel, on, off, deleteMenuHistoryApi, deleteMenuCollectApi, getMenuHistoryApi, getMenuCollectApi, listItemTreeApi, getPriceInfo, MIME_TYPE, base64ToBlob, putOssFileApi, isEqual, getCaptchaURL, guid, setLocalStorage, removeLocalStorage, clearSessionStorage, cryptor, getToken, putOssFileUrl, getOssFileUrl, responseInterceptors, config as config$1, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, getSessionStorage, setSessionStorage, getAppListApi, getPermissionCache, getPermissionApi, setPermissionCache, menuHistoryApi, addMenuCollectApi, removeMenuCollectApi, listIndexDescApi, setIndexDescCache } from "@indfnd/utils";
3
3
  import Vue$1 from "vue";
4
4
  const name$1 = "@indfnd/common";
5
- const version = "0.1.41";
5
+ const version = "0.1.42";
6
6
  const author = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -50486,6 +50486,9 @@ const __vue2_script$16 = {
50486
50486
  dd.checked = !dd.hide;
50487
50487
  }
50488
50488
  dd.pinned = dd.fixed || dd.pinned || "none";
50489
+ if (!dd.width && dd.minWidth) {
50490
+ dd.width = dd.minWidth;
50491
+ }
50489
50492
  });
50490
50493
  cloneData.columnList = columns;
50491
50494
  this.curIndex = cloneData;
@@ -52424,6 +52427,7 @@ const __vue2_script$X = {
52424
52427
  }
52425
52428
  },
52426
52429
  async created() {
52430
+ var _a;
52427
52431
  this.tableRef = this;
52428
52432
  this.unitType = this.defaultTableUnitType;
52429
52433
  this.cloneColumns = this.tableColumnsInner(_.cloneDeep(this.columns) || []);
@@ -52439,9 +52443,9 @@ const __vue2_script$X = {
52439
52443
  let switchZeroCol = _.find(this.flatColumns, (d) => {
52440
52444
  return !!d.isSwitchZero;
52441
52445
  });
52442
- let switchZeroTitle = _.find(this.flatColumns, (d) => {
52446
+ let switchZeroTitle = ((_a = _.find(this.flatColumns, (d) => {
52443
52447
  return !!d.isSwitchZero;
52444
- }).isSwitchZero || "\u662F\u5426\u5C55\u793A\u8F93\u5165\u91CF\u4E3A\u96F6\u7684\u6570\u636E";
52448
+ })) == null ? void 0 : _a.isSwitchZero) || "\u662F\u5426\u5C55\u793A\u8F93\u5165\u91CF\u4E3A\u96F6\u7684\u6570\u636E";
52445
52449
  this.switchZeroTitle = switchZeroTitle;
52446
52450
  this.switchZeroCol = switchZeroCol.field || switchZeroCol.key;
52447
52451
  this.renderSumRow();
@@ -52549,7 +52553,12 @@ const __vue2_script$X = {
52549
52553
  delete srcColumn.fixed;
52550
52554
  }
52551
52555
  if (d.width) {
52552
- srcColumn.width = d.width;
52556
+ if (srcColumn.width) {
52557
+ srcColumn.width = d.width;
52558
+ }
52559
+ if (srcColumn.minWidth) {
52560
+ srcColumn.minWidth = d.width;
52561
+ }
52553
52562
  }
52554
52563
  });
52555
52564
  this.columnsHander(this.columns);