cnhis-design-vue 3.3.2-beta.1 → 3.3.2-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/base-search/src/index.vue2.js +6 -6
- package/es/components/big-table/src/BigTable.vue2.js +21 -21
- package/es/components/big-table/src/components/NoData.vue2.js +4 -4
- package/es/components/big-table/src/components/edit-form/edit-date.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-input.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-select.js +2 -2
- package/es/components/big-table/src/components/edit-form/edit-time.js +4 -4
- package/es/components/big-table/src/components/input-button.vue2.js +2 -2
- package/es/components/big-table/src/hooks/useNestTable.js +4 -4
- package/es/components/big-table/src/hooks/useTableParse.js +3 -3
- package/es/components/body-select/src/index.vue2.js +4 -4
- package/es/components/button-print/src/ButtonPrint.vue2.js +7 -7
- package/es/components/button-print/src/components/EditFormat.vue2.js +4 -4
- package/es/components/button-print/src/components/IdentityVerification.vue2.js +17 -17
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +34 -34
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +11 -11
- package/es/components/button-print/src/components/Preview.vue2.js +2 -2
- package/es/components/button-print/src/utils/dialog.js +6 -6
- package/es/components/button-print/src/utils/print.js +21 -21
- package/es/components/callback/src/components/render/popupMaps.d.ts +1 -1
- package/es/components/card-reader-sdk/src/components/readCardDialog.vue2.js +2 -2
- package/es/components/card-reader-sdk/src/utils/readHealthCard.js +4 -4
- package/es/components/card-reader-sdk-cn/src/henan/index.js +5 -5
- package/es/components/classification/src/components/search-filter/index.vue2.js +6 -6
- package/es/components/classification/src/components/set-classification/index.vue2.js +5 -5
- package/es/components/classification/src/components/table-modal/index.vue2.js +45 -45
- package/es/components/classification/src/index.vue2.js +42 -42
- package/es/components/default-page/src/constants/index.js +19 -19
- package/es/components/default-page/src/index.vue2.js +2 -2
- package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +10 -10
- package/es/components/expand-field/src/components/FormItemPerson.vue2.js +4 -4
- package/es/components/expand-field/src/components/PersonModal.vue2.js +6 -6
- package/es/components/expand-field/src/components/form.vue2.js +87 -87
- package/es/components/expand-field/src/index.vue2.js +16 -16
- package/es/components/expand-field/src/utils/constant.js +12 -12
- package/es/components/fabric-chart/src/components/PopupMenu.js +4 -4
- package/es/components/fabric-chart/src/constants/index.js +10 -10
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +3 -3
- package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +2 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +5 -5
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +2 -2
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +6 -6
- package/es/components/fabric-chart/src/hooks/useCommon.js +4 -4
- package/es/components/field-editor/index.d.ts +1 -1
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -1
- package/es/components/field-editor/src/fields.js +30 -30
- package/es/components/field-set/src/FieldColor.vue2.js +15 -15
- package/es/components/field-set/src/FieldFilter.vue2.js +8 -8
- package/es/components/field-set/src/FieldSet.vue2.js +37 -37
- package/es/components/field-set/src/Index.vue2.js +6 -6
- package/es/components/field-set/src/TableStyle.vue2.js +9 -9
- package/es/components/field-set/src/components/condition.vue2.js +8 -8
- package/es/components/field-set/src/components/edit-dialog.vue2.js +23 -23
- package/es/components/field-set/src/components/edit-filter.vue2.js +4 -4
- package/es/components/field-set/src/components/table-row.vue2.js +25 -25
- package/es/components/field-set/src/constants/filter.js +42 -42
- package/es/components/field-set/src/constants/index.js +64 -64
- package/es/components/form-config/index.d.ts +9 -9
- package/es/components/form-config/src/FormConfig.vue.d.ts +9 -9
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -4
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +26 -26
- package/es/components/form-config/src/constants/index.js +11 -11
- package/es/components/form-config/src/hooks/useLocale.js +31 -31
- package/es/components/form-render/index.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/combination/hooks/useCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/jsonCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/combination/tableCombination.js +2 -2
- package/es/components/form-render/src/components/renderer/input.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +2 -2
- package/es/components/form-render/src/components/renderer/remoteSearch.js +2 -2
- package/es/components/form-render/src/components/renderer/switch.js +4 -4
- package/es/components/form-render/src/components/renderer/textarea.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
- package/es/components/form-render/src/types/index.d.ts +2 -2
- package/es/components/form-render/src/utils/schema.js +4 -4
- package/es/components/iho-chat/src/Index.vue2.js +2 -2
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +16 -16
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +24 -24
- package/es/components/iho-chat/src/components/ChatHeader.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +10 -10
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +13 -13
- package/es/components/iho-chat/src/components/ChatSearch.vue2.js +18 -18
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +25 -25
- package/es/components/iho-chat/src/components/ContextMenu.js +7 -7
- package/es/components/iho-chat/src/components/MessageEvent.vue2.js +4 -4
- package/es/components/iho-chat/src/components/MessageTemplate.vue2.js +2 -2
- package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +12 -12
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +9 -9
- package/es/components/iho-chat/src/components/SelectLabel.vue2.js +2 -2
- package/es/components/iho-chat/src/components/SiderList.vue2.js +12 -12
- package/es/components/iho-chat/src/components/Video.vue2.js +5 -5
- package/es/components/iho-chat/src/hooks/useVideo.js +2 -2
- package/es/components/iho-chat/src/utils/index.js +14 -14
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +2 -2
- package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRemoteSearchPlugin/remoteFilter.vue2.js +9 -9
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +11 -11
- package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +4 -4
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +3 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.js +13 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue2.js +9 -9
- package/es/components/info-header/index.d.ts +7 -7
- package/es/components/info-header/src/InfoHeader.vue.d.ts +7 -7
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2 -2
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -1
- package/es/components/info-header/src/components/patientInfo/index.vue2.js +21 -21
- package/es/components/keyboard/src/Keyboard.vue2.js +7 -7
- package/es/components/keyboard/src/components/NumberPanel.vue2.js +6 -6
- package/es/components/map/src/Map.vue2.js +2 -2
- package/es/components/picture-clipper/src/PictureClipper.vue2.js +4 -4
- package/es/components/quick-search/src/index.vue2.js +21 -21
- package/es/components/recommend-search/src/components/BaseSearch.js +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue2.js +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue2.js +3 -3
- package/es/components/scale-view/index.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +5 -5
- package/es/components/scale-view/src/components/NoData.vue2.js +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-input.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-map.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-radio.js +6 -6
- package/es/components/scale-view/src/components/formitem/r-select.js +2 -2
- package/es/components/scale-view/src/components/formitem/r-sign.js +7 -7
- package/es/components/scale-view/src/components/formitem/standard-modal.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-computed.js +5 -5
- package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-init.js +2 -2
- package/es/components/scale-view/src/hooks/scaleview-methods.js +4 -4
- package/es/components/scale-view/src/hooks/scaleview-submit.js +3 -3
- package/es/components/scale-view/src/hooks/scaleview-validate.js +9 -9
- package/es/components/search-cascader/src/SearchCascader.vue2.js +2 -2
- package/es/components/select-label/src/LabelFormContent.vue2.js +7 -7
- package/es/components/select-label/src/SelectLabel.vue2.js +13 -13
- package/es/components/select-label/src/components/label-classify.vue2.js +5 -5
- package/es/components/select-label/src/ihoLabel/IhoLabelFormContent.vue2.js +3 -3
- package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +6 -6
- package/es/components/select-label/src/ihoLabel/iho-label-classify.vue2.js +3 -3
- package/es/components/select-person/src/SelectPerson.vue2.js +16 -16
- package/es/components/select-person/src/SelectPersonType.vue2.js +13 -13
- package/es/components/select-person/src/components/SearchOrgAndStaff.vue2.js +2 -2
- package/es/components/select-person/src/index.vue2.js +3 -3
- package/es/components/shortcut-setter/index.d.ts +1 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
- package/es/components/slider-tree/src/index.vue2.js +3 -3
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +23 -25
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +19 -19
- package/es/components/table-export-field/src/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +5 -5
- package/es/components/table-filter/src/components/bi-filter/helpers/options.js +34 -34
- package/es/components/table-filter/src/components/bi-filter/index.vue2.js +19 -19
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +6 -6
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +5 -5
- package/es/components/table-filter/src/components/classify-filter/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +3 -3
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +2 -2
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +17 -17
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +5 -5
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +4 -4
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/InputCustom.vue2.js +2 -2
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +3 -3
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +6 -6
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +207 -207
- package/es/components/table-filter/src/components/render-widget/helpers/selectExtraMap.js +2 -2
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +3 -3
- package/es/components/table-filter/src/tool/baseOptions.js +19 -19
- package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +8 -8
- package/es/components/vod-chunk-upload/src/hooks/upload-computed.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +4 -4
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -50,7 +50,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
50
50
|
expose,
|
51
51
|
emit
|
52
52
|
}) {
|
53
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
53
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
54
54
|
const props = __props;
|
55
55
|
const visible = ref(false);
|
56
56
|
const currentRow = ref(null);
|
@@ -58,39 +58,39 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
58
58
|
const readonly = ref(false);
|
59
59
|
const isAdd = ref(false);
|
60
60
|
const columns = ref([{
|
61
|
-
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.10")) || "\u540D\u79F0",
|
61
|
+
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.10")) || ((_c = (_b = window.top) == null ? void 0 : _b.getLanguageByCode) == null ? void 0 : _c.call(_b, "10010.1.10")) || "\u540D\u79F0",
|
62
62
|
type: "text",
|
63
63
|
field: "name"
|
64
64
|
}, {
|
65
|
-
title: ((
|
65
|
+
title: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.9")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.9")) || "\u5B57\u6BB5",
|
66
66
|
type: "text",
|
67
67
|
field: "title"
|
68
68
|
}, {
|
69
|
-
title: ((
|
69
|
+
title: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.236")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.236")) || "\u521B\u5EFA\u65F6\u95F4",
|
70
70
|
type: "text",
|
71
71
|
field: "createDate"
|
72
72
|
}, {
|
73
|
-
title: ((
|
73
|
+
title: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.237")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.237")) || "\u6548\u679C",
|
74
74
|
type: "text",
|
75
75
|
field: "result"
|
76
76
|
}, {
|
77
|
-
title: ((
|
77
|
+
title: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.238")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.238")) || "\u989C\u8272",
|
78
78
|
type: "color",
|
79
79
|
field: "color"
|
80
80
|
}, {
|
81
|
-
title: ((
|
81
|
+
title: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.239")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.239")) || "\u989C\u8272\u5E94\u7528\u4E8E",
|
82
82
|
type: "select",
|
83
83
|
checkedAll: false,
|
84
84
|
disabledAll: false,
|
85
85
|
field: "colorScope"
|
86
86
|
}, {
|
87
|
-
title: ((
|
87
|
+
title: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.240")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.240")) || "\u663E\u793A",
|
88
88
|
type: "checkbox",
|
89
89
|
checkedAll: false,
|
90
90
|
disabledAll: false,
|
91
91
|
field: "status"
|
92
92
|
}, {
|
93
|
-
title: ((
|
93
|
+
title: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.241")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.241")) || "\u64CD\u4F5C",
|
94
94
|
type: "custom",
|
95
95
|
field: "opt"
|
96
96
|
}]);
|
@@ -199,8 +199,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
199
199
|
onClick: onCancle
|
200
200
|
}, {
|
201
201
|
default: withCtx(() => {
|
202
|
-
var _a2;
|
203
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
|
202
|
+
var _a2, _b2, _c2;
|
203
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.28")) || "\u53D6\u6D88")];
|
204
204
|
}),
|
205
205
|
_: 1
|
206
206
|
}), createVNode(unref(NButton), {
|
@@ -210,8 +210,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
210
210
|
onClick: onAdd
|
211
211
|
}, {
|
212
212
|
default: withCtx(() => {
|
213
|
-
var _a2;
|
214
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || "\u65B0\u589E")];
|
213
|
+
var _a2, _b2, _c2;
|
214
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.279")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.279")) || "\u65B0\u589E")];
|
215
215
|
}),
|
216
216
|
_: 1
|
217
217
|
}), createVNode(unref(NButton), {
|
@@ -219,8 +219,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
219
219
|
onClick: handleFieldSave
|
220
220
|
}, {
|
221
221
|
default: withCtx(() => {
|
222
|
-
var _a2;
|
223
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.244")) || "\u4FDD\u5B58")];
|
222
|
+
var _a2, _b2, _c2;
|
223
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.244")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.244")) || "\u4FDD\u5B58")];
|
224
224
|
}),
|
225
225
|
_: 1
|
226
226
|
})])])) : createCommentVNode("v-if", true), visible.value ? (openBlock(), createBlock(EditDialog, {
|
@@ -264,14 +264,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
264
264
|
}
|
265
265
|
}, {
|
266
266
|
default: withCtx(() => {
|
267
|
-
var _a;
|
268
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.242")) || "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E")];
|
267
|
+
var _a, _b, _c;
|
268
|
+
return [createTextVNode(((_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")];
|
269
269
|
}),
|
270
270
|
_: 1
|
271
271
|
})]),
|
272
272
|
default: withCtx(() => {
|
273
|
-
var _a;
|
274
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.243")) || "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F")];
|
273
|
+
var _a, _b, _c;
|
274
|
+
return [createTextVNode(((_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")];
|
275
275
|
}),
|
276
276
|
_: 1
|
277
277
|
}), createVNode(unref(NButton), {
|
@@ -281,8 +281,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
281
281
|
onClick: onCancle
|
282
282
|
}, {
|
283
283
|
default: withCtx(() => {
|
284
|
-
var _a;
|
285
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.28")) || "\u53D6\u6D88")];
|
284
|
+
var _a, _b, _c;
|
285
|
+
return [createTextVNode(((_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")];
|
286
286
|
}),
|
287
287
|
_: 1
|
288
288
|
}), createVNode(unref(NButton), {
|
@@ -290,8 +290,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
290
290
|
onClick: handleFieldSave
|
291
291
|
}, {
|
292
292
|
default: withCtx(() => {
|
293
|
-
var _a;
|
294
|
-
return [createTextVNode(((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.244")) || "\u4FDD\u5B58")];
|
293
|
+
var _a, _b, _c;
|
294
|
+
return [createTextVNode(((_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")];
|
295
295
|
}),
|
296
296
|
_: 1
|
297
297
|
})])])) : createCommentVNode("v-if", true)]);
|
@@ -7,14 +7,14 @@ 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;
|
10
|
+
var _a, _b, _c;
|
11
11
|
const _hoisted_1 = {
|
12
12
|
class: "main-wrapper"
|
13
13
|
};
|
14
14
|
const _hoisted_2 = {
|
15
15
|
class: "main-wrapper__table-header"
|
16
16
|
};
|
17
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.246")) || "\u6570\u503C\u8D8A\u5C0F\uFF0C\u4F18\u5148\u7EA7\u8D8A\u9AD8", -1);
|
17
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, ((_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", -1);
|
18
18
|
const _hoisted_4 = ["tabindex"];
|
19
19
|
const _hoisted_5 = {
|
20
20
|
key: 1,
|
@@ -102,7 +102,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
102
102
|
expose,
|
103
103
|
emit
|
104
104
|
}) {
|
105
|
-
var _a2,
|
105
|
+
var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V;
|
106
106
|
const props = __props;
|
107
107
|
const fieldsMapping = {
|
108
108
|
sid: "id",
|
@@ -118,85 +118,85 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
118
118
|
const tableRef = ref();
|
119
119
|
const newFields = ref([]);
|
120
120
|
const defaultColumns = [{
|
121
|
-
title: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.247")) || "\u6240\u6709\u5B57\u6BB5",
|
121
|
+
title: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.247")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.247")) || "\u6240\u6709\u5B57\u6BB5",
|
122
122
|
type: "text",
|
123
123
|
field: "title"
|
124
124
|
}, {
|
125
|
-
title: ((
|
125
|
+
title: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.240")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.240")) || "\u663E\u793A",
|
126
126
|
type: "checkbox",
|
127
127
|
checkedAll: false,
|
128
128
|
disabledAll: !!props.fieldShowMaxValue,
|
129
129
|
field: "show",
|
130
130
|
fieldShowMaxValue: props.fieldShowMaxValue
|
131
131
|
}, {
|
132
|
-
title: ((
|
132
|
+
title: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.284")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.284")) || "\u7F16\u8F91",
|
133
133
|
type: "checkbox",
|
134
134
|
checkedAll: false,
|
135
135
|
disabledAll: false,
|
136
136
|
field: "editable"
|
137
137
|
}, {
|
138
|
-
title: ((
|
138
|
+
title: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.248")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.248")) || "\u5FC5\u586B",
|
139
139
|
type: "checkbox",
|
140
140
|
checkedAll: false,
|
141
141
|
disabledAll: false,
|
142
142
|
field: "required"
|
143
143
|
}, {
|
144
|
-
title: ((
|
144
|
+
title: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.249")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.249")) || "\u6392\u5E8F",
|
145
145
|
type: "checkbox",
|
146
146
|
checkedAll: false,
|
147
147
|
disabledAll: false,
|
148
148
|
field: "sort"
|
149
149
|
}, {
|
150
|
-
title: ((
|
150
|
+
title: ((_p = window.getLanguageByCode) == null ? void 0 : _p.call(window, "10010.1.250")) || ((_r = (_q = window.top) == null ? void 0 : _q.getLanguageByCode) == null ? void 0 : _r.call(_q, "10010.1.250")) || "\u52A0\u7C97",
|
151
151
|
type: "checkbox",
|
152
152
|
checkedAll: false,
|
153
153
|
disabledAll: false,
|
154
154
|
field: "bold"
|
155
155
|
}, {
|
156
|
-
title: ((
|
156
|
+
title: ((_s = window.getLanguageByCode) == null ? void 0 : _s.call(window, "10010.1.251")) || ((_u = (_t = window.top) == null ? void 0 : _t.getLanguageByCode) == null ? void 0 : _u.call(_t, "10010.1.251")) || "\u9ED8\u8BA4\u6392\u5E8F",
|
157
157
|
type: "select",
|
158
158
|
field: "sortDirection"
|
159
159
|
}, {
|
160
|
-
title: ((
|
160
|
+
title: ((_v = window.getLanguageByCode) == null ? void 0 : _v.call(window, "10010.1.252")) || ((_x = (_w = window.top) == null ? void 0 : _w.getLanguageByCode) == null ? void 0 : _x.call(_w, "10010.1.252")) || "\u6392\u5E8F\u4F18\u5148\u7EA7",
|
161
161
|
type: "select",
|
162
162
|
field: "sortPriority"
|
163
163
|
}, {
|
164
|
-
title: ((
|
164
|
+
title: ((_y = window.getLanguageByCode) == null ? void 0 : _y.call(window, "10010.1.253")) || ((_A = (_z = window.top) == null ? void 0 : _z.getLanguageByCode) == null ? void 0 : _A.call(_z, "10010.1.253")) || "\u56FA\u5B9A",
|
165
165
|
type: "select",
|
166
166
|
field: "fixedWay"
|
167
167
|
}, {
|
168
|
-
title: ((
|
168
|
+
title: ((_B = window.getLanguageByCode) == null ? void 0 : _B.call(window, "10010.1.254")) || ((_D = (_C = window.top) == null ? void 0 : _C.getLanguageByCode) == null ? void 0 : _D.call(_C, "10010.1.254")) || "\u81EA\u5B9A\u4E49\u6807\u9898",
|
169
169
|
type: "input",
|
170
170
|
field: "alias"
|
171
171
|
}, {
|
172
|
-
title: ((
|
172
|
+
title: ((_E = window.getLanguageByCode) == null ? void 0 : _E.call(window, "10010.1.255")) || ((_G = (_F = window.top) == null ? void 0 : _F.getLanguageByCode) == null ? void 0 : _G.call(_F, "10010.1.255")) || "\u5217\u5BBD",
|
173
173
|
type: "inputNumber",
|
174
174
|
field: "columnWidth"
|
175
175
|
}, {
|
176
|
-
title: ((
|
176
|
+
title: ((_H = window.getLanguageByCode) == null ? void 0 : _H.call(window, "10010.1.256")) || ((_J = (_I = window.top) == null ? void 0 : _I.getLanguageByCode) == null ? void 0 : _J.call(_I, "10010.1.256")) || "\u8868\u5934\u7B5B\u9009",
|
177
177
|
type: "checkbox",
|
178
178
|
isHeadCheckHide: true,
|
179
179
|
field: "isShowHeaderFilter"
|
180
180
|
}, {
|
181
|
-
title: ((
|
181
|
+
title: ((_K = window.getLanguageByCode) == null ? void 0 : _K.call(window, "10010.1.36")) || ((_M = (_L = window.top) == null ? void 0 : _L.getLanguageByCode) == null ? void 0 : _M.call(_L, "10010.1.36")) || "\u641C\u7D22",
|
182
182
|
type: "checkbox",
|
183
183
|
isHeadCheckHide: true,
|
184
184
|
field: "isSearch",
|
185
185
|
hide: true
|
186
186
|
}, {
|
187
|
-
title: ((
|
187
|
+
title: ((_N = window.getLanguageByCode) == null ? void 0 : _N.call(window, "10010.1.257")) || ((_P = (_O = window.top) == null ? void 0 : _O.getLanguageByCode) == null ? void 0 : _P.call(_O, "10010.1.257")) || "\u6C42\u548C",
|
188
188
|
type: "checkbox",
|
189
189
|
isHeadCheckHide: true,
|
190
190
|
field: "isSum",
|
191
191
|
hide: true
|
192
192
|
}, {
|
193
|
-
title: ((
|
193
|
+
title: ((_Q = window.getLanguageByCode) == null ? void 0 : _Q.call(window, "10010.1.258")) || ((_S = (_R = window.top) == null ? void 0 : _R.getLanguageByCode) == null ? void 0 : _S.call(_R, "10010.1.258")) || "\u5E73\u5747\u503C",
|
194
194
|
type: "checkbox",
|
195
195
|
isHeadCheckHide: true,
|
196
196
|
field: "isAvg",
|
197
197
|
hide: true
|
198
198
|
}, {
|
199
|
-
title: ((
|
199
|
+
title: ((_T = window.getLanguageByCode) == null ? void 0 : _T.call(window, "10010.1.259")) || ((_V = (_U = window.top) == null ? void 0 : _U.getLanguageByCode) == null ? void 0 : _V.call(_U, "10010.1.259")) || "\u8131\u654F\u914D\u7F6E",
|
200
200
|
type: "select",
|
201
201
|
field: "hideExpression",
|
202
202
|
hide: true
|
@@ -241,10 +241,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
241
241
|
emit("reset");
|
242
242
|
}
|
243
243
|
function getShowColumn(column) {
|
244
|
-
var _a3,
|
244
|
+
var _a3, _b3;
|
245
245
|
if (!((_a3 = props.showColumnNames) == null ? void 0 : _a3.length)) {
|
246
246
|
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" && !((
|
247
|
+
if (isEdit && !props.isEdit || column.field === "sortPriority" && !props.showSortPriority || column.field === "isShowHeaderFilter" && !props.showHeadFilter || column.field === "hideExpression" && !((_b3 = props.hideExpressionConfig) == null ? void 0 : _b3.show))
|
248
248
|
return false;
|
249
249
|
return !column.hide;
|
250
250
|
}
|
@@ -372,15 +372,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
372
372
|
column.checkedAll = !noAllCheck;
|
373
373
|
}
|
374
374
|
function initColumns() {
|
375
|
-
var _a3,
|
375
|
+
var _a3, _b3, _c3, _d2, _e2, _f2, _g2, _h2;
|
376
376
|
columns.value = cloneDeep(defaultColumns);
|
377
377
|
if ((_a3 = props.showColumnNames) == null ? void 0 : _a3.length) {
|
378
378
|
columns.value = defaultColumns.filter((column) => {
|
379
|
-
var _a4,
|
380
|
-
return column.field === "title" || ((
|
379
|
+
var _a4, _b4;
|
380
|
+
return column.field === "title" || ((_b4 = (_a4 = props.showColumnNames) == null ? void 0 : _a4.includes) == null ? void 0 : _b4.call(_a4, column.field));
|
381
381
|
});
|
382
382
|
}
|
383
|
-
if ((
|
383
|
+
if ((_b3 = props.customColumns) == null ? void 0 : _b3.length) {
|
384
384
|
props.customColumns.forEach((column) => {
|
385
385
|
const {
|
386
386
|
positionField
|
@@ -395,14 +395,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
395
395
|
}
|
396
396
|
if (props.fieldDescribeMode === "column" && hasFieldDescribe.value) {
|
397
397
|
columns.value.push({
|
398
|
-
title: ((
|
398
|
+
title: ((_c3 = window.getLanguageByCode) == null ? void 0 : _c3.call(window, "10010.1.260")) || ((_e2 = (_d2 = window.top) == null ? void 0 : _d2.getLanguageByCode) == null ? void 0 : _e2.call(_d2, "10010.1.260")) || "\u5B57\u6BB5\u63CF\u8FF0",
|
399
399
|
type: "text",
|
400
400
|
field: "feildDescribe"
|
401
401
|
});
|
402
402
|
}
|
403
403
|
if (props.showSeq) {
|
404
404
|
columns.value.splice(1, 0, {
|
405
|
-
title: ((
|
405
|
+
title: ((_f2 = window.getLanguageByCode) == null ? void 0 : _f2.call(window, "10010.1.249")) || ((_h2 = (_g2 = window.top) == null ? void 0 : _g2.getLanguageByCode) == null ? void 0 : _h2.call(_g2, "10010.1.249")) || "\u6392\u5E8F",
|
406
406
|
type: "text",
|
407
407
|
field: "seq"
|
408
408
|
});
|
@@ -439,7 +439,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
439
439
|
getTableFields
|
440
440
|
});
|
441
441
|
return (_ctx, _cache) => {
|
442
|
-
var _a3;
|
442
|
+
var _a3, _b3, _c3;
|
443
443
|
return openBlock(), createElementBlock("div", _hoisted_1, [__props.showSearch ? (openBlock(), createBlock(unref(NInput), {
|
444
444
|
key: 0,
|
445
445
|
class: "main-wrapper__search-wrapper",
|
@@ -448,7 +448,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
448
448
|
valueModifiers: {
|
449
449
|
trim: true
|
450
450
|
},
|
451
|
-
placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.245")) || "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898",
|
451
|
+
placeholder: ((_a3 = window.getLanguageByCode) == null ? void 0 : _a3.call(window, "10010.1.245")) || ((_c3 = (_b3 = window.top) == null ? void 0 : _b3.getLanguageByCode) == null ? void 0 : _c3.call(_b3, "10010.1.245")) || "\u8BF7\u8F93\u5165\u5B57\u6BB5\u6807\u9898",
|
452
452
|
onKeydown: withKeys(withModifiers(handleSearch, ["prevent"]), ["enter"])
|
453
453
|
}, null, 8, ["value", "onKeydown"])) : createCommentVNode("v-if", true), createElementVNode("div", {
|
454
454
|
class: "main-wrapper__table",
|
@@ -535,14 +535,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
535
535
|
}
|
536
536
|
}, {
|
537
537
|
default: withCtx(() => {
|
538
|
-
var _a4;
|
539
|
-
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.242")) || "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E")];
|
538
|
+
var _a4, _b4, _c4;
|
539
|
+
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.242")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.242")) || "\u6062\u590D\u9ED8\u8BA4\u8BBE\u7F6E")];
|
540
540
|
}),
|
541
541
|
_: 1
|
542
542
|
})]),
|
543
543
|
default: withCtx(() => {
|
544
|
-
var _a4;
|
545
|
-
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.243")) || "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F")];
|
544
|
+
var _a4, _b4, _c4;
|
545
|
+
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.243")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.243")) || "\u786E\u8BA4\u8981\u6062\u590D\u7CFB\u7EDF\u9ED8\u8BA4\u8BBE\u7F6E\u5417\uFF1F")];
|
546
546
|
}),
|
547
547
|
_: 1
|
548
548
|
}), createVNode(unref(NButton), {
|
@@ -552,8 +552,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
552
552
|
onClick: onCancle
|
553
553
|
}, {
|
554
554
|
default: withCtx(() => {
|
555
|
-
var _a4;
|
556
|
-
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.28")) || "\u53D6\u6D88")];
|
555
|
+
var _a4, _b4, _c4;
|
556
|
+
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.28")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.28")) || "\u53D6\u6D88")];
|
557
557
|
}),
|
558
558
|
_: 1
|
559
559
|
}), createVNode(unref(NButton), {
|
@@ -561,8 +561,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
561
561
|
onClick: handleFieldSave
|
562
562
|
}, {
|
563
563
|
default: withCtx(() => {
|
564
|
-
var _a4;
|
565
|
-
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.244")) || "\u4FDD\u5B58")];
|
564
|
+
var _a4, _b4, _c4;
|
565
|
+
return [createTextVNode(((_a4 = window.getLanguageByCode) == null ? void 0 : _a4.call(window, "10010.1.244")) || ((_c4 = (_b4 = window.top) == null ? void 0 : _b4.getLanguageByCode) == null ? void 0 : _c4.call(_b4, "10010.1.244")) || "\u4FDD\u5B58")];
|
566
566
|
}),
|
567
567
|
_: 1
|
568
568
|
})])])) : createCommentVNode("v-if", true)]);
|
@@ -76,32 +76,32 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
76
76
|
return rest;
|
77
77
|
});
|
78
78
|
const tabList = computed(() => {
|
79
|
-
var _a, _b, _c, _d, _e;
|
79
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
80
80
|
const list = [{
|
81
81
|
name: "field",
|
82
|
-
tab: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.261")) || "\u5B57\u6BB5\u8BBE\u7F6E",
|
82
|
+
tab: ((_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",
|
83
83
|
render: () => h(FieldSet)
|
84
84
|
}, {
|
85
85
|
name: "fieldColor",
|
86
|
-
tab: ((
|
86
|
+
tab: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.262")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.262")) || "\u5B57\u6BB5\u989C\u8272",
|
87
87
|
render: () => h(FieldColor, {
|
88
88
|
isFieldColor: true,
|
89
89
|
defaultList: props.fieldColorList
|
90
90
|
})
|
91
91
|
}, {
|
92
92
|
name: "highlightRow",
|
93
|
-
tab: ((
|
93
|
+
tab: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.263")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.263")) || "\u9AD8\u4EAE\u884C",
|
94
94
|
render: () => h(FieldColor, {
|
95
95
|
isFieldColor: false,
|
96
96
|
defaultList: props.highlightRowColorList
|
97
97
|
})
|
98
98
|
}, {
|
99
99
|
name: "tableStyle",
|
100
|
-
tab: ((
|
100
|
+
tab: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.264")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.264")) || "\u8868\u683C\u6837\u5F0F",
|
101
101
|
render: () => h(TableStyle)
|
102
102
|
}, {
|
103
103
|
name: "fieldFilter",
|
104
|
-
tab: ((
|
104
|
+
tab: ((_m = window.getLanguageByCode) == null ? void 0 : _m.call(window, "10010.1.265")) || ((_o = (_n = window.top) == null ? void 0 : _n.getLanguageByCode) == null ? void 0 : _o.call(_n, "10010.1.265")) || "\u9AD8\u7EA7\u7B5B\u9009",
|
105
105
|
render: () => h(FieldFilter, {
|
106
106
|
defaultList: props.fieldFilterList,
|
107
107
|
showFilterColumnNames: props.showFilterColumnNames
|
@@ -56,15 +56,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
56
56
|
expose,
|
57
57
|
emit
|
58
58
|
}) {
|
59
|
-
var _a, _b, _c, _d;
|
59
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
60
60
|
const props = __props;
|
61
61
|
const tableDemoList = ref([{
|
62
|
-
title: ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.266")) || "\u6837\u5F0F\u4E00",
|
63
|
-
label: ((
|
62
|
+
title: ((_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",
|
63
|
+
label: ((_d = window.getLanguageByCode) == null ? void 0 : _d.call(window, "10010.1.267")) || ((_f = (_e = window.top) == null ? void 0 : _e.getLanguageByCode) == null ? void 0 : _f.call(_e, "10010.1.267")) || "\u65E0\u5217\u5206\u5272\u7EBF",
|
64
64
|
border: false
|
65
65
|
}, {
|
66
|
-
title: ((
|
67
|
-
label: ((
|
66
|
+
title: ((_g = window.getLanguageByCode) == null ? void 0 : _g.call(window, "10010.1.268")) || ((_i = (_h = window.top) == null ? void 0 : _h.getLanguageByCode) == null ? void 0 : _i.call(_h, "10010.1.268")) || "\u6837\u5F0F\u4E8C",
|
67
|
+
label: ((_j = window.getLanguageByCode) == null ? void 0 : _j.call(window, "10010.1.269")) || ((_l = (_k = window.top) == null ? void 0 : _k.getLanguageByCode) == null ? void 0 : _l.call(_k, "10010.1.269")) || "\u5217\u5206\u5272\u7EBF",
|
68
68
|
border: true
|
69
69
|
}]);
|
70
70
|
const tableStyle = reactive(props.tableStyleConfig);
|
@@ -128,8 +128,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
128
128
|
onClick: onCancle
|
129
129
|
}, {
|
130
130
|
default: withCtx(() => {
|
131
|
-
var _a2;
|
132
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || "\u53D6\u6D88")];
|
131
|
+
var _a2, _b2, _c2;
|
132
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.28")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.28")) || "\u53D6\u6D88")];
|
133
133
|
}),
|
134
134
|
_: 1
|
135
135
|
}), createVNode(unref(NButton), {
|
@@ -137,8 +137,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
137
137
|
onClick: onSave
|
138
138
|
}, {
|
139
139
|
default: withCtx(() => {
|
140
|
-
var _a2;
|
141
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.244")) || "\u4FDD\u5B58")];
|
140
|
+
var _a2, _b2, _c2;
|
141
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.244")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.244")) || "\u4FDD\u5B58")];
|
142
142
|
}),
|
143
143
|
_: 1
|
144
144
|
})])]);
|
@@ -13,7 +13,7 @@ import '@vueuse/shared';
|
|
13
13
|
import '../../../../shared/hooks/selectHooks/useSearchContent.js';
|
14
14
|
import '../../../../shared/hooks/useScrollLoading.js';
|
15
15
|
|
16
|
-
var _a;
|
16
|
+
var _a, _b, _c;
|
17
17
|
const _hoisted_1 = {
|
18
18
|
class: "condition-wrapper"
|
19
19
|
};
|
@@ -23,7 +23,7 @@ const _hoisted_2 = {
|
|
23
23
|
const _hoisted_3 = {
|
24
24
|
class: "sql-expression-wrapper"
|
25
25
|
};
|
26
|
-
const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", null, ((_a = window.getLanguageByCode) == null ? void 0 : _a.call(window, "10010.1.272")) || "\u7B5B\u9009\u5668\u903B\u8F91\u7F16\u8F91\uFF0C\u4E0D\u8BBE\u7F6E\u9ED8\u8BA4\u4E3AAND", -1);
|
26
|
+
const _hoisted_4 = /* @__PURE__ */ createElementVNode("span", null, ((_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", -1);
|
27
27
|
const _hoisted_5 = /* @__PURE__ */ createElementVNode("br", null, null, -1);
|
28
28
|
const _hoisted_6 = /* @__PURE__ */ createElementVNode("span", null, "\u4F8B\u5B50 (1 AND 2) OR 3", -1);
|
29
29
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
@@ -50,7 +50,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
50
50
|
const sqlExpression = ref("");
|
51
51
|
init();
|
52
52
|
function setConOptions(item, isInit = false) {
|
53
|
-
var _a2,
|
53
|
+
var _a2, _b2;
|
54
54
|
if (!isInit) {
|
55
55
|
item.compareFieldOptions = [];
|
56
56
|
item.con = "";
|
@@ -77,7 +77,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
77
77
|
if (showSetting == null ? void 0 : showSetting.length) {
|
78
78
|
res.unshift(...SHOWSETTING_OPTIONS);
|
79
79
|
}
|
80
|
-
if ((
|
80
|
+
if ((_b2 = Object.keys(wordbook || {})) == null ? void 0 : _b2.length) {
|
81
81
|
res.unshift(...WORDBOOK_OPTIONS);
|
82
82
|
}
|
83
83
|
item.conOptions = res;
|
@@ -357,12 +357,12 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
357
357
|
size: "20"
|
358
358
|
}, null, 8, ["component"])]),
|
359
359
|
default: withCtx(() => {
|
360
|
-
var _a2;
|
361
|
-
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.270")) || "\u6DFB\u52A0\u64CD\u4F5C")];
|
360
|
+
var _a2, _b2, _c2;
|
361
|
+
return [createTextVNode(((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.270")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.270")) || "\u6DFB\u52A0\u64CD\u4F5C")];
|
362
362
|
}),
|
363
363
|
_: 1
|
364
364
|
}, 8, ["disabled"]), createElementVNode("section", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList(condition.value, (item, index) => {
|
365
|
-
var _a2;
|
365
|
+
var _a2, _b2, _c2;
|
366
366
|
return openBlock(), createElementBlock("div", {
|
367
367
|
class: "condition-wrapper__item",
|
368
368
|
key: index
|
@@ -370,7 +370,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
370
370
|
disabled: __props.readonly,
|
371
371
|
value: item.field_key,
|
372
372
|
"onUpdate:value": [($event) => item.field_key = $event, () => setConOptions(item)],
|
373
|
-
placeholder: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.271")) || "\u8BF7\u9009\u62E9\u5B57\u6BB5\u540D",
|
373
|
+
placeholder: ((_a2 = window.getLanguageByCode) == null ? void 0 : _a2.call(window, "10010.1.271")) || ((_c2 = (_b2 = window.top) == null ? void 0 : _b2.getLanguageByCode) == null ? void 0 : _c2.call(_b2, "10010.1.271")) || "\u8BF7\u9009\u62E9\u5B57\u6BB5\u540D",
|
374
374
|
"label-field": "title",
|
375
375
|
"value-field": "columnName",
|
376
376
|
clearable: "",
|