@indfnd/common 1.0.22 → 1.0.23

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,14 @@
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.23](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.21...v1.0.23) (2024-07-12)
6
+
7
+
8
+ ### Features
9
+
10
+ * 权限管理-权限下拉框支持可搜索 ([2579d06](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/2579d06df2b99dd18c53751e91a36fe150790031))
11
+ * 移动端表格组件合计行逻辑处理 ([3db4fa3](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/3db4fa3f5480445c73edef749af6907965901f01))
12
+
5
13
  ### [1.0.22](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v1.0.21...v1.0.22) (2024-07-12)
6
14
 
7
15
 
@@ -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, listUserTreeApi, UC_ENUM, 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 = "1.0.21";
5
+ const version = "1.0.22";
6
6
  const author = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -65904,7 +65904,7 @@ var render$1 = function() {
65904
65904
  var _c = _vm._self._c || _h;
65905
65905
  return _c("IndPageView", [_c("Row", { staticClass: "row-contain", attrs: { "gutter": 16 } }, [_c("Col", { attrs: { "span": "8" } }, [_c("IndTable", { ref: "table", attrs: { "disablePage": "", "columns": _vm.tableColumns, "dataApi": _vm.dataApi, "search-params": _vm.searchParams, "rowKey": "roleId", "auto-refresh": "" }, on: { "on-data-load": _vm.tableDataLoad, "on-select-change": _vm.tableSelectChange }, scopedSlots: _vm._u([{ key: "buttons", fn: function() {
65906
65906
  return [_c("IndButton", { attrs: { "bizType": "table" }, on: { "click": _vm.addRole } }, [_vm._v("\u65B0\u589E")])];
65907
- }, proxy: true }]) })], 1), _c("Col", { attrs: { "span": "16" } }, [_c("IndLoadingPanel", { staticClass: "ind-flex-column", attrs: { "loading": _vm.userAuthLoading } }, [_c("div", { staticClass: "ind-flex-no-shrink important-tip" }, [_c("Icon", { attrs: { "type": "md-information-circle" } }), _c("span", { attrs: { "name": "importanttip" } }, [_vm._v("\u5F53\u524D\u9009\u4E2D\u89D2\u8272\uFF1A"), _c("span", { staticClass: "ind-blue" }, [_vm._v(_vm._s(_vm.selectedRole ? _vm.selectedRole.roleName : ""))])])], 1), _c("div", { staticClass: "ind-flex-grow content" }, [_c("Row", { attrs: { "gutter": 16 } }, [_c("Col", { attrs: { "span": "12" } }, [!_vm.userAuthLoading ? _c("IndTree", { ref: "userTree", attrs: { "data": _vm.userTreeData, "default-value": _vm.defaultUserId, "multiple": "", "show-checkbox": "", "defaultExpandLevel": 1, "isShowHeader": true, "treeName": "\u7CFB\u7EDF\u7528\u6237\uFF1A[\u90E8\u95E8(\u5DF2\u8BBE\u4EBA\u6570/\u603B\u4EBA\u6570)] \u3001[\u7528\u6237(\u89D2\u82721,\u89D2\u82722...)]" } }) : _vm._e()], 1), _c("Col", { attrs: { "span": "12" } }, [_c("IndLoadingPanel", { staticClass: "ind-flex-column", attrs: { "loading": _vm.authTreeLoading } }, [_c("div", { staticClass: "auth-type-select-container" }, [_c("Row", [_c("Col", [_c("span", { staticClass: "auth-type-label" }, [_vm._v("\u6743\u9650\u7C7B\u578B\uFF1A")])]), _c("Col", [_c("div", { staticClass: "auth-type-value" }, [_c("IndSelect", { model: { value: _vm.authDetaileTypeParam, callback: function($$v) {
65907
+ }, proxy: true }]) })], 1), _c("Col", { attrs: { "span": "16" } }, [_c("IndLoadingPanel", { staticClass: "ind-flex-column", attrs: { "loading": _vm.userAuthLoading } }, [_c("div", { staticClass: "ind-flex-no-shrink important-tip" }, [_c("Icon", { attrs: { "type": "md-information-circle" } }), _c("span", { attrs: { "name": "importanttip" } }, [_vm._v("\u5F53\u524D\u9009\u4E2D\u89D2\u8272\uFF1A"), _c("span", { staticClass: "ind-blue" }, [_vm._v(_vm._s(_vm.selectedRole ? _vm.selectedRole.roleName : ""))])])], 1), _c("div", { staticClass: "ind-flex-grow content" }, [_c("Row", { attrs: { "gutter": 16 } }, [_c("Col", { attrs: { "span": "12" } }, [!_vm.userAuthLoading ? _c("IndTree", { ref: "userTree", attrs: { "data": _vm.userTreeData, "default-value": _vm.defaultUserId, "multiple": "", "show-checkbox": "", "defaultExpandLevel": 1, "isShowHeader": true, "treeName": "\u7CFB\u7EDF\u7528\u6237\uFF1A[\u90E8\u95E8(\u5DF2\u8BBE\u4EBA\u6570/\u603B\u4EBA\u6570)] \u3001[\u7528\u6237(\u89D2\u82721,\u89D2\u82722...)]" } }) : _vm._e()], 1), _c("Col", { attrs: { "span": "12" } }, [_c("IndLoadingPanel", { staticClass: "ind-flex-column", attrs: { "loading": _vm.authTreeLoading } }, [_c("div", { staticClass: "auth-type-select-container" }, [_c("Row", [_c("Col", [_c("span", { staticClass: "auth-type-label" }, [_vm._v("\u6743\u9650\u7C7B\u578B\uFF1A")])]), _c("Col", [_c("div", { staticClass: "auth-type-value" }, [_c("IndSelect", { attrs: { "filterable": "" }, model: { value: _vm.authDetaileTypeParam, callback: function($$v) {
65908
65908
  _vm.authDetaileTypeParam = $$v;
65909
65909
  }, expression: "authDetaileTypeParam" } }, _vm._l(_vm.authDetaileTypes, function(type) {
65910
65910
  return _c("IndOption", { key: type.value, attrs: { "value": type.value } }, [_vm._v(" " + _vm._s(type.label) + " ")]);
@@ -66047,7 +66047,9 @@ const __vue2_script$1 = {
66047
66047
  },
66048
66048
  watch: {
66049
66049
  authDetaileTypeParam() {
66050
- this.reloadAuthTree();
66050
+ if (this.selectedRole) {
66051
+ this.reloadAuthTree();
66052
+ }
66051
66053
  }
66052
66054
  },
66053
66055
  created() {
@@ -66355,7 +66357,7 @@ var render = function() {
66355
66357
  var _vm = this;
66356
66358
  var _h = _vm.$createElement;
66357
66359
  var _c = _vm._self._c || _h;
66358
- return _c("IndPageView", [_c("Row", { staticClass: "row-contain", attrs: { "gutter": 16 } }, [_c("Col", { attrs: { "span": "12" } }, [_c("IndTree", { ref: "userTree", attrs: { "dataApi": _vm.userTreeApi, "url-params": _vm.userTreeParams, "default-value": _vm.defaultUserId, "isShowHeader": true, "selectLeafOnly": true, "defaultExpandLevel": 1, "treeName": "\u7CFB\u7EDF\u7528\u6237" }, on: { "on-select-change": _vm.onSelectUserChange } })], 1), _c("Col", { attrs: { "span": "12" } }, [_c("IndLoadingPanel", { staticClass: "ind-flex-column", attrs: { "loading": _vm.userAuthLoading } }, [_c("div", { staticClass: "auth-type-select-container" }, [_c("Row", [_c("Col", [_c("span", { staticClass: "auth-type-label" }, [_vm._v("\u6743\u9650\u7C7B\u578B\uFF1A")])]), _c("Col", [_c("div", { staticClass: "auth-type-value" }, [_c("IndSelect", { model: { value: _vm.authDetaileTypeParam, callback: function($$v) {
66360
+ return _c("IndPageView", [_c("Row", { staticClass: "row-contain", attrs: { "gutter": 16 } }, [_c("Col", { attrs: { "span": "12" } }, [_c("IndTree", { ref: "userTree", attrs: { "dataApi": _vm.userTreeApi, "url-params": _vm.userTreeParams, "default-value": _vm.defaultUserId, "isShowHeader": true, "selectLeafOnly": true, "defaultExpandLevel": 1, "treeName": "\u7CFB\u7EDF\u7528\u6237" }, on: { "on-select-change": _vm.onSelectUserChange } })], 1), _c("Col", { attrs: { "span": "12" } }, [_c("IndLoadingPanel", { staticClass: "ind-flex-column", attrs: { "loading": _vm.userAuthLoading } }, [_c("div", { staticClass: "auth-type-select-container" }, [_c("Row", [_c("Col", [_c("span", { staticClass: "auth-type-label" }, [_vm._v("\u6743\u9650\u7C7B\u578B\uFF1A")])]), _c("Col", [_c("div", { staticClass: "auth-type-value" }, [_c("IndSelect", { attrs: { "filterable": "" }, model: { value: _vm.authDetaileTypeParam, callback: function($$v) {
66359
66361
  _vm.authDetaileTypeParam = $$v;
66360
66362
  }, expression: "authDetaileTypeParam" } }, _vm._l(_vm.authDetaileTypes, function(type) {
66361
66363
  return _c("IndOption", { key: type.value, attrs: { "value": type.value } }, [_vm._v(_vm._s(type.label) + " ")]);
@@ -66397,7 +66399,9 @@ const __vue2_script = {
66397
66399
  },
66398
66400
  watch: {
66399
66401
  authDetaileTypeParam() {
66400
- this.reloadAuthTree();
66402
+ if (this.selectUser) {
66403
+ this.reloadAuthTree();
66404
+ }
66401
66405
  }
66402
66406
  },
66403
66407
  computed: {