cnhis-design-vue 3.1.32 → 3.1.33-beta.1

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.
Files changed (46) hide show
  1. package/es/components/form-render/index.js +1 -1
  2. package/es/components/form-render/src/FormRender.vue.js +1 -0
  3. package/es/components/form-render/src/components/renderer/checkbox.js +1 -1
  4. package/es/components/form-render/src/components/renderer/index.js +0 -6
  5. package/es/components/form-render/src/components/renderer/radio.js +1 -1
  6. package/es/components/form-render/src/components/renderer/searchCascade.d.ts +1 -1
  7. package/es/components/form-render/src/components/renderer/searchCascade.js +3 -2
  8. package/es/components/form-render/src/components/renderer/select.d.ts +97 -7
  9. package/es/components/form-render/src/components/renderer/select.js +64 -61
  10. package/es/components/form-render/src/hooks/index.d.ts +1 -1
  11. package/es/components/form-render/src/hooks/index.js +1 -1
  12. package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +3 -3
  13. package/es/components/form-render/src/hooks/useBusinessBinding.js +15 -15
  14. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +2 -10
  15. package/es/components/form-render/src/hooks/useFieldNormalize.js +2 -1
  16. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +41 -0
  17. package/es/components/form-render/src/hooks/useFormRenderOptions.js +230 -0
  18. package/es/components/index.d.ts +1 -0
  19. package/es/components/index.js +2 -1
  20. package/es/components/insurance-sdk/index.d.ts +1 -0
  21. package/es/components/insurance-sdk/index.js +1 -0
  22. package/es/components/insurance-sdk/src/constants/index.d.ts +161 -0
  23. package/es/components/insurance-sdk/src/constants/index.js +160 -0
  24. package/es/components/insurance-sdk/src/utils/index.d.ts +1 -0
  25. package/es/components/insurance-sdk/src/utils/index.js +1 -0
  26. package/es/components/insurance-sdk/src/utils/insurance.d.ts +260 -0
  27. package/es/components/insurance-sdk/src/utils/insurance.js +268 -0
  28. package/es/components/recommend-search/index.d.ts +1 -1
  29. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +1 -1
  30. package/es/components/recommend-search/src/components/BaseSearch.vue.js +5 -5
  31. package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -0
  32. package/es/components/recommend-search/src/components/RecommendInput.vue.js +6 -0
  33. package/es/components/recommend-search/src/components/RecommendMenu.vue.js +12 -12
  34. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +0 -1
  35. package/es/components/recommend-search/src/components/RecommendSelect.vue.js +2 -11
  36. package/es/shared/utils/index.d.ts +1 -0
  37. package/es/shared/utils/index.js +11 -1
  38. package/package.json +2 -2
  39. package/es/components/form-render/src/components/renderer/labelSelect.d.ts +0 -1
  40. package/es/components/form-render/src/components/renderer/labelSelect.js +0 -18
  41. package/es/components/form-render/src/components/renderer/recommendSelect.d.ts +0 -131
  42. package/es/components/form-render/src/components/renderer/recommendSelect.js +0 -213
  43. package/es/components/form-render/src/components/renderer/search.d.ts +0 -86
  44. package/es/components/form-render/src/components/renderer/search.js +0 -112
  45. package/es/components/form-render/src/hooks/useAutographOptions.d.ts +0 -17
  46. package/es/components/form-render/src/hooks/useAutographOptions.js +0 -68
