cnhis-design-vue 3.3.3-release.0 → 3.3.3-release.8
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/components/audio-sdk/index.d.ts +18 -16
- package/es/components/audio-sdk/src/Index.vue.d.ts +18 -16
- package/es/components/audio-sdk/src/Index.vue2.js +47 -12
- package/es/components/audio-sdk/src/audioSDK.js +1 -1
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +6 -6
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +6 -6
- package/es/components/audio-sdk/src/components/recording.vue2.js +17 -3
- package/es/components/base-search/index.d.ts +3 -0
- package/es/components/base-search/src/index.vue.d.ts +3 -0
- package/es/components/big-table/src/components/NoData.vue2.js +8 -1
- package/es/components/big-table/src/hooks/useTableParse.js +8 -1
- package/es/components/button-print/index.d.ts +2 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +2 -1
- package/es/components/button-print/src/ButtonPrint.vue2.js +6 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +1 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +11 -5
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +4 -1
- package/es/components/button-print/src/utils/print.d.ts +2 -2
- package/es/components/button-print/src/utils/print.js +29 -20
- package/es/components/callback/src/components/render/popupMaps.d.ts +13 -0
- package/es/components/card-reader-sdk-cn/src/henan/index.js +8 -1
- package/es/components/classification/index.d.ts +56 -6
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +56 -6
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +56 -6
- package/es/components/classification/src/index.vue.d.ts +56 -6
- package/es/components/expand-field/index.d.ts +792 -1
- package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/PersonModal.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/form.vue.d.ts +792 -1
- package/es/components/expand-field/src/components/form.vue2.js +8 -1
- package/es/components/expand-field/src/index.vue.d.ts +792 -1
- package/es/components/field-editor/index.d.ts +13 -0
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +13 -0
- package/es/components/field-editor/src/FieldEditor.vue2.js +2 -1
- package/es/components/field-editor/src/fields.d.ts +1 -0
- package/es/components/field-editor/src/fields.js +6 -0
- package/es/components/field-set/src/FieldColor.vue.d.ts +6 -4
- package/es/components/field-set/src/FieldFilter.vue.d.ts +6 -4
- package/es/components/field-set/src/FieldSet.vue.d.ts +39 -5
- package/es/components/field-set/src/FieldSet.vue2.js +118 -69
- package/es/components/field-set/src/Index.vue2.js +8 -3
- package/es/components/field-set/src/TableStyle.vue2.js +2 -2
- package/es/components/field-set/src/components/table-row.vue.d.ts +4 -4
- package/es/components/field-set/src/constants/index.d.ts +1 -1
- package/es/components/field-set/src/types/index.d.ts +1 -0
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +39 -0
- package/es/components/form-config/src/FormConfig.vue.d.ts +39 -0
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +13 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +13 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +13 -0
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +8 -1
- package/es/components/form-render/index.d.ts +13 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +13 -0
- package/es/components/form-render/src/FormRender.vue2.js +4 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +13 -0
- package/es/components/form-render/src/components/renderer/formItem.js +8 -1
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +12 -3
- package/es/components/form-render/src/hooks/useBusinessBinding.js +7 -7
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +8 -1
- package/es/components/form-render/src/utils/business.d.ts +3 -1
- package/es/components/form-render/src/utils/business.js +7 -1
- package/es/components/iho-chat/index.d.ts +21 -1
- package/es/components/iho-chat/src/Index.vue.d.ts +21 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +5 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +52 -13
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +3 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +16 -0
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +112 -53
- package/es/components/iho-chat/src/hooks/index.d.ts +1 -0
- package/es/components/iho-chat/src/hooks/index.js +1 -0
- package/es/components/iho-chat/src/hooks/useDraggable.d.ts +25 -0
- package/es/components/iho-chat/src/hooks/useDraggable.js +160 -0
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +26 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +26 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +13 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +13 -0
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +16 -2
- package/es/components/quick-search/index.d.ts +2 -0
- package/es/components/quick-search/src/index.vue.d.ts +2 -0
- package/es/components/scale-view/index.d.ts +67 -17
- package/es/components/scale-view/src/ScaleView.vue.d.ts +70 -19
- package/es/components/scale-view/src/ScaleView.vue2.js +84 -10
- package/es/components/scale-view/src/components/AnswerParse.vue.d.ts +5 -0
- package/es/components/scale-view/src/components/AnswerParse.vue2.js +74 -8
- package/es/components/scale-view/src/components/EvaluateCountdown.vue.d.ts +10 -7
- package/es/components/scale-view/src/components/EvaluateCountdown.vue2.js +28 -4
- package/es/components/scale-view/src/components/EvaluatePage.vue.d.ts +10 -7
- package/es/components/scale-view/src/components/EvaluatePage.vue2.js +29 -8
- package/es/components/scale-view/src/components/NoData.vue2.js +9 -3
- package/es/components/scale-view/src/components/ScaleScore.d.ts +1 -1
- package/es/components/scale-view/src/components/ScaleScore.js +47 -4
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +20 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +2 -0
- package/es/components/scale-view/src/components/formitem/r-sign.js +32 -4
- package/es/components/scale-view/src/components/formitem/r-upload.js +65 -7
- package/es/components/scale-view/src/components/formitem/sign-com.js +8 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.js +20 -5
- package/es/components/scale-view/src/hooks/scaleview-init.js +24 -3
- package/es/components/scale-view/src/hooks/scaleview-methods.js +40 -5
- package/es/components/scale-view/src/hooks/scaleview-props.d.ts +8 -0
- package/es/components/scale-view/src/hooks/scaleview-props.js +8 -0
- package/es/components/scale-view/src/hooks/scaleview-submit.d.ts +2 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +64 -8
- package/es/components/scale-view/src/hooks/scaleview-validate.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-validate.js +157 -24
- package/es/components/scale-view/src/hooks/use-evaluate.js +16 -2
- package/es/components/scale-view/src/hooks/use-noData.js +33 -5
- package/es/components/scale-view/src/utils/judge-types.d.ts +2 -1
- package/es/components/scale-view/src/utils/judge-types.js +10 -10
- package/es/components/scale-view/src/utils/watch-form-change.d.ts +13 -0
- package/es/components/scale-view/src/utils/watch-form-change.js +71 -0
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/select-person/index.d.ts +792 -1
- package/es/components/select-person/src/SelectPerson.vue.d.ts +434 -341
- package/es/components/select-person/src/SelectPerson.vue2.js +521 -675
- package/es/components/select-person/src/SelectPersonRole.vue.d.ts +630 -0
- package/es/components/select-person/src/SelectPersonRole.vue.js +6 -0
- package/es/components/select-person/src/SelectPersonRole.vue2.js +942 -0
- package/es/components/select-person/src/components/GroupItem.vue.d.ts +19 -0
- package/es/components/select-person/src/components/GroupItem.vue.js +6 -0
- package/es/components/select-person/src/components/GroupItem.vue2.js +37 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.d.ts +214 -0
- package/es/components/select-person/src/components/SearchGroupList.vue.js +6 -0
- package/es/components/select-person/src/components/SearchGroupList.vue2.js +145 -0
- package/es/components/select-person/src/components/SearchMultiple.vue2.js +1 -1
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +21 -12
- package/es/components/select-person/src/components/TagItem.vue.d.ts +43 -0
- package/es/components/select-person/src/components/TagItem.vue.js +6 -0
- package/es/components/select-person/src/components/TagItem.vue2.js +40 -0
- package/es/components/select-person/src/index.vue.d.ts +793 -1
- package/es/components/select-person/src/index.vue2.js +21 -4
- package/es/components/select-person/src/types/index.d.ts +35 -0
- package/es/components/select-person/src/types/index.js +1 -0
- package/es/components/select-person/src/utils/index.d.ts +3 -0
- package/es/components/select-person/src/utils/index.js +29 -8
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +13 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +13 -0
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +1 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +54 -6
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +26 -10
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +17 -2
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +37 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +18 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +44 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectFilter.vue.d.ts +1 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +36 -4
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +2 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +55 -6
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +6 -3
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +25 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +12 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +2 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +20 -3
- package/es/components/table-filter/src/hooks/useRenderWidget.js +4 -0
- package/es/components/table-filter/src/tool/date.d.ts +3 -0
- package/es/components/table-filter/src/tool/date.js +139 -0
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -0
- package/es/components/table-filter/src/tool/transformData.js +11 -8
- package/es/components/table-filter/src/types/enums.d.ts +1 -0
- package/es/components/table-filter/src/types/enums.js +2 -1
- package/es/components/table-filter/src/types/index.d.ts +12 -0
- package/es/components/vod-chunk-upload/index.d.ts +3 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue.d.ts +1 -29
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +109 -11
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +15 -1
- package/es/components/vod-chunk-upload/src/hooks/upload-data.js +72 -9
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +3 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +75 -9
- package/es/shared/hooks/selectHooks/useSearchContent.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -546,7 +546,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
546
546
|
mergeTemplateList: (list: any[]) => any;
|
547
547
|
initCRM: (formatListResult: any) => Promise<void>;
|
548
548
|
init: () => Promise<boolean>;
|
549
|
-
registerShort: () => Promise<void>;
|
549
|
+
registerShort: (obj?: any) => Promise<void>;
|
550
550
|
handleClickBtn: (visible?: boolean) => Promise<false | undefined>;
|
551
551
|
reformatPrintParams: () => void;
|
552
552
|
verifiySuccess: (token: string) => void;
|
@@ -1601,6 +1601,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1601
1601
|
emits: (event: "success" | "error" | "cancel" | "clickoutside" | "saveOuterPrint", ...args: any[]) => void;
|
1602
1602
|
directPrint: () => Promise<void>;
|
1603
1603
|
handleShortcutStartAndStop: (status: 'start' | 'stop') => void;
|
1604
|
+
registerShort: (obj: any) => void;
|
1604
1605
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "error" | "cancel" | "clickoutside" | "saveOuterPrint")[], "success" | "error" | "cancel" | "clickoutside" | "saveOuterPrint", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1605
1606
|
printParams: {
|
1606
1607
|
type: PropType<AnyObject[]>;
|
@@ -191,9 +191,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
191
191
|
var _a;
|
192
192
|
(_a = printComponentRef.value) == null ? void 0 : _a.handleShortcutStartAndStop(status);
|
193
193
|
};
|
194
|
+
const registerShort = (obj) => {
|
195
|
+
var _a;
|
196
|
+
(_a = printComponentRef.value) == null ? void 0 : _a.registerShort(obj);
|
197
|
+
};
|
194
198
|
expose({
|
195
199
|
directPrint,
|
196
|
-
handleShortcutStartAndStop
|
200
|
+
handleShortcutStartAndStop,
|
201
|
+
registerShort
|
197
202
|
});
|
198
203
|
return (_ctx, _cache) => {
|
199
204
|
return openBlock(), createBlock(resolveDynamicComponent(unref(isComponent)), mergeProps({
|
@@ -308,7 +308,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
308
308
|
mergeTemplateList: (list: any[]) => any;
|
309
309
|
initCRM: (formatListResult: any) => Promise<void>;
|
310
310
|
init: () => Promise<boolean>;
|
311
|
-
registerShort: () => Promise<void>;
|
311
|
+
registerShort: (obj?: any) => Promise<void>;
|
312
312
|
handleClickBtn: (visible?: boolean) => Promise<false | undefined>;
|
313
313
|
reformatPrintParams: () => void;
|
314
314
|
verifiySuccess: (token: string) => void;
|
@@ -634,9 +634,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
634
634
|
templateId,
|
635
635
|
params: curPrintParamList
|
636
636
|
}).then(() => {
|
637
|
-
var _a;
|
637
|
+
var _a, _b;
|
638
638
|
state.curPrintParamList = curPrintParamList;
|
639
639
|
const curPrintdlgshow = ((_a = printCustomProps.value) == null ? void 0 : _a.printdlgshow) || props.printdlgshow;
|
640
|
+
const curFormatIdObj = (_b = state == null ? void 0 : state.formatList) == null ? void 0 : _b.find((item) => item.id == formatId);
|
640
641
|
const queryParams = {
|
641
642
|
formatId,
|
642
643
|
iReportExecuteMode: state.iReportExecuteMode,
|
@@ -646,7 +647,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
646
647
|
printdlgshow: curPrintdlgshow,
|
647
648
|
signature: props.signature,
|
648
649
|
copies: props.printCopies,
|
649
|
-
svrUpdateIp: props.svrUpdateIp
|
650
|
+
svrUpdateIp: props.svrUpdateIp,
|
651
|
+
formatItem: curFormatIdObj
|
650
652
|
};
|
651
653
|
if (props.strategy === "MULTI") {
|
652
654
|
for (let i = 0; i < curPrintParamList.length; i++) {
|
@@ -1039,8 +1041,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1039
1041
|
state.spinning = false;
|
1040
1042
|
return true;
|
1041
1043
|
};
|
1042
|
-
const registerShort = async () => {
|
1043
|
-
const keys = Object.keys(shortcutSettings.value);
|
1044
|
+
const registerShort = async (obj) => {
|
1045
|
+
const keys = Object.keys(obj || shortcutSettings.value);
|
1044
1046
|
if (keys.length > 0) {
|
1045
1047
|
for (let i = 0; i < keys.length; i++) {
|
1046
1048
|
const key = keys[i];
|
@@ -1157,6 +1159,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1157
1159
|
immediate: true
|
1158
1160
|
});
|
1159
1161
|
async function directPrint() {
|
1162
|
+
encapBrowserLog({
|
1163
|
+
type: "\u4E3B\u52A8\u8C03\u7528\u6253\u5370\u65B9\u6CD5"
|
1164
|
+
}, "PRINT-SDK");
|
1160
1165
|
await handleClickBtn(false);
|
1161
1166
|
handleClickPrintAll();
|
1162
1167
|
}
|
@@ -1181,7 +1186,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1181
1186
|
}
|
1182
1187
|
expose({
|
1183
1188
|
directPrint,
|
1184
|
-
handleShortcutStartAndStop
|
1189
|
+
handleShortcutStartAndStop,
|
1190
|
+
registerShort
|
1185
1191
|
});
|
1186
1192
|
return (_ctx, _cache) => {
|
1187
1193
|
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1, [createCommentVNode(" \u5916\u663E\u6309\u94AE\u96C6\u5408 "), createVNode(unref(NButtonGroup), {
|
@@ -346,6 +346,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
346
346
|
formatId: state.currentFormatId,
|
347
347
|
templateId: getTemplateIdByFormatId.value
|
348
348
|
}).then(() => {
|
349
|
+
var _a2;
|
350
|
+
const curFormatIdObj = (_a2 = state == null ? void 0 : state.formatList) == null ? void 0 : _a2.find((item) => item.id == state.currentFormatId);
|
349
351
|
const queryParams = {
|
350
352
|
iReportExecuteMode: state.iReportExecuteMode,
|
351
353
|
number: state.number,
|
@@ -355,7 +357,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
355
357
|
printdlgshow: props.printdlgshow,
|
356
358
|
signature: props.signature,
|
357
359
|
copies: props.printCopies,
|
358
|
-
svrUpdateIp: props.svrUpdateIp
|
360
|
+
svrUpdateIp: props.svrUpdateIp,
|
361
|
+
formatItem: curFormatIdObj
|
359
362
|
};
|
360
363
|
if (props.strategy === "MULTI") {
|
361
364
|
for (let i = 0; i < state.printParams.length; i++) {
|
@@ -41,7 +41,7 @@ export declare class Print {
|
|
41
41
|
_queryBase64ServicesPrint(params: AnyObject): Promise<any>;
|
42
42
|
_callPrintWithFile(queryParams: AnyObject): Promise<any>;
|
43
43
|
_handleMonitorNotify(message: string | unknown): void;
|
44
|
-
_handleResult(data: AnyObject, errorCallbackFn?: AnyFn, cancelCallbackFn?: AnyFn): false | AnyObject;
|
44
|
+
_handleResult(data: AnyObject, errorCallbackFn?: AnyFn, cancelCallbackFn?: AnyFn): false | AnyObject | undefined;
|
45
45
|
_handleResultTest(result: unknown, errorCallbackFn?: AnyFn): boolean;
|
46
46
|
_handleEventQueryPrintData(templateId: string, formatId: string, params: AnyObject, messageTimeout: number, errorCallbackFn?: AnyFn): Promise<false | {
|
47
47
|
file: any;
|
@@ -68,7 +68,7 @@ export declare class Print {
|
|
68
68
|
_base64ToBlob(fileBase64: string, fileType: string): Blob;
|
69
69
|
preview({ iReportExecuteMode, hideButtons, templateId, number, formatId: originFormatId, params, paramsArr, authorizationKey, signature, btnprint, messageTimeout }: AnyObject, successCallbackFn?: AnyFn, errorCallbackFn?: AnyFn): Promise<any>;
|
70
70
|
printSync(data: AnyObject[], successCallbackFn: AnyFn, errorCallbackFn: AnyFn): Promise<void>;
|
71
|
-
printDirect({ iReportExecuteMode, templateId, number, formatId: originFormatId, params, paramsArr, authorizationKey, print, signature, printdlgshow, nobillnode, copies, svrUpdateIp, isDownloadFile, messageTimeout }: AnyObject, successCallbackFn: AnyFn, errorCallbackFn: AnyFn, cancelCallbackFn?: AnyFn, mode?: string): Promise<false | undefined>;
|
71
|
+
printDirect({ iReportExecuteMode, templateId, number, formatId: originFormatId, formatItem, params, paramsArr, authorizationKey, print, signature, printdlgshow, nobillnode, copies, svrUpdateIp, isDownloadFile, messageTimeout }: AnyObject, successCallbackFn: AnyFn, errorCallbackFn: AnyFn, cancelCallbackFn?: AnyFn, mode?: string): Promise<false | undefined>;
|
72
72
|
printToHiPrint({ templateId, formatId, params, authorizationKey }: any, successCallbackFn: AnyFn, errorCallbackFn: AnyFn, cancelCallbackFn?: AnyFn): Promise<any>;
|
73
73
|
private _downloadPDF;
|
74
74
|
/**
|
@@ -461,7 +461,7 @@ class Print {
|
|
461
461
|
}
|
462
462
|
_handleResult(data, errorCallbackFn, cancelCallbackFn) {
|
463
463
|
if (!data) {
|
464
|
-
const
|
464
|
+
const message2 = function() {
|
465
465
|
var _a, _b, _c;
|
466
466
|
try {
|
467
467
|
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.497")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.497")) || "\u6253\u5370\u547D\u4EE4\u8FD4\u56DE\u7A7A\u6570\u636E";
|
@@ -472,34 +472,34 @@ class Print {
|
|
472
472
|
this._handleMonitorNotify("");
|
473
473
|
errorCallbackFn == null ? void 0 : errorCallbackFn({
|
474
474
|
type: "printError",
|
475
|
-
message,
|
475
|
+
message: message2,
|
476
476
|
result: "error",
|
477
|
-
errinfo:
|
477
|
+
errinfo: message2
|
478
478
|
});
|
479
479
|
return false;
|
480
480
|
}
|
481
|
-
if (data.result
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
481
|
+
if (data.result === "success" || data.returncode === "1") {
|
482
|
+
data.message = data.message || data.returnmsg;
|
483
|
+
return data;
|
484
|
+
}
|
485
|
+
const message = data.message || data.Message;
|
486
|
+
this._handleMonitorNotify(message);
|
487
|
+
const errorMsgObj = {
|
488
|
+
type: "printError",
|
489
|
+
message,
|
490
|
+
result: data.result,
|
491
|
+
errinfo: data.errinfo
|
492
|
+
};
|
493
|
+
if (data.result == "cancel") {
|
494
|
+
cancelCallbackFn && cancelCallbackFn({
|
495
|
+
type: "printCancel",
|
486
496
|
message,
|
487
497
|
result: data.result,
|
488
498
|
errinfo: data.errinfo
|
489
|
-
};
|
490
|
-
if (data.result == "cancel") {
|
491
|
-
cancelCallbackFn && cancelCallbackFn({
|
492
|
-
type: "printCancel",
|
493
|
-
message,
|
494
|
-
result: data.result,
|
495
|
-
errinfo: data.errinfo
|
496
|
-
});
|
497
|
-
return false;
|
498
|
-
}
|
499
|
-
errorCallbackFn == null ? void 0 : errorCallbackFn(errorMsgObj);
|
499
|
+
});
|
500
500
|
return false;
|
501
501
|
}
|
502
|
-
|
502
|
+
errorCallbackFn == null ? void 0 : errorCallbackFn(errorMsgObj);
|
503
503
|
}
|
504
504
|
_handleResultTest(result, errorCallbackFn) {
|
505
505
|
if (!result) {
|
@@ -905,6 +905,7 @@ class Print {
|
|
905
905
|
templateId,
|
906
906
|
number,
|
907
907
|
formatId: originFormatId,
|
908
|
+
formatItem,
|
908
909
|
params = "",
|
909
910
|
paramsArr,
|
910
911
|
authorizationKey,
|
@@ -917,6 +918,7 @@ class Print {
|
|
917
918
|
isDownloadFile = true,
|
918
919
|
messageTimeout = 0
|
919
920
|
}, successCallbackFn, errorCallbackFn, cancelCallbackFn, mode = "printDirect") {
|
921
|
+
const isObject = (o) => Object.prototype.toString.call(o) === "[object Object]";
|
920
922
|
const iReportStatus = isIReport(originFormatId);
|
921
923
|
const formatId = this.getIReportFormatId(iReportStatus, originFormatId);
|
922
924
|
if (iReportStatus && (isDomestic || iReportExecuteMode == 2)) {
|
@@ -974,6 +976,13 @@ class Print {
|
|
974
976
|
if (!this._handleResultTest(testResult, errorCallbackFn))
|
975
977
|
return false;
|
976
978
|
try {
|
979
|
+
if (formatItem == null ? void 0 : formatItem.queuePrint) {
|
980
|
+
const printParams = isObject(params) ? cloneDeep(params) : params;
|
981
|
+
paramsArr = [{
|
982
|
+
params: printParams
|
983
|
+
}];
|
984
|
+
params = "";
|
985
|
+
}
|
977
986
|
const result = await this._handleEventDirect({
|
978
987
|
templateId,
|
979
988
|
number,
|
@@ -35,6 +35,10 @@ export declare const CallbackMaps: Map<string, {
|
|
35
35
|
businessFormatter: {
|
36
36
|
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
37
37
|
};
|
38
|
+
nominalAge: {
|
39
|
+
type: BooleanConstructor;
|
40
|
+
default: boolean;
|
41
|
+
};
|
38
42
|
schema: {
|
39
43
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
40
44
|
[key: symbol]: any;
|
@@ -239,6 +243,10 @@ export declare const CallbackMaps: Map<string, {
|
|
239
243
|
businessFormatter: {
|
240
244
|
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
241
245
|
};
|
246
|
+
nominalAge: {
|
247
|
+
type: BooleanConstructor;
|
248
|
+
default: boolean;
|
249
|
+
};
|
242
250
|
schema: {
|
243
251
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
244
252
|
[key: symbol]: any;
|
@@ -804,6 +812,10 @@ export declare const CallbackMaps: Map<string, {
|
|
804
812
|
businessFormatter: {
|
805
813
|
type: import("vue").PropType<import("../../../../../components/form-render").FormBusinessFormatter>;
|
806
814
|
};
|
815
|
+
nominalAge: {
|
816
|
+
type: BooleanConstructor;
|
817
|
+
default: boolean;
|
818
|
+
};
|
807
819
|
schema: {
|
808
820
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
809
821
|
[key: symbol]: any;
|
@@ -1010,6 +1022,7 @@ export declare const CallbackMaps: Map<string, {
|
|
1010
1022
|
feedbackType: "default" | "tooltip";
|
1011
1023
|
fixMemoLeak: boolean;
|
1012
1024
|
lazyRender: boolean;
|
1025
|
+
nominalAge: boolean;
|
1013
1026
|
operationalFormInit: boolean;
|
1014
1027
|
incrementalRender: boolean;
|
1015
1028
|
}>;
|
@@ -208,7 +208,14 @@ const ageCodeMap = {
|
|
208
208
|
return "\u5468";
|
209
209
|
}
|
210
210
|
}(),
|
211
|
-
N:
|
211
|
+
N: function() {
|
212
|
+
var _a, _b, _c;
|
213
|
+
try {
|
214
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.638")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.638")) || "\u5206\u949F";
|
215
|
+
} catch (e) {
|
216
|
+
return "\u5206\u949F";
|
217
|
+
}
|
218
|
+
}()
|
212
219
|
};
|
213
220
|
function birthdayToAge(birthday) {
|
214
221
|
const {
|
@@ -668,6 +668,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
668
668
|
value: string;
|
669
669
|
isAccurateSearch?: boolean | undefined;
|
670
670
|
accurateSearchKey?: string | undefined;
|
671
|
+
customDate?: string | undefined;
|
671
672
|
}[];
|
672
673
|
};
|
673
674
|
loading: import("vue").Ref<boolean>;
|
@@ -733,6 +734,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
733
734
|
isAccurate: {
|
734
735
|
type: BooleanConstructor;
|
735
736
|
};
|
737
|
+
customDate: {
|
738
|
+
type: StringConstructor;
|
739
|
+
default: null;
|
740
|
+
};
|
736
741
|
}, {
|
737
742
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
738
743
|
paramCfg: {
|
@@ -750,15 +755,21 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
750
755
|
isAccurate: {
|
751
756
|
type: BooleanConstructor;
|
752
757
|
};
|
758
|
+
customDate: {
|
759
|
+
type: StringConstructor;
|
760
|
+
default: null;
|
761
|
+
};
|
753
762
|
}>> & {
|
754
763
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
755
764
|
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
756
765
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
766
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
757
767
|
}>>;
|
758
|
-
emit: (event: "update:modelValue" | "update:isAccurate" | "update:presetVal", ...args: any[]) => void;
|
768
|
+
emit: (event: "update:modelValue" | "update:isAccurate" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
759
769
|
valueCp: import("vue").WritableComputedRef<any>;
|
760
770
|
presetValCp: import("vue").WritableComputedRef<string>;
|
761
771
|
isAccurateCp: import("vue").WritableComputedRef<boolean>;
|
772
|
+
customDateCp: import("vue").WritableComputedRef<string>;
|
762
773
|
widgetType: import("vue").ComputedRef<any>;
|
763
774
|
Date: import("vue").DefineComponent<{
|
764
775
|
componentCfg: {
|
@@ -776,6 +787,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
776
787
|
type: StringConstructor;
|
777
788
|
default: null;
|
778
789
|
};
|
790
|
+
customDate: {
|
791
|
+
type: StringConstructor;
|
792
|
+
default: null;
|
793
|
+
};
|
779
794
|
}, {
|
780
795
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
781
796
|
componentCfg: {
|
@@ -793,11 +808,16 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
793
808
|
type: StringConstructor;
|
794
809
|
default: null;
|
795
810
|
};
|
811
|
+
customDate: {
|
812
|
+
type: StringConstructor;
|
813
|
+
default: null;
|
814
|
+
};
|
796
815
|
}>> & {
|
797
816
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
798
817
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
818
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
799
819
|
}>>;
|
800
|
-
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
820
|
+
emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
801
821
|
valueCp: import("vue").WritableComputedRef<any>;
|
802
822
|
presetValCp: import("vue").WritableComputedRef<string>;
|
803
823
|
dateType: any;
|
@@ -975,7 +995,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
975
995
|
NEXT_YEAR: string;
|
976
996
|
LAST_YEAR: string;
|
977
997
|
};
|
978
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
998
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
979
999
|
componentCfg: {
|
980
1000
|
type: ObjectConstructor;
|
981
1001
|
};
|
@@ -991,13 +1011,19 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
991
1011
|
type: StringConstructor;
|
992
1012
|
default: null;
|
993
1013
|
};
|
1014
|
+
customDate: {
|
1015
|
+
type: StringConstructor;
|
1016
|
+
default: null;
|
1017
|
+
};
|
994
1018
|
}>> & {
|
995
1019
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
996
1020
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1021
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
997
1022
|
}, {
|
998
1023
|
modelValue: string | number | unknown[];
|
999
1024
|
paramCfg: Record<string, any>;
|
1000
1025
|
presetVal: string;
|
1026
|
+
customDate: string;
|
1001
1027
|
}>;
|
1002
1028
|
InputFilter: import("vue").DefineComponent<{
|
1003
1029
|
paramCfg: {
|
@@ -1127,6 +1153,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1127
1153
|
SELECT_TIME: string;
|
1128
1154
|
PAST_TIME: string;
|
1129
1155
|
FUTURE_TIME: string;
|
1156
|
+
CUSTOM_TIME: string;
|
1130
1157
|
};
|
1131
1158
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1132
1159
|
paramCfg: {
|
@@ -1461,6 +1488,10 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1461
1488
|
type: StringConstructor;
|
1462
1489
|
default: null;
|
1463
1490
|
};
|
1491
|
+
customDate: {
|
1492
|
+
type: StringConstructor;
|
1493
|
+
default: null;
|
1494
|
+
};
|
1464
1495
|
}, {
|
1465
1496
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1466
1497
|
paramCfg: {
|
@@ -1475,11 +1506,16 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1475
1506
|
type: StringConstructor;
|
1476
1507
|
default: null;
|
1477
1508
|
};
|
1509
|
+
customDate: {
|
1510
|
+
type: StringConstructor;
|
1511
|
+
default: null;
|
1512
|
+
};
|
1478
1513
|
}>> & {
|
1479
1514
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1480
1515
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1516
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
1481
1517
|
}>>;
|
1482
|
-
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
1518
|
+
emit: (event: "update:modelValue" | "update:presetVal" | "update:customDate", ...args: any[]) => void;
|
1483
1519
|
startDate: import("vue").Ref<any>;
|
1484
1520
|
endDate: import("vue").Ref<any>;
|
1485
1521
|
valueFormat: import("vue").ComputedRef<string>;
|
@@ -1500,6 +1536,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1500
1536
|
value: string;
|
1501
1537
|
}[]>;
|
1502
1538
|
presetValCp: import("vue").WritableComputedRef<string>;
|
1539
|
+
customDateCp: import("vue").WritableComputedRef<string>;
|
1503
1540
|
handleChange: (val: any, type: "start" | "end") => void;
|
1504
1541
|
isStartDateDisabled: (ts: number) => boolean;
|
1505
1542
|
timeStartDisabled: (ts: number) => {
|
@@ -1675,7 +1712,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1675
1712
|
NEXT_YEAR: string;
|
1676
1713
|
LAST_YEAR: string;
|
1677
1714
|
};
|
1678
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1715
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1679
1716
|
paramCfg: {
|
1680
1717
|
type: ObjectConstructor;
|
1681
1718
|
default: null;
|
@@ -1688,13 +1725,19 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1688
1725
|
type: StringConstructor;
|
1689
1726
|
default: null;
|
1690
1727
|
};
|
1728
|
+
customDate: {
|
1729
|
+
type: StringConstructor;
|
1730
|
+
default: null;
|
1731
|
+
};
|
1691
1732
|
}>> & {
|
1692
1733
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1693
1734
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1735
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
1694
1736
|
}, {
|
1695
1737
|
modelValue: string | number | unknown[];
|
1696
1738
|
paramCfg: Record<string, any>;
|
1697
1739
|
presetVal: string;
|
1740
|
+
customDate: string;
|
1698
1741
|
}>;
|
1699
1742
|
SelectLabel: import("vue").DefineComponent<{
|
1700
1743
|
paramCfg: {
|
@@ -1821,7 +1864,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1821
1864
|
SELECTTREE: string;
|
1822
1865
|
SELECTTREEDYNAMIC: string;
|
1823
1866
|
};
|
1824
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurate" | "update:presetVal")[], "update:modelValue" | "update:isAccurate" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1867
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurate" | "update:presetVal" | "update:customDate")[], "update:modelValue" | "update:isAccurate" | "update:presetVal" | "update:customDate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1825
1868
|
paramCfg: {
|
1826
1869
|
type: ObjectConstructor;
|
1827
1870
|
default: null;
|
@@ -1837,15 +1880,21 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
1837
1880
|
isAccurate: {
|
1838
1881
|
type: BooleanConstructor;
|
1839
1882
|
};
|
1883
|
+
customDate: {
|
1884
|
+
type: StringConstructor;
|
1885
|
+
default: null;
|
1886
|
+
};
|
1840
1887
|
}>> & {
|
1841
1888
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
1842
1889
|
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
1843
1890
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
1891
|
+
"onUpdate:customDate"?: ((...args: any[]) => any) | undefined;
|
1844
1892
|
}, {
|
1845
1893
|
modelValue: string | number | unknown[];
|
1846
1894
|
paramCfg: Record<string, any>;
|
1847
1895
|
presetVal: string;
|
1848
1896
|
isAccurate: boolean;
|
1897
|
+
customDate: string;
|
1849
1898
|
}>;
|
1850
1899
|
ConditionEnums: {
|
1851
1900
|
NULL: string;
|
@@ -2325,6 +2374,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
2325
2374
|
SELECT_TIME: string;
|
2326
2375
|
PAST_TIME: string;
|
2327
2376
|
FUTURE_TIME: string;
|
2377
|
+
CUSTOM_TIME: string;
|
2328
2378
|
};
|
2329
2379
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
2330
2380
|
paramCfg: {
|