@indfnd/common 0.1.84 → 0.1.85
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.85](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.84...v0.1.85) (2024-06-07)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 下拉选项样式优化 ([293ab3f](http://git.inspur.com/imp-ec/ind-front/ind-common-front/commit/293ab3fa3afb16cc83875b5ba95244cbef999deb))
|
|
11
|
+
|
|
5
12
|
### [0.1.84](http://git.inspur.com/imp-ec/ind-front/ind-common-front/compare/v0.1.83...v0.1.84) (2024-06-04)
|
|
6
13
|
|
|
7
14
|
|
package/dist/ind-common.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Button as Button$1, ButtonGroup as ButtonGroup$1, Input, Drawer as Drawer$1, Dropdown as Dropdown$1, Modal as Modal$1, Form, FormItem, Select as Select$1, Option, Row, Col, Menu, MenuItem, Badge, DropdownMenu, DropdownItem, Submenu, Tag, Header, Layout, Content, Spin, Poptip as Poptip$1, CheckboxGroup, Checkbox, RadioGroup, Radio, Card, Message, LoadingBar } from "view-design";
|
|
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, listIndexDescApi, setIndexDescCache } from "@indfnd/utils";
|
|
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.
|
|
5
|
+
const version = "0.1.84";
|
|
6
6
|
const author = "huxuetong";
|
|
7
7
|
const publishConfig = {
|
|
8
8
|
registry: "https://registry.npmjs.org/"
|
|
@@ -64891,9 +64891,24 @@ var app = {
|
|
|
64891
64891
|
await removeMenuCollectApi({ appId, permissionId });
|
|
64892
64892
|
},
|
|
64893
64893
|
async getIndexInfo({ commit: commit2 }) {
|
|
64894
|
+
let indexDesc = getIndexDescCache();
|
|
64895
|
+
if (indexDesc) {
|
|
64896
|
+
commit2(
|
|
64897
|
+
"setIndexDesc",
|
|
64898
|
+
_.reduce(
|
|
64899
|
+
indexDesc,
|
|
64900
|
+
(sum, d) => {
|
|
64901
|
+
sum[d.indexCode] = d.indexDesc;
|
|
64902
|
+
return sum;
|
|
64903
|
+
},
|
|
64904
|
+
{}
|
|
64905
|
+
)
|
|
64906
|
+
);
|
|
64907
|
+
return indexDesc;
|
|
64908
|
+
}
|
|
64894
64909
|
const { data } = await listIndexDescApi();
|
|
64895
64910
|
setIndexDescCache(data);
|
|
64896
|
-
|
|
64911
|
+
indexDesc = data;
|
|
64897
64912
|
commit2(
|
|
64898
64913
|
"setIndexDesc",
|
|
64899
64914
|
_.reduce(
|