cnhis-design-vue 3.3.2-release.0 → 3.3.2-release.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/audio-sdk/index.d.ts +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.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 +2 -2
- package/es/components/field-set/src/FieldColor.vue2.js +88 -21
- package/es/components/field-set/src/FieldFilter.vue.d.ts +2 -2
- package/es/components/field-set/src/FieldFilter.vue2.js +32 -16
- package/es/components/field-set/src/FieldSet.vue.d.ts +2 -2
- 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 +2 -2
- 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 +66 -11
- 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/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 +16 -8
- 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/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,14 +7,20 @@ import { isDisable, setStyle, isDraggableItem, isDraggable, getGroupTree } from
|
|
7
7
|
import { uuidGenerator } from '../../../shared/utils/index.js';
|
8
8
|
import { HelpCircleSharp } from '@vicons/ionicons5';
|
9
9
|
|
10
|
-
var _a;
|
11
10
|
const _hoisted_1 = {
|
12
11
|
class: "main-wrapper"
|
13
12
|
};
|
14
13
|
const _hoisted_2 = {
|
15
14
|
class: "main-wrapper__table-header"
|
16
15
|
};
|
17
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, (
|
16
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, function() {
|
17
|
+
var _a, _b, _c;
|
18
|
+
try {
|
19
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.246")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.246")) || "\u6570\u503C\u8D8A\u5C0F\uFF0C\u4F18\u5148\u7EA7\u8D8A\u9AD8";
|
20
|
+
} catch (e) {
|
21
|
+
return "\u6570\u503C\u8D8A\u5C0F\uFF0C\u4F18\u5148\u7EA7\u8D8A\u9AD8";
|
22
|
+
}
|
23
|
+
}(), -1);
|
18
24
|
const _hoisted_4 = ["tabindex"];
|
19
25
|
const _hoisted_5 = {
|
20
26
|
key: 1,
|
@@ -102,7 +108,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
102
108
|
expose,
|
103
109
|
emit
|
104
110
|
}) {
|
105
|
-
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
|
106
111
|
const props = __props;
|
107
112
|
const fieldsMapping = {
|
108
113
|
sid: "id",
|
@@ -118,93 +123,205 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
118
123
|
const tableRef = ref();
|
119
124
|
const newFields = ref([]);
|
120
125
|
const defaultColumns = [{
|
121
|
-
title: (
|
126
|
+
title: function() {
|
127
|
+
var _a, _b, _c;
|
128
|
+
try {
|
129
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.247")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.247")) || "\u6240\u6709\u5B57\u6BB5";
|
130
|
+
} catch (e) {
|
131
|
+
return "\u6240\u6709\u5B57\u6BB5";
|
132
|
+
}
|
133
|
+
}(),
|
122
134
|
type: "text",
|
123
135
|
field: "title"
|
124
136
|
}, {
|
125
|
-
title: (
|
137
|
+
title: function() {
|
138
|
+
var _a, _b, _c;
|
139
|
+
try {
|
140
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.240")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.240")) || "\u663E\u793A";
|
141
|
+
} catch (e) {
|
142
|
+
return "\u663E\u793A";
|
143
|
+
}
|
144
|
+
}(),
|
126
145
|
type: "checkbox",
|
127
146
|
checkedAll: false,
|
128
147
|
disabledAll: !!props.fieldShowMaxValue,
|
129
148
|
field: "show",
|
130
149
|
fieldShowMaxValue: props.fieldShowMaxValue
|
131
150
|
}, {
|
132
|
-
title: (
|
151
|
+
title: function() {
|
152
|
+
var _a, _b, _c;
|
153
|
+
try {
|
154
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.284")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.284")) || "\u7F16\u8F91";
|
155
|
+
} catch (e) {
|
156
|
+
return "\u7F16\u8F91";
|
157
|
+
}
|
158
|
+
}(),
|
133
159
|
type: "checkbox",
|
134
160
|
checkedAll: false,
|
135
161
|
disabledAll: false,
|
136
162
|
field: "editable"
|
137
163
|
}, {
|
138
|
-
title: (
|
164
|
+
title: function() {
|
165
|
+
var _a, _b, _c;
|
166
|
+
try {
|
167
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.248")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.248")) || "\u5FC5\u586B";
|
168
|
+
} catch (e) {
|
169
|
+
return "\u5FC5\u586B";
|
170
|
+
}
|
171
|
+
}(),
|
139
172
|
type: "checkbox",
|
140
173
|
checkedAll: false,
|
141
174
|
disabledAll: false,
|
142
175
|
field: "required"
|
143
176
|
}, {
|
144
|
-
title: (
|
177
|
+
title: function() {
|
178
|
+
var _a, _b, _c;
|
179
|
+
try {
|
180
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.249")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.249")) || "\u6392\u5E8F";
|
181
|
+
} catch (e) {
|
182
|
+
return "\u6392\u5E8F";
|
183
|
+
}
|
184
|
+
}(),
|
145
185
|
type: "checkbox",
|
146
186
|
checkedAll: false,
|
147
187
|
disabledAll: false,
|
148
188
|
field: "sort"
|
149
189
|
}, {
|
150
|
-
title: (
|
190
|
+
title: function() {
|
191
|
+
var _a, _b, _c;
|
192
|
+
try {
|
193
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.250")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.250")) || "\u52A0\u7C97";
|
194
|
+
} catch (e) {
|
195
|
+
return "\u52A0\u7C97";
|
196
|
+
}
|
197
|
+
}(),
|
151
198
|
type: "checkbox",
|
152
199
|
checkedAll: false,
|
153
200
|
disabledAll: false,
|
154
201
|
field: "bold"
|
155
202
|
}, {
|
156
|
-
title: (
|
203
|
+
title: function() {
|
204
|
+
var _a, _b, _c;
|
205
|
+
try {
|
206
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.251")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.251")) || "\u9ED8\u8BA4\u6392\u5E8F";
|
207
|
+
} catch (e) {
|
208
|
+
return "\u9ED8\u8BA4\u6392\u5E8F";
|
209
|
+
}
|
210
|
+
}(),
|
157
211
|
type: "select",
|
158
212
|
field: "sortDirection"
|
159
213
|
}, {
|
160
|
-
title: (
|
214
|
+
title: function() {
|
215
|
+
var _a, _b, _c;
|
216
|
+
try {
|
217
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.252")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.252")) || "\u6392\u5E8F\u4F18\u5148\u7EA7";
|
218
|
+
} catch (e) {
|
219
|
+
return "\u6392\u5E8F\u4F18\u5148\u7EA7";
|
220
|
+
}
|
221
|
+
}(),
|
161
222
|
type: "select",
|
162
223
|
field: "sortPriority"
|
163
224
|
}, {
|
164
|
-
title: (
|
225
|
+
title: function() {
|
226
|
+
var _a, _b, _c;
|
227
|
+
try {
|
228
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.253")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.253")) || "\u56FA\u5B9A";
|
229
|
+
} catch (e) {
|
230
|
+
return "\u56FA\u5B9A";
|
231
|
+
}
|
232
|
+
}(),
|
165
233
|
type: "select",
|
166
234
|
field: "fixedWay"
|
167
235
|
}, {
|
168
|
-
title: (
|
236
|
+
title: function() {
|
237
|
+
var _a, _b, _c;
|
238
|
+
try {
|
239
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.254")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.254")) || "\u81EA\u5B9A\u4E49\u6807\u9898";
|
240
|
+
} catch (e) {
|
241
|
+
return "\u81EA\u5B9A\u4E49\u6807\u9898";
|
242
|
+
}
|
243
|
+
}(),
|
169
244
|
type: "input",
|
170
245
|
field: "alias"
|
171
246
|
}, {
|
172
|
-
title: (
|
247
|
+
title: function() {
|
248
|
+
var _a, _b, _c;
|
249
|
+
try {
|
250
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.255")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.255")) || "\u5217\u5BBD";
|
251
|
+
} catch (e) {
|
252
|
+
return "\u5217\u5BBD";
|
253
|
+
}
|
254
|
+
}(),
|
173
255
|
type: "inputNumber",
|
174
256
|
field: "columnWidth"
|
175
257
|
}, {
|
176
|
-
title: (
|
258
|
+
title: function() {
|
259
|
+
var _a, _b, _c;
|
260
|
+
try {
|
261
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.256")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.256")) || "\u8868\u5934\u7B5B\u9009";
|
262
|
+
} catch (e) {
|
263
|
+
return "\u8868\u5934\u7B5B\u9009";
|
264
|
+
}
|
265
|
+
}(),
|
177
266
|
type: "checkbox",
|
178
267
|
isHeadCheckHide: true,
|
179
268
|
field: "isShowHeaderFilter"
|
180
269
|
}, {
|
181
|
-
title: (
|
270
|
+
title: function() {
|
271
|
+
var _a, _b, _c;
|
272
|
+
try {
|
273
|
+
return ((_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";
|
274
|
+
} catch (e) {
|
275
|
+
return "\u641C\u7D22";
|
276
|
+
}
|
277
|
+
}(),
|
182
278
|
type: "checkbox",
|
183
279
|
isHeadCheckHide: true,
|
184
280
|
field: "isSearch",
|
185
281
|
hide: true
|
186
282
|
}, {
|
187
|
-
title: (
|
283
|
+
title: function() {
|
284
|
+
var _a, _b, _c;
|
285
|
+
try {
|
286
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.257")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.257")) || "\u6C42\u548C";
|
287
|
+
} catch (e) {
|
288
|
+
return "\u6C42\u548C";
|
289
|
+
}
|
290
|
+
}(),
|
188
291
|
type: "checkbox",
|
189
292
|
isHeadCheckHide: true,
|
190
293
|
field: "isSum",
|
191
294
|
hide: true
|
192
295
|
}, {
|
193
|
-
title: (
|
296
|
+
title: function() {
|
297
|
+
var _a, _b, _c;
|
298
|
+
try {
|
299
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.258")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.258")) || "\u5E73\u5747\u503C";
|
300
|
+
} catch (e) {
|
301
|
+
return "\u5E73\u5747\u503C";
|
302
|
+
}
|
303
|
+
}(),
|
194
304
|
type: "checkbox",
|
195
305
|
isHeadCheckHide: true,
|
196
306
|
field: "isAvg",
|
197
307
|
hide: true
|
198
308
|
}, {
|
199
|
-
title: (
|
309
|
+
title: function() {
|
310
|
+
var _a, _b, _c;
|
311
|
+
try {
|
312
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.259")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.259")) || "\u8131\u654F\u914D\u7F6E";
|
313
|
+
} catch (e) {
|
314
|
+
return "\u8131\u654F\u914D\u7F6E";
|
315
|
+
}
|
316
|
+
}(),
|
200
317
|
type: "select",
|
201
318
|
field: "hideExpression",
|
202
319
|
hide: true
|
203
320
|
}];
|
204
321
|
const columns = ref([]);
|
205
322
|
const itemWidth = computed(() => {
|
206
|
-
var
|
207
|
-
return ((
|
323
|
+
var _a;
|
324
|
+
return ((_a = tableRef.value) == null ? void 0 : _a.scrollWidth) ? tableRef.value.scrollWidth + "px" : "auto";
|
208
325
|
});
|
209
326
|
const fieldList = computed(() => newFields.value.flat());
|
210
327
|
const hasFieldDescribe = computed(() => fieldList.value.some((item) => item.feildDescribe));
|
@@ -241,10 +358,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
241
358
|
emit("reset");
|
242
359
|
}
|
243
360
|
function getShowColumn(column) {
|
244
|
-
var
|
245
|
-
if (!((
|
361
|
+
var _a, _b;
|
362
|
+
if (!((_a = props.showColumnNames) == null ? void 0 : _a.length)) {
|
246
363
|
const isEdit = ["editable", "required"].includes(column.field);
|
247
|
-
if (isEdit && !props.isEdit || column.field === "sortPriority" && !props.showSortPriority || column.field === "isShowHeaderFilter" && !props.showHeadFilter || column.field === "hideExpression" && !((
|
364
|
+
if (isEdit && !props.isEdit || column.field === "sortPriority" && !props.showSortPriority || column.field === "isShowHeaderFilter" && !props.showHeadFilter || column.field === "hideExpression" && !((_b = props.hideExpressionConfig) == null ? void 0 : _b.show))
|
248
365
|
return false;
|
249
366
|
return !column.hide;
|
250
367
|
}
|
@@ -257,7 +374,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
257
374
|
}));
|
258
375
|
Object.keys(fieldsMapping).forEach((key) => {
|
259
376
|
cloneFields.forEach((item) => {
|
260
|
-
var
|
377
|
+
var _a;
|
261
378
|
if (props.type == "old") {
|
262
379
|
if (Reflect.has(item, key)) {
|
263
380
|
if (key == "isFixed") {
|
@@ -278,7 +395,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
278
395
|
item.bold = false;
|
279
396
|
}
|
280
397
|
item.draggable = isDraggable(item) ? true : false;
|
281
|
-
if (isArray((
|
398
|
+
if (isArray((_a = item.relation) == null ? void 0 : _a.fieldList)) {
|
282
399
|
item.relation.fieldList.forEach((v) => {
|
283
400
|
if (v.isSearch == 1) {
|
284
401
|
v.checked = true;
|
@@ -336,8 +453,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
336
453
|
function handleSearch() {
|
337
454
|
const keywordChanged = searchData.keyword !== keyword.value;
|
338
455
|
let idx = !keyword.value ? 0 : fieldList.value.findIndex((field, i) => {
|
339
|
-
var
|
340
|
-
if ((
|
456
|
+
var _a;
|
457
|
+
if ((_a = field.title) == null ? void 0 : _a.includes(keyword.value)) {
|
341
458
|
if (!keywordChanged)
|
342
459
|
return i > searchData.idx;
|
343
460
|
return true;
|
@@ -354,8 +471,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
354
471
|
} : {});
|
355
472
|
}
|
356
473
|
function isHighlight(element) {
|
357
|
-
var
|
358
|
-
return !!keyword.value && ((
|
474
|
+
var _a;
|
475
|
+
return !!keyword.value && ((_a = element.title) == null ? void 0 : _a.includes(keyword.value));
|
359
476
|
}
|
360
477
|
function handleAllCheck(checked, field) {
|
361
478
|
fieldList.value.forEach((fieldItem) => {
|
@@ -372,15 +489,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
372
489
|
column.checkedAll = !noAllCheck;
|
373
490
|
}
|
374
491
|
function initColumns() {
|
375
|
-
var
|
492
|
+
var _a, _b;
|
376
493
|
columns.value = cloneDeep(defaultColumns);
|
377
|
-
if ((
|
494
|
+
if ((_a = props.showColumnNames) == null ? void 0 : _a.length) {
|
378
495
|
columns.value = defaultColumns.filter((column) => {
|
379
|
-
var
|
380
|
-
return column.field === "title" || ((
|
496
|
+
var _a2, _b2;
|
497
|
+
return column.field === "title" || ((_b2 = (_a2 = props.showColumnNames) == null ? void 0 : _a2.includes) == null ? void 0 : _b2.call(_a2, column.field));
|
381
498
|
});
|
382
499
|
}
|
383
|
-
if ((
|
500
|
+
if ((_b = props.customColumns) == null ? void 0 : _b.length) {
|
384
501
|
props.customColumns.forEach((column) => {
|
385
502
|
const {
|
386
503
|
positionField
|
@@ -395,14 +512,28 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
395
512
|
}
|
396
513
|
if (props.fieldDescribeMode === "column" && hasFieldDescribe.value) {
|
397
514
|
columns.value.push({
|
398
|
-
title: (
|
515
|
+
title: function() {
|
516
|
+
var _a2, _b2, _c;
|
517
|
+
try {
|
518
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.260")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.260")) || "\u5B57\u6BB5\u63CF\u8FF0";
|
519
|
+
} catch (e) {
|
520
|
+
return "\u5B57\u6BB5\u63CF\u8FF0";
|
521
|
+
}
|
522
|
+
}(),
|
399
523
|
type: "text",
|
400
524
|
field: "feildDescribe"
|
401
525
|
});
|
402
526
|
}
|
403
527
|
if (props.showSeq) {
|
404
528
|
columns.value.splice(1, 0, {
|
405
|
-
title: (
|
529
|
+
title: function() {
|
530
|
+
var _a2, _b2, _c;
|
531
|
+
try {
|
532
|
+
return ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.249")) || ((_c = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c.call(_b2, "10010.1.249")) || "\u6392\u5E8F";
|
533
|
+
} catch (e) {
|
534
|
+
return "\u6392\u5E8F";
|
535
|
+
}
|
536
|
+
}(),
|
406
537
|
type: "text",
|
407
538
|
field: "seq"
|
408
539
|
});
|
@@ -424,8 +555,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
424
555
|
return true;
|
425
556
|
}
|
426
557
|
watch([() => props.fields, () => {
|
427
|
-
var
|
428
|
-
return (
|
558
|
+
var _a;
|
559
|
+
return (_a = props.showColumnNames) == null ? void 0 : _a.length;
|
429
560
|
}], ([fields, showColumnNames]) => {
|
430
561
|
if (fields.length > 0) {
|
431
562
|
newFields.value = initFields();
|
@@ -439,7 +570,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
439
570
|
getTableFields
|
440
571
|
});
|
441
572
|
return (_ctx, _cache) => {
|
442
|
-
var _a3;
|
443
573
|
return openBlock(), createElementBlock("div", _hoisted_1, [__props.showSearch ? (openBlock(), createBlock(unref(NInput), {
|
444
574
|
key: 0,
|
445
575
|
class: "main-wrapper__search-wrapper",
|
@@ -448,7 +578,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
448
578
|
valueModifiers: {
|
449
579
|
trim: true
|
450
580
|
},
|
451
|
-
placeholder: (
|
581
|
+
placeholder: function() {
|
582
|
+
var _a, _b, _c;
|
583
|
+
try {
|
584
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.245")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.245")) || "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898";
|
585
|
+
} catch (e) {
|
586
|
+
return "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898";
|
587
|
+
}
|
588
|
+
}(),
|
452
589
|
onKeydown: withKeys(withModifiers(handleSearch, ["prevent"]), ["enter"])
|
453
590
|
}, null, 8, ["value", "onKeydown"])) : createCommentVNode("v-if", true), createElementVNode("div", {
|
454
591
|
class: "main-wrapper__table",
|
@@ -534,16 +671,24 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
534
671
|
"margin-right": "8px"
|
535
672
|
}
|
536
673
|
}, {
|
537
|
-
default: withCtx(() => {
|
538
|
-
var
|
539
|
-
|
540
|
-
|
674
|
+
default: withCtx(() => [createTextVNode(function() {
|
675
|
+
var _a, _b, _c;
|
676
|
+
try {
|
677
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.242")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.242")) || "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E";
|
678
|
+
} catch (e) {
|
679
|
+
return "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E";
|
680
|
+
}
|
681
|
+
}())]),
|
541
682
|
_: 1
|
542
683
|
})]),
|
543
|
-
default: withCtx(() => {
|
544
|
-
var
|
545
|
-
|
546
|
-
|
684
|
+
default: withCtx(() => [createTextVNode(function() {
|
685
|
+
var _a, _b, _c;
|
686
|
+
try {
|
687
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.243")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.243")) || "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F";
|
688
|
+
} catch (e) {
|
689
|
+
return "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F";
|
690
|
+
}
|
691
|
+
}())]),
|
547
692
|
_: 1
|
548
693
|
}), createVNode(unref(NButton), {
|
549
694
|
style: {
|
@@ -551,19 +696,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
551
696
|
},
|
552
697
|
onClick: onCancle
|
553
698
|
}, {
|
554
|
-
default: withCtx(() => {
|
555
|
-
var
|
556
|
-
|
557
|
-
|
699
|
+
default: withCtx(() => [createTextVNode(function() {
|
700
|
+
var _a, _b, _c;
|
701
|
+
try {
|
702
|
+
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";
|
703
|
+
} catch (e) {
|
704
|
+
return "\u53D6\u6D88";
|
705
|
+
}
|
706
|
+
}())]),
|
558
707
|
_: 1
|
559
708
|
}), createVNode(unref(NButton), {
|
560
709
|
type: "primary",
|
561
710
|
onClick: handleFieldSave
|
562
711
|
}, {
|
563
|
-
default: withCtx(() => {
|
564
|
-
var
|
565
|
-
|
566
|
-
|
712
|
+
default: withCtx(() => [createTextVNode(function() {
|
713
|
+
var _a, _b, _c;
|
714
|
+
try {
|
715
|
+
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";
|
716
|
+
} catch (e) {
|
717
|
+
return "\u4FDD\u5B58";
|
718
|
+
}
|
719
|
+
}())]),
|
567
720
|
_: 1
|
568
721
|
})])])) : createCommentVNode("v-if", true)]);
|
569
722
|
};
|
@@ -76,32 +76,66 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
76
76
|
return rest;
|
77
77
|
});
|
78
78
|
const tabList = computed(() => {
|
79
|
-
var _a, _b, _c, _d, _e;
|
80
79
|
const list = [{
|
81
80
|
name: "field",
|
82
|
-
tab: (
|
81
|
+
tab: function() {
|
82
|
+
var _a, _b, _c;
|
83
|
+
try {
|
84
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.261")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.261")) || "\u5B57\u6BB5\u8BBE\u7F6E";
|
85
|
+
} catch (e) {
|
86
|
+
return "\u5B57\u6BB5\u8BBE\u7F6E";
|
87
|
+
}
|
88
|
+
}(),
|
83
89
|
render: () => h(FieldSet)
|
84
90
|
}, {
|
85
91
|
name: "fieldColor",
|
86
|
-
tab: (
|
92
|
+
tab: function() {
|
93
|
+
var _a, _b, _c;
|
94
|
+
try {
|
95
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.262")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.262")) || "\u5B57\u6BB5\u989C\u8272";
|
96
|
+
} catch (e) {
|
97
|
+
return "\u5B57\u6BB5\u989C\u8272";
|
98
|
+
}
|
99
|
+
}(),
|
87
100
|
render: () => h(FieldColor, {
|
88
101
|
isFieldColor: true,
|
89
102
|
defaultList: props.fieldColorList
|
90
103
|
})
|
91
104
|
}, {
|
92
105
|
name: "highlightRow",
|
93
|
-
tab: (
|
106
|
+
tab: function() {
|
107
|
+
var _a, _b, _c;
|
108
|
+
try {
|
109
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.263")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.263")) || "\u9AD8\u4EAE\u884C";
|
110
|
+
} catch (e) {
|
111
|
+
return "\u9AD8\u4EAE\u884C";
|
112
|
+
}
|
113
|
+
}(),
|
94
114
|
render: () => h(FieldColor, {
|
95
115
|
isFieldColor: false,
|
96
116
|
defaultList: props.highlightRowColorList
|
97
117
|
})
|
98
118
|
}, {
|
99
119
|
name: "tableStyle",
|
100
|
-
tab: (
|
120
|
+
tab: function() {
|
121
|
+
var _a, _b, _c;
|
122
|
+
try {
|
123
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.264")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.264")) || "\u8868\u683C\u6837\u5F0F";
|
124
|
+
} catch (e) {
|
125
|
+
return "\u8868\u683C\u6837\u5F0F";
|
126
|
+
}
|
127
|
+
}(),
|
101
128
|
render: () => h(TableStyle)
|
102
129
|
}, {
|
103
130
|
name: "fieldFilter",
|
104
|
-
tab: (
|
131
|
+
tab: function() {
|
132
|
+
var _a, _b, _c;
|
133
|
+
try {
|
134
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.265")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.265")) || "\u9AD8\u7EA7\u7B5B\u9009";
|
135
|
+
} catch (e) {
|
136
|
+
return "\u9AD8\u7EA7\u7B5B\u9009";
|
137
|
+
}
|
138
|
+
}(),
|
105
139
|
render: () => h(FieldFilter, {
|
106
140
|
defaultList: props.fieldFilterList,
|
107
141
|
showFilterColumnNames: props.showFilterColumnNames
|
@@ -56,15 +56,42 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
56
56
|
expose,
|
57
57
|
emit
|
58
58
|
}) {
|
59
|
-
var _a, _b, _c, _d;
|
60
59
|
const props = __props;
|
61
60
|
const tableDemoList = ref([{
|
62
|
-
title: (
|
63
|
-
|
61
|
+
title: function() {
|
62
|
+
var _a, _b, _c;
|
63
|
+
try {
|
64
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.266")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.266")) || "\u6837\u5F0F\u4E00";
|
65
|
+
} catch (e) {
|
66
|
+
return "\u6837\u5F0F\u4E00";
|
67
|
+
}
|
68
|
+
}(),
|
69
|
+
label: function() {
|
70
|
+
var _a, _b, _c;
|
71
|
+
try {
|
72
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.267")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.267")) || "\u65E0\u5217\u5206\u5272\u7EBF";
|
73
|
+
} catch (e) {
|
74
|
+
return "\u65E0\u5217\u5206\u5272\u7EBF";
|
75
|
+
}
|
76
|
+
}(),
|
64
77
|
border: false
|
65
78
|
}, {
|
66
|
-
title: (
|
67
|
-
|
79
|
+
title: function() {
|
80
|
+
var _a, _b, _c;
|
81
|
+
try {
|
82
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.268")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.268")) || "\u6837\u5F0F\u4E8C";
|
83
|
+
} catch (e) {
|
84
|
+
return "\u6837\u5F0F\u4E8C";
|
85
|
+
}
|
86
|
+
}(),
|
87
|
+
label: function() {
|
88
|
+
var _a, _b, _c;
|
89
|
+
try {
|
90
|
+
return ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.269")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.269")) || "\u5217\u5206\u5272\u7EBF";
|
91
|
+
} catch (e) {
|
92
|
+
return "\u5217\u5206\u5272\u7EBF";
|
93
|
+
}
|
94
|
+
}(),
|
68
95
|
border: true
|
69
96
|
}]);
|
70
97
|
const tableStyle = reactive(props.tableStyleConfig);
|
@@ -127,19 +154,27 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
127
154
|
},
|
128
155
|
onClick: onCancle
|
129
156
|
}, {
|
130
|
-
default: withCtx(() => {
|
131
|
-
var
|
132
|
-
|
133
|
-
|
157
|
+
default: withCtx(() => [createTextVNode(function() {
|
158
|
+
var _a, _b, _c;
|
159
|
+
try {
|
160
|
+
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";
|
161
|
+
} catch (e) {
|
162
|
+
return "\u53D6\u6D88";
|
163
|
+
}
|
164
|
+
}())]),
|
134
165
|
_: 1
|
135
166
|
}), createVNode(unref(NButton), {
|
136
167
|
type: "primary",
|
137
168
|
onClick: onSave
|
138
169
|
}, {
|
139
|
-
default: withCtx(() => {
|
140
|
-
var
|
141
|
-
|
142
|
-
|
170
|
+
default: withCtx(() => [createTextVNode(function() {
|
171
|
+
var _a, _b, _c;
|
172
|
+
try {
|
173
|
+
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";
|
174
|
+
} catch (e) {
|
175
|
+
return "\u4FDD\u5B58";
|
176
|
+
}
|
177
|
+
}())]),
|
143
178
|
_: 1
|
144
179
|
})])]);
|
145
180
|
};
|