cnhis-design-vue 3.3.2-beta.1 → 3.3.2-beta.5
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/base-search/src/index.vue2.js +6 -6
- package/es/components/big-table/src/BigTable.vue2.js +21 -21
- package/es/components/big-table/src/components/NoData.vue2.js +4 -4
- package/es/components/big-table/src/components/edit-form/edit-date.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-input.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-select.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-time.js +4 -4
- package/es/components/big-table/src/components/input-button.vue2.js +2 -2
- package/es/components/big-table/src/hooks/useNestTable.js +4 -4
- package/es/components/big-table/src/hooks/useTableParse.js +3 -3
- package/es/components/body-select/src/index.vue2.js +4 -4
- package/es/components/button-print/src/ButtonPrint.vue2.js +7 -7
- package/es/components/button-print/src/components/EditFormat.vue2.js +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +17 -17
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +34 -34
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +11 -11
- package/es/components/button-print/src/components/Preview.vue2.js +2 -2
- package/es/components/button-print/src/utils/dialog.js +6 -6
- package/es/components/button-print/src/utils/print.js +21 -21
- package/es/components/callback/src/components/render/popupMaps.d.ts +1 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -4
- package/es/components/card-reader-sdk-cn/src/henan/index.js +5 -5
- package/es/components/classification/src/components/search-filter/index.vue2.js +6 -6
- package/es/components/classification/src/components/set-classification/index.vue2.js +5 -5
- package/es/components/classification/src/components/table-modal/index.vue2.js +45 -45
- package/es/components/classification/src/index.vue2.js +42 -42
- package/es/components/default-page/src/constants/index.js +19 -19
- package/es/components/default-page/src/index.vue2.js +2 -2
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +10 -10
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +4 -4
- package/es/components/expand-field/src/components/PersonModal.vue2.js +6 -6
- package/es/components/expand-field/src/components/form.vue2.js +87 -87
- package/es/components/expand-field/src/index.vue2.js +16 -16
- package/es/components/expand-field/src/utils/constant.js +12 -12
- package/es/components/fabric-chart/src/components/PopupMenu.js +4 -4
- package/es/components/fabric-chart/src/constants/index.js +10 -10
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -3
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -5
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +6 -6
- package/es/components/fabric-chart/src/hooks/useCommon.js +4 -4
- package/es/components/field-editor/index.d.ts +1 -1
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -1
- package/es/components/field-editor/src/fields.js +30 -30
- package/es/components/field-set/src/FieldColor.vue2.js +15 -15
- package/es/components/field-set/src/FieldFilter.vue2.js +8 -8
- package/es/components/field-set/src/FieldSet.vue2.js +37 -37
- package/es/components/field-set/src/Index.vue2.js +6 -6
- package/es/components/field-set/src/TableStyle.vue2.js +9 -9
- package/es/components/field-set/src/components/condition.vue2.js +8 -8
- package/es/components/field-set/src/components/edit-dialog.vue2.js +23 -23
- package/es/components/field-set/src/components/edit-filter.vue2.js +4 -4
- package/es/components/field-set/src/components/table-row.vue2.js +25 -25
- package/es/components/field-set/src/constants/filter.js +42 -42
- package/es/components/field-set/src/constants/index.js +64 -64
- package/es/components/form-config/index.d.ts +9 -9
- package/es/components/form-config/src/FormConfig.vue.d.ts +9 -9
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +26 -26
- package/es/components/form-config/src/constants/index.js +11 -11
- package/es/components/form-config/src/hooks/useLocale.js +31 -31
- package/es/components/form-render/index.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/input.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +2 -2
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -2
- package/es/components/form-render/src/components/renderer/switch.js +4 -4
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
- package/es/components/form-render/src/types/index.d.ts +2 -2
- package/es/components/form-render/src/utils/schema.js +4 -4
- package/es/components/iho-chat/src/Index.vue2.js +2 -2
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +16 -16
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +24 -24
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +18 -18
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +25 -25
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -7
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -4
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +12 -12
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +9 -9
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +2 -2
- package/es/components/iho-chat/src/components/SiderList.vue2.js +12 -12
- package/es/components/iho-chat/src/components/Video.vue2.js +5 -5
- package/es/components/iho-chat/src/hooks/useVideo.js +2 -2
- package/es/components/iho-chat/src/utils/index.js +14 -14
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -2
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +11 -11
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +4 -4
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +13 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +9 -9
- package/es/components/info-header/index.d.ts +7 -7
- package/es/components/info-header/src/InfoHeader.vue.d.ts +7 -7
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2 -2
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +21 -21
- package/es/components/keyboard/src/Keyboard.vue2.js +7 -7
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +6 -6
- package/es/components/map/src/Map.vue2.js +2 -2
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +4 -4
- package/es/components/quick-search/src/index.vue2.js +21 -21
- package/es/components/recommend-search/src/components/BaseSearch.js +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +3 -3
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +5 -5
- package/es/components/scale-view/src/components/NoData.vue2.js +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +7 -7
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -5
- package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
- package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -4
- package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -9
- package/es/components/search-cascader/src/SearchCascader.vue2.js +2 -2
- package/es/components/select-label/src/LabelFormContent.vue2.js +7 -7
- package/es/components/select-label/src/SelectLabel.vue2.js +13 -13
- package/es/components/select-label/src/components/label-classify.vue2.js +5 -5
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +3 -3
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +6 -6
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +3 -3
- package/es/components/select-person/src/SelectPerson.vue2.js +16 -16
- package/es/components/select-person/src/SelectPersonType.vue2.js +13 -13
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -2
- package/es/components/select-person/src/index.vue2.js +3 -3
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/components/slider-tree/src/index.vue2.js +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +23 -25
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +19 -19
- package/es/components/table-export-field/src/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -5
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -34
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +19 -19
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -6
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -5
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +17 -17
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +5 -5
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +4 -4
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -207
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -3
- package/es/components/table-filter/src/tool/baseOptions.js +19 -19
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +8 -8
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +4 -4
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -277,8 +277,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
277
277
|
onClick: foldQuickSearch
|
278
278
|
}, {
|
279
279
|
default: withCtx(() => {
|
280
|
-
var _a;
|
281
|
-
return [_hoisted_6, createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.278")) || "\u7B5B\u9009"), __props.qqConObjCount ? (openBlock(), createElementBlock("span", _hoisted_7, "(" + toDisplayString(__props.qqConObjCount) + ")", 1)) : createCommentVNode("v-if", true)];
|
280
|
+
var _a, _b, _c;
|
281
|
+
return [_hoisted_6, createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.278")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.278")) || "\u7B5B\u9009"), __props.qqConObjCount ? (openBlock(), createElementBlock("span", _hoisted_7, "(" + toDisplayString(__props.qqConObjCount) + ")", 1)) : createCommentVNode("v-if", true)];
|
282
282
|
}),
|
283
283
|
_: 1
|
284
284
|
})])) : createCommentVNode("v-if", true), createCommentVNode(" start--\u7B5B\u9009\u5916\u663E--start "), (openBlock(true), createElementBlock(Fragment, null, renderList(outSearchFieldList.value, (item) => {
|
@@ -299,22 +299,22 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
299
299
|
onClick: outFilterChange
|
300
300
|
}, {
|
301
301
|
default: withCtx(() => {
|
302
|
-
var _a;
|
302
|
+
var _a, _b, _c;
|
303
303
|
return [createVNode(unref(NIcon), {
|
304
304
|
component: unref(Search),
|
305
305
|
size: "16",
|
306
306
|
style: {
|
307
307
|
"margin-right": "6px"
|
308
308
|
}
|
309
|
-
}, null, 8, ["component"]), createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.405")) || "\u67E5\u8BE2")];
|
309
|
+
}, null, 8, ["component"]), createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.405")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.405")) || "\u67E5\u8BE2")];
|
310
310
|
}),
|
311
311
|
_: 1
|
312
312
|
})])) : createCommentVNode("v-if", true), createCommentVNode(" \u91CD\u7F6E\u6309\u94AE "), showResetFilterBtn.value ? (openBlock(), createElementBlock("li", _hoisted_12, [createVNode(unref(NButton), {
|
313
313
|
onClick: handleReset
|
314
314
|
}, {
|
315
315
|
default: withCtx(() => {
|
316
|
-
var _a;
|
317
|
-
return [_hoisted_13, createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.406")) || "\u91CD\u7F6E")];
|
316
|
+
var _a, _b, _c;
|
317
|
+
return [_hoisted_13, createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.406")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.406")) || "\u91CD\u7F6E")];
|
318
318
|
}),
|
319
319
|
_: 1
|
320
320
|
})])) : createCommentVNode("v-if", true), createCommentVNode(" \u4E1A\u52A1\u6309\u94AE\u63D2\u69FD "), renderSlot(_ctx.$slots, "buttons")])])])]);
|
@@ -391,8 +391,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
391
391
|
width: "60",
|
392
392
|
slots: {
|
393
393
|
header: () => {
|
394
|
-
var _a2;
|
395
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.241")) || "\u64CD\u4F5C";
|
394
|
+
var _a2, _b2, _c2;
|
395
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.241")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.241")) || "\u64CD\u4F5C";
|
396
396
|
},
|
397
397
|
default: scanMultiOperate
|
398
398
|
}
|
@@ -585,8 +585,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
585
585
|
});
|
586
586
|
},
|
587
587
|
default() {
|
588
|
-
var _a2;
|
589
|
-
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.285")) || "\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F";
|
588
|
+
var _a2, _b, _c;
|
589
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.285")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.285")) || "\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F";
|
590
590
|
}
|
591
591
|
});
|
592
592
|
} else {
|
@@ -746,7 +746,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
746
746
|
"to": props.filterDomPortal
|
747
747
|
}, {
|
748
748
|
default: () => {
|
749
|
-
var _a, _b, _c;
|
749
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
750
750
|
return [createVNode("div", {
|
751
751
|
"class": "big-table-filter-wrap",
|
752
752
|
"style": {
|
@@ -784,7 +784,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
784
784
|
"class": "filter-header-icon vxe-filter--btn vxe-icon--funnel"
|
785
785
|
}, null), createVNode("span", {
|
786
786
|
"class": "filter-header-text"
|
787
|
-
}, [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.278")) || "\u7B5B\u9009")])]), field.filterItems.length > 5 ? createVNode("div", {
|
787
|
+
}, [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.278")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.278")) || "\u7B5B\u9009")])]), field.filterItems.length > 5 ? createVNode("div", {
|
788
788
|
"class": "checkbox-wrap checkbox-wrap--search"
|
789
789
|
}, [createVNode("div", {
|
790
790
|
"class": "check-search-wrap"
|
@@ -807,8 +807,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
807
807
|
}
|
808
808
|
}, {
|
809
809
|
default: () => {
|
810
|
-
var _a2;
|
811
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.37")) || "\u5168\u9009")];
|
810
|
+
var _a2, _b2, _c2;
|
811
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.37")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.37")) || "\u5168\u9009")];
|
812
812
|
}
|
813
813
|
})]) : "", createVNode(NCheckboxGroup, {
|
814
814
|
"value": field.searchFilterText ? field.searchFilterCONVERT : field.CONVERT,
|
@@ -835,14 +835,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
835
835
|
}
|
836
836
|
}, [field.CONVERT.length ? createVNode("div", {
|
837
837
|
"class": "checkbox-btn-status"
|
838
|
-
}, [createVNode("span", null, [createTextVNode(((
|
838
|
+
}, [createVNode("span", null, [createTextVNode(((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.39")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.39")) || "\u5DF2\u9009\u62E9"), field.CONVERT.length, createTextVNode(((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.417")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.417")) || "\u9879")]), createVNode(NButton, {
|
839
839
|
"class": "checkbox-btn checkbox-btn-clear",
|
840
840
|
"text": true,
|
841
841
|
"onClick": () => handleFilterClearAll(item.columnName)
|
842
842
|
}, {
|
843
843
|
default: () => {
|
844
|
-
var _a2;
|
845
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || "\u6E05\u7A7A")];
|
844
|
+
var _a2, _b2, _c2;
|
845
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.509")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.509")) || "\u6E05\u7A7A")];
|
846
846
|
}
|
847
847
|
})]) : null, createVNode("div", null, [createVNode(NButton, {
|
848
848
|
"size": "small",
|
@@ -850,8 +850,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
850
850
|
"onClick": () => handleCancelFilter()
|
851
851
|
}, {
|
852
852
|
default: () => {
|
853
|
-
var _a2;
|
854
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
|
853
|
+
var _a2, _b2, _c2;
|
854
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.28")) || "\u53D6\u6D88")];
|
855
855
|
}
|
856
856
|
}), createVNode(NButton, {
|
857
857
|
"size": "small",
|
@@ -860,8 +860,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
860
860
|
"onClick": () => handleFilter(field)
|
861
861
|
}, {
|
862
862
|
default: () => {
|
863
|
-
var _a2;
|
864
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || "\u786E\u5B9A")];
|
863
|
+
var _a2, _b2, _c2;
|
864
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.27")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.27")) || "\u786E\u5B9A")];
|
865
865
|
}
|
866
866
|
})])]), createVNode("div", {
|
867
867
|
"class": "arrows-icon"
|
@@ -1689,8 +1689,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1689
1689
|
}, null);
|
1690
1690
|
},
|
1691
1691
|
default() {
|
1692
|
-
var _a;
|
1693
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.285")) || "\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F";
|
1692
|
+
var _a, _b, _c;
|
1693
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.285")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.285")) || "\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F";
|
1694
1694
|
}
|
1695
1695
|
});
|
1696
1696
|
};
|
@@ -1932,8 +1932,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1932
1932
|
"text": true
|
1933
1933
|
}, {
|
1934
1934
|
default: () => {
|
1935
|
-
var _a;
|
1936
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || "\u4FDD\u5B58";
|
1935
|
+
var _a, _b, _c;
|
1936
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.244")) || "\u4FDD\u5B58";
|
1937
1937
|
}
|
1938
1938
|
}), createVNode(NButton, {
|
1939
1939
|
"style": {
|
@@ -1948,8 +1948,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1948
1948
|
"text": true
|
1949
1949
|
}, {
|
1950
1950
|
default: () => {
|
1951
|
-
var _a;
|
1952
|
-
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || "\u53D6\u6D88";
|
1951
|
+
var _a, _b, _c;
|
1952
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.28")) || "\u53D6\u6D88";
|
1953
1953
|
}
|
1954
1954
|
})])];
|
1955
1955
|
};
|
@@ -4,7 +4,7 @@ import noPermission from '../../../../shared/assets/img/no-permission.png.js';
|
|
4
4
|
import failure from '../../../../shared/assets/img/failure.png.js';
|
5
5
|
import notfound from '../../../../shared/assets/img/notfound.png.js';
|
6
6
|
|
7
|
-
var _a;
|
7
|
+
var _a, _b, _c;
|
8
8
|
const _hoisted_1 = {
|
9
9
|
class: "no-data-tip NoData-page"
|
10
10
|
};
|
@@ -17,7 +17,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
17
|
props: {
|
18
18
|
noDataTip: {
|
19
19
|
type: String,
|
20
|
-
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
20
|
+
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.445")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
21
21
|
},
|
22
22
|
noDataImg: {
|
23
23
|
type: String,
|
@@ -49,14 +49,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
49
49
|
return str;
|
50
50
|
});
|
51
51
|
const handleDesc = computed(() => {
|
52
|
-
var _a2;
|
52
|
+
var _a2, _b2, _c2;
|
53
53
|
let res = "";
|
54
54
|
switch (props.noDataImg) {
|
55
55
|
case "no-permission":
|
56
56
|
res = "\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458";
|
57
57
|
break;
|
58
58
|
case "failure":
|
59
|
-
res = ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.449")) || "\u8BF7\u7A0D\u540E\u518D\u8BD5";
|
59
|
+
res = ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.449")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.449")) || "\u8BF7\u7A0D\u540E\u518D\u8BD5";
|
60
60
|
break;
|
61
61
|
}
|
62
62
|
return res;
|
@@ -29,7 +29,7 @@ var EditDate = /* @__PURE__ */ defineComponent({
|
|
29
29
|
attrs,
|
30
30
|
emit
|
31
31
|
}) {
|
32
|
-
var _a;
|
32
|
+
var _a, _b, _c;
|
33
33
|
const {
|
34
34
|
formRef,
|
35
35
|
isShow
|
@@ -166,7 +166,7 @@ var EditDate = /* @__PURE__ */ defineComponent({
|
|
166
166
|
disabled: props.col.disabled || false,
|
167
167
|
...formatConfig.value,
|
168
168
|
isDateDisabled: customDateDisabledDecorator(props.col.isDateDisabled) || isDateDisabled,
|
169
|
-
placeholder: props.col.placeholder || ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
169
|
+
placeholder: props.col.placeholder || ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
170
170
|
...props.col.componentProps || {}
|
171
171
|
};
|
172
172
|
if (config.type.includes("time")) {
|
@@ -32,7 +32,7 @@ var EditInput = /* @__PURE__ */ defineComponent({
|
|
32
32
|
attrs,
|
33
33
|
emit
|
34
34
|
}) {
|
35
|
-
var _a;
|
35
|
+
var _a, _b, _c;
|
36
36
|
const {
|
37
37
|
formRef
|
38
38
|
} = useCommon(props, attrs);
|
@@ -57,7 +57,7 @@ var EditInput = /* @__PURE__ */ defineComponent({
|
|
57
57
|
}
|
58
58
|
const config = {
|
59
59
|
clearable: true,
|
60
|
-
placeholder: props.col.placeholder || ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.383")) || "\u8BF7\u8F93\u5165",
|
60
|
+
placeholder: props.col.placeholder || ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.383")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.383")) || "\u8BF7\u8F93\u5165",
|
61
61
|
...props.col.componentProps || {},
|
62
62
|
onBlur,
|
63
63
|
onKeyup: keyup
|
@@ -121,7 +121,7 @@ var EditSelect = /* @__PURE__ */ defineComponent({
|
|
121
121
|
}
|
122
122
|
init();
|
123
123
|
return () => {
|
124
|
-
var _a;
|
124
|
+
var _a, _b, _c;
|
125
125
|
return createVNode(NSelect, mergeProps({
|
126
126
|
"ref": formRef,
|
127
127
|
"show": isShow.value,
|
@@ -131,7 +131,7 @@ var EditSelect = /* @__PURE__ */ defineComponent({
|
|
131
131
|
"consistentMenuWidth": false,
|
132
132
|
"clearable": true,
|
133
133
|
"filterable": true,
|
134
|
-
"placeholder": props.col.placeholder || ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
134
|
+
"placeholder": props.col.placeholder || ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
135
135
|
"loading": state.loading,
|
136
136
|
"onUpdateValue": onUpdateValue,
|
137
137
|
"onKeyup": onKeyup
|
@@ -31,7 +31,7 @@ var EditTime = /* @__PURE__ */ defineComponent({
|
|
31
31
|
attrs,
|
32
32
|
emit
|
33
33
|
}) {
|
34
|
-
var _a, _b, _c;
|
34
|
+
var _a, _b, _c, _d, _e;
|
35
35
|
const {
|
36
36
|
formRef,
|
37
37
|
isShow
|
@@ -48,7 +48,7 @@ var EditTime = /* @__PURE__ */ defineComponent({
|
|
48
48
|
};
|
49
49
|
const config = {
|
50
50
|
clearable: true,
|
51
|
-
placeholder: props.col.placeholder || ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
51
|
+
placeholder: props.col.placeholder || ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.147")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
52
52
|
valueFormat: props.col.valueFormat || "HH:mm",
|
53
53
|
format: props.col.valueFormat || "yyyy-MM-dd HH:mm:ss",
|
54
54
|
...props.col.componentProps || {}
|
@@ -101,10 +101,10 @@ var EditTime = /* @__PURE__ */ defineComponent({
|
|
101
101
|
index: props.index
|
102
102
|
});
|
103
103
|
}
|
104
|
-
const onFunc = ((
|
104
|
+
const onFunc = ((_d = props.col.componentProps) == null ? void 0 : _d.isPopover) ? {
|
105
105
|
onBlur
|
106
106
|
} : {};
|
107
|
-
const hideSuffix = (
|
107
|
+
const hideSuffix = (_e = props.col.componentProps) == null ? void 0 : _e.hideSuffix;
|
108
108
|
return () => createVNode(NTimePicker, mergeProps({
|
109
109
|
"class": {
|
110
110
|
"hide-suffix": hideSuffix
|
@@ -24,8 +24,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
24
|
onClick: search
|
25
25
|
}, {
|
26
26
|
default: withCtx(() => {
|
27
|
-
var _a;
|
28
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.36")) || "\u641C\u7D22")];
|
27
|
+
var _a, _b, _c;
|
28
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.36")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.36")) || "\u641C\u7D22")];
|
29
29
|
}),
|
30
30
|
_: 1
|
31
31
|
})]),
|
@@ -29,7 +29,7 @@ const useNestTable = (props, state, emit) => {
|
|
29
29
|
row,
|
30
30
|
rowIndex
|
31
31
|
}) => {
|
32
|
-
var _a, _b, _c, _d, _e, _f;
|
32
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
33
33
|
try {
|
34
34
|
if ((_a = row.expandList) == null ? void 0 : _a.length) {
|
35
35
|
return Promise.resolve();
|
@@ -39,7 +39,7 @@ const useNestTable = (props, state, emit) => {
|
|
39
39
|
if (!res || !res.status) {
|
40
40
|
row.expandList = [];
|
41
41
|
row.__emptyItems__ = {
|
42
|
-
noDataTip: ((_b = res == null ? void 0 : res.data) == null ? void 0 : _b.resultMsg) || ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
42
|
+
noDataTip: ((_b = res == null ? void 0 : res.data) == null ? void 0 : _b.resultMsg) || ((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.445")) || ((_e = (_d = window.top) == null ? void 0 : _d.getLanguageByCode) == null ? void 0 : _e.call(_d, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
43
43
|
};
|
44
44
|
return Promise.reject([]);
|
45
45
|
}
|
@@ -48,7 +48,7 @@ const useNestTable = (props, state, emit) => {
|
|
48
48
|
if (!data) {
|
49
49
|
row.expandList = [];
|
50
50
|
row.__emptyItems__ = {
|
51
|
-
noDataTip: ((
|
51
|
+
noDataTip: ((_f = res == null ? void 0 : res.data) == null ? void 0 : _f.resultMsg) || ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.445")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.445")) || "\u6682\u65E0\u6570\u636E"
|
52
52
|
};
|
53
53
|
return Promise.reject([]);
|
54
54
|
}
|
@@ -69,7 +69,7 @@ const useNestTable = (props, state, emit) => {
|
|
69
69
|
console.log(err, "loadExpandMethod---err");
|
70
70
|
row.expandList = [];
|
71
71
|
row.__emptyItems__ = {
|
72
|
-
noDataTip: ((
|
72
|
+
noDataTip: ((_j = err == null ? void 0 : err.data) == null ? void 0 : _j.resultMsg) || "\u8BF7\u6C42\u9519\u8BEF"
|
73
73
|
};
|
74
74
|
return Promise.reject([]);
|
75
75
|
}
|
@@ -4,7 +4,7 @@ import vexutilsExpand from '../../../../shared/utils/vexutilsExpand.js';
|
|
4
4
|
|
5
5
|
const useTableParse = (formatData) => {
|
6
6
|
const parseDurationValue = (v, duration) => {
|
7
|
-
var _a, _b;
|
7
|
+
var _a, _b, _c, _d, _e, _f;
|
8
8
|
if (!v && v !== 0)
|
9
9
|
return;
|
10
10
|
const unitList = {
|
@@ -31,14 +31,14 @@ const useTableParse = (formatData) => {
|
|
31
31
|
const MU = du * 30;
|
32
32
|
if (value < MU) {
|
33
33
|
const v2 = Math.floor(value / hu) % 24;
|
34
|
-
return `${Math.floor(value / du)}\u5929${v2 ? v2 + (((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.350")) || "\u5C0F\u65F6") : ""}`;
|
34
|
+
return `${Math.floor(value / du)}\u5929${v2 ? v2 + (((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.350")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.350")) || "\u5C0F\u65F6") : ""}`;
|
35
35
|
}
|
36
36
|
const yu = du * 365;
|
37
37
|
if (value < yu) {
|
38
38
|
const unit2 = 30;
|
39
39
|
const v1 = Math.floor(value / du / unit2);
|
40
40
|
const v2 = Math.floor((value - v1 * unit2 * du) / du);
|
41
|
-
return `${v1}\u4E2A\u6708${v2 ? v2 + (((
|
41
|
+
return `${v1}\u4E2A\u6708${v2 ? v2 + (((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.144")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.144")) || "\u5929") : ""}`;
|
42
42
|
}
|
43
43
|
return `${Math.floor(value / du / 365)}\u5E74`;
|
44
44
|
};
|
@@ -4,22 +4,22 @@ import { fabric } from '../../../shared/utils/fabricjs/index.js';
|
|
4
4
|
import { frontCanvasParams, palmCanvasParams, backCanvasParams } from './config/index.js';
|
5
5
|
import renderCanvas from './hooks/renderCanvas.js';
|
6
6
|
|
7
|
-
var _a, _b, _c;
|
7
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
8
8
|
const _hoisted_1 = {
|
9
9
|
class: "c-body-select"
|
10
10
|
};
|
11
11
|
const _hoisted_2 = {
|
12
12
|
class: "canvas-module"
|
13
13
|
};
|
14
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.524")) || "\u6B63\u9762", -1);
|
14
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.524")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.524")) || "\u6B63\u9762", -1);
|
15
15
|
const _hoisted_4 = {
|
16
16
|
class: "canvas-module"
|
17
17
|
};
|
18
|
-
const _hoisted_5 = /* @__PURE__ */ createElementVNode("span", null, ((
|
18
|
+
const _hoisted_5 = /* @__PURE__ */ createElementVNode("span", null, ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.525")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.525")) || "\u624B", -1);
|
19
19
|
const _hoisted_6 = {
|
20
20
|
class: "canvas-module"
|
21
21
|
};
|
22
|
-
const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", null, ((
|
22
|
+
const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", null, ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.526")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.526")) || "\u80CC\u9762", -1);
|
23
23
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
24
24
|
__name: "index",
|
25
25
|
props: {
|
@@ -3,7 +3,7 @@ import { InjectionButtonPrintEmits } from './constants/index.js';
|
|
3
3
|
import NewPrintComponent from './components/NewPrintComponent.vue.js';
|
4
4
|
import OldPrintComponent from './components/OldPrintComponent.vue.js';
|
5
5
|
|
6
|
-
var _a, _b, _c, _d, _e, _f;
|
6
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
|
7
7
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
8
8
|
__name: "ButtonPrint",
|
9
9
|
props: {
|
@@ -15,23 +15,23 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
15
|
type: Array
|
16
16
|
},
|
17
17
|
btnText: {
|
18
|
-
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.478")) || "\u6253\u5370",
|
18
|
+
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.478")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.478")) || "\u6253\u5370",
|
19
19
|
type: String
|
20
20
|
},
|
21
21
|
printText: {
|
22
|
-
default: ((
|
22
|
+
default: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.479")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.479")) || "\u76F4\u63A5\u6253\u5370",
|
23
23
|
type: String
|
24
24
|
},
|
25
25
|
previewText: {
|
26
|
-
default: ((
|
26
|
+
default: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.480")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.480")) || "\u6253\u5370\u9884\u89C8",
|
27
27
|
type: String
|
28
28
|
},
|
29
29
|
pdfLoadText: {
|
30
|
-
default: ((
|
30
|
+
default: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.481")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.481")) || "\u4E0B\u8F7Dpdf",
|
31
31
|
type: String
|
32
32
|
},
|
33
33
|
formatEditText: {
|
34
|
-
default: ((
|
34
|
+
default: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.482")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.482")) || "\u683C\u5F0F\u7F16\u8F91",
|
35
35
|
type: String
|
36
36
|
},
|
37
37
|
prevFn: {
|
@@ -55,7 +55,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
55
55
|
type: Function
|
56
56
|
},
|
57
57
|
noDataMsg: {
|
58
|
-
default: ((
|
58
|
+
default: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.483")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.483")) || "\u8BF7\u9009\u4E2D\u9700\u8981\u6253\u5370\u7684\u6570\u636E",
|
59
59
|
type: String
|
60
60
|
},
|
61
61
|
noDefaultFormatMsg: {
|
@@ -144,8 +144,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
144
144
|
}
|
145
145
|
}, {
|
146
146
|
default: withCtx(() => {
|
147
|
-
var _a;
|
148
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.461")) || "\u70B9\u51FB\u6216\u8005\u62D6\u52A8\u6587\u4EF6\u5230\u8BE5\u533A\u57DF\u6765\u4E0A\u4F20")];
|
147
|
+
var _a, _b, _c;
|
148
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.461")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.461")) || "\u70B9\u51FB\u6216\u8005\u62D6\u52A8\u6587\u4EF6\u5230\u8BE5\u533A\u57DF\u6765\u4E0A\u4F20")];
|
149
149
|
}),
|
150
150
|
_: 1
|
151
151
|
}), createVNode(unref(NP), {
|
@@ -156,8 +156,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
156
156
|
}
|
157
157
|
}, {
|
158
158
|
default: withCtx(() => {
|
159
|
-
var _a;
|
160
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.462")) || "\u81F3\u5C11\u5305\u542B\u4E00\u4E2Ajxml\u6587\u4EF6\u548C\u4E00\u4E2Ajasper\u6587\u4EF6")];
|
159
|
+
var _a, _b, _c;
|
160
|
+
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.462")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.462")) || "\u81F3\u5C11\u5305\u542B\u4E00\u4E2Ajxml\u6587\u4EF6\u548C\u4E00\u4E2Ajasper\u6587\u4EF6")];
|
161
161
|
}),
|
162
162
|
_: 1
|
163
163
|
})]),
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, reactive, watch, openBlock, createBlock, unref, n
|
|
2
2
|
import { useMessage, NModal, NForm, NFormItem, NInput, NButton } from 'naive-ui';
|
3
3
|
import EditFormat from './EditFormat.vue.js';
|
4
4
|
|
5
|
-
var _a;
|
5
|
+
var _a, _b, _c;
|
6
6
|
const _hoisted_1 = {
|
7
7
|
class: "content"
|
8
8
|
};
|
@@ -14,7 +14,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
default: () => Promise.resolve()
|
15
15
|
},
|
16
16
|
identityVerificationTitle: {
|
17
|
-
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.471")) || "\u6253\u5370\u670D\u52A1\u8EAB\u4EFD\u6821\u9A8C"
|
17
|
+
default: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.471")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.471")) || "\u6253\u5370\u670D\u52A1\u8EAB\u4EFD\u6821\u9A8C"
|
18
18
|
},
|
19
19
|
modelValue: {
|
20
20
|
type: Boolean
|
@@ -26,7 +26,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
26
26
|
setup(__props, {
|
27
27
|
emit
|
28
28
|
}) {
|
29
|
-
var _a2,
|
29
|
+
var _a2, _b2, _c2, _d, _e, _f;
|
30
30
|
const props = __props;
|
31
31
|
const $message = useMessage();
|
32
32
|
const DEFAULT_FORM = {
|
@@ -42,11 +42,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
42
42
|
const rules = {
|
43
43
|
account: {
|
44
44
|
required: true,
|
45
|
-
message: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.468")) || "\u8BF7\u8F93\u5165\u8D26\u53F7"
|
45
|
+
message: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.468")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.468")) || "\u8BF7\u8F93\u5165\u8D26\u53F7"
|
46
46
|
},
|
47
47
|
password: {
|
48
48
|
required: true,
|
49
|
-
message: ((
|
49
|
+
message: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.469")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.469")) || "\u8BF7\u8F93\u5165\u5BC6\u7801"
|
50
50
|
}
|
51
51
|
};
|
52
52
|
const style = {
|
@@ -86,10 +86,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
86
86
|
});
|
87
87
|
};
|
88
88
|
const submitEditFile = async () => {
|
89
|
-
var _a3,
|
89
|
+
var _a3, _b3;
|
90
90
|
try {
|
91
91
|
loading.value = true;
|
92
|
-
const data = await ((
|
92
|
+
const data = await ((_b3 = editFormRef.value) == null ? void 0 : _b3.submit({
|
93
93
|
authorizationKey: token.value,
|
94
94
|
id: (_a3 = props.formatId) == null ? void 0 : _a3.split("_")[1],
|
95
95
|
templateId: props.templateId,
|
@@ -109,10 +109,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
109
109
|
Object.assign(form, DEFAULT_FORM);
|
110
110
|
});
|
111
111
|
return (_ctx, _cache) => {
|
112
|
-
var _a3,
|
112
|
+
var _a3, _b3, _c3, _d2, _e2, _f2, _g, _h, _i;
|
113
113
|
return openBlock(), createBlock(unref(NModal), {
|
114
114
|
preset: "dialog",
|
115
|
-
title: showEditForm.value ? ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.284")) || "\u7F16\u8F91" : __props.identityVerificationTitle,
|
115
|
+
title: showEditForm.value ? ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.284")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.284")) || "\u7F16\u8F91" : __props.identityVerificationTitle,
|
116
116
|
class: "standard-modal standard-modal-white authentication-modal c-button-print-modal",
|
117
117
|
show: __props.modelValue,
|
118
118
|
"close-on-esc": false,
|
@@ -121,8 +121,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
121
121
|
width: style.width,
|
122
122
|
overflowY: "auto"
|
123
123
|
}),
|
124
|
-
"positive-text": showEditForm.value ? ((
|
125
|
-
"negative-text": showEditForm.value ? ((
|
124
|
+
"positive-text": showEditForm.value ? ((_d2 = window.getLanguageByCode) == null ? void 0 : _d2.call(window, "10010.1.428")) || ((_f2 = (_e2 = window.top) == null ? void 0 : _e2.getLanguageByCode) == null ? void 0 : _f2.call(_e2, "10010.1.428")) || "\u786E\u8BA4" : "",
|
125
|
+
"negative-text": showEditForm.value ? ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.28")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.28")) || "\u53D6\u6D88" : "",
|
126
126
|
onClose: handleClickClose,
|
127
127
|
onNegativeClick: handleClickClose,
|
128
128
|
onPositiveClick: submitEditFile
|
@@ -146,11 +146,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
146
146
|
path: "account"
|
147
147
|
}, {
|
148
148
|
default: withCtx(() => {
|
149
|
-
var _a4;
|
149
|
+
var _a4, _b4, _c4;
|
150
150
|
return [createVNode(unref(NInput), {
|
151
151
|
value: unref(form).account,
|
152
152
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => unref(form).account = $event),
|
153
|
-
placeholder: ((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.468")) || "\u8BF7\u8F93\u5165\u8D26\u53F7",
|
153
|
+
placeholder: ((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.468")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.468")) || "\u8BF7\u8F93\u5165\u8D26\u53F7",
|
154
154
|
onKeyup: withKeys(handleClickSubmit, ["enter"])
|
155
155
|
}, null, 8, ["value", "onKeyup"])];
|
156
156
|
}),
|
@@ -159,7 +159,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
159
159
|
path: "password"
|
160
160
|
}, {
|
161
161
|
default: withCtx(() => {
|
162
|
-
var _a4;
|
162
|
+
var _a4, _b4, _c4;
|
163
163
|
return [createVNode(unref(NInput), {
|
164
164
|
type: "password",
|
165
165
|
"input-props": {
|
@@ -168,7 +168,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
168
168
|
},
|
169
169
|
value: unref(form).password,
|
170
170
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => unref(form).password = $event),
|
171
|
-
placeholder: ((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.469")) || "\u8BF7\u8F93\u5165\u5BC6\u7801",
|
171
|
+
placeholder: ((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.469")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.469")) || "\u8BF7\u8F93\u5165\u5BC6\u7801",
|
172
172
|
onKeyup: withKeys(handleClickSubmit, ["enter"])
|
173
173
|
}, null, 8, ["value", "onKeyup"])];
|
174
174
|
}),
|
@@ -181,8 +181,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
181
181
|
onClick: handleClickSubmit
|
182
182
|
}, {
|
183
183
|
default: withCtx(() => {
|
184
|
-
var _a4;
|
185
|
-
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.470")) || "\u767B\u5F55")];
|
184
|
+
var _a4, _b4, _c4;
|
185
|
+
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.470")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.470")) || "\u767B\u5F55")];
|
186
186
|
}),
|
187
187
|
_: 1
|
188
188
|
}, 8, ["loading"])]),
|