@@ -0,0 +1,230 @@
1
+ import { jsonParse } from '../../../../shared/utils/index.js';
2
+ import { useDebounceFn } from '@vueuse/core';
3
+ import { isString, isEqual, omit, isFunction } from 'lodash-es';
4
+ import { computed, inject, ref, watch, getCurrentInstance } from 'vue';
5
+ import '../../index.js';
6
+ import { InjectionAsyncQueue, InjectionFormItemDepsCollector } from '../constants/index.js';
7
+ import { createUrlConfigParams, formRenderLog, optionMatcherWithKeyword } from '../utils/index.js';
8
+ import { useFormField } from './useFormField.js';
9
+ import { useFormRequest } from './useFormRequest.js';
10
+
11
+ function createPropRef(props, key) {
12
+ const _ref = ref();
13
+ return computed({
14
+ get() {
15
+ if (_ref.value)
16
+ return _ref.value;
17
+ return props[key];
18
+ },
19
+ set(value) {
20
+ _ref.value = value;
21
+ }
22
+ });
23
+ }
24
+ function useRecommendOptions(props, options, emit, valueKey) {
25
+ const commonListRef = createPropRef(props, "commonList");
26
+ const recentListRef = createPropRef(props, "recentList");
27
+ function getRecommendOption(item) {
28
+ return jsonParse(item.itemObj);
29
+ }
30
+ const commonOptions = computed(() => {
31
+ var _a, _b;
32
+ return (_b = (_a = commonListRef.value) == null ? void 0 : _a.map(getRecommendOption)) != null ? _b : [];
33
+ });
34
+ const recentOptions = computed(() => {
35
+ var _a, _b;
36
+ return (_b = (_a = recentListRef.value) == null ? void 0 : _a.map(getRecommendOption)) != null ? _b : [];
37
+ });
38
+ const sortedOptions = computed(() => {
39
+ if (!props.recommend || !commonOptions.value.length && !recentOptions.value.length)
40
+ return options.value;
41
+ const optionWithoutRecommend = options.value.filter((option) => {
42
+ return commonOptions.value.every(notInList) && recentOptions.value.every(notInList);
43
+ function notInList(item) {
44
+ return item[valueKey.value] !== option[valueKey.value];
45
+ }
46
+ });
47
+ return [...commonOptions.value, ...recentOptions.value, ...optionWithoutRecommend];
48
+ });
49
+ const { getRecommendRequestInfo, getHttpInstance } = useFormRequest();
50
+ function getRecommendConfig(type) {
51
+ const { url, getRecommendIds } = getRecommendRequestInfo();
52
+ const globInfo = isFunction(getRecommendIds) ? getRecommendIds() : {};
53
+ const widgetInfo = isFunction(props.getRecommendInfo) ? props.getRecommendInfo() : {};
54
+ return { url: url[type], info: Object.assign({}, globInfo, widgetInfo) };
55
+ }
56
+ const { fieldKey } = useFormField();
57
+ const asyncQueue = inject(InjectionAsyncQueue);
58
+ async function getRecommend() {
59
+ if (!props.recommend)
60
+ return;
61
+ if (commonListRef.value && recentListRef.value && props.recommendCache)
62
+ return;
63
+ const list = await asyncQueue.addAsync(createParams(fieldKey.value, props.recommendCache));
64
+ const { commonly, recently } = classifyList(list);
65
+ commonListRef.value = commonly;
66
+ recentListRef.value = recently;
67
+ function classifyList(list2) {
68
+ return list2.reduce(
69
+ (res, item) => {
70
+ if (item.type === "commonly") {
71
+ res.commonly.push(omit(item, ["type"]));
72
+ } else if (item.type === "recently") {
73
+ res.recently.push(omit(item, ["type"]));
74
+ }
75
+ return res;
76
+ },
77
+ { commonly: [], recently: [] }
78
+ );
79
+ }
80
+ function createParams(key, cache) {
81
+ const { url, info } = getRecommendConfig("get");
82
+ return {
83
+ url,
84
+ method: "get",
85
+ key,
86
+ cache,
87
+ params: { ...info, recNum: props.recommendNum, keyword: "" }
88
+ };
89
+ }
90
+ }
91
+ async function postRecommend(value) {
92
+ if (!props.recommend)
93
+ return;
94
+ const http = getHttpInstance();
95
+ if (!http)
96
+ return;
97
+ const { url, info } = getRecommendConfig("post");
98
+ const option = sortedOptions.value.find((o) => {
99
+ return o[valueKey.value] === value;
100
+ });
101
+ option && emit(
102
+ "postRecommend",
103
+ await http.post(url, {
104
+ ...info,
105
+ keyword: "",
106
+ itemId: valueKey.value,
107
+ itemObj: JSON.stringify(option)
108
+ })
109
+ );
110
+ }
111
+ return {
112
+ postRecommend,
113
+ getRecommend,
114
+ sortedOptions
115
+ };
116
+ }
117
+ function useUrlConfigOptions(props, valueRef) {
118
+ const labelKey = computed(() => {
119
+ var _a, _b;
120
+ return (_b = (_a = props.urlConfig) == null ? void 0 : _a.nameKey) != null ? _b : "text";
121
+ });
122
+ const valueKey = computed(() => {
123
+ var _a, _b;
124
+ return (_b = (_a = props.urlConfig) == null ? void 0 : _a.valueKey) != null ? _b : "value";
125
+ });
126
+ const lastSearch = ref("");
127
+ const { field, fieldKey } = useFormField();
128
+ const remoteOptions = ref(null);
129
+ const asyncQueue = inject(InjectionAsyncQueue);
130
+ const fetchData = useDebounceFn(async function(content) {
131
+ lastSearch.value = content || "";
132
+ if (!props.urlConfig) {
133
+ return remoteOptions.value = null;
134
+ }
135
+ try {
136
+ remoteOptions.value = await asyncQueue.addAsync(
137
+ await createUrlConfigParams({
138
+ config: props.urlConfig,
139
+ cache: props.requestCache,
140
+ field: field.value
141
+ })
142
+ );
143
+ } catch (e) {
144
+ isString(e) && formRenderLog(e);
145
+ }
146
+ }, 300);
147
+ const options = computed(() => {
148
+ if (remoteOptions.value)
149
+ return optionMatcherWithKeyword(remoteOptions.value, lastSearch.value, labelKey.value);
150
+ if (!Array.isArray(props.options))
151
+ return [];
152
+ return optionMatcherWithKeyword(props.options, lastSearch.value, labelKey.value);
153
+ });
154
+ const formItemDepsCollector = inject(InjectionFormItemDepsCollector);
155
+ watch(
156
+ () => props.urlConfig,
157
+ (config, oldConfig) => {
158
+ if (isEqual(config, oldConfig))
159
+ return;
160
+ remoteOptions.value = null;
161
+ if (!config)
162
+ return;
163
+ formItemDepsCollector.setDeps(fieldKey.value, config.dependKey || [], async () => {
164
+ remoteOptions.value = null;
165
+ valueRef.value = null;
166
+ !props.lazyRequest && await fetchData();
167
+ });
168
+ (valueRef.value || !props.lazyRequest) && fetchData();
169
+ },
170
+ { immediate: true }
171
+ );
172
+ return { labelKey, valueKey, options, fetchData };
173
+ }
174
+ function useAutographOptions(props, valueRef) {
175
+ if (!getCurrentInstance())
176
+ throw new Error("can't use this hook out of setup environment");
177
+ const asyncQueue = inject(InjectionAsyncQueue);
178
+ const labelKey = computed(() => {
179
+ var _a, _b, _c;
180
+ return (_c = (_b = (_a = props.wordbook) == null ? void 0 : _a.render_key) == null ? void 0 : _b[0]) != null ? _c : "text";
181
+ });
182
+ const valueKey = computed(() => {
183
+ var _a, _b;
184
+ return (_b = (_a = props.wordbook) == null ? void 0 : _a.value_key) != null ? _b : "value";
185
+ });
186
+ const remoteOptions = ref(null);
187
+ const lastSearch = ref("");
188
+ const { fieldKey } = useFormField();
189
+ const { getSearchRequestInfo } = useFormRequest();
190
+ const fetchData = useDebounceFn(async function(content) {
191
+ if (!props.autograph || !props.wordbook)
192
+ return;
193
+ lastSearch.value = content || "";
194
+ try {
195
+ remoteOptions.value = await asyncQueue.addAsync(createParams(props.wordbook, props.autograph, fieldKey.value));
196
+ } catch (e) {
197
+ isString(e) && formRenderLog(e);
198
+ }
199
+ function createParams(wordbook, autograph, key) {
200
+ const params = {
201
+ autograph,
202
+ wordbookId: wordbook.id,
203
+ wordbookType: wordbook.type,
204
+ fieldKeys: wordbook.search_key,
205
+ keyword: "",
206
+ page: 1
207
+ };
208
+ return { ...getSearchRequestInfo(), params, key, cache: props.requestCache };
209
+ }
210
+ }, 300);
211
+ const options = computed(() => {
212
+ var _a;
213
+ return remoteOptions.value ? optionMatcherWithKeyword(remoteOptions.value, lastSearch.value, labelKey.value) : (_a = props.options) != null ? _a : [];
214
+ });
215
+ watch(
216
+ () => props.wordbook,
217
+ (wordbook, oldWordbook) => {
218
+ if (isEqual(wordbook, oldWordbook))
219
+ return;
220
+ remoteOptions.value = null;
221
+ if (!wordbook)
222
+ return;
223
+ (valueRef.value || !props.lazyRequest) && fetchData();
224
+ },
225
+ { immediate: true }
226
+ );
227
+ return { valueRef, options, fetchData, labelKey, valueKey, lastSearch };
228
+ }
229
+
230
+ export { useAutographOptions, useRecommendOptions, useUrlConfigOptions };
@@ -29,6 +29,7 @@ export * from './shortcut-setter';
29
29
  export * from './iho-table';
30
30
  export * from './button-print';
31
31
  export * from './form-config';
32
+ export * from './insurance-sdk';
32
33
  declare function install(app: App): void;
33
34
  export { CGrid, CBigTable, CFieldSet, CDragLayout, CButtonPrint, CSelectPerson, CSelectLabel, CLabelFormContent, CScaleView, CMap, CVodChunkUpload, CRadio, CCheckbox, CSelect, CDatetime, CInfoHeader, CTimeLine, CBpmnWorkflow, CStepsWheel, CEditor, CFormRender, CFabricChart, CShortcutProvider, CShortcutSetter, CFormConfig, CIhoTable, CKeyboard, CSearchCascader, CRecommendSearch };
34
35
  declare const _default: {
@@ -46,6 +46,7 @@ import SearchCascader from './search-cascader/index.js';
46
46
  export { default as CSearchCascader } from './search-cascader/index.js';
47
47
  import RecommendSearch from './recommend-search/index.js';
48
48
  export { default as CRecommendSearch } from './recommend-search/index.js';
49
+ export { Insurance } from './insurance-sdk/src/utils/insurance.js';
49
50
  export { useFieldListAdaptor } from './form-render/src/hooks/useFieldListAdaptor.js';
50
51
  export { useFormRequest } from './form-render/src/hooks/useFormRequest.js';
51
52
  export { useCommonLog } from './form-render/src/hooks/useCommonLog.js';
@@ -58,9 +59,9 @@ export { BusinessCollector, useBusinessBinding } from './form-render/src/hooks/u
58
59
  export { ContextCollector, useChangeContext } from './form-render/src/hooks/useChangeContext.js';
59
60
  export { FormItemDepsCollector, useFormItemDeps } from './form-render/src/hooks/useFormItemDeps.js';
60
61
  export { useAnchor } from './form-render/src/hooks/useAnchor.js';
61
- export { useAutographOptions } from './form-render/src/hooks/useAutographOptions.js';
62
62
  export { useFormContext } from './form-render/src/hooks/useFormContext.js';
63
63
  export { useCommonInjection, useSelectOptionProps } from './form-render/src/hooks/useCommonInjection.js';
64
+ export { useAutographOptions, useRecommendOptions, useUrlConfigOptions } from './form-render/src/hooks/useFormRenderOptions.js';
64
65
  export { businessDateParser, isIdCard, isMobile, parseAge2Birthday, parseAge2FromContext, parseBirthday, parseIdCard, transformDateFormat } from './form-render/src/utils/business.js';
65
66
  export { findNextWidget, queryDecorator, queryInput } from './form-render/src/utils/dom.js';
66
67
  export { assignClearBindVisited, assignUpdateValue, assignValueBindKey, createLinebarId, createObjSchema, dotEscape, fieldKeyEscape, getParentLinebar, traverseDependKey, traverseSchema, visitedDecorator } from './form-render/src/utils/schema.js';
@@ -0,0 +1 @@
1
+ export * from './src/utils';
@@ -0,0 +1 @@
1
+ export { Insurance } from './src/utils/insurance.js';
@@ -0,0 +1,161 @@
1
+ /**
2
+ * 交易命令映射
3
+ */
4
+ export declare const transcmdMapping: {
5
+ readonly sk: 100210;
6
+ readonly ghdj: 100401;
7
+ readonly ghqx: 100403;
8
+ readonly mzjs: 100407;
9
+ readonly beforemzjs: 100406;
10
+ readonly mztf: 100408;
11
+ readonly zyjs: 100613;
12
+ readonly qxzyjs: 100614;
13
+ readonly zydj: 100601;
14
+ readonly qxzydj: 100603;
15
+ readonly zydjzzf: 100605;
16
+ readonly mzghconfirm: 100415;
17
+ readonly ghdjcg: 100411;
18
+ readonly ghdjsb: 100412;
19
+ readonly mzjscg: 100409;
20
+ readonly mzjssb: 100410;
21
+ readonly mztfcg: 100413;
22
+ readonly mztfsb: 100414;
23
+ readonly newdhyk: 110021;
24
+ readonly newdsfz: 110041;
25
+ readonly fastReport: 100000;
26
+ readonly pos: 100000;
27
+ readonly yjjrefund: 100622;
28
+ readonly ybxxcx: 100212;
29
+ readonly ybdz: 100209;
30
+ };
31
+ export declare const HIS_INSURANCE_PARAMS: {
32
+ readonly msgindex: "";
33
+ readonly checkoutinfo: "";
34
+ readonly parmsJson: {
35
+ readonly transtime: "";
36
+ readonly transtype: "YB0000";
37
+ readonly interfaceid: "0";
38
+ readonly serialnumber: "";
39
+ readonly operatorcode: "10086";
40
+ readonly operatorname: "赵";
41
+ readonly transcmd: "";
42
+ readonly transdata: {
43
+ readonly iar1: {
44
+ readonly acf01: "0";
45
+ readonly iar01: "";
46
+ readonly vaa01: "";
47
+ readonly vaa07: "";
48
+ readonly iaa01: "";
49
+ readonly iab02: "";
50
+ readonly iak04: "";
51
+ readonly iak05: "";
52
+ readonly iak06: "";
53
+ readonly iar10: "";
54
+ readonly iar11: "";
55
+ readonly iar12: "";
56
+ readonly iar13: "";
57
+ readonly iar14: "";
58
+ readonly iar15: "";
59
+ readonly iar16: "";
60
+ readonly iar17: "";
61
+ readonly iar18: "";
62
+ readonly iar19: "";
63
+ readonly iar20: "";
64
+ readonly iar21: "";
65
+ readonly iar22: "";
66
+ readonly iai03: "";
67
+ readonly iar24: "";
68
+ readonly iar25: "";
69
+ readonly iar26: "";
70
+ readonly iar27: "";
71
+ readonly iar28: "";
72
+ readonly iar29: "";
73
+ readonly iar30: "";
74
+ readonly iar31: "";
75
+ readonly iar32: "";
76
+ readonly iar33: "";
77
+ readonly iar34: "";
78
+ readonly iar35: "";
79
+ readonly iac02: "";
80
+ readonly iac03: "";
81
+ readonly iad03: "";
82
+ readonly iad04: "";
83
+ readonly iar40: "";
84
+ readonly iar41: "";
85
+ readonly iak22: "0";
86
+ readonly iar43: "";
87
+ readonly iar44: "";
88
+ readonly iar45: "";
89
+ readonly cli_iai03: "";
90
+ readonly iar46: "";
91
+ readonly iar47: "";
92
+ readonly iar48: "";
93
+ readonly iar49: "";
94
+ readonly iar50: "";
95
+ readonly iar51: "";
96
+ readonly iar52: "";
97
+ readonly iar53: "";
98
+ readonly iar54: "";
99
+ readonly iar55: "";
100
+ readonly iar56: "";
101
+ readonly iar57: "";
102
+ readonly iar58: "";
103
+ readonly iar59: "";
104
+ readonly iar60: "";
105
+ readonly iar61: "";
106
+ readonly iar62: "";
107
+ readonly iar63: "";
108
+ readonly iar64: "";
109
+ readonly iar65: "";
110
+ readonly iar66: "";
111
+ readonly iar67: "";
112
+ readonly iar68: "";
113
+ readonly iar69: "";
114
+ readonly iar70: "";
115
+ readonly iar71: "";
116
+ readonly iar72: "";
117
+ readonly iar73: "";
118
+ readonly iar74: "";
119
+ readonly iar75: "";
120
+ };
121
+ readonly personinfo: {
122
+ readonly location: 0;
123
+ readonly ptname: "";
124
+ readonly sex: "";
125
+ readonly birthday: "";
126
+ readonly age: "";
127
+ readonly idnumber: "";
128
+ readonly folk: "";
129
+ readonly address: "";
130
+ readonly pttype: "";
131
+ readonly ownpay: "0";
132
+ };
133
+ };
134
+ readonly transsystem: "12";
135
+ readonly transchannel: "100";
136
+ readonly verifycode: "";
137
+ };
138
+ readonly error: true;
139
+ readonly catch: true;
140
+ readonly loading: false;
141
+ };
142
+ export declare const CONFIG_MAP: {
143
+ readonly type: "sk";
144
+ readonly location: null;
145
+ readonly vaa01: "";
146
+ readonly vaa07: "";
147
+ readonly iar1Json: {};
148
+ readonly personinfo: {};
149
+ readonly parmsKey: "VAC01";
150
+ readonly money: "";
151
+ readonly interfaceid: "0";
152
+ readonly operatorname: "";
153
+ readonly operatorcode: "";
154
+ readonly newhoinsurance: "";
155
+ readonly message: "";
156
+ readonly data: {};
157
+ readonly transtype: null;
158
+ readonly transchannel: null;
159
+ readonly loginCode: "7777";
160
+ readonly needLogin: false;
161
+ };
@@ -0,0 +1,160 @@
1
+ const transcmdMapping = {
2
+ sk: 100210,
3
+ ghdj: 100401,
4
+ ghqx: 100403,
5
+ mzjs: 100407,
6
+ beforemzjs: 100406,
7
+ mztf: 100408,
8
+ zyjs: 100613,
9
+ qxzyjs: 100614,
10
+ zydj: 100601,
11
+ qxzydj: 100603,
12
+ zydjzzf: 100605,
13
+ mzghconfirm: 100415,
14
+ ghdjcg: 100411,
15
+ ghdjsb: 100412,
16
+ mzjscg: 100409,
17
+ mzjssb: 100410,
18
+ mztfcg: 100413,
19
+ mztfsb: 100414,
20
+ newdhyk: 110021,
21
+ newdsfz: 110041,
22
+ fastReport: 1e5,
23
+ pos: 1e5,
24
+ yjjrefund: 100622,
25
+ ybxxcx: 100212,
26
+ ybdz: 100209
27
+ };
28
+ const HIS_INSURANCE_PARAMS = {
29
+ msgindex: "",
30
+ checkoutinfo: "",
31
+ parmsJson: {
32
+ transtime: "",
33
+ transtype: "YB0000",
34
+ interfaceid: "0",
35
+ serialnumber: "",
36
+ operatorcode: "10086",
37
+ operatorname: "\u8D75",
38
+ transcmd: "",
39
+ transdata: {
40
+ iar1: {
41
+ acf01: "0",
42
+ iar01: "",
43
+ vaa01: "",
44
+ vaa07: "",
45
+ iaa01: "",
46
+ iab02: "",
47
+ iak04: "",
48
+ iak05: "",
49
+ iak06: "",
50
+ iar10: "",
51
+ iar11: "",
52
+ iar12: "",
53
+ iar13: "",
54
+ iar14: "",
55
+ iar15: "",
56
+ iar16: "",
57
+ iar17: "",
58
+ iar18: "",
59
+ iar19: "",
60
+ iar20: "",
61
+ iar21: "",
62
+ iar22: "",
63
+ iai03: "",
64
+ iar24: "",
65
+ iar25: "",
66
+ iar26: "",
67
+ iar27: "",
68
+ iar28: "",
69
+ iar29: "",
70
+ iar30: "",
71
+ iar31: "",
72
+ iar32: "",
73
+ iar33: "",
74
+ iar34: "",
75
+ iar35: "",
76
+ iac02: "",
77
+ iac03: "",
78
+ iad03: "",
79
+ iad04: "",
80
+ iar40: "",
81
+ iar41: "",
82
+ iak22: "0",
83
+ iar43: "",
84
+ iar44: "",
85
+ iar45: "",
86
+ cli_iai03: "",
87
+ iar46: "",
88
+ iar47: "",
89
+ iar48: "",
90
+ iar49: "",
91
+ iar50: "",
92
+ iar51: "",
93
+ iar52: "",
94
+ iar53: "",
95
+ iar54: "",
96
+ iar55: "",
97
+ iar56: "",
98
+ iar57: "",
99
+ iar58: "",
100
+ iar59: "",
101
+ iar60: "",
102
+ iar61: "",
103
+ iar62: "",
104
+ iar63: "",
105
+ iar64: "",
106
+ iar65: "",
107
+ iar66: "",
108
+ iar67: "",
109
+ iar68: "",
110
+ iar69: "",
111
+ iar70: "",
112
+ iar71: "",
113
+ iar72: "",
114
+ iar73: "",
115
+ iar74: "",
116
+ iar75: ""
117
+ },
118
+ personinfo: {
119
+ location: 0,
120
+ ptname: "",
121
+ sex: "",
122
+ birthday: "",
123
+ age: "",
124
+ idnumber: "",
125
+ folk: "",
126
+ address: "",
127
+ pttype: "",
128
+ ownpay: "0"
129
+ }
130
+ },
131
+ transsystem: "12",
132
+ transchannel: "100",
133
+ verifycode: ""
134
+ },
135
+ error: true,
136
+ catch: true,
137
+ loading: false
138
+ };
139
+ const CONFIG_MAP = {
140
+ type: "sk",
141
+ location: null,
142
+ vaa01: "",
143
+ vaa07: "",
144
+ iar1Json: {},
145
+ personinfo: {},
146
+ parmsKey: "VAC01",
147
+ money: "",
148
+ interfaceid: "0",
149
+ operatorname: "",
150
+ operatorcode: "",
151
+ newhoinsurance: "",
152
+ message: "",
153
+ data: {},
154
+ transtype: null,
155
+ transchannel: null,
156
+ loginCode: "7777",
157
+ needLogin: false
158
+ };
159
+
160
+ export { CONFIG_MAP, HIS_INSURANCE_PARAMS, transcmdMapping };
@@ -0,0 +1 @@
1
+ export * from './insurance';
@@ -0,0 +1 @@
1
+ export { Insurance } from './insurance.js';