cnhis-design-vue 3.3.2-release.0 → 3.3.2-release.3
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/README.md +87 -87
- package/es/components/audio-sdk/index.d.ts +173 -146
- package/es/components/audio-sdk/src/Index.vue.d.ts +174 -147
- package/es/components/audio-sdk/src/Index.vue2.js +131 -53
- package/es/components/audio-sdk/src/audioSDK.d.ts +29 -26
- package/es/components/audio-sdk/src/audioSDK.js +123 -42
- package/es/components/audio-sdk/src/components/readyCountdown.vue.d.ts +31 -0
- package/es/components/audio-sdk/src/components/readyCountdown.vue.js +6 -0
- package/es/components/audio-sdk/src/components/readyCountdown.vue2.js +46 -0
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +138 -10
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +139 -11
- package/es/components/audio-sdk/src/components/recording.vue2.js +318 -74
- package/es/components/audio-sdk/src/hooks/useChartAudioContext.d.ts +24 -0
- package/es/components/audio-sdk/src/hooks/useChartAudioContext.js +176 -0
- package/es/components/audio-sdk/src/svgs/Close.vue.js +26 -0
- package/es/components/audio-sdk/src/svgs/Continue.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Enlarge.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Pause.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/WaveView.vue.js +20 -0
- package/es/components/audio-sdk/src/svgs/Zoom.vue.js +27 -0
- package/es/components/audio-sdk/src/types/index.d.ts +42 -0
- package/es/components/audio-sdk/src/types/index.js +10 -0
- package/es/components/audio-sdk/src/utils/recordingModal.d.ts +9 -3
- package/es/components/audio-sdk/src/utils/recordingModal.js +57 -32
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/base-search/src/index.vue2.js +30 -18
- package/es/components/big-table/src/BigTable.vue2.js +191 -133
- package/es/components/big-table/src/components/NoData.vue2.js +16 -4
- package/es/components/big-table/src/components/edit-form/edit-date.js +12 -6
- package/es/components/big-table/src/components/edit-form/edit-input.js +8 -2
- package/es/components/big-table/src/components/edit-form/edit-select.js +21 -17
- package/es/components/big-table/src/components/edit-form/edit-time.js +11 -4
- package/es/components/big-table/src/components/input-button.vue2.js +8 -4
- package/es/components/big-table/src/hooks/useNestTable.js +18 -4
- package/es/components/big-table/src/hooks/useTableParse.js +16 -3
- package/es/components/body-select/src/index.vue2.js +24 -4
- package/es/components/button-print/index.d.ts +12 -4
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +12 -4
- package/es/components/button-print/src/ButtonPrint.vue2.js +52 -11
- package/es/components/button-print/src/components/EditFormat.vue2.js +16 -8
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +4 -2
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +104 -49
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +7 -2
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +244 -95
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +5 -2
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +92 -32
- package/es/components/button-print/src/components/Preview.vue.d.ts +5 -2
- package/es/components/button-print/src/components/Preview.vue2.js +14 -4
- package/es/components/button-print/src/utils/dialog.js +26 -8
- package/es/components/button-print/src/utils/print.d.ts +5 -5
- package/es/components/button-print/src/utils/print.js +108 -21
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +8 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +16 -4
- package/es/components/card-reader-sdk-cn/src/henan/index.js +38 -11
- package/es/components/card-render/src/components/index.d.ts +23 -23
- package/es/components/classification/src/components/search-filter/index.vue2.js +24 -10
- package/es/components/classification/src/components/set-classification/index.vue2.js +24 -7
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
- package/es/components/classification/src/components/table-modal/index.vue2.js +324 -165
- package/es/components/classification/src/index.vue2.js +261 -69
- package/es/components/default-page/src/constants/index.js +144 -19
- package/es/components/default-page/src/index.vue2.js +8 -2
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +75 -51
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +46 -38
- package/es/components/expand-field/src/components/PersonModal.vue2.js +62 -50
- package/es/components/expand-field/src/components/form.vue2.js +783 -412
- package/es/components/expand-field/src/index.vue2.js +88 -22
- package/es/components/expand-field/src/utils/constant.js +88 -12
- package/es/components/fabric-chart/src/components/PopupMenu.js +32 -15
- package/es/components/fabric-chart/src/constants/index.js +72 -10
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +18 -4
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +8 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +32 -5
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +8 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +63 -41
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +5 -1
- package/es/components/fabric-chart/src/hooks/useCommon.js +24 -4
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +4 -1
- package/es/components/fabric-chart/src/hooks/useDraw.js +19 -0
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.js +2 -2
- package/es/components/field-editor/src/fields.js +232 -30
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldColor.vue2.js +88 -21
- package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue2.js +210 -57
- package/es/components/field-set/src/Index.vue2.js +40 -6
- package/es/components/field-set/src/TableStyle.vue2.js +48 -13
- package/es/components/field-set/src/components/condition.vue2.js +26 -10
- package/es/components/field-set/src/components/edit-dialog.vue2.js +148 -68
- package/es/components/field-set/src/components/edit-filter.vue2.js +24 -4
- package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
- package/es/components/field-set/src/components/table-row.vue2.js +123 -42
- package/es/components/field-set/src/constants/filter.js +328 -42
- package/es/components/field-set/src/constants/index.js +504 -64
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +91 -46
- package/es/components/form-config/src/constants/index.js +80 -11
- package/es/components/form-config/src/hooks/useLocale.js +240 -31
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +8 -4
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +8 -4
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +8 -2
- package/es/components/form-render/src/components/renderer/input.js +3 -2
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +8 -4
- package/es/components/form-render/src/components/renderer/remoteSearch.js +8 -2
- package/es/components/form-render/src/components/renderer/switch.js +24 -4
- package/es/components/form-render/src/components/renderer/textarea.js +5 -4
- package/es/components/form-render/src/utils/schema.js +26 -6
- package/es/components/iho-chat/src/Index.vue2.js +42 -38
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +108 -33
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +132 -90
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +110 -48
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +40 -20
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +55 -23
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +77 -45
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +256 -208
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +306 -208
- package/es/components/iho-chat/src/components/ContextMenu.js +50 -9
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +16 -4
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +8 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +104 -18
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +67 -12
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +47 -43
- package/es/components/iho-chat/src/components/SiderList.vue2.js +68 -38
- package/es/components/iho-chat/src/components/Video.vue2.js +38 -11
- package/es/components/iho-chat/src/hooks/useVideo.js +15 -4
- package/es/components/iho-chat/src/utils/index.js +79 -14
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +8 -2
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +40 -15
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +40 -15
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +50 -20
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +16 -8
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +10 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +42 -15
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +17 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +18 -12
- package/es/components/index.css +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +144 -25
- package/es/components/keyboard/src/Keyboard.vue2.js +20 -8
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +51 -37
- package/es/components/map/src/Map.vue2.js +8 -4
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +16 -8
- package/es/components/quick-search/src/index.vue2.js +176 -131
- package/es/components/recommend-search/src/components/BaseSearch.js +14 -8
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +28 -8
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +18 -5
- package/es/components/scale-view/src/ScaleView.vue2.js +17 -9
- package/es/components/scale-view/src/components/NoData.vue2.js +16 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +24 -6
- package/es/components/scale-view/src/components/formitem/r-input.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-map.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +24 -6
- package/es/components/scale-view/src/components/formitem/r-select.js +8 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +32 -11
- package/es/components/scale-view/src/components/formitem/standard-modal.js +16 -3
- package/es/components/scale-view/src/hooks/scaleview-computed.js +24 -5
- package/es/components/scale-view/src/hooks/scaleview-methods.js +16 -4
- package/es/components/scale-view/src/hooks/scaleview-submit.js +16 -3
- package/es/components/scale-view/src/hooks/scaleview-validate.js +40 -9
- package/es/components/search-cascader/src/SearchCascader.vue2.js +20 -14
- package/es/components/select-label/src/LabelFormContent.vue2.js +53 -21
- package/es/components/select-label/src/SelectLabel.vue2.js +81 -51
- package/es/components/select-label/src/components/label-classify.vue2.js +28 -11
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +18 -5
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +34 -8
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +18 -5
- package/es/components/select-person/src/SelectPerson.vue2.js +214 -141
- package/es/components/select-person/src/SelectPersonType.vue2.js +127 -102
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +9 -2
- package/es/components/select-person/src/index.vue2.js +20 -7
- package/es/components/slider-tree/src/index.vue2.js +16 -3
- package/es/components/table-export-field/index.d.ts +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +187 -113
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +147 -88
- package/es/components/table-export-field/src/index.vue.d.ts +1 -0
- package/es/components/table-export-field/src/index.vue2.js +28 -12
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +32 -5
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +264 -34
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +214 -135
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +16 -3
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +9 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +39 -6
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +18 -5
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +29 -18
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +16 -3
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +8 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +195 -130
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +26 -7
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +12 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +34 -8
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +21 -8
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +8 -4
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +19 -6
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +16 -3
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +24 -10
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1648 -207
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +8 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +16 -3
- package/es/components/table-filter/src/tool/baseOptions.js +144 -19
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +32 -16
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +22 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +8 -4
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +16 -8
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/hooks/selectHooks/useSelectAllowModify.js +2 -2
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
- package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -6
- package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -40
- package/es/components/audio-sdk/src/utils/recorder/fft.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/mp3-engine.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/mp3.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/recorder.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/recorder/wave.d.ts +0 -4
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -7,7 +7,6 @@ import { useDisplayCategory } from '../classify-filter/hooks/useDisplayCategory.
|
|
7
7
|
import { useBiConditions } from './hooks/useBiConditions.js';
|
8
8
|
import { InjectionClassifyFilterList } from '../../constants/index.js';
|
9
9
|
|
10
|
-
var _a, _b;
|
11
10
|
const _hoisted_1 = {
|
12
11
|
class: "searchConditionByApi_wrapper"
|
13
12
|
};
|
@@ -40,7 +39,14 @@ const _hoisted_10 = {
|
|
40
39
|
const _hoisted_11 = /* @__PURE__ */ createElementVNode("span", {
|
41
40
|
class: "label"
|
42
41
|
}, " \u8FC7\u6EE4\u6761\u4EF6\uFF1A ", -1);
|
43
|
-
const _hoisted_12 = /* @__PURE__ */ createElementVNode("span", null, (
|
42
|
+
const _hoisted_12 = /* @__PURE__ */ createElementVNode("span", null, function() {
|
43
|
+
var _a, _b, _c;
|
44
|
+
try {
|
45
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.86")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.86")) || "\u6DFB\u52A0";
|
46
|
+
} catch (e) {
|
47
|
+
return "\u6DFB\u52A0";
|
48
|
+
}
|
49
|
+
}(), -1);
|
44
50
|
const _hoisted_13 = {
|
45
51
|
class: "select-item-list"
|
46
52
|
};
|
@@ -51,7 +57,14 @@ const _hoisted_15 = ["onClick"];
|
|
51
57
|
const _hoisted_16 = {
|
52
58
|
class: "filter-expression"
|
53
59
|
};
|
54
|
-
const _hoisted_17 = /* @__PURE__ */ createElementVNode("span", null, (
|
60
|
+
const _hoisted_17 = /* @__PURE__ */ createElementVNode("span", null, function() {
|
61
|
+
var _a, _b, _c;
|
62
|
+
try {
|
63
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.272")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.272")) || "\u7B5B\u9009\u5668\u903B\u8F91\u7F16\u8F91\uFF0C\u4E0D\u8BBE\u7F6E\u9ED8\u8BA4\u4E3AAND";
|
64
|
+
} catch (e) {
|
65
|
+
return "\u7B5B\u9009\u5668\u903B\u8F91\u7F16\u8F91\uFF0C\u4E0D\u8BBE\u7F6E\u9ED8\u8BA4\u4E3AAND";
|
66
|
+
}
|
67
|
+
}(), -1);
|
55
68
|
const _hoisted_18 = /* @__PURE__ */ createElementVNode("span", null, "\u4F8B\u5B50 (1 AND 2) OR 3", -1);
|
56
69
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
57
70
|
__name: "index",
|
@@ -160,14 +173,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
160
173
|
FormState.filterConditions = [];
|
161
174
|
}
|
162
175
|
async function handleInitConditions() {
|
163
|
-
var
|
176
|
+
var _a;
|
164
177
|
try {
|
165
178
|
clearFormData();
|
166
179
|
loading.value = true;
|
167
180
|
initDisplayCategories($attrs.displayCategoryList, props.actionList_prop.displayCategory || void 0);
|
168
181
|
if (props.actionList_prop) {
|
169
182
|
FormState.className = props.actionList_prop.name;
|
170
|
-
await initFilterConditions(props.tableId, (
|
183
|
+
await initFilterConditions(props.tableId, (_a = props.actionList_prop.conObj) != null ? _a : []);
|
171
184
|
const isAdd = FormState.filterConditions.length < 1;
|
172
185
|
if (isAdd && paramOptions.value && paramOptions.value.length > 0) {
|
173
186
|
addFilterCondition();
|
@@ -179,13 +192,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
179
192
|
}
|
180
193
|
function validate() {
|
181
194
|
return new Promise((resolve) => {
|
182
|
-
var _a2, _b2, _c;
|
183
195
|
if (!FormState.className && props.showItemName) {
|
184
|
-
$message.warning((
|
196
|
+
$message.warning(function() {
|
197
|
+
var _a, _b, _c;
|
198
|
+
try {
|
199
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.360")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.360")) || "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0";
|
200
|
+
} catch (e) {
|
201
|
+
return "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0";
|
202
|
+
}
|
203
|
+
}());
|
185
204
|
return;
|
186
205
|
}
|
187
206
|
if (FormState.filterConditions.length === 0) {
|
188
|
-
$message.warning((
|
207
|
+
$message.warning(function() {
|
208
|
+
var _a, _b, _c;
|
209
|
+
try {
|
210
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.364")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.364")) || "\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u6761\u4EF6";
|
211
|
+
} catch (e) {
|
212
|
+
return "\u8BF7\u81F3\u5C11\u6DFB\u52A0\u4E00\u4E2A\u6761\u4EF6";
|
213
|
+
}
|
214
|
+
}());
|
189
215
|
return;
|
190
216
|
}
|
191
217
|
const isEmpty = FormState.filterConditions.some(({
|
@@ -198,7 +224,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
198
224
|
return !fieldId || !con || isShowValueCfg(con) && !value && !values.length;
|
199
225
|
});
|
200
226
|
if (isEmpty) {
|
201
|
-
$message.warning((
|
227
|
+
$message.warning(function() {
|
228
|
+
var _a, _b, _c;
|
229
|
+
try {
|
230
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.365")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.365")) || "\u8BF7\u8865\u5145\u5B8C\u6574\u6761\u4EF6\u5185\u5BB9";
|
231
|
+
} catch (e) {
|
232
|
+
return "\u8BF7\u8865\u5145\u5B8C\u6574\u6761\u4EF6\u5185\u5BB9";
|
233
|
+
}
|
234
|
+
}());
|
202
235
|
return;
|
203
236
|
}
|
204
237
|
resolve(true);
|
@@ -244,138 +277,184 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
244
277
|
return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(NSpin), {
|
245
278
|
show: loading.value
|
246
279
|
}, {
|
247
|
-
default: withCtx(() => {
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
}
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
onBlur: () => item.disabled = true,
|
284
|
-
value: item.value,
|
285
|
-
"onUpdate:value": ($event) => item.value = $event,
|
286
|
-
maxlength: 20
|
287
|
-
}, null, 8, ["disabled", "onBlur", "value", "onUpdate:value"]))], 8, _hoisted_7);
|
288
|
-
}), 128)), unref(isEnableAddDisplayCategory) ? (openBlock(), createElementBlock(Fragment, {
|
289
|
-
key: 0
|
290
|
-
}, [withDirectives(createVNode(unref(NButton), {
|
291
|
-
class: "ant-btn",
|
292
|
-
icon: "plus",
|
293
|
-
dashed: "",
|
294
|
-
onClick: handleDisplayCategoryAddState
|
295
|
-
}, {
|
296
|
-
default: withCtx(() => {
|
297
|
-
var _a3;
|
298
|
-
return [createVNode(unref(NIcon), {
|
299
|
-
component: unref(AddOutline),
|
300
|
-
size: "20"
|
301
|
-
}, null, 8, ["component"]), createTextVNode(" " + toDisplayString(((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.362")) || "\u6DFB\u52A0\u7236\u7C7B"))];
|
302
|
-
}),
|
303
|
-
_: 1
|
304
|
-
}, 512), [[vShow, !unref(DisplayCategoryState).showAdd]]), withDirectives(createVNode(unref(NInput), {
|
305
|
-
ref_key: "parentInputAddRef",
|
306
|
-
ref: parentInputAddRef,
|
280
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_2, [__props.showItemName ? (openBlock(), createElementBlock("div", _hoisted_3, [_hoisted_4, createVNode(unref(NInput), {
|
281
|
+
value: FormState.className,
|
282
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => FormState.className = $event),
|
283
|
+
placeholder: function() {
|
284
|
+
var _a, _b, _c;
|
285
|
+
try {
|
286
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.360")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.360")) || "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0";
|
287
|
+
} catch (e) {
|
288
|
+
return "\u8BF7\u8F93\u5165\u5206\u7C7B\u540D\u79F0";
|
289
|
+
}
|
290
|
+
}(),
|
291
|
+
style: {
|
292
|
+
"width": "250px"
|
293
|
+
},
|
294
|
+
maxlength: "10"
|
295
|
+
}, null, 8, ["value"])])) : createCommentVNode("v-if", true), __props.showItemName ? (openBlock(), createElementBlock("div", _hoisted_5, [_hoisted_6, (openBlock(true), createElementBlock(Fragment, null, renderList(unref(DisplayCategoryState).displayCategories, (item, index) => {
|
296
|
+
return openBlock(), createElementBlock("div", {
|
297
|
+
class: "parent-name",
|
298
|
+
key: index,
|
299
|
+
onClick: ($event) => handleDisplayCategorySelectProxy(item)
|
300
|
+
}, [item.disabled ? (openBlock(), createElementBlock("div", {
|
301
|
+
key: 0,
|
302
|
+
class: normalizeClass(["edit-tag", {
|
303
|
+
"edit-tag-select": item.value === FormState.displayCategory && item.disabled
|
304
|
+
}]),
|
305
|
+
onDblclick: ($event) => handleEditDisplayCategory(item)
|
306
|
+
}, [createElementVNode("div", _hoisted_9, toDisplayString(item.value), 1), createVNode(unref(NIcon), {
|
307
|
+
component: unref(CloseOutline),
|
308
|
+
class: "anticon-close",
|
309
|
+
size: "20",
|
310
|
+
onClick: ($event) => unref(handleDisplayCategoryRemove)(index, item)
|
311
|
+
}, null, 8, ["component", "onClick"])], 42, _hoisted_8)) : (openBlock(), createBlock(unref(NInput), {
|
312
|
+
key: 1,
|
313
|
+
ref_for: true,
|
314
|
+
ref_key: "parentInputRef",
|
315
|
+
ref: parentInputRef,
|
307
316
|
class: "parent-input",
|
308
|
-
value: unref(DisplayCategoryState).addDisplayCategory,
|
309
|
-
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => unref(DisplayCategoryState).addDisplayCategory = $event),
|
310
|
-
valueModifiers: {
|
311
|
-
trim: true
|
312
|
-
},
|
313
317
|
style: {
|
314
318
|
"width": "100px"
|
315
319
|
},
|
316
|
-
|
320
|
+
disabled: item.disabled,
|
321
|
+
onBlur: () => item.disabled = true,
|
322
|
+
value: item.value,
|
323
|
+
"onUpdate:value": ($event) => item.value = $event,
|
317
324
|
maxlength: 20
|
318
|
-
}, null, 8, ["
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
325
|
+
}, null, 8, ["disabled", "onBlur", "value", "onUpdate:value"]))], 8, _hoisted_7);
|
326
|
+
}), 128)), unref(isEnableAddDisplayCategory) ? (openBlock(), createElementBlock(Fragment, {
|
327
|
+
key: 0
|
328
|
+
}, [withDirectives(createVNode(unref(NButton), {
|
329
|
+
class: "ant-btn",
|
330
|
+
icon: "plus",
|
331
|
+
dashed: "",
|
332
|
+
onClick: handleDisplayCategoryAddState
|
333
|
+
}, {
|
334
|
+
default: withCtx(() => [createVNode(unref(NIcon), {
|
335
|
+
component: unref(AddOutline),
|
336
|
+
size: "20"
|
337
|
+
}, null, 8, ["component"]), createTextVNode(" " + toDisplayString(function() {
|
338
|
+
var _a, _b, _c;
|
339
|
+
try {
|
340
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.362")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.362")) || "\u6DFB\u52A0\u7236\u7C7B";
|
341
|
+
} catch (e) {
|
342
|
+
return "\u6DFB\u52A0\u7236\u7C7B";
|
343
|
+
}
|
344
|
+
}()))]),
|
345
|
+
_: 1
|
346
|
+
}, 512), [[vShow, !unref(DisplayCategoryState).showAdd]]), withDirectives(createVNode(unref(NInput), {
|
347
|
+
ref_key: "parentInputAddRef",
|
348
|
+
ref: parentInputAddRef,
|
349
|
+
class: "parent-input",
|
350
|
+
value: unref(DisplayCategoryState).addDisplayCategory,
|
351
|
+
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => unref(DisplayCategoryState).addDisplayCategory = $event),
|
352
|
+
valueModifiers: {
|
353
|
+
trim: true
|
354
|
+
},
|
355
|
+
style: {
|
356
|
+
"width": "100px"
|
357
|
+
},
|
358
|
+
onBlur: unref(handlerBlur),
|
359
|
+
maxlength: 20
|
360
|
+
}, null, 8, ["value", "onBlur"]), [[vShow, unref(DisplayCategoryState).showAdd]])], 64)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), !__props.hideAddBtn ? (openBlock(), createElementBlock("div", _hoisted_10, [_hoisted_11, createElementVNode("span", {
|
361
|
+
class: "addAction",
|
362
|
+
onClick: _cache[2] || (_cache[2] = (...args) => unref(addFilterCondition) && unref(addFilterCondition)(...args)),
|
363
|
+
style: {
|
364
|
+
"cursor": "pointer"
|
365
|
+
}
|
366
|
+
}, [createVNode(unref(NIcon), {
|
367
|
+
component: unref(AddCircleSharp),
|
368
|
+
class: "blue",
|
369
|
+
size: "18"
|
370
|
+
}, null, 8, ["component"]), _hoisted_12])])) : createCommentVNode("v-if", true), createElementVNode("ul", _hoisted_13, [(openBlock(true), createElementBlock(Fragment, null, renderList(FormState.filterConditions, (item, index) => {
|
371
|
+
return openBlock(), createElementBlock("li", {
|
372
|
+
key: index
|
373
|
+
}, [createElementVNode("span", _hoisted_14, toDisplayString(index + 1), 1), createCommentVNode(" \u9009\u62E9 field_key "), createVNode(unref(NSelect), {
|
374
|
+
class: "form-item",
|
375
|
+
placeholder: function() {
|
376
|
+
var _a, _b, _c;
|
377
|
+
try {
|
378
|
+
return ((_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";
|
379
|
+
} catch (e) {
|
380
|
+
return "\u8BF7\u9009\u62E9";
|
381
|
+
}
|
382
|
+
}(),
|
383
|
+
value: item.fieldId,
|
384
|
+
"menu-props": menuProps,
|
385
|
+
to: "body",
|
386
|
+
filterable: "",
|
387
|
+
options: unref(paramOptions),
|
388
|
+
"onUpdate:value": ($event) => unref(updateKey)(index, $event)
|
389
|
+
}, null, 8, ["value", "options", "onUpdate:value"]), createCommentVNode(" \u9009\u62E9 \u5173\u7CFB "), item.fieldId ? (openBlock(), createBlock(unref(NSelect), {
|
390
|
+
key: 0,
|
391
|
+
class: "form-item",
|
392
|
+
placeholder: function() {
|
393
|
+
var _a, _b, _c;
|
394
|
+
try {
|
395
|
+
return ((_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";
|
396
|
+
} catch (e) {
|
397
|
+
return "\u8BF7\u9009\u62E9";
|
398
|
+
}
|
399
|
+
}(),
|
400
|
+
value: item.con,
|
401
|
+
to: "body",
|
402
|
+
filterable: "",
|
403
|
+
options: item.biTypeOptions,
|
404
|
+
"onUpdate:value": ($event) => unref(updateCondition)(index, $event)
|
405
|
+
}, null, 8, ["value", "options", "onUpdate:value"])) : createCommentVNode("v-if", true), createCommentVNode(function() {
|
406
|
+
var _a, _b, _c;
|
407
|
+
try {
|
408
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.376")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.376")) || "\u81EA\u5B9A\u4E49";
|
409
|
+
} catch (e) {
|
410
|
+
return "\u81EA\u5B9A\u4E49";
|
411
|
+
}
|
412
|
+
}()), item.fieldId && item.con && isShowValueCfg(item.con) ? (openBlock(), createBlock(ValueCfg, {
|
413
|
+
key: 1,
|
414
|
+
modelValue: item.value,
|
415
|
+
"onUpdate:modelValue": ($event) => item.value = $event,
|
416
|
+
modelValues: item.values,
|
417
|
+
"onUpdate:modelValues": ($event) => item.values = $event,
|
418
|
+
"param-cfg": unref(getParamCfg)(item.fieldId)
|
419
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "modelValues", "onUpdate:modelValues", "param-cfg"])) : createCommentVNode("v-if", true), createVNode(unref(NTooltip), {
|
420
|
+
title: function() {
|
421
|
+
var _a, _b, _c;
|
422
|
+
try {
|
423
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.215")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.215")) || "\u5220\u9664";
|
424
|
+
} catch (e) {
|
425
|
+
return "\u5220\u9664";
|
426
|
+
}
|
427
|
+
}(),
|
428
|
+
trigger: "hover"
|
429
|
+
}, {
|
430
|
+
trigger: withCtx(() => [createElementVNode("i", {
|
431
|
+
onClick: ($event) => unref(delFilterCondition)(index),
|
432
|
+
class: "iconfont-table-filter delete-item-icon icon-table-filter-menzhenyishengzhananniuqingchu"
|
433
|
+
}, null, 8, _hoisted_15)]),
|
434
|
+
default: withCtx(() => [createTextVNode(function() {
|
435
|
+
var _a, _b, _c;
|
436
|
+
try {
|
437
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.215")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.215")) || "\u5220\u9664";
|
438
|
+
} catch (e) {
|
439
|
+
return "\u5220\u9664";
|
440
|
+
}
|
441
|
+
}())]),
|
442
|
+
_: 2
|
443
|
+
}, 1024)]);
|
444
|
+
}), 128))]), createElementVNode("div", _hoisted_16, [_hoisted_17, _hoisted_18, createVNode(unref(NInput), {
|
445
|
+
class: "textarea",
|
446
|
+
value: sqlExpression.value,
|
447
|
+
"onUpdate:value": _cache[3] || (_cache[3] = ($event) => sqlExpression.value = $event),
|
448
|
+
type: "textarea",
|
449
|
+
placeholder: function() {
|
450
|
+
var _a, _b, _c;
|
451
|
+
try {
|
452
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.363")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.363")) || "\u8BF7\u8F93\u5165\u8868\u8FBE\u5F0F";
|
453
|
+
} catch (e) {
|
454
|
+
return "\u8BF7\u8F93\u5165\u8868\u8FBE\u5F0F";
|
323
455
|
}
|
324
|
-
}
|
325
|
-
|
326
|
-
class: "blue",
|
327
|
-
size: "18"
|
328
|
-
}, null, 8, ["component"]), _hoisted_12])])) : createCommentVNode("v-if", true), createElementVNode("ul", _hoisted_13, [(openBlock(true), createElementBlock(Fragment, null, renderList(FormState.filterConditions, (item, index) => {
|
329
|
-
var _a3, _b3, _c, _d;
|
330
|
-
return openBlock(), createElementBlock("li", {
|
331
|
-
key: index
|
332
|
-
}, [createElementVNode("span", _hoisted_14, toDisplayString(index + 1), 1), createCommentVNode(" \u9009\u62E9 field_key "), createVNode(unref(NSelect), {
|
333
|
-
class: "form-item",
|
334
|
-
placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
335
|
-
value: item.fieldId,
|
336
|
-
"menu-props": menuProps,
|
337
|
-
to: "body",
|
338
|
-
filterable: "",
|
339
|
-
options: unref(paramOptions),
|
340
|
-
"onUpdate:value": ($event) => unref(updateKey)(index, $event)
|
341
|
-
}, null, 8, ["value", "options", "onUpdate:value"]), createCommentVNode(" \u9009\u62E9 \u5173\u7CFB "), item.fieldId ? (openBlock(), createBlock(unref(NSelect), {
|
342
|
-
key: 0,
|
343
|
-
class: "form-item",
|
344
|
-
placeholder: ((_b3 = window.getLanguageByCode) == null ? void 0 : _b3.call(window, "10010.1.147")) || "\u8BF7\u9009\u62E9",
|
345
|
-
value: item.con,
|
346
|
-
to: "body",
|
347
|
-
filterable: "",
|
348
|
-
options: item.biTypeOptions,
|
349
|
-
"onUpdate:value": ($event) => unref(updateCondition)(index, $event)
|
350
|
-
}, null, 8, ["value", "options", "onUpdate:value"])) : createCommentVNode("v-if", true), createCommentVNode(((_c = window.getLanguageByCode) == null ? void 0 : _c.call(window, "10010.1.376")) || "\u81EA\u5B9A\u4E49"), item.fieldId && item.con && isShowValueCfg(item.con) ? (openBlock(), createBlock(ValueCfg, {
|
351
|
-
key: 1,
|
352
|
-
modelValue: item.value,
|
353
|
-
"onUpdate:modelValue": ($event) => item.value = $event,
|
354
|
-
modelValues: item.values,
|
355
|
-
"onUpdate:modelValues": ($event) => item.values = $event,
|
356
|
-
"param-cfg": unref(getParamCfg)(item.fieldId)
|
357
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "modelValues", "onUpdate:modelValues", "param-cfg"])) : createCommentVNode("v-if", true), createVNode(unref(NTooltip), {
|
358
|
-
title: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.215")) || "\u5220\u9664",
|
359
|
-
trigger: "hover"
|
360
|
-
}, {
|
361
|
-
trigger: withCtx(() => [createElementVNode("i", {
|
362
|
-
onClick: ($event) => unref(delFilterCondition)(index),
|
363
|
-
class: "iconfont-table-filter delete-item-icon icon-table-filter-menzhenyishengzhananniuqingchu"
|
364
|
-
}, null, 8, _hoisted_15)]),
|
365
|
-
default: withCtx(() => {
|
366
|
-
var _a4;
|
367
|
-
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.215")) || "\u5220\u9664")];
|
368
|
-
}),
|
369
|
-
_: 2
|
370
|
-
}, 1024)]);
|
371
|
-
}), 128))]), createElementVNode("div", _hoisted_16, [_hoisted_17, _hoisted_18, createVNode(unref(NInput), {
|
372
|
-
class: "textarea",
|
373
|
-
value: sqlExpression.value,
|
374
|
-
"onUpdate:value": _cache[3] || (_cache[3] = ($event) => sqlExpression.value = $event),
|
375
|
-
type: "textarea",
|
376
|
-
placeholder: ((_b2 = window.getLanguageByCode) == null ? void 0 : _b2.call(window, "10010.1.363")) || "\u8BF7\u8F93\u5165\u8868\u8FBE\u5F0F"
|
377
|
-
}, null, 8, ["value"])])])];
|
378
|
-
}),
|
456
|
+
}()
|
457
|
+
}, null, 8, ["value"])])])]),
|
379
458
|
_: 1
|
380
459
|
}, 8, ["show"])]);
|
381
460
|
};
|
@@ -58,13 +58,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
58
|
return (_a = props.paramCfg) == null ? void 0 : _a.type;
|
59
59
|
});
|
60
60
|
return (_ctx, _cache) => {
|
61
|
-
|
62
|
-
|
61
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [createCommentVNode(function() {
|
62
|
+
var _a, _b, _c;
|
63
|
+
try {
|
64
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.292")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.292")) || "\u6570\u5B57\u6846";
|
65
|
+
} catch (e) {
|
66
|
+
return "\u6570\u5B57\u6846";
|
67
|
+
}
|
68
|
+
}()), unref(widgetType) === unref(WidgetTypeEnums).INPUT_NUMBER ? (openBlock(), createBlock(unref(InputNumber), {
|
63
69
|
key: 0,
|
64
70
|
paramCfg: __props.paramCfg,
|
65
71
|
modelValue: unref(valueCp),
|
66
72
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(valueCp) ? valueCp.value = $event : null)
|
67
|
-
}, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode((
|
73
|
+
}, null, 8, ["paramCfg", "modelValue"])) : createCommentVNode("v-if", true), createCommentVNode(function() {
|
74
|
+
var _a, _b, _c;
|
75
|
+
try {
|
76
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.293")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.293")) || "\u6587\u672C\u6846";
|
77
|
+
} catch (e) {
|
78
|
+
return "\u6587\u672C\u6846";
|
79
|
+
}
|
80
|
+
}()), unref(widgetType) === unref(WidgetTypeEnums).INPUT ? (openBlock(), createBlock(unref(InputFilter), {
|
68
81
|
key: 1,
|
69
82
|
paramCfg: __props.paramCfg,
|
70
83
|
modelValue: unref(valueCp),
|
@@ -72,7 +72,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
72
72
|
return (_b = (_a = props.paramCfg) == null ? void 0 : _a._rawData) == null ? void 0 : _b.optionType;
|
73
73
|
});
|
74
74
|
const widgetOptions = computed(() => {
|
75
|
-
var _a
|
75
|
+
var _a;
|
76
76
|
const optSetting = optionSetting.value || WidgetOptionEnums.ALL;
|
77
77
|
if (compType.value && optSetting) {
|
78
78
|
const typeStr = `${compType.value}_${optSetting}`;
|
@@ -85,7 +85,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
85
85
|
};
|
86
86
|
});
|
87
87
|
options.unshift({
|
88
|
-
label: (
|
88
|
+
label: function() {
|
89
|
+
var _a2, _b, _c;
|
90
|
+
try {
|
91
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
92
|
+
} catch (e) {
|
93
|
+
return "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
94
|
+
}
|
95
|
+
}(),
|
89
96
|
value: WidgetValEnums.CUSTOM
|
90
97
|
});
|
91
98
|
return options;
|
package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js
CHANGED
@@ -80,12 +80,38 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
80
80
|
const isPastTime = computed(() => optionSetting.value === WidgetOptionEnums.PAST_TIME);
|
81
81
|
const isFutureTime = computed(() => optionSetting.value === WidgetOptionEnums.FUTURE_TIME);
|
82
82
|
const startPlaceholder = computed(() => {
|
83
|
-
|
84
|
-
|
83
|
+
return compType.value === WidgetTypeEnums.DATE ? function() {
|
84
|
+
var _a, _b, _c;
|
85
|
+
try {
|
86
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.366")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.366")) || "\u521D\u59CB\u65E5\u671F";
|
87
|
+
} catch (e) {
|
88
|
+
return "\u521D\u59CB\u65E5\u671F";
|
89
|
+
}
|
90
|
+
}() : function() {
|
91
|
+
var _a, _b, _c;
|
92
|
+
try {
|
93
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.367")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.367")) || "\u521D\u59CB\u65F6\u95F4";
|
94
|
+
} catch (e) {
|
95
|
+
return "\u521D\u59CB\u65F6\u95F4";
|
96
|
+
}
|
97
|
+
}();
|
85
98
|
});
|
86
99
|
const endPlaceholder = computed(() => {
|
87
|
-
|
88
|
-
|
100
|
+
return compType.value === WidgetTypeEnums.DATE ? function() {
|
101
|
+
var _a, _b, _c;
|
102
|
+
try {
|
103
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.368")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.368")) || "\u622A\u6B62\u65E5\u671F";
|
104
|
+
} catch (e) {
|
105
|
+
return "\u622A\u6B62\u65E5\u671F";
|
106
|
+
}
|
107
|
+
}() : function() {
|
108
|
+
var _a, _b, _c;
|
109
|
+
try {
|
110
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.369")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.369")) || "\u622A\u6B62\u65F6\u95F4";
|
111
|
+
} catch (e) {
|
112
|
+
return "\u622A\u6B62\u65F6\u95F4";
|
113
|
+
}
|
114
|
+
}();
|
89
115
|
});
|
90
116
|
const startDefault = computed(() => {
|
91
117
|
if (isFutureTime.value)
|
@@ -107,7 +133,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
107
133
|
return compType.value.toLowerCase() || WidgetTypeEnums.DATE.toLowerCase();
|
108
134
|
});
|
109
135
|
const widgetOptions = computed(() => {
|
110
|
-
var _a
|
136
|
+
var _a;
|
111
137
|
const optSetting = optionSetting.value || WidgetOptionEnums.ALL;
|
112
138
|
if (compType.value && optSetting) {
|
113
139
|
const typeStr = `${compType.value}_${optSetting}_RANGE`;
|
@@ -120,7 +146,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
120
146
|
};
|
121
147
|
});
|
122
148
|
options.unshift({
|
123
|
-
label: (
|
149
|
+
label: function() {
|
150
|
+
var _a2, _b, _c;
|
151
|
+
try {
|
152
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.345")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.345")) || "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
153
|
+
} catch (e) {
|
154
|
+
return "\u81EA\u5B9A\u4E49\u8F93\u5165";
|
155
|
+
}
|
156
|
+
}(),
|
124
157
|
value: WidgetValEnums.CUSTOM
|
125
158
|
});
|
126
159
|
return options;
|
package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js
CHANGED
@@ -26,13 +26,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
26
26
|
setup(__props, {
|
27
27
|
emit
|
28
28
|
}) {
|
29
|
-
var _a, _b;
|
30
29
|
const props = __props;
|
31
30
|
const optionList = ref([{
|
32
|
-
label: (
|
31
|
+
label: function() {
|
32
|
+
var _a, _b, _c;
|
33
|
+
try {
|
34
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.370")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.370")) || "\u7CBE\u786E\u67E5\u8BE2";
|
35
|
+
} catch (e) {
|
36
|
+
return "\u7CBE\u786E\u67E5\u8BE2";
|
37
|
+
}
|
38
|
+
}(),
|
33
39
|
value: 1
|
34
40
|
}, {
|
35
|
-
label: (
|
41
|
+
label: function() {
|
42
|
+
var _a, _b, _c;
|
43
|
+
try {
|
44
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.371")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.371")) || "\u6A21\u7CCA\u67E5\u8BE2";
|
45
|
+
} catch (e) {
|
46
|
+
return "\u6A21\u7CCA\u67E5\u8BE2";
|
47
|
+
}
|
48
|
+
}(),
|
36
49
|
value: 0
|
37
50
|
}]);
|
38
51
|
const valueCp = computed({
|
@@ -52,8 +65,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
52
65
|
}
|
53
66
|
});
|
54
67
|
const isShowSearch = computed(() => {
|
55
|
-
var
|
56
|
-
return ((
|
68
|
+
var _a, _b, _c;
|
69
|
+
return ((_a = props.paramCfg._rawData) == null ? void 0 : _a.filterExplicit) && ((_c = (_b = props.paramCfg._rawData) == null ? void 0 : _b.accurateSearch) == null ? void 0 : _c.switchEnable);
|
57
70
|
});
|
58
71
|
return (_ctx, _cache) => {
|
59
72
|
return openBlock(), createElementBlock("div", _hoisted_1, [unref(isShowSearch) ? (openBlock(), createBlock(unref(NSelect), {
|
@@ -57,24 +57,35 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
57
57
|
return openBlock(), createBlock(unref(NInputGroup), {
|
58
58
|
class: "render-widget-input-number-group"
|
59
59
|
}, {
|
60
|
-
default: withCtx(() => {
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
60
|
+
default: withCtx(() => [createVNode(unref(NInputNumber), {
|
61
|
+
style: {
|
62
|
+
"width": "106px"
|
63
|
+
},
|
64
|
+
placeholder: function() {
|
65
|
+
var _a, _b, _c;
|
66
|
+
try {
|
67
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.372")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.372")) || "\u6700\u5C0F\u503C";
|
68
|
+
} catch (e) {
|
69
|
+
return "\u6700\u5C0F\u503C";
|
70
|
+
}
|
71
|
+
}(),
|
72
|
+
value: startNumber.value,
|
73
|
+
"onUpdate:value": _cache[0] || (_cache[0] = (e) => handleChange(e, "startNumber"))
|
74
|
+
}, null, 8, ["value"]), _hoisted_1, createVNode(unref(NInputNumber), {
|
75
|
+
style: {
|
76
|
+
"width": "106px"
|
77
|
+
},
|
78
|
+
placeholder: function() {
|
79
|
+
var _a, _b, _c;
|
80
|
+
try {
|
81
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.373")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.373")) || "\u6700\u5927\u503C";
|
82
|
+
} catch (e) {
|
83
|
+
return "\u6700\u5927\u503C";
|
84
|
+
}
|
85
|
+
}(),
|
86
|
+
value: endNumber.value,
|
87
|
+
"onUpdate:value": _cache[1] || (_cache[1] = (e) => handleChange(e, "endNumber"))
|
88
|
+
}, null, 8, ["value"])]),
|
78
89
|
_: 1
|
79
90
|
});
|
80
91
|
};
|