@fmdeui/fmui 1.0.149 → 1.0.150

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/es/api/index.d.ts CHANGED
@@ -78,3 +78,7 @@ export declare const CurrencyData: {
78
78
  label: string;
79
79
  value: string;
80
80
  }[];
81
+ /**
82
+ * 成本分类数据
83
+ */
84
+ export declare const COST_CATEGORIES: any;
package/es/index.mjs CHANGED
@@ -6,7 +6,7 @@ import commonFunction from './packages/hooks/commonFunction.mjs';
6
6
  export { default as other } from './packages/hooks/other.mjs';
7
7
  export { default as initIconfont } from './packages/utils/getStyleSheets.mjs';
8
8
  import './packages/types/index.mjs';
9
- export { AccountTypeEnum, AppSysTypeData, AppSysTypeEnum, CurrencyData, HttpMethodEnum, JobCreateTypeEnum, PowerAreaData } from './packages/api/index.mjs';
9
+ export { AccountTypeEnum, AppSysTypeData, AppSysTypeEnum, COST_CATEGORIES, CurrencyData, HttpMethodEnum, JobCreateTypeEnum, PowerAreaData } from './packages/api/index.mjs';
10
10
  import './packages/utils/index.mjs';
11
11
  import './packages/stores/index.mjs';
12
12
  import './packages/hooks/index.mjs';
@@ -202,5 +202,18 @@ const CurrencyData = [
202
202
  value: "LAK"
203
203
  }
204
204
  ];
205
+ const COST_CATEGORIES = [
206
+ { code: "HOTEL", type: 8, name: "\u623F\u8D39", icon: "\u{1F3E8}", color: "#165dff", bg: "#e8f3ff" },
207
+ { code: "MEAL", type: 13, name: "\u9910\u8D39", icon: "\u{1F37D}\uFE0F", color: "#fa8c16", bg: "#fff7e6" },
208
+ { code: "BUS", type: 12, name: "\u8F66\u8D39", icon: "\u{1F68C}", color: "#722ed1", bg: "#f9f0ff" },
209
+ { code: "TICKET", type: 3, name: "\u7968\u52A1", icon: "\u{1F3AB}", color: "#13c2c2", bg: "#e6fffb" },
210
+ { code: "SCENIC", type: 11, name: "\u666F\u70B9", icon: "\uFE0F\u{1F3DE}\uFE0F", color: "#52c41a", bg: "#f6ffed" },
211
+ { code: "INSURE", type: 9, name: "\u4FDD\u9669", icon: "\u{1F6E1}\uFE0F", color: "#eb2f96", bg: "#fff0f6" },
212
+ { code: "GUIDE", type: 10, name: "\u5BFC\u670D", icon: "\u{1F468}\u200D", color: "#f5222d", bg: "#fff1f0" },
213
+ { code: "VISA", type: 15, name: "\u7B7E\u8BC1", icon: "\u{1F4CB}", color: "#faad14", bg: "#fffbe6" },
214
+ { code: "TOPLAN", type: 6, name: "\u5730\u63A5", icon: "\u{1F91D}", color: "#1890ff", bg: "#e6f7ff" },
215
+ { code: "OTHEROUT", type: 2, name: "\u5176\u4ED6\u652F\u51FA", icon: "\u{1F4BC}", color: "#8c8c8c", bg: "#fafafa" },
216
+ { code: "OTHERIN", type: 1, name: "\u5176\u4ED6\u6536\u5165", icon: "\u{1F48E}", color: "#72AFF2", bg: "#D2EEFE" }
217
+ ];
205
218
 
206
- export { AccountTypeEnum, AppSysTypeData, AppSysTypeEnum, CurrencyData, HttpMethodEnum, JobCreateTypeEnum, PowerAreaData };
219
+ export { AccountTypeEnum, AppSysTypeData, AppSysTypeEnum, COST_CATEGORIES, CurrencyData, HttpMethodEnum, JobCreateTypeEnum, PowerAreaData };
@@ -14,7 +14,7 @@ const usefminputdropdownstore = defineStore("fminputdropdownstore", () => {
14
14
  return state.optionsData[basecode];
15
15
  }
16
16
  }
17
- const res = await useBaseApi(apiService).get(null, apiAction + "/?codetype=" + basecode + "&mcodes=" + multibasecode.join(","));
17
+ const res = await useBaseApi(apiService, { loading: true }).get(null, apiAction + "/?codetype=" + basecode + "&mcodes=" + multibasecode.join(","));
18
18
  if (multibasecode.length > 0) {
19
19
  const mdata = (_a = res.data.result) != null ? _a : [];
20
20
  multibasecode.forEach((p) => {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.149 */
1
+ /*! fmdeui-fmui v1.0.150 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
@@ -3871,6 +3871,19 @@
3871
3871
  value: "LAK"
3872
3872
  }
3873
3873
  ];
3874
+ const COST_CATEGORIES = [
3875
+ { code: "HOTEL", type: 8, name: "\u623F\u8D39", icon: "\u{1F3E8}", color: "#165dff", bg: "#e8f3ff" },
3876
+ { code: "MEAL", type: 13, name: "\u9910\u8D39", icon: "\u{1F37D}\uFE0F", color: "#fa8c16", bg: "#fff7e6" },
3877
+ { code: "BUS", type: 12, name: "\u8F66\u8D39", icon: "\u{1F68C}", color: "#722ed1", bg: "#f9f0ff" },
3878
+ { code: "TICKET", type: 3, name: "\u7968\u52A1", icon: "\u{1F3AB}", color: "#13c2c2", bg: "#e6fffb" },
3879
+ { code: "SCENIC", type: 11, name: "\u666F\u70B9", icon: "\uFE0F\u{1F3DE}\uFE0F", color: "#52c41a", bg: "#f6ffed" },
3880
+ { code: "INSURE", type: 9, name: "\u4FDD\u9669", icon: "\u{1F6E1}\uFE0F", color: "#eb2f96", bg: "#fff0f6" },
3881
+ { code: "GUIDE", type: 10, name: "\u5BFC\u670D", icon: "\u{1F468}\u200D", color: "#f5222d", bg: "#fff1f0" },
3882
+ { code: "VISA", type: 15, name: "\u7B7E\u8BC1", icon: "\u{1F4CB}", color: "#faad14", bg: "#fffbe6" },
3883
+ { code: "TOPLAN", type: 6, name: "\u5730\u63A5", icon: "\u{1F91D}", color: "#1890ff", bg: "#e6f7ff" },
3884
+ { code: "OTHEROUT", type: 2, name: "\u5176\u4ED6\u652F\u51FA", icon: "\u{1F4BC}", color: "#8c8c8c", bg: "#fafafa" },
3885
+ { code: "OTHERIN", type: 1, name: "\u5176\u4ED6\u6536\u5165", icon: "\u{1F48E}", color: "#72AFF2", bg: "#D2EEFE" }
3886
+ ];
3874
3887
 
3875
3888
  const useUserInfo = pinia$1.defineStore("userInfo", {
3876
3889
  state: () => ({
@@ -4053,7 +4066,7 @@
4053
4066
  return state.optionsData[basecode];
4054
4067
  }
4055
4068
  }
4056
- const res = await useBaseApi(apiService).get(null, apiAction + "/?codetype=" + basecode + "&mcodes=" + multibasecode.join(","));
4069
+ const res = await useBaseApi(apiService, { loading: true }).get(null, apiAction + "/?codetype=" + basecode + "&mcodes=" + multibasecode.join(","));
4057
4070
  if (multibasecode.length > 0) {
4058
4071
  const mdata = (_a = res.data.result) != null ? _a : [];
4059
4072
  multibasecode.forEach((p) => {
@@ -34948,6 +34961,7 @@
34948
34961
  exports.AppItem = AppItem;
34949
34962
  exports.AppSysTypeData = AppSysTypeData;
34950
34963
  exports.AppSysTypeEnum = AppSysTypeEnum;
34964
+ exports.COST_CATEGORIES = COST_CATEGORIES;
34951
34965
  exports.CurrencyData = CurrencyData;
34952
34966
  exports.HttpMethodEnum = HttpMethodEnum;
34953
34967
  exports.JobCreateTypeEnum = JobCreateTypeEnum;