cnhis-design-vue 3.1.41-beta.3 → 3.1.41-beta.30
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/button-print/src/utils/print.d.ts +1 -1
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/date-picker/index.d.ts +20 -0
- package/es/components/date-picker/index.js +1 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +20 -0
- package/es/components/date-picker/src/DatePicker.vue.js +1 -0
- package/es/components/fabric-chart/src/hooks/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -0
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/fabric-chart/src/hooks/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/useTop.js +1 -1
- package/es/components/field-set/index.d.ts +8 -0
- package/es/components/field-set/src/FieldSet.vue.d.ts +5 -0
- package/es/components/field-set/src/FieldSet.vue.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +6762 -46
- package/es/components/form-config/src/FormConfig.vue.d.ts +6903 -186
- package/es/components/form-config/src/FormConfig.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigCreator.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.d.ts +4 -4
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3415 -60
- package/es/components/form-config/src/components/FormConfigEdit.vue.js +1 -1
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +2 -2
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
- package/es/components/form-config/src/components/renderer/CloseButton.vue.d.ts +3 -3
- package/es/components/form-config/src/components/renderer/CloseButton.vue.js +1 -1
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.d.ts +10 -10
- package/es/components/form-config/src/components/renderer/ComplexNode.vue.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +6 -6
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.js +1 -1
- package/es/components/form-config/src/hooks/useConfigurationField.d.ts +2 -3
- package/es/components/form-config/src/hooks/useConfigurationField.js +1 -1
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +4 -2
- package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
- package/es/components/form-config/src/hooks/usePresetRenderer.d.ts +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +9 -2
- package/es/components/form-config/src/utils/index.d.ts +4 -1
- package/es/components/form-config/src/utils/index.js +1 -1
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +2 -2
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -1
- package/es/components/form-render/src/FormRender.vue.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +22 -21
- package/es/components/form-render/src/FormRenderWrapper.vue.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +0 -12
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useComplexOptions.d.ts +2 -6
- package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
- package/es/components/form-render/src/hooks/useFormField.d.ts +1 -0
- package/es/components/form-render/src/hooks/useFormField.js +1 -1
- package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
- package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
- package/es/components/form-render/src/types/fieldItem.d.ts +4 -0
- package/es/components/form-render/src/types/index.d.ts +5 -3
- package/es/components/form-render/src/utils/dom.d.ts +2 -1
- package/es/components/form-render/src/utils/dom.js +1 -1
- package/es/components/iho-table/index.d.ts +5 -5
- package/es/components/iho-table/index.js +1 -1
- package/es/components/iho-table/src/IhoTable.vue.d.ts +5 -5
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/{filterPlugin → filterRenderPlugin}/filter.vue.d.ts +15 -74
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +20 -7
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +102 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/{timeRendererPlugin.d.ts → timeRendererPlugin/index.d.ts} +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/colorRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/defaultRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/labelRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/pictureRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/virtualTreePlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +20 -11
- package/es/components/iho-table/src/utils/index.js +1 -1
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +3 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +289 -155
- package/es/components/info-header/src/InfoHeader.vue.d.ts +293 -160
- package/es/components/info-header/src/InfoHeader.vue.js +1 -1
- package/es/components/info-header/src/components/index.d.ts +3 -0
- package/es/components/info-header/src/components/index.js +1 -0
- package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +266 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +38 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -0
- package/es/components/info-header/src/types/index.d.ts +29 -0
- package/es/components/recommend-search/index.d.ts +10 -10
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +10 -10
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -4
- package/es/components/scale-view/index.d.ts +1 -2
- package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -5
- package/es/components/scale-view/src/ScaleView.vue.js +1 -1
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/components/scale-view/src/hooks/scaleview-computed.d.ts +1 -0
- package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
- package/es/components/scale-view/src/utils/judge-types.js +1 -1
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +4 -3
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +4 -3
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
- package/es/components/table-filter/index.d.ts +963 -8064
- package/es/components/table-filter/index.js +1 -1
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +57 -3397
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +1 -1
- package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +401 -2969
- package/es/components/table-filter/src/classification/Classification-com.vue.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +2 -2
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -42
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -49
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +2 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/components/search-filter/index.vue.d.ts +372 -0
- package/es/components/table-filter/src/components/search-filter/index.vue.js +1 -0
- package/es/components/table-filter/src/components/set-classification/index.vue.d.ts +717 -0
- package/es/components/table-filter/src/components/set-classification/index.vue.js +1 -0
- package/es/components/table-filter/src/components/table-modal/{TableModal.vue.d.ts → index.vue.d.ts} +3 -43
- package/es/components/table-filter/src/components/table-modal/index.vue.js +1 -0
- package/es/components/table-filter/src/hooks/export.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -2
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useMixins.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useMixins.js +1 -1
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +50 -1291
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +10 -176
- package/es/components/table-filter/style/iconfont.ttf +0 -0
- package/es/components/table-filter/style/index.css +1 -1
- package/es/components/time-picker/index.d.ts +18 -0
- package/es/components/time-picker/index.js +1 -0
- package/es/components/time-picker/src/TimePicker.vue.d.ts +18 -0
- package/es/components/time-picker/src/TimePicker.vue.js +1 -0
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/shared/components/no-data/NoData.vue.d.ts +5 -0
- package/es/shared/components/no-data/NoData.vue.js +1 -1
- package/es/shared/utils/index.d.ts +16 -0
- package/es/shared/utils/index.js +1 -1
- package/package.json +2 -2
- package/es/components/callback/src/components/form.d.ts +0 -0
- package/es/components/callback/src/components/page.d.ts +0 -0
- package/es/components/callback/src/components/table.d.ts +0 -0
- package/es/components/callback/src/types/index.d.ts +0 -0
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/index.d.ts +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +0 -1
- package/es/components/iho-table/src/plugins/filterPlugin/types.d.ts +0 -7
- package/es/components/iho-table/src/plugins/filterPlugin/types.js +0 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +0 -1
- package/es/components/info-header/src/HiddenContent.vue.js +0 -1
- package/es/components/info-header/src/InfoEllipsis.vue.js +0 -1
- package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +0 -90
- package/es/components/table-filter/src/classification/search-class-name.vue.js +0 -1
- package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +0 -1472
- package/es/components/table-filter/src/classification/search-professional-model.vue.js +0 -1
- package/es/components/table-filter/src/components/age-com/index.vue.d.ts +0 -119
- package/es/components/table-filter/src/components/age-com/index.vue.js +0 -1
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +0 -199
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +0 -1
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +0 -2
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +0 -1
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +0 -90
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +0 -1
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +0 -113
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +0 -1
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +0 -266
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +0 -1
- package/es/components/table-filter/src/components/range-age/index.vue.d.ts +0 -248
- package/es/components/table-filter/src/components/range-age/index.vue.js +0 -1
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +0 -789
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +0 -1
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +0 -18
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +0 -1
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +0 -1244
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +0 -1
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +0 -1651
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +0 -1
- package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +0 -1
- package/es/components/table-filter/src/const/dataOptions.d.ts +0 -36
- package/es/components/table-filter/src/const/dataOptions.js +0 -1
- package/es/components/table-filter/src/directive/preventReClick.d.ts +0 -4
- package/es/components/table-filter/src/directive/preventReClick.js +0 -1
- package/es/components/info-header/src/{HiddenContent.vue.d.ts → components/infoDescription/HiddenContent.vue.d.ts} +2 -2
- package/es/components/info-header/src/{InfoEllipsis.vue.d.ts → components/infoDescription/InfoEllipsis.vue.d.ts} +1 -1
- /package/es/components/{callback → info-header}/src/types/index.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,useAttrs as l,ref as t,computed as a,watch as i,openBlock as n,createElementBlock as o,createElementVNode as s,normalizeClass as u,unref as c,createCommentVNode as r,Fragment as d,renderList as v,toDisplayString as p,createBlock as f,withCtx as m,createVNode as h,createTextVNode as y,renderSlot as g,withDirectives as b,normalizeStyle as k,withModifiers as A,withKeys as E,vModelText as T,vShow as S,isRef as C}from"vue";import{TEAMS as O,DAYUNITS as D,EVALUATEList1 as L,AGEOPTIONS as R,DATETEAM0 as U,DATETEAM2 as _,DATETEAM3 as w}from"../const/dataOptions.js";import{useMessage as N,NTooltip as V,NTag as B,NIcon as x,NInput as I,NInputNumber as j,NRadioGroup as Y,NRadioButton as H,NDatePicker as P,NSelect as q,NCheckboxGroup as M,NCheckbox as Q,NRadio as F,NModal as W,NCard as $,NButton as G,NForm as z,NFormItem as J,NGrid as K,NGridItem as X}from"naive-ui";import{ChevronUp as Z,ChevronDown as ee,CloseOutline as le,AddOutline as te}from"@vicons/ionicons5";import ae from"../hooks/useMixins.js";import ie from"../hooks/useTableSearchCon.js";import ne from"../hooks/useWordBookutils.js";import oe from"../hooks/useRenderWidget.js";import se from"axios";import ue from"moment";import"moment/locale/zh-cn";import{cloneDeep as ce}from"lodash-es";import re from"../../../../shared/components/SvgIcon/SvgIcon.vue.js";import de from"../components/range-age/index.vue.js";import ve from"../components/multi-select/multi-select.vue.js";import pe from"../components/c-tree-select/tree-select.vue.js";import fe from"../components/render-widget/index.vue.js";import me from"../directive/resize.js";import{handleLabelColor as he}from"../../../../shared/utils/vexutils.js";import ye from"../../../../_virtual/plugin-vue_export-helper.js";import ge from"xe-utils";const be={key:0,class:"module-title"},ke={class:"quick-row"},Ae={class:"age-container"},Ee={class:"label-attr-container"},Te={class:"edit-label"},Se={class:"label-content"},Ce={key:0,class:"label-unfold-btn"},Oe=["onClick"],De=s("span",null,"收起",-1),Le=s("span",null,"展开",-1),Re={class:"tag-evaluate"},Ue={class:"ant-calendar-picker",style:{width:"300px"}},_e=["onUpdate:modelValue","onKeyup","title","placeholder"],we=s("span",{class:"ant-calendar-range-picker-separator"}," ~ ",-1),Ne=["onUpdate:modelValue","title","onKeyup","placeholder"],Ve=["onClick"],Be=[s("i",{"aria-label":"图标: close-circle",tabindex:"-1",class:"anticon anticon-close-circle ant-input-clear-icon"},[s("svg",{viewBox:"64 64 896 896","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false",class:""},[s("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"})])],-1)],xe={key:3},Ie=["onClick"],je={class:"check-date"},Ye={class:"age-wrap"},He=s("p",null,"年龄",-1),Pe=["onClick"],qe={class:"module-title"},Me={class:"quick-row"},Qe={key:0},Fe={class:"edit-label"},We={class:"edit-content"},$e={class:"label-content"},Ge={class:"tag-evaluate"},ze={class:"ant-calendar-picker",style:{width:"300px"}},Je=["onUpdate:modelValue","onKeyup","title","placeholder"],Ke=s("span",{class:"ant-calendar-range-picker-separator"}," ~ ",-1),Xe=["onUpdate:modelValue","title","onKeyup","placeholder"],Ze=["onClick"],el=[s("i",{"aria-label":"图标: close-circle",tabindex:"-1",class:"anticon anticon-close-circle ant-input-clear-icon"},[s("svg",{viewBox:"64 64 896 896","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false",class:""},[s("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 0 1-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"})])],-1)],ll=s("span",{class:"ant-calendar-picker-icon"},null,-1),tl={key:3},al=["onClick"],il={class:"check-date"},nl={class:"svg-wrap"},ol=["onDblclick","onClick"],sl={key:0,class:"s-content"};var ul=ye(e({__name:"QuickSearch",props:{visible:{type:Boolean},searchFieldList:{type:Array,default:()=>[]},searchFieldLimit:{type:Object,default:()=>({})},quickSearchConfig:{type:Array,default:()=>[]},source:{type:String,default:"editTable"},quickSearchListObj:{type:Object,default:()=>({})},originConditionList:{type:Array,default:()=>[]},isOrgAdmin:{type:Boolean,default:!1},lastQuickSearchData:{type:Array,default:()=>[]},show:{type:Boolean},getFilterData:{type:Function},filterApiConfig:{type:Object}},emits:["filterCountChange","onSave","closeModal","updateTableCondiTion","clearQuickSearchConfig"],setup(e,{expose:ye,emit:ul}){const cl=e,rl={classname:{required:!0,message:"请输入分类名称",trigger:["input","blur"]}};se.create({});const dl=l(),vl=N(),{handleGetConfigApi:pl}=ae(),{validConObj:fl,getSearchDefValueByLimit:ml,formatSearchLimit:hl}=ie(),{wordBookutils:yl}=ne(),{isRender:gl,getDefValByRenderWidget:bl,initRenderWidgetCfg:kl,getRenderSearchConObj:Al,getDefValByRenderConObj:El,isExistDefValByRenderWidget:Tl,resetRenderWidgetValue:Sl}=oe(),Cl=t(new Map),Ol=t(null),Dl=t({classname:""});let Ll=t(cl.visible),Rl=t(!1),Ul=t([]),_l=t([]),wl=t([]),Nl=t({}),Vl=t(),Bl=t(""),xl=t(O),Il=t([]),jl=t(""),Yl=t(D),Hl=t(!1),Pl=t("700px"),ql=t("60vh"),Ml=t(L);t(R),t(8);let Ql=t([]),Fl=t(!1),Wl=t(""),$l=t(!1),Gl=t(U),zl=t(_),Jl=t(w),Kl=a((()=>function(e){var l;return"PERCENTAGE"===(null==(l=e.settingObj)?void 0:l.attr)||!1})),Xl=a((()=>function(e){return`${e.advanceColWidth||200}px`})),Zl=a((()=>-1!=wl.value.findIndex((e=>e.fieldList&&e.fieldList.length)))),et=a((()=>!!Ql.value.length&&Ql.value.some((e=>e.isAdd)))),lt=a((()=>(e,l="name")=>e.alias||e[l]));function tt(...e){return ge.filterOption(...e)}function at(...e){return he(...e)}function it(e){if(!e.length)return Ul.value.forEach(((e,l)=>{if(gl(e))return void(Ul.value[l].value=bl(e));let t=null==e?void 0:e.advanceOptionSetting;"0"==String(t)?Ul.value[l].value=void 0:e.CONVERT&&Array.isArray(e.CONVERT)&&(Ul.value[l].CONVERT=[])})),!1;Ul.value.forEach(((l,t)=>{var a;let i=null==l?void 0:l.advanceOptionSetting,n="0"==String(i),o=e.find((e=>e.field_key===l.columnName));if(o){if(gl(l))return void(Ul.value[t].value=El(o,l));let e=null==o?void 0:o.value;if(Array.isArray(e)&&l.CONVERT&&Array.isArray(l.CONVERT)){let i=(null==(a=e.map)?void 0:a.call(e,(e=>JSON.stringify(e))))||o.value;if(i=i.filter(Boolean),Ul.value[t].CONVERT=i,n&&l.labelList){let e=i[0]?l.labelList.findIndex((e=>e.value==i[0])):"";Ul.value[t].value=e}}else Ul.value[t].value=e}else Ul.value[t].CONVERT=n?"":[]}))}function nt(e){Array.isArray(e)&&e.forEach((e=>{var l,t,a,i,n,o,s,u,c,r,d,v,p;if(kl(e))return;const f=(null==(l=null==e?void 0:e.settingObj)?void 0:l.isPreciseSearch)||"";if(e.setting){e.setting="string"==typeof e.setting?JSON.parse(e.setting):e.setting;let l=null==e?void 0:e.advanceOptionSetting,u="0"==String(l),c=null==(a=null==(t=null==e?void 0:e.setting)?void 0:t.wordbook)?void 0:a.id;if(ge.anyNotEmpty(null==(i=e.setting)?void 0:i.wordbook)&&c){let l="tree"===(null==(o=null==(n=null==e?void 0:e.setting)?void 0:n.wordbook)?void 0:o.showType)?"treeSelect":"SelectMuiWordBook",t=[];return u&&(t=void 0),e.con="QUOTE",e.dataSource=[],e.QUOTE=[],e.value=t,e.com="SelectMui",e.comType=l,void(e.searchPageConfig={keyword:void 0,isRequest:!1,page:1,total:1,hasNextPage:!1})}if((null==(s=null==e?void 0:e.setting)?void 0:s.showSetting)&&(null==e?void 0:e.setting.showSetting.length)>0){e.con="CONVERT";let l=e.setting.showSetting,t=function(e){let{defaultValue:l,defaultValueTitle:t}=(null==e?void 0:e.dictionarieObj)||{},a=null;l&&t&&(a={change_text:t,filter:[{con:"EQ",field_key:e.columnName,value:l}]});return a}(e);if(t&&l.unshift(t),l.forEach((e=>{e.label=e.change_text,e.value=JSON.stringify(e.filter)})),u){e.com="SelectMui",e.comType="SelectMui";const l=e.setting.showSetting.map((e=>(e.labelName=e.change_text,e)));e.labelList=l}return e.setting.showSetting=l,void(e.CONVERT=u?"":[])}}if("LABEL"===(null==(u=e.setting)?void 0:u.attr))e.con="CL",e.LABELAttr=!0,e.labelSelectList=[],e.inputVal="",async function(e,l){let t={},a=await pl(e,"requestedLabel",{},cl.filterApiConfig);a.forEach((e=>{e.isSelect=!1,t[e.typeName]?t[e.typeName].itemList.push({...e}):t[e.typeName]={itemList:[{...e}],showAdd:!1,addVal:"",typeName:e.typeName,typeId:e.typeId,isUnfold:!1,isShowBtn:!1}})),l.labelObj=t,l.labelList=a}(e.setting.labelType,e);else if("EVALUATE"===(null==(c=e.setting)?void 0:c.attr))e.con="CL",e.selecteds=[],e.EVALUATEAttr=!0;else if("AGE"===(null==(r=e.setting)?void 0:r.attr)&&"NUMBER"!=e.fieldType){let l=e.setting.format||"YYYY-MM-DD";l=l.toUpperCase(),e.con="IN",e.ageObj={},e.format=l,e.AGEAttr=!0}else if("PASSWORD"===(null==(d=e.setting)?void 0:d.attr))e.comAttr="PASSWORD",e.PASSWORDTYPE=!0;else if("NUMBER"==e.fieldType)e.con="EQ",e.EQ="",e.NUMBERFiled=!0,e.lessValue="",e.bigValue="","PERCENTAGE"==(null==(v=e.setting)?void 0:v.attr)&&(e.inputUnit="%");else if(null==(p=null==e?void 0:e.fieldType)?void 0:p.includes("DATE"))if(e.settingObj&&"BIRTHDAY"==e.settingObj.attr)e.con="BIRTHDAY",e.showDate=!1,e.marginx="ml",e.BIRTHDAY=Ct();else{const l=ml(e,cl.searchFieldLimit);let t=Array.isArray(l),a=null==e?void 0:e.advanceOptionSetting,i="1"==String(a);e.con="DATE",e.showDate=i||t,e.marginx=i||t?"mr":"ml",e.DATE={con:t?"IN":null,start_val:t?l[0]:null,end_val:t?l[1]:null};let n=[];switch(a){case"0":n=[];break;case"2":n=(null==zl?void 0:zl.value)||Gl.value;break;case"3":n=(null==Jl?void 0:Jl.value)||Gl.value}e.dateTeam=n}else if("TEXT"==e.fieldType){let l=1==f?"EQ":"CL";e.con=l,e.isPreciseSearch=1==f}else"JSONB"==e.fieldType&&(e.con="EQ",e.EQ="")}))}function ot(e){e.showDate=!e.showDate,e.showDate?e.marginx="mr":e.marginx="ml"}function st(e,l){let{id:t,filterKeys:a,wordbookType:i}=e;$l.value=!0;let n={wordbookId:t,fieldKeys:Array.isArray(a)?JSON.stringify(a):a,wordbookType:i||"WORDBOOK",asyncCount:1,...l};return pl(n,"requestGetWordbookData",{fields:e},cl.filterApiConfig).then((e=>($l.value=!1,"object"==typeof e.data&&(e.data.reqParams=n),e))).catch((()=>{$l.value=!1}))}function ut(e,l,t){e.hasFieldList=!1;const{rows:a,hasFieldList:i,searchPageConfig:n}=yl.handleWordbookData(e,l,t);e.hasFieldList=i,e.dataSource=a,e.searchPageConfig=Object.assign(e.searchPageConfig,n)}function ct(){}function rt(e){return Array.isArray(e.value)?e.value.length:1}function dt(e,l){var t,a,i,n,o,s,u;if(("SelectMui"!=l.comType||"0"!==String(l.advanceOptionSetting))&&e){let e={};(null==(a=null==(t=l.setting)?void 0:t.wordbook)?void 0:a.params)&&(null==(o=null==(n=null==(i=l.setting)?void 0:i.wordbook)?void 0:n.params)||o.forEach((l=>{e[l.p_name]=l.p_value}))),l.settingObj.wordbook&&(e.autograph=l.settingObj.wordbook.autograph),Vl.value=null==(s=l.setting)?void 0:s.wordbook,Bl.value=l.settingObj.wordbook&&l.settingObj.wordbook.autograph,Nl.value=l,st(null==(u=l.setting)?void 0:u.wordbook,e).then((({data:t})=>{ut(l,t,e)}))}}function vt(e,l,t={}){var a,i,n,o,s;if("SelectMui"==l.comType&&"0"===String(l.advanceOptionSetting))return;let u={keyword:e,autograph:Bl.value},c={};((null==(i=null==(a=null==l?void 0:l.setting)?void 0:a.wordbook)?void 0:i.params)||void 0)&&(null==(s=null==(o=null==(n=l.setting)?void 0:n.wordbook)?void 0:o.params)||s.forEach((e=>{c[e.p_name]=e.p_value})));let r={...u,...c,...t};st(Vl.value,r).then((({data:e})=>{ut(Nl.value,e,r)}))}function pt(){let e=mt(Ul.value)||[],l=[];return wl.value.forEach((e=>{let t=mt(e.fieldList);t&&t.length&&l.push({field_key:e.primaryField,valueField:e.relationField,con:"QUOTE_IN",tableId:e.tableId,parameterConversionId:e.parameterConversionId,converFun:e.converFun,preConObj:e.preConObj,relationOrgId:e.relationOrgId,preSqlExpression:e.preSqlExpression,quote_con:{conObj:mt(e.fieldList),sqlExpression:""}})})),e.push(...l),e||[]}function ft(){Pl.value="700px",ql.value="60vh",Hl.value=!1}function mt(e){var l,t,a,i,n,o;if(!Array.isArray(e))return[];let s=[];for(let u=0;u<e.length;u++){let c=e[u];const r=Al(c);if(r){s.push(r);continue}let d="",v="",p=null==c?void 0:c.advanceOptionSetting,f="0"===String(p);if(c.EQ||c.CL)d=c.EQ||c.CL,"PERCENTAGE"===(null==(l=c.settingObj)?void 0:l.attr)&&(d=Number(d)/100),c.EVALUATEAttr&&(d=c.selecteds.join("|#|"));else if("SelectMui"==c.comType&&f&&c.labelList){let e=c.value,l=null==c?void 0:c.labelList[e];d="CONVERT"==c.con?(null==l?void 0:l.filter)?[null==l?void 0:l.filter]:void 0:(null==l?void 0:l.labelName)?[null==l?void 0:l.labelName]:void 0}else if("QUOTE"==c.con&&ge.anyNotEmpty(c.value))if("treeSelect"==c.comType){let e=c.value;"string"==typeof e?([e]=e.split("<&=&>"),d=e):Array.isArray(e)&&(e=e.map((e=>{let[l]="string"==typeof e?e.split("<&=&>"):[];return l})),d=e.join("|#|"))}else d=f?c.value:c.value.join("|#|");else if(ge.anyNotEmpty(c.CONVERT)&&Array.isArray(c.CONVERT))d=c.CONVERT.map((e=>e&&ge.isJSON(e)?JSON.parse(e):e));else if(c.DATE&&!c.AGEAttr)(c.DATE.start_val||c.DATE.end_val)&&(c.DATE.con="IN"),c.tempCon=c.DATE.con,c.start_val=c.DATE.start_val||null,c.end_val=c.DATE.end_val||null;else if(c.BIRTHDAY){let e=!1;if(((null==(a=null==(t=c.BIRTHDAY)?void 0:t.limit_date)?void 0:a.length)>0||c.BIRTHDAY.start_val||c.BIRTHDAY.end_val)&&(c.BIRTHDAY.con="IN"),c.tempCon=c.BIRTHDAY.con,e=!(!c.BIRTHDAY.start_val&&!c.BIRTHDAY.end_val),c.BIRTHDAY.start_val){if(!ge.validateBirthday(c.BIRTHDAY.start_val,c.title,c.BIRTHDAY.unit))return}if(c.BIRTHDAY.end_val){if(!ge.validateBirthday(c.BIRTHDAY.end_val,c.title,c.BIRTHDAY.unit))return}if(+c.BIRTHDAY.start_val>+c.BIRTHDAY.end_val)return void vl.warning(`${c.title}请输入有效范围`);v=jl.value||"",c.unit=e&&c.BIRTHDAY.unit||"",c.start_val=c.BIRTHDAY.start_val||null,c.end_val=c.BIRTHDAY.end_val||null}if(c.LABELAttr)if(Object.keys(c.labelObj||{}).length>0&&Array.isArray(c.labelSelectList)){let e=[];c.labelSelectList.forEach((l=>{e.push(l.labelName)})),d=e.join("|#|")}else d=c.inputVal;else if(c.EVALUATEAttr)d=c.selecteds.join("|#|");else if(c.AGEAttr)d="";else if(c.NUMBERFiled&&(c.lessValue||c.bigValue)){let e=null!=(i=c.lessValue)?i:"",l=null!=(n=c.bigValue)?n:"";"PERCENTAGE"===(null==(o=c.setting)?void 0:o.attr)&&(e=(e||0===e)&&Number(e)/100||"",l=(l||0===l)&&Number(l)/100||""),d=`${e}~${l}`}d&&ge.isString(d)&&(d=d.trim());let m={field_key:c.columnName,con:c.DATE||c.BIRTHDAY?c.tempCon:c.con,value:d,limit_date:v||"",start_val:c.start_val||null,end_val:c.end_val||null,unit:c.unit||"",id:c.id};s.push(m)}let u=xl.value.map((e=>e.con));return s.filter((e=>e.value||e.limit_date||e.start_val||e.end_val||u.includes(e.con)))}function ht(e){return e&&e<ue().startOf("year")||e>ue().endOf("year")}function yt(e,l){l[0]?jl.value=l.join("~"):jl.value=""}function gt(){var e;null==(e=Ol.value)||e.validate((e=>{var l;if(e)return;let t=pt();t.length||(t=[]);let a=null==(l=Ql.value.filter((e=>e.selected))[0])?void 0:l.value;!async function(e){var l;try{if(!await pl(e,"requestSaveTableCondiTion",{},cl.filterApiConfig))return;Rl.value=!1,null==(l=Ol.value)||l.restoreValidation(),Dl.value.classname="",Ql.value=[],ul("updateTableCondiTion"),Tt(),ft(),ul("closeModal")}catch(e){console.log(e)}}({tableId:dl.tableId||"",setting:JSON.stringify({displayCategory:a,name:Dl.value.classname,conObj:t}),conditionList:JSON.stringify(cl.originConditionList)})}))}function bt(e){var l;const t=null==(l=null==e?void 0:e.target)?void 0:l.nextElementSibling;setTimeout((()=>{t&&t.focus()})),Fl.value=!0}function kt(){Fl.value=!1,Wl.value&&(Ql.value.forEach((e=>e.selected=!1)),Ql.value.push({disabled:!0,value:Wl.value,selected:!0,isAdd:!0}),Wl.value="")}function At(e,l){!function(e,l){let{conditionList:t=[]}=cl.quickSearchListObj||{};if(!t||t&&0===(null==t?void 0:t.length))return void Ql.value.splice(e,1);let a=t.filter((e=>e.displayCategory===l.value));if(!a||!a.length)return void Ql.value.splice(e,1);vl.error("该分类下有已有数据,请删除该分类下的筛选集后重试!")}(e,l)}function Et(){Rl.value=!1}function Tt(){St(Ul.value),wl.value.forEach((e=>{St(e.fieldList)})),"editTable"!==cl.source?null==dl||dl.clearQuickSearchConfig():ul("clearQuickSearchConfig")}function St(e){Array.isArray(e)&&e.forEach((e=>{if(Sl(e))return;let l=null==e?void 0:e.advanceOptionSetting,t="0"===String(l);var a;e.EQ||e.CL?(e.EQ="",e.CL=""):"QUOTE"==e.con&&ge.anyNotEmpty(e.value)?(e.QUOTE=[],e.value=[]):"SelectMui"==e.com&&"CONVERT"==e.con&&t?(e.CONVERT=[],e.value=void 0):ge.anyNotEmpty(e.CONVERT)?e.CONVERT=[]:e.DATE?(e.showDate="1"==String(l),e.marginx="ml",e.DATE={con:null,start_val:null,end_val:null}):e.BIRTHDAY?(e.showDate=!1,e.marginx="ml",e.BIRTHDAY=Ct()):e.LABELAttr?(a=e).labelSelectList&&(a.labelSelectList.length=0,a.inputVal="",Object.entries(a.labelObj||{}).forEach((e=>{let[,l]=e;l.itemList.forEach((e=>{e.isSelect=!1}))}))):e.EVALUATEAttr?e.selecteds=[]:e.AGEAttr?function(e){e.start_val=null,e.end_val=null;let l=Cl.value.get(`${e.columnName}_AGEAttr`);l&&(Array.isArray(l)&&(l=l[0]||!1),null==l||l.reset())}(e):e.NUMBERFiled&&wt(e)}))}function Ct(){return jl.value="",{con:null,limit_date:[],start_val:null,end_val:null,unit:"YEAR",units:Yl.value.filter((e=>1===e.units))}}function Ot(e,l){e&&(e.con==l?e.con=null:("IN"===e.con&&(e.start_val=null,e.end_val=null),e.con=l))}function Dt(e){var l;return(null==(l=null==e?void 0:e.color)?void 0:l.split("-")[1])||"yellow"}function Lt(e,l,t){let a=t.labelSelectList||[];if(e){if(a.some((e=>e.labelId==l.labelId)))return;a.push(l)}else{let e=a.findIndex((e=>e.labelId==l.labelId));-1!=e&&a.splice(e,1)}l.isSelect=e,t.labelSelectList=a}function Rt(e,l,t){if(e)t.selecteds.push(l.value);else{let e=t.selecteds.findIndex((e=>e===l.value));t.selecteds.splice(e,1)}}function Ut(e){e&&Cl.value.set(e.dataName,e)}function _t(e){if(e.lessValue&&e.bigValue){const l=e.lessValue,t=e.bigValue;t<l&&(e.lessValue=t,e.bigValue=l)}else;}function wt(e){e.lessValue="",e.bigValue=""}function Nt(e,l,t){var a,i;let n=!1;if("start"===t){const t=null==(a=null==l?void 0:l.DATE)?void 0:a.end_val;n=t&&e>ue(t).valueOf()}else if("end"===t){const t=null==(i=null==l?void 0:l.DATE)?void 0:i.start_val;n=t&&e<=ue(t).valueOf()}let o=String(null==l?void 0:l.advanceOptionSetting);return["2","3"].includes(o)?"2"===o?e>=ue().endOf("day")||n:"3"===o&&e&&e<ue().startOf("day")||n:n}return i((()=>cl.visible),(e=>{Ll.value=e,it(cl.quickSearchConfig)})),i((()=>cl.searchFieldList),(e=>{e&&e.length>0&&(_l.value=dl.relationTableList?dl.relationTableList:[],function(){Ul.value=[],wl.value=[],Il.value=xl.value.filter((e=>"THIS_YEAR"!=e.con&&"NEXT_YEAR"!=e.con&&"LAST_YEAR"!=e.con));let e=ce(cl.searchFieldList).filter((e=>1==e.isShowSearch&&1!=e.filterExplicit))||[],l=ce(_l.value);wl.value=l.map((e=>({fieldList:e.fieldList.fieldList.filter((e=>1==e.isShowSearch&&1!=e.filterExplicit)),tableName:e.tableName,primaryField:e.primaryField,parameterConversionId:e.parameterConversionId,tableId:e.tableId,relationField:e.relationField,converFun:e.converFun,relationOrgId:e.relationOrgId,preConObj:e.preConObj,preSqlExpression:e.preSqlExpression}))),Ul.value=e||[],nt(Ul.value),wl.value.forEach((e=>{nt(e.fieldList)}))}())}),{immediate:!0,deep:!0}),i((()=>cl.quickSearchConfig),(e=>{it(e)}),{deep:!0}),i((()=>cl.quickSearchListObj),(e=>{e&&Object.keys(e).length?function(){let e=[],{displayCategoryList:l=[]}=cl.quickSearchListObj;l&&l.length?(l.forEach((l=>{"未分类"!==l&&e.push({disabled:!0,selected:!1,value:l})})),Ql.value=e):Ql.value=[]}():Ql.value=[]}),{immediate:!0,deep:!0}),i((()=>Ul),(()=>{const e=pt()||[];ul("filterCountChange",e.length)}),{deep:!0}),i((()=>cl.show),(e=>{e&&cl.lastQuickSearchData.length>0&&(Ul.value=ce(cl.lastQuickSearchData))}),{deep:!0}),ye({openSaveToCalss:function(){let e=pt();if(console.log("conObj>>>>>",e),e)if(e.length>0){if(!fl(e,cl.searchFieldList,cl.searchFieldLimit))return;Rl.value=!0}else vl.warning("请设置搜索条件")},clearData:Tt,onSave:function(){let e=function(){let e=[...pt()||[]];return cl.quickSearchConfig.forEach((l=>{e.find((e=>l.field_key===e.field_key))||Ul.value.find((e=>e.columnName===l.field_key))||e.push(l)})),e||[]}();return ft(),!!fl(e,cl.searchFieldList,cl.searchFieldLimit)&&(ul("onSave",e),Ul.value)}}),(l,t)=>(n(),o("div",null,[s("div",{class:u(["quick-search-block",{"quick-search-table":"editTable"===e.source}])},["editTable"===e.source&&c(Zl)?(n(),o("p",be,"高级筛选")):r("v-if",!0),(n(!0),o(d,null,v(c(Ul),(t=>(n(),o("div",{class:u(["quick-item",{"quick-block":"DATE"==t.con||"BIRTHDAY"==t.con||"CONVERT"==t.con||t.LABELAttr||t._isBlock}]),key:t.sid},[s("div",ke,[r(" title "),s("div",{class:u(["quick-item-title",{"quick-item-title-default":"editTable"!==e.source}])},[s("span",null,p(c(lt)(t,"title"))+" ",1),e.searchFieldLimit[t.columnName]&&e.searchFieldLimit[t.columnName].tips?(n(),f(c(V),{key:0},{trigger:m((()=>[h(c(re),{"icon-class":"xitongtubiaodaohangtubiaowenti"})])),default:m((()=>[y(" "+p(e.searchFieldLimit[t.columnName].tips),1)])),_:2},1024)):r("v-if",!0)],2),s("div",{class:u(["quick-item-col",{"quick-item-col-default":"editTable"!==e.source}])},[r(" 直接渲染组件 "),t.isRender?(n(),f(fe,{key:0,cfg:t,modelValue:t.value,"onUpdate:modelValue":e=>t.value=e},null,8,["cfg","modelValue","onUpdate:modelValue"])):t.AGEAttr?(n(),o(d,{key:1},[r(" age "),r(" TODO: 清除,跨表 "),s("div",Ae,[h(de,{ref_for:!0,ref:Ut,dataName:`${t.columnName}_AGEAttr`,format:t.format,onChange:e=>function(e,l){let t=e.star_val,a=e.end_val;l.start_val=isNaN(t)?null:t,l.end_val=isNaN(a)?null:a}(e,t)},null,8,["dataName","format","onChange"])])],2112)):t.LABELAttr?(n(),o(d,{key:2},[r(" age "),r(" label "),s("div",Ee,[t.labelObj&&Object.keys(t.labelObj||{}).length>0?g(l.$slots,"default",{key:0},(()=>[(n(!0),o(d,null,v(t.labelObj,((e,l)=>(n(),o("div",{key:l,class:"edit-label-content"},[s("div",Te,p(l)+":",1),s("div",{class:u(["edit-content quickSearch_label-container",{"label-container-height":!e.isUnfold&&e.itemList&&e.isShowBtn}])},[r(' <div class="label-content" v-resize="el => onResize(el, v)"> '),b((n(),o("div",Se,[(n(!0),o(d,null,v(e.itemList,((e,l)=>(n(),f(c(B),{type:"success",checked:e.isSelect,checkable:"",key:l,style:k(at(e)),"onUpdate:checked":l=>Lt(l,e,t)},{default:m((()=>[h(c(V),{placement:"topLeft"},{trigger:m((()=>[s("span",null,p(e.labelName),1)])),default:m((()=>[y(" "+p(e.labelName),1)])),_:2},1024)])),_:2},1032,["checked","style","onUpdate:checked"])))),128))])),[[c(me),l=>function(e,l){let t=e.offsetHeight||0;t&&(t>80?l.isShowBtn=!0:(l.isShowBtn=!1,l.isUnfold=!1))}(l,e)]])],2),e.itemList&&e.isShowBtn?(n(),o("div",Ce,[r(" {{ v.isUnfold }} "),s("span",{onClick:A((l=>function(e){e.isUnfold=!e.isUnfold}(e)),["stop"])},[e.isUnfold?(n(),o(d,{key:0},[De,h(c(x),{component:c(Z),size:"16"},null,8,["component"])],64)):(n(),o(d,{key:1},[Le,h(c(x),{component:c(ee),size:"16"},null,8,["component"])],64))],8,Oe)])):r("v-if",!0)])))),128))])):(n(),f(c(I),{key:1,style:{width:"200px"},value:t.inputVal,"onUpdate:value":e=>t.inputVal=e,clearable:""},null,8,["value","onUpdate:value"]))])],2112)):t.EVALUATEAttr?(n(),o(d,{key:3},[r(" label "),r(" EVALUATE "),s("div",Re,[(n(!0),o(d,null,v(c(Ml),(e=>(n(),f(c(B),{key:e.value,class:u({"ant-tag-checkable-checked":t.selecteds.indexOf(e.value)>-1}),checkable:"",checked:t.selecteds.indexOf(e.value)>-1,"onUpdate:checked":l=>Rt(l,e,t)},{default:m((()=>[y(p(e.label),1)])),_:2},1032,["class","checked","onUpdate:checked"])))),128))])],2112)):t.NUMBERFiled?(n(),o(d,{key:4},[r(" EVALUATE "),r(" NUMBERFiled "),s("div",Ue,[s("span",{class:u(["ant-calendar-picker-input ant-input num-picker",{"num-picker-unit":t.inputUnit}])},[b(s("input",{"onUpdate:modelValue":e=>t.lessValue=e,onKeyup:E((()=>_t(t)),["enter"]),title:`起始${t.alias||t.title}`,placeholder:`起始${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,_e),[[T,t.lessValue]]),we,b(s("input",{"onUpdate:modelValue":e=>t.bigValue=e,title:`截止${t.alias||t.title}`,onKeyup:E((()=>_t(t)),["enter"]),placeholder:`截止${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,Ne),[[T,t.bigValue]]),t.inputUnit?(n(),o(d,{key:0},[y(" "+p(t.inputUnit),1)],64)):r("v-if",!0),t.lessValue||t.bigValue?(n(),o("span",{key:1,class:"ant-input-suffix clear-number-icon",onClick:e=>wt(t)},Be,8,Ve)):r("v-if",!0)],2)])],2112)):(n(),o(d,{key:5},[r(" NUMBERFiled "),r(" other "),g(l.$slots,"default",{},(()=>["CL"==t.con?(n(),o(d,{key:0},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"CL-input",style:{"`width":"${getEleWidth(item)}`"},value:t.CL,"onUpdate:value":e=>t.CL=e,min:0,max:100,clearable:"",placeholder:t.placeholder},null,8,["value","onUpdate:value","placeholder"])):(n(),f(c(I),{key:1,class:u(["CL-input",{"psw-icon":"PASSWORD"==t.comAttr}]),style:k({width:`${c(Xl)(t)}`,"font-family":t.PASSWORDTYPE?"text-security-disc":"inherit"}),value:t.CL,"onUpdate:value":e=>t.CL=e,clearable:"",placeholder:t.placeholder},{default:m((()=>["PASSWORD"==t.comAttr?(n(),f(c(re),{key:0,class:"psw-icon",onClick:e=>t.PASSWORDTYPE=!t.PASSWORDTYPE,"icon-class":t.PASSWORDTYPE?"anniuyincang":"chakan",style:{"font-size":"1em"}},null,8,["onClick","icon-class"])):r("v-if",!0)])),_:2},1032,["class","style","value","onUpdate:value","placeholder"]))],64)):r("v-if",!0),"EQ"==t.con?(n(),o(d,{key:1},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"EQ-input",style:k(`width: ${c(Xl)(t)}`),value:t.EQ,"onUpdate:value":e=>t.EQ=e,min:0,max:100,clearable:"",placeholder:t.placeholder},null,8,["style","value","onUpdate:value","placeholder"])):(n(),f(c(I),{key:1,class:u(["EQ-input",{"psw-icon":"PASSWORD"==t.comAttr}]),style:k({width:`${c(Xl)(t)}`,"font-family":t.PASSWORDTYPE?"text-security-disc":"inherit"}),value:t.EQ,"onUpdate:value":e=>t.EQ=e,placeholder:t.placeholder||t.isPreciseSearch||"JSONB"==t.fieldType?"":"区间搜素用~分割",clearable:""},{default:m((()=>["PASSWORD"==t.comAttr?(n(),f(c(re),{key:0,class:"psw-icon",onClick:e=>t.PASSWORDTYPE=!t.PASSWORDTYPE,"icon-class":t.PASSWORDTYPE?"anniuyincang":"chakan",style:{"font-size":"1em"}},null,8,["onClick","icon-class"])):r("v-if",!0)])),_:2},1032,["class","style","value","onUpdate:value","placeholder"]))],64)):r("v-if",!0),c(Kl)(t)?(n(),o(d,{key:2},[y(" %")],64)):r("v-if",!0),r(" date "),"DATE"==t.con&&t.DATE?(n(),o("div",xe,[h(c(Y),{value:t.DATE.con,"onUpdate:value":e=>t.DATE.con=e,buttonStyle:"solid"},{default:m((()=>[(n(!0),o(d,null,v(t.dateTeam,(e=>b((n(),f(c(H),{hideSplitor:t.showDate,onClick:A((l=>Ot(t.DATE,e.con)),["prevent"]),key:e.con,value:e.con,label:e.name},null,8,["hideSplitor","onClick","value","label"])),[[S,!t.showDate]]))),128))])),_:2},1032,["value","onUpdate:value"]),b(s("span",{class:u(["check-date-btn",t.marginx]),onClick:e=>ot(t)},"选择时间",10,Ie),[[S,"1"!=t.advanceOptionSetting]]),b(s("div",je,[h(c(P),{type:"datetime",style:{"min-width":"195px",width:"120px"},"value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.start_val,"onUpdate:formatted-value":e=>t.DATE.start_val=e,placeholder:"开始时间","is-date-disabled":e=>Nt(e,t,"start"),clearable:""},null,8,["formatted-value","onUpdate:formatted-value","is-date-disabled"]),y(" "),h(c(P),{type:"datetime",style:{"min-width":"195px",width:"120px"},"value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.end_val,"onUpdate:formatted-value":e=>t.DATE.end_val=e,placeholder:"结束时间","is-date-disabled":e=>Nt(e,t,"end"),clearable:""},null,8,["formatted-value","onUpdate:formatted-value","is-date-disabled"])],512),[[S,t.showDate]])])):r("v-if",!0),r(" BIRTHDAY "),"BIRTHDAY"==t.con&&t.BIRTHDAY?(n(),o("div",{key:4,class:u({"birthday-item":t.showDate})},[t.showDate?(n(),o(d,{key:1},[s("div",null,[h(c(P),{value:t.BIRTHDAY.limit_date,"onUpdate:value":[e=>t.BIRTHDAY.limit_date=e,yt],type:"daterange",disabled:ht,format:"MM-dd"},null,8,["value","onUpdate:value"])]),s("div",Ye,[He,h(c(I),{style:{width:"60px","margin-right":"10px"},value:t.BIRTHDAY.start_val,"onUpdate:value":e=>t.BIRTHDAY.start_val=e,clearable:""},null,8,["value","onUpdate:value"]),h(c(I),{style:{width:"60px","margin-right":"10px"},value:t.BIRTHDAY.end_val,"onUpdate:value":e=>t.BIRTHDAY.end_val=e,clearable:""},null,8,["value","onUpdate:value"]),h(c(q),{value:t.BIRTHDAY.unit,"onUpdate:value":e=>t.BIRTHDAY.unit=e,"default-value":"YEAR",filterable:"",filter:tt,clearable:"",options:t.BIRTHDAY.units,"label-field":"name","value-field":"con"},null,8,["value","onUpdate:value","options"])])],64)):(n(),f(c(Y),{key:0,value:t.BIRTHDAY.con,"onUpdate:value":e=>t.BIRTHDAY.con=e,buttonStyle:"solid"},{default:m((()=>[(n(!0),o(d,null,v(c(Il),(e=>(n(),f(c(H),{onClick:A((l=>function(e,l){e&&(jl.value="",Object.assign(e,Ct()),Ot(e,l))}(t.BIRTHDAY,e.con)),["prevent"]),key:e.con,value:e.con,label:e.name},null,8,["onClick","value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])),s("span",{class:u(["check-date-btn",t.marginx]),onClick:e=>function(e){e.showDate=!e.showDate}(t)},"切换",10,Pe)],2)):r("v-if",!0),"QUOTE"==t.con||"SelectMui"==t.com?(n(),o(d,{key:5},["treeSelect"===t.comType?(n(),f(pe,{key:0,options:t,handleGetConfigApi:c(pl),filterApiConfig:e.filterApiConfig,style:{margin:"0 8px 8px 0"}},null,8,["options","handleGetConfigApi","filterApiConfig"])):(n(),f(ve,{key:1,item:t,source:"quickSearch",maxTagPlaceholder:rt,outFilterChange:ct,handleWordBookSearch:vt,dropdownVisibleChange:dt,fetchingWordbook:c($l)},null,8,["item","fetchingWordbook"]))],64)):"CONVERT"==t.con?(n(),o(d,{key:6},[r(" 多选选项组 "),"0"!=(null==t?void 0:t.advanceOptionSetting)?(n(),f(c(M),{key:0,class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(Q),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])):(n(),o(d,{key:1},[r(" 单选选项组 "),h(c(Y),{class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(F),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])],2112))],64)):r("v-if",!0)]))],2112))],2)])],2)))),128)),r(" 跨表 "),(n(!0),o(d,null,v(c(wl),((t,a)=>(n(),o(d,null,[t.fieldList&&t.fieldList.length?(n(),o("div",{key:a},[s("p",qe,p(null==t?void 0:t.tableName),1),(n(!0),o(d,null,v(t.fieldList,(t=>(n(),o("div",{class:u(["quick-item",{"quick-block":"DATE"==t.con||"BIRTHDAY"==t.con||"CONVERT"==t.con||t.LABELAttr}]),key:t.sid},[s("div",Me,[r(" title "),s("div",{class:u(["quick-item-title",{"quick-item-title-default":"editTable"!==e.source}])},[s("span",null,p(c(lt)(t,"title"))+" ",1)],2),s("div",{class:u(["quick-item-col",{"quick-item-col-default":"editTable"!==e.source}])},[t.LABELAttr?(n(),o("div",Qe,[t.labelObj&&Object.keys(t.labelObj||{}).length>0?g(l.$slots,"default",{key:0},(()=>[(n(!0),o(d,null,v(t.labelObj,((e,l)=>(n(),o("div",{key:l,class:"edit-label-content"},[s("div",Fe,p(l)+":",1),s("div",We,[s("div",$e,[(n(!0),o(d,null,v(e.itemList,((e,l)=>(n(),f(c(B),{checked:e.isSelect,checkable:"",key:l,class:u(["label-tag-"+Dt(e)]),"onUpdate:checked":l=>Lt(l,e,t)},{default:m((()=>[h(c(V),{placement:"top-start"},{trigger:m((()=>[s("span",null,p(e.labelName),1)])),default:m((()=>[y(" "+p(e.labelName),1)])),_:2},1024)])),_:2},1032,["checked","class","onUpdate:checked"])))),128)),r(" </a-checkable-tag> ")])])])))),128))])):(n(),f(c(I),{key:1,style:{width:"200px"},value:t.inputVal,"onUpdate:value":e=>t.inputVal=e},null,8,["value","onUpdate:value"]))])):t.EVALUATEAttr?(n(),o(d,{key:1},[r(" EVALUATE "),s("div",Ge,[(n(!0),o(d,null,v(c(Ml),(e=>(n(),f(c(B),{key:e.value,class:u({"ant-tag-checkable-checked":t.selecteds.indexOf(e.value)>-1}),checkable:"",checked:t.selecteds.indexOf(e.value)>-1,"onUpdate:checked":l=>Rt(l,e,t)},{default:m((()=>[y(p(e.label),1)])),_:2},1032,["class","checked","onUpdate:checked"])))),128))])],2112)):t.NUMBERFiled?(n(),o(d,{key:2},[r(" EVALUATE "),r(" NUMBERFiled "),s("div",ze,[s("span",{class:u(["ant-calendar-picker-input ant-input num-picker",{"num-picker-unit":t.inputUnit}])},[b(s("input",{"onUpdate:modelValue":e=>t.lessValue=e,onKeyup:E((()=>_t(t)),["enter"]),title:`起始${t.alias||t.title}`,placeholder:`起始${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,Je),[[T,t.lessValue]]),Ke,b(s("input",{"onUpdate:modelValue":e=>t.bigValue=e,title:`截止${t.alias||t.title}`,onKeyup:E((()=>_t(t)),["enter"]),placeholder:`截止${t.alias||t.title}`,class:"ant-calendar-range-picker-input"},null,40,Xe),[[T,t.bigValue]]),t.inputUnit?(n(),o(d,{key:0},[y(" "+p(t.inputUnit),1)],64)):r("v-if",!0),t.lessValue||t.bigValue?(n(),o("span",{key:1,class:"ant-input-suffix clear-number-icon",onClick:e=>wt(t)},el,8,Ze)):r("v-if",!0),ll],2)])],2112)):(n(),o(d,{key:3},[r(" NUMBERFiled "),g(l.$slots,"default",{},(()=>["CL"==t.con?(n(),o(d,{key:0},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"CL-input",style:k(`width: ${c(Xl)(t)}`),value:t.CL,"onUpdate:value":e=>t.CL=e,min:0,max:100,clearable:""},null,8,["style","value","onUpdate:value"])):(n(),f(c(I),{key:1,class:"CL-input",style:k(`width: ${c(Xl)(t)}`),value:t.CL,"onUpdate:value":e=>t.CL=e,clearable:""},null,8,["style","value","onUpdate:value"]))],64)):r("v-if",!0),"EQ"==t.con?(n(),o(d,{key:1},[c(Kl)(t)?(n(),f(c(j),{key:0,class:"EQ-input",style:k(`width: ${c(Xl)(t)}`),value:t.EQ,"onUpdate:value":e=>t.EQ=e,min:0,max:100,clearable:""},null,8,["style","value","onUpdate:value"])):(n(),f(c(I),{key:1,class:"EQ-input",style:k(`width: ${c(Xl)(t)}`),value:t.EQ,"onUpdate:value":e=>t.EQ=e,placeholder:t.placeholder||t.isPreciseSearch||"JSONB"==t.fieldType?"":"区间搜素用~分割",clearable:""},null,8,["style","value","onUpdate:value","placeholder"]))],64)):r("v-if",!0),c(Kl)(t)?(n(),o(d,{key:2},[y(" %")],64)):r("v-if",!0),r(" date "),"DATE"==t.con?(n(),o("div",tl,[h(c(Y),{modelValue:t.DATE.con,"onUpdate:modelValue":e=>t.DATE.con=e,buttonStyle:"solid"},{default:m((()=>[(n(!0),o(d,null,v(c(xl),(e=>b((n(),f(c(H),{onClick:A((l=>Ot(t.DATE,e.con)),["prevent"]),key:e.con,value:e.con,label:e.name},null,8,["onClick","value","label"])),[[S,!t.showDate]]))),128))])),_:2},1032,["modelValue","onUpdate:modelValue"]),s("span",{class:u(["check-date-btn",t.marginx]),onClick:e=>ot(t)},"开始时间",10,al),b(s("div",il,[h(c(P),{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.start_val,"onUpdate:formatted-value":e=>t.DATE.start_val=e,placeholder:"起始日期",style:{width:"120px","min-width":"195px"},clearable:""},null,8,["formatted-value","onUpdate:formatted-value"]),y(" "),h(c(P),{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss","formatted-value":t.DATE.end_val,"onUpdate:formatted-value":e=>t.DATE.end_val=e,placeholder:"截止日期",style:{width:"120px"},clearable:""},null,8,["formatted-value","onUpdate:formatted-value"])],512),[[S,t.showDate]])])):r("v-if",!0),"QUOTE"==t.con||"SelectMui"==t.com?(n(),o(d,{key:4},["treeSelect"===t.comType?(n(),f(pe,{key:0,options:t,handleGetConfigApi:c(pl),filterApiConfig:e.filterApiConfig,style:{margin:"0 8px 8px 0"}},null,8,["options","handleGetConfigApi","filterApiConfig"])):(n(),f(ve,{key:1,item:t,source:"quickSearch",maxTagPlaceholder:rt,outFilterChange:ct,handleWordBookSearch:vt,dropdownVisibleChange:dt,fetchingWordbook:c($l)},null,8,["item","fetchingWordbook"]))],64)):"CONVERT"==t.con?(n(),o(d,{key:5},[r(" 多选选项组 "),"0"!=(null==t?void 0:t.advanceOptionSetting)?(n(),f(c(M),{key:0,class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(Q),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])):(n(),o(d,{key:1},[r(" 单选选项组 "),h(c(Y),{class:"check-box",value:t.CONVERT,"onUpdate:value":e=>t.CONVERT=e},{default:m((()=>[(n(!0),o(d,null,v(t.setting.showSetting,((e,l)=>(n(),f(c(F),{key:l,value:e.value,label:e.label},null,8,["value","label"])))),128))])),_:2},1032,["value","onUpdate:value"])],2112))],64)):r("v-if",!0)]))],2112))],2)])],2)))),128))])):r("v-if",!0)],64)))),256))],2),h(c(W),{show:c(Rl),maskClosable:!1,"positive-text":"确认","negative-text":"取消",onPositiveClick:gt,onNegativeClick:Et,class:"quickSearch-saveToClass-modal"},{default:m((()=>[h(c($),{title:"设置筛选分类",style:{width:"520px"},bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":m((()=>[s("div",nl,[h(c(x),{component:c(le),size:"24",onClick:Et},null,8,["component"])])])),footer:m((()=>[h(c(G),{onClick:Et},{default:m((()=>[y("取消")])),_:1}),h(c(G),{type:"info",onClick:gt},{default:m((()=>[y("确认")])),_:1})])),default:m((()=>[h(c(z),{ref_key:"formRef",ref:Ol,"label-placement":"left",rules:rl,model:Dl.value},{default:m((()=>[h(c(J),{label:"筛选集名称",path:"classname"},{default:m((()=>[h(c(I),{value:Dl.value.classname,"onUpdate:value":t[0]||(t[0]=e=>Dl.value.classname=e),placeholder:"请输入分类名称",clearable:""},null,8,["value"])])),_:1})])),_:1},8,["model"]),h(c(K),{cols:24},{default:m((()=>[h(c(X),{span:5,style:{"text-align":"right",color:"rgba(0, 0, 0, 0.85)"}},{default:m((()=>[y("父类名称:")])),_:1}),h(c(X),{span:18},{default:m((()=>[(n(!0),o(d,null,v(c(Ql),((e,l)=>(n(),o("div",{class:u(["edit-tag",{"edit-tag-select":e.selected&&e.disabled}]),key:l,onDblclick:l=>function(e,l){l.disabled=!1,setTimeout((()=>{var l;null==(l=e.target)||l.focus()}),0)}(l,e),onClick:t=>function(e,l){e.disabled&&(Ql.value.forEach(((e,t)=>{t!==l&&(e.selected=!1)})),e.selected=!e.selected)}(e,l)},[e.disabled?(n(),o("div",sl,[s("span",null,p(e.value),1)])):(n(),f(c(I),{key:1,style:{width:"100px"},value:e.value,"onUpdate:value":l=>e.value=l,disabled:e.disabled,onBlur:()=>e.disabled=!0,maxLength:10},null,8,["value","onUpdate:value","disabled","onBlur"])),h(c(x),{component:c(le),class:"anticon-close",size:"20",onClick:t=>At(l,e)},null,8,["component","onClick"])],42,ol)))),128)),c(et)?r("v-if",!0):(n(),o(d,{key:0},[b(h(c(G),{dashed:"",icon:"plus",class:"ant-btn",onClick:bt},{default:m((()=>[h(c(x),{component:c(te),size:"20"},null,8,["component"]),y("添加分类")])),_:1},512),[[S,!c(Fl)]]),b(h(c(I),{style:{width:"100px"},class:"edit-tag",value:c(Wl),"onUpdate:value":t[1]||(t[1]=e=>C(Wl)?Wl.value=e:Wl=e),valueModifiers:{trim:!0},onBlur:kt,maxLength:10},null,8,["value"]),[[S,c(Fl)]])],64))])),_:1})])),_:1})])),_:1})])),_:1},8,["show"])]))}}),[["__file","QuickSearch.vue"]]);export{ul as default};
|
|
1
|
+
import{defineComponent as e,ref as l,computed as a,watch as t,openBlock as i,createElementBlock as n,createElementVNode as o,Fragment as s,renderList as u,unref as c,normalizeClass as r,createCommentVNode as d,toDisplayString as v,createBlock as f,createVNode as m,withCtx as p,createTextVNode as h,withDirectives as g,vShow as k,isRef as b}from"vue";import{useMessage as y,NModal as C,NCard as S,NIcon as x,NButton as _,NForm as w,NFormItem as A,NInput as q}from"naive-ui";import{CloseOutline as F,AddOutline as j}from"@vicons/ionicons5";import I from"../hooks/useMixins.js";import L from"../hooks/useRenderWidget.js";import R from"../hooks/useAdvanced.js";import"moment/locale/zh-cn";import{cloneDeep as T}from"lodash-es";import U from"../components/render-widget/index.vue.js";import V from"../../../../_virtual/plugin-vue_export-helper.js";const z={class:"quick-search-block quick-search-table"},E={class:"quick-row"},Q={class:"quick-item-title"},B={class:"quick-item-col"},D={class:"svg-wrap"},O={class:"flex_right"},N={class:"class-filter-content"},P={class:"quickSearch-content"},W=o("span",{class:"label"},"父类名称:",-1),M=["onDblclick","onClick"],G={key:0,class:"s-content"};var J=V(e({__name:"QuickSearch",props:{searchFieldList:{type:Array,default:()=>[]},tableId:{type:String,default:""},filterApiConfig:{type:Object}},emits:["getFilterParam","onFilterSearch","clearQuickSearchConfig"],setup(e,{expose:V,emit:J}){const H=e,K={classname:{required:!0,message:"请输入分类名称",trigger:["input","blur"]}},X=y(),{handleGetConfigApi:Y,outQuickSearchFn:Z}=I(),{initRenderWidgetCfg:$,getRenderSearchConObj:ee,resetRenderWidgetValue:le}=L(),{transformData:ae}=R(),te=l(null),ie=l({classname:""});let ne=l(!1),oe=l([]),se=l([]),ue=l(!1),ce=l(""),re=a((()=>!!se.value.length&&se.value.some((e=>e.isAdd)))),de=a((()=>(e,l="name")=>e.alias||e[l]));function ve(){return function(e){if(!Array.isArray(e))return[];let l=[];for(let a=0;a<e.length;a++){let t=e[a];const i=ee(t);i&&l.push(i)}return l.filter((e=>e.value))}(oe.value)||[]}function fe(){var e;null==(e=te.value)||e.validate((e=>{var l;if(e)return;let a=ve();a.length||(a=[]);let t=null==(l=se.value.filter((e=>e.selected))[0])?void 0:l.value;!async function(e){var l;try{if(!await Y(e,"requestSaveTableCondiTion",{},H.filterApiConfig))return;ne.value=!1,null==(l=te.value)||l.restoreValidation(),ie.value.classname="",se.value=[],ke()}catch(e){console.log(e)}}({tableId:H.tableId||"",setting:JSON.stringify({displayCategory:t,name:ie.value.classname,conObj:a}),conditionList:"[]"})}))}function me(e){var l;const a=null==(l=null==e?void 0:e.target)?void 0:l.nextElementSibling;setTimeout((()=>{a&&a.focus()})),ue.value=!0}function pe(){ue.value=!1,ce.value&&(se.value.forEach((e=>e.selected=!1)),se.value.push({disabled:!0,value:ce.value,selected:!0,isAdd:!0}),ce.value="")}function he(e,l){!function(e,l){se.value.splice(e,1)}(e)}function ge(){ne.value=!1}function ke(){!function(e){if(!Array.isArray(e))return;e.forEach((e=>{le(e)})),Z.handlerInitSearchItem(oe.value)}(oe.value),J("clearQuickSearchConfig")}return t((()=>H.searchFieldList),(e=>{e&&e.length>0&&function(){let e=T(ae(H.searchFieldList)).filter((e=>1==e.isShowSearch&&1!=e.filterExplicit))||[];setTimeout((()=>{oe.value=e||[],Z.handlerInitSearchItem(oe.value)}))}()}),{immediate:!0,deep:!0}),t((()=>oe),(()=>{const e=ve()||[];J("getFilterParam",e)}),{deep:!0}),V({openSaveToCalss:function(){let e=ve();e&&(e.length>0?ne.value=!0:X.warning("请设置搜索条件"))},clearData:ke,onFilterSearch:function(){let e=ve()||[];return J("onFilterSearch",e,!1),oe.value}}),(e,l)=>(i(),n("div",null,[o("div",z,[(i(!0),n(s,null,u(c(oe),(e=>(i(),n("div",{class:r(["quick-item",{"quick-block":e._isBlock}]),key:e.sid||e.columnName},[o("div",E,[d(" title "),o("div",Q,[o("span",null,v(c(de)(e,"title"))+" ",1)]),d(" content "),o("div",B,[d(" 直接渲染组件 "),e.isRender?(i(),f(U,{key:0,cfg:e,modelValue:e.value,"onUpdate:modelValue":l=>e.value=l},null,8,["cfg","modelValue","onUpdate:modelValue"])):d("v-if",!0)])])],2)))),128))]),d(" 保存到分类的弹窗 "),m(c(C),{show:c(ne),maskClosable:!1,"positive-text":"确认","negative-text":"取消",onPositiveClick:fe,onNegativeClick:ge,class:"classification-modal-block"},{default:p((()=>[m(c(S),{title:"设置筛选分类",style:{width:"520px"},bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":p((()=>[o("div",D,[m(c(x),{component:c(F),size:"24",onClick:ge},null,8,["component"])])])),footer:p((()=>[o("div",O,[m(c(_),{onClick:ge},{default:p((()=>[h("取消")])),_:1}),m(c(_),{type:"info",onClick:fe},{default:p((()=>[h("确认")])),_:1})])])),default:p((()=>[o("div",N,[m(c(w),{ref_key:"formRef",ref:te,"label-placement":"left",rules:K,model:ie.value},{default:p((()=>[m(c(A),{label:"筛选集名称",path:"classname"},{default:p((()=>[m(c(q),{value:ie.value.classname,"onUpdate:value":l[0]||(l[0]=e=>ie.value.classname=e),placeholder:"请输入分类名称",clearable:""},null,8,["value"])])),_:1})])),_:1},8,["model"]),o("div",P,[W,(i(!0),n(s,null,u(c(se),((e,l)=>(i(),n("div",{class:r(["edit-tag",{"edit-tag-select":e.selected&&e.disabled}]),key:l,onDblclick:l=>function(e,l){l.disabled=!1,setTimeout((()=>{var l;null==(l=e.target)||l.focus()}),0)}(l,e),onClick:a=>function(e,l){e.disabled&&(se.value.forEach(((e,a)=>{a!==l&&(e.selected=!1)})),e.selected=!e.selected)}(e,l)},[e.disabled?(i(),n("div",G,[o("span",null,v(e.value),1)])):(i(),f(c(q),{key:1,style:{width:"100px"},value:e.value,"onUpdate:value":l=>e.value=l,disabled:e.disabled,onBlur:()=>e.disabled=!0,maxLength:10},null,8,["value","onUpdate:value","disabled","onBlur"])),m(c(x),{component:c(F),class:"anticon-close",size:"20",onClick:e=>he(l)},null,8,["component","onClick"])],42,M)))),128)),c(re)?d("v-if",!0):(i(),n(s,{key:0},[g(m(c(_),{dashed:"",icon:"plus",class:"ant-btn",onClick:me},{default:p((()=>[m(c(x),{component:c(j),size:"20"},null,8,["component"]),h("添加分类 ")])),_:1},512),[[k,!c(ue)]]),g(m(c(q),{style:{width:"100px"},class:"edit-tag",value:c(ce),"onUpdate:value":l[1]||(l[1]=e=>b(ce)?ce.value=e:ce=e),valueModifiers:{trim:!0},onBlur:pe,maxLength:10},null,8,["value"]),[[k,c(ue)]])],64))])])])),_:1})])),_:1},8,["show"])]))}}),[["__file","QuickSearch.vue"]]);export{J as default};
|
|
@@ -1,23 +1,4 @@
|
|
|
1
1
|
export declare type funcVoid = () => void;
|
|
2
|
-
export declare type IrelationType = {
|
|
3
|
-
fieldList?: any;
|
|
4
|
-
valueField?: any;
|
|
5
|
-
primaryField?: any;
|
|
6
|
-
relationField?: any;
|
|
7
|
-
tableId: any;
|
|
8
|
-
parameterConversionId: any;
|
|
9
|
-
converFun: any;
|
|
10
|
-
preConObj: any;
|
|
11
|
-
relationOrgId: any;
|
|
12
|
-
preSqlExpression: any;
|
|
13
|
-
tableName?: string;
|
|
14
|
-
quote_con?: {
|
|
15
|
-
conObj: ISearchConfigType;
|
|
16
|
-
sqlExpression: string;
|
|
17
|
-
};
|
|
18
|
-
field_key?: string;
|
|
19
|
-
con?: string;
|
|
20
|
-
};
|
|
21
2
|
export declare type ISearchType = {
|
|
22
3
|
columnName: string;
|
|
23
4
|
title: string;
|
|
@@ -28,8 +9,6 @@ export declare type ISearchType = {
|
|
|
28
9
|
settingObj?: any;
|
|
29
10
|
placeholder?: string;
|
|
30
11
|
AGEAttr?: boolean;
|
|
31
|
-
BIRTHDAY?: IDateType;
|
|
32
|
-
DATE?: IDateType;
|
|
33
12
|
CL?: string;
|
|
34
13
|
CONVERT?: any;
|
|
35
14
|
EVALUATEAttr?: boolean;
|
|
@@ -53,7 +32,6 @@ export declare type ISearchType = {
|
|
|
53
32
|
comAttr?: string;
|
|
54
33
|
con?: string;
|
|
55
34
|
dataSource?: any;
|
|
56
|
-
dateTeam?: ITeamType[];
|
|
57
35
|
dictionarieObj?: any;
|
|
58
36
|
explicitRequired?: number;
|
|
59
37
|
explicitDefaultVal?: string;
|
|
@@ -105,14 +83,6 @@ export declare type ISearchType = {
|
|
|
105
83
|
hasFieldList?: any;
|
|
106
84
|
search_DefaultValue?: any;
|
|
107
85
|
};
|
|
108
|
-
export declare type IDateType = {
|
|
109
|
-
con: any;
|
|
110
|
-
limit_date?: any;
|
|
111
|
-
start_val: any;
|
|
112
|
-
end_val: any;
|
|
113
|
-
unit?: string;
|
|
114
|
-
units?: ITeamType[];
|
|
115
|
-
};
|
|
116
86
|
export declare type IlabelType = {
|
|
117
87
|
labelId?: string;
|
|
118
88
|
change_text: string;
|
|
@@ -131,50 +101,12 @@ export declare type IFilterItemType = {
|
|
|
131
101
|
key?: string;
|
|
132
102
|
value: string;
|
|
133
103
|
};
|
|
134
|
-
export declare type IsettingType = {
|
|
135
|
-
acrossTable?: string;
|
|
136
|
-
attr?: string;
|
|
137
|
-
colorAndIcon?: any;
|
|
138
|
-
colorSetting?: any;
|
|
139
|
-
fontContentCopy?: string;
|
|
140
|
-
format?: string;
|
|
141
|
-
isHide?: string;
|
|
142
|
-
isSystemField?: string;
|
|
143
|
-
labelType?: any;
|
|
144
|
-
notParticipatingSearch?: string;
|
|
145
|
-
notParticipatingSort?: string;
|
|
146
|
-
relationTable?: any;
|
|
147
|
-
showSetting?: IlabelType[];
|
|
148
|
-
wordbook?: IwordbookType;
|
|
149
|
-
isPreciseSearch?: number;
|
|
150
|
-
};
|
|
151
|
-
export declare type IwordbookType = {
|
|
152
|
-
id?: string;
|
|
153
|
-
showType?: string;
|
|
154
|
-
params?: any;
|
|
155
|
-
autograph?: any;
|
|
156
|
-
field_key?: string;
|
|
157
|
-
showKeys?: any;
|
|
158
|
-
filterKeys?: any;
|
|
159
|
-
wordbookType?: any;
|
|
160
|
-
};
|
|
161
104
|
export declare type IParentNamesType = {
|
|
162
105
|
disabled: boolean;
|
|
163
106
|
isAdd?: boolean;
|
|
164
107
|
selected: boolean;
|
|
165
108
|
value: string;
|
|
166
109
|
};
|
|
167
|
-
export declare type ITeamType = {
|
|
168
|
-
con: string;
|
|
169
|
-
title: string;
|
|
170
|
-
name: string;
|
|
171
|
-
units?: number;
|
|
172
|
-
};
|
|
173
|
-
export declare type IEvaluateType = {
|
|
174
|
-
label: string;
|
|
175
|
-
value: string;
|
|
176
|
-
isSelect?: boolean;
|
|
177
|
-
};
|
|
178
110
|
export declare type ISaveType = {
|
|
179
111
|
id?: string;
|
|
180
112
|
tableId: string;
|
|
@@ -194,17 +126,6 @@ export declare type ILabelItemListType = {
|
|
|
194
126
|
typeId: string;
|
|
195
127
|
typeName: string;
|
|
196
128
|
};
|
|
197
|
-
export declare type ILabelType = {
|
|
198
|
-
addVal: string;
|
|
199
|
-
isShowBtn: boolean;
|
|
200
|
-
isUnfold: boolean;
|
|
201
|
-
itemList: ILabelItemListType[];
|
|
202
|
-
showAdd: boolean;
|
|
203
|
-
typeId: string;
|
|
204
|
-
typeName: string;
|
|
205
|
-
change_text?: string;
|
|
206
|
-
filter?: any;
|
|
207
|
-
};
|
|
208
129
|
export declare type IClassifyListType = {
|
|
209
130
|
classifyId: string;
|
|
210
131
|
displayCategory: string;
|
|
@@ -246,31 +167,6 @@ export declare type ITreeDataType = {
|
|
|
246
167
|
open?: boolean;
|
|
247
168
|
selected?: boolean;
|
|
248
169
|
};
|
|
249
|
-
export declare type IActionType = {
|
|
250
|
-
curKey: number;
|
|
251
|
-
field_key: string;
|
|
252
|
-
fieldId: any;
|
|
253
|
-
fieldType: string;
|
|
254
|
-
con: string;
|
|
255
|
-
searchList: any;
|
|
256
|
-
searchChildList: any;
|
|
257
|
-
dateList: any;
|
|
258
|
-
wordbookData: any;
|
|
259
|
-
relationData: any;
|
|
260
|
-
relationField: string;
|
|
261
|
-
relationFieldList: any;
|
|
262
|
-
quote_con: any;
|
|
263
|
-
title: string;
|
|
264
|
-
unit: string;
|
|
265
|
-
setting: string;
|
|
266
|
-
settingObj: any;
|
|
267
|
-
wordbookValueList: string[];
|
|
268
|
-
isIllegalField: boolean;
|
|
269
|
-
is_compare_field: boolean;
|
|
270
|
-
selectList: any;
|
|
271
|
-
customInput: boolean;
|
|
272
|
-
compare_field: any;
|
|
273
|
-
};
|
|
274
170
|
export declare type IConditionMapType = {
|
|
275
171
|
conditionList: IClassifyListType[];
|
|
276
172
|
displayCategoryList: string[];
|
|
@@ -278,39 +174,6 @@ export declare type IConditionMapType = {
|
|
|
278
174
|
countTabCondition: string;
|
|
279
175
|
settingId: string;
|
|
280
176
|
};
|
|
281
|
-
export declare type ILocalObjType = {
|
|
282
|
-
autograph?: string;
|
|
283
|
-
extendParams?: any;
|
|
284
|
-
id?: string;
|
|
285
|
-
menuId?: string;
|
|
286
|
-
name?: string;
|
|
287
|
-
params?: any;
|
|
288
|
-
preConObj?: any;
|
|
289
|
-
preSqlExpression?: any;
|
|
290
|
-
primaryKeyValue?: any;
|
|
291
|
-
reportType?: any;
|
|
292
|
-
triggerObjContentObj?: ITriggerObjType;
|
|
293
|
-
type?: string;
|
|
294
|
-
};
|
|
295
|
-
export declare type ITriggerObjType = Record<'id' | 'name' | 'type', string>;
|
|
296
|
-
export declare type ISelectAllType = Record<'name' | 'sid', string>;
|
|
297
|
-
export declare type IOriginConditionType = {
|
|
298
|
-
checked?: boolean;
|
|
299
|
-
classifyId?: string;
|
|
300
|
-
conObj: ISearchConfigType;
|
|
301
|
-
createdByName: string;
|
|
302
|
-
digital: number;
|
|
303
|
-
displayCategory: string;
|
|
304
|
-
from?: string;
|
|
305
|
-
isDefault: boolean;
|
|
306
|
-
isEdit: boolean;
|
|
307
|
-
isPublic: string;
|
|
308
|
-
isShow: boolean;
|
|
309
|
-
name: string;
|
|
310
|
-
selected?: boolean;
|
|
311
|
-
sid: string;
|
|
312
|
-
sqlExpression?: string;
|
|
313
|
-
};
|
|
314
177
|
export declare type IbtnType = {
|
|
315
178
|
buttonType: string;
|
|
316
179
|
color: string;
|
|
@@ -366,20 +229,7 @@ export declare type IsettingObjType = {
|
|
|
366
229
|
};
|
|
367
230
|
export declare type IparamsType = Record<'p_name' | 'p_value', string>;
|
|
368
231
|
export declare type IsettingsType = {
|
|
369
|
-
isDownload: string;
|
|
370
|
-
asyncCount: number;
|
|
371
|
-
hideCondition: number;
|
|
372
|
-
hideSearch: number;
|
|
373
232
|
hideQuickSearch: number;
|
|
374
|
-
hideOutSearch: number;
|
|
375
|
-
hideBottom: number;
|
|
376
|
-
hideExportBtn: number;
|
|
377
|
-
hideSettingBtn: number;
|
|
378
|
-
buttonAdaption: number;
|
|
379
|
-
openOnly: number;
|
|
380
|
-
};
|
|
381
|
-
export declare type InjectisShowResetButton = {
|
|
382
|
-
from: '';
|
|
383
233
|
};
|
|
384
234
|
export declare type IeditTableWrapperItem = {
|
|
385
235
|
options?: IeditTableWrapperDetail;
|
|
@@ -388,28 +238,6 @@ export declare type IeditTableWrapperDetail = {
|
|
|
388
238
|
isButtonFolding?: boolean;
|
|
389
239
|
extendParams?: any;
|
|
390
240
|
};
|
|
391
|
-
export declare type IrowBtnListObj = {
|
|
392
|
-
ADD: {
|
|
393
|
-
name: string;
|
|
394
|
-
children: IbtnType[];
|
|
395
|
-
};
|
|
396
|
-
INLINE: {
|
|
397
|
-
name: string;
|
|
398
|
-
children: IbtnType[];
|
|
399
|
-
};
|
|
400
|
-
BATCH: {
|
|
401
|
-
name: string;
|
|
402
|
-
children: IbtnType[];
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
export declare type IPrintType = {
|
|
406
|
-
number: number;
|
|
407
|
-
authorizationKey: string;
|
|
408
|
-
versionType: any;
|
|
409
|
-
port: number;
|
|
410
|
-
id: string;
|
|
411
|
-
};
|
|
412
|
-
export declare type IPrintAboutType = Record<'templateId' | 'formatId' | 'type', string>;
|
|
413
241
|
export declare type ICheckboxType = Record<'label' | 'value', string>;
|
|
414
242
|
export declare type IApiServerType = {
|
|
415
243
|
name: string;
|
|
@@ -421,10 +249,10 @@ export declare type IApiServerType = {
|
|
|
421
249
|
filterExplicit: boolean;
|
|
422
250
|
explicitRequired: boolean;
|
|
423
251
|
width?: number | null;
|
|
424
|
-
optionType
|
|
252
|
+
optionType?: string;
|
|
425
253
|
defaultValue?: {
|
|
426
|
-
valueList
|
|
427
|
-
unit
|
|
254
|
+
valueList?: any[];
|
|
255
|
+
unit?: string | null;
|
|
428
256
|
};
|
|
429
257
|
optionInfo?: {
|
|
430
258
|
manualMapping?: boolean | null;
|
|
@@ -433,7 +261,7 @@ export declare type IApiServerType = {
|
|
|
433
261
|
value: any;
|
|
434
262
|
}[];
|
|
435
263
|
};
|
|
436
|
-
remark
|
|
264
|
+
remark?: string;
|
|
437
265
|
keyword?: boolean;
|
|
438
266
|
};
|
|
439
267
|
export declare type ICategoryItemType = {
|
|
@@ -481,3 +309,9 @@ export declare type IFormStateType = {
|
|
|
481
309
|
displayCategory: string;
|
|
482
310
|
filterConditions: Record<'condition' | 'key' | 'presetVal' | 'value', string>[];
|
|
483
311
|
};
|
|
312
|
+
export declare type ISearchParamsType = {
|
|
313
|
+
field_key: string;
|
|
314
|
+
con: string;
|
|
315
|
+
value: any;
|
|
316
|
+
unit: string | null;
|
|
317
|
+
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.quickSearch-saveToClass-modal.n-card .edit-tag{margin-bottom:10px;margin-right:10px;position:relative;width:100px}.quickSearch-saveToClass-modal.n-card .edit-tag .s-content{background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;opacity:1;padding:4px 11px;width:100px}.quickSearch-saveToClass-modal.n-card .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quickSearch-saveToClass-modal.n-card .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.quickSearch-saveToClass-modal.n-card .edit-tag .ant-btn{margin-bottom:10px}.quickSearch-saveToClass-modal.n-card .edit-tag.edit-tag-select .ant-input-disabled,.quickSearch-saveToClass-modal.n-card .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.quickSearch-saveToClass-modal.n-card .n-card-header__extra{cursor:pointer}.quickSearch-saveToClass-modal.n-card .n-card__footer{border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right}.quickSearch-saveToClass-modal.n-card .n-card__footer .n-button{margin-left:8px}.quickSearch-saveToClass-modal{width:520px}.quickSearch-saveToClass-modal .search-class-name-block .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.quickSearch-saveToClass-modal .search-class-name-block .item-name .label{text-align:right;width:120px}.quickSearch-saveToClass-modal .search-class-name-block .parent-names{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .s-content{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;display:flex;justify-content:center;opacity:1;padding:0 10px;width:100px}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .ant-input-disabled{background-color:rgba(45,122,255,.1);border-color:#2d7aff;color:#2d7aff;cursor:pointer;opacity:1}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .ant-input-group-addon,.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .ant-input-number:not(:hover),.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag .ant-input:not(:hover){border-color:#2d7aff!important}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag.edit-tag-select .ant-input-disabled,.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .edit-tag.edit-tag-select .anticon-close{color:#fff}.quickSearch-saveToClass-modal .search-class-name-block .parent-names .ant-btn{margin-bottom:10px}.search-professional-container{display:flex}.search-professional-container .left-content{border-right:1px solid #d5d5d5;flex:7;overflow:hidden;overflow-y:auto;padding:10px 0 10px 10px}.search-professional-container .left-content .inner-content .item-list{border-top:none;margin-bottom:0;margin-top:0;padding:0}.search-professional-container .left-content-com{max-height:244px;min-height:98px;overflow:hidden;overflow-y:auto;padding-right:10px}.search-professional-container .left-content-btn{padding-left:30px;padding-top:10px}.search-professional-container .left-content-btn .n-button--primary-type{margin-left:10px}.search-professional-container .left-content-btn .selected-item-del{color:#2474ff;font-size:14px;margin-left:10px}.search-professional-container .left-content-btn .selected-item-del .svg-icon-btn{margin-right:6px}.search-professional-container .right-content{flex:5}.search-professional-container .right-content .list{display:flex;flex-direction:column;height:100%;overflow:hidden}.search-professional-container .right-content .list-title{background:#f2f2f2;border-bottom:1px solid #d5d5d5;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:500;height:40px;line-height:40px}.search-professional-container .right-content .list-title-btn,.search-professional-container .right-content .list-title-name,.search-professional-container .right-content .list-title-parent{width:25%}.search-professional-container .right-content .list-title>span{display:inline-block;text-align:center}.search-professional-container .right-content .list-title>span .svg-icon-filter{margin-left:6px;vertical-align:middle}.search-professional-container .right-content .list-content{background:#fff;flex:1;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;line-height:30px;overflow:hidden;overflow-y:auto}.search-professional-container .right-content .list-content-btn,.search-professional-container .right-content .list-content-name,.search-professional-container .right-content .list-content-parent{width:25%}.search-professional-container .right-content .list-content>li{border-bottom:1px solid #d5d5d5;height:30px;line-height:30px}.search-professional-container .right-content .list-content>li.checked,.search-professional-container .right-content .list-content>li.checked:hover{background-color:#fdf2e0}.search-professional-container .right-content .list-content>li:hover{background:#fafafa}.search-professional-container .right-content .list-content>li>span{display:inline-block;height:30px;line-height:30px;text-align:center;vertical-align:middle}.search-professional-container .right-content .list .svg-icon-btn{margin-right:8px}.search-professional-container .right-content .list .svg-icon-btn+.svg-icon-btn{margin-left:0}.search-professional-container .ant-btn+.ant-btn{margin-left:10px}.age-com-block{align-items:center;display:flex;width:100%}.age-com-block-suffix{display:inline-block;line-height:32px;padding:0 10px}.age-com-block .n-input-number{font-feature-settings:"tnum";background-color:#fff;background-image:none;box-sizing:border-box;color:rgba(0,0,0,.65);display:inline-block;font-size:14px;font-variant:tabular-nums;height:32px;line-height:1.5;list-style:none;margin:0;padding:0;position:relative;transition:all .3s;width:100%;width:90px}.buttonGroup-com-block{background:#5585f5;border-radius:4px;color:#fff;display:inline-block;height:32px;line-height:32px;margin:0 8px 8px 0}.searchConditionByApi_wrapper .inner-content{color:#000}.searchConditionByApi_wrapper .inner-content>p>span{cursor:pointer}.searchConditionByApi_wrapper .inner-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.searchConditionByApi_wrapper .inner-content .item-name .label{text-align:right;width:120px}.searchConditionByApi_wrapper .inner-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.searchConditionByApi_wrapper .inner-content .parent-names{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.searchConditionByApi_wrapper .inner-content .parent-names .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.searchConditionByApi_wrapper .inner-content .parent-names .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .s-content{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;display:flex;justify-content:center;opacity:1;padding:0 10px;width:100px}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .ant-input-disabled{background-color:rgba(45,122,255,.1);border-color:#2d7aff;color:#2d7aff;cursor:pointer;opacity:1}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .ant-input-group-addon,.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .ant-input-number:not(:hover),.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag .ant-input:not(:hover){border-color:#2d7aff!important}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag.edit-tag-select .ant-input-disabled,.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.searchConditionByApi_wrapper .inner-content .parent-names .edit-tag.edit-tag-select .anticon-close{color:#fff}.searchConditionByApi_wrapper .inner-content .parent-names .ant-btn{margin-bottom:10px}.searchConditionByApi_wrapper .inner-content .item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding-top:12px}.searchConditionByApi_wrapper .inner-content .item-list.list-onlyCondition{border-top:0;padding-top:0}.searchConditionByApi_wrapper .inner-content .item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.searchConditionByApi_wrapper .inner-content .item-list .form-item{margin-right:10px;width:120px}.searchConditionByApi_wrapper .inner-content .item-list .form-item.n-date-picker{width:auto}.searchConditionByApi_wrapper .inner-content .item-list .form-action{cursor:pointer;float:right;font-size:16px;margin-top:6px}.searchConditionByApi_wrapper .inner-content .item-list .date-item{display:inline-block}.searchConditionByApi_wrapper .inner-content .item-list .birthday-item>div{display:inline-block;margin-top:5px}.searchConditionByApi_wrapper .inner-content .item-list .birthday-item>div p{display:inline-block;margin:0 10px 0 15px}.searchConditionByApi_wrapper .inner-content .item-list .birthday-item>div>span{margin-top:5px}.searchConditionByApi_wrapper .inner-content .item-list .birthday-item .age-wrap,.searchConditionByApi_wrapper .inner-content .item-list .relation-item{display:inline-block}.searchConditionByApi_wrapper .inner-content .item-list .relation-item .relation-width{margin-right:10px;width:150px}.searchConditionByApi_wrapper .inner-content .item-list .relation-item .relation-btn{cursor:pointer}.searchConditionByApi_wrapper .inner-content .item-list .range-container{display:inline-block;vertical-align:bottom;width:442px}.searchConditionByApi_wrapper .inner-content .item-list .item-error{color:red;display:inline-block}.searchConditionByApi_wrapper .inner-content .item-list .value-cfg_wrapper{display:flex;flex-wrap:wrap}.searchConditionByApi_wrapper .inner-content .item-list .value-cfg_wrapper .form-item{margin-right:10px}.searchConditionByApi_wrapper .inner-content .index-span{display:inline-block;width:30px}.searchConditionByApi_wrapper .blue{color:#2d7aff;margin-right:8px}.searchConditionByApi_wrapper .red{color:#e02020}.searchConditionByApi_wrapper .in-block{display:inline-block}.outQuickSearch-li-block .ant-calendar-picker{font-feature-settings:"tnum";box-sizing:border-box;color:rgba(0,0,0,.65);cursor:text;display:inline-block;font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;margin:0;outline:none;padding:0;position:relative;transition:opacity .3s}.outQuickSearch-li-block .ant-calendar-picker .num-picker{display:flex;position:relative}.outQuickSearch-li-block .ant-calendar-picker .ant-calendar-picker-input{outline:none}.outQuickSearch-li-block .ant-calendar-picker .ant-input{font-feature-settings:"tnum";background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;color:rgba(0,0,0,.65);display:inline-block;font-size:14px;font-variant:tabular-nums;height:32px;line-height:1.5;list-style:none;margin:0;padding:4px 11px;position:relative;transition:all .3s;width:100%}.outQuickSearch-li-block .ant-calendar-picker .ant-input .ant-calendar-range-picker-input{background-color:transparent;border:0;height:99%;outline:0;text-align:center;width:44%}.outQuickSearch-li-block .ant-calendar-picker .ant-input .ant-calendar-range-picker-input::placeholder{color:#c2c2c2}.outQuickSearch-li-block .ant-calendar-picker .ant-input .ant-calendar-range-picker-separator{color:rgba(0,0,0,.45);display:inline-block;height:100%;min-width:10px;pointer-events:none;text-align:center;vertical-align:top;white-space:nowrap}.outQuickSearch-li-block .ant-calendar-picker .ant-input:hover{border-color:#82acff;border-right-width:1px!important}.range-grid-con-block{display:flex;flex-wrap:wrap;width:100%}.range-grid-con-block .grid-item{width:45%}.range-grid-con-block .middle-tips{height:30px;line-height:30px;text-align:center;width:5%}.SearchCondition-page-block .inner-content{color:#000}.SearchCondition-page-block .inner-content>p>span{cursor:pointer}.SearchCondition-page-block .inner-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.SearchCondition-page-block .inner-content .item-name .label{text-align:right;width:120px}.SearchCondition-page-block .inner-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.SearchCondition-page-block .inner-content .parent-names{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.SearchCondition-page-block .inner-content .parent-names .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.SearchCondition-page-block .inner-content .parent-names .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.SearchCondition-page-block .inner-content .parent-names .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.SearchCondition-page-block .inner-content .parent-names .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.SearchCondition-page-block .inner-content .parent-names .edit-tag .s-content{align-items:center;background-color:rgba(45,122,255,.1);border-color:#2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;display:flex;justify-content:center;opacity:1;padding:0 10px;width:100px}.SearchCondition-page-block .inner-content .parent-names .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.SearchCondition-page-block .inner-content .parent-names .edit-tag .n-input--disabled{background-color:rgba(45,122,255,.1)!important;border-color:#2d7aff!important;color:#2d7aff!important;cursor:pointer!important;opacity:1!important}.SearchCondition-page-block .inner-content .parent-names .edit-tag .ant-input-group-addon,.SearchCondition-page-block .inner-content .parent-names .edit-tag .ant-input-number:not(:hover),.SearchCondition-page-block .inner-content .parent-names .edit-tag .ant-input:not(:hover){border-color:#2d7aff!important}.SearchCondition-page-block .inner-content .parent-names .edit-tag.edit-tag-select .ant-input-disabled,.SearchCondition-page-block .inner-content .parent-names .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.SearchCondition-page-block .inner-content .parent-names .edit-tag.edit-tag-select .anticon-close{color:#fff}.SearchCondition-page-block .inner-content .parent-names .ant-btn{margin-bottom:10px}.SearchCondition-page-block .inner-content .item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding-top:12px}.SearchCondition-page-block .inner-content .item-list.list-onlyCondition{border-top:0;padding-top:0}.SearchCondition-page-block .inner-content .item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.SearchCondition-page-block .inner-content .item-list .form-item{margin-right:10px;width:120px}.SearchCondition-page-block .inner-content .item-list .operation{display:flex;flex:1;justify-content:flex-end}.SearchCondition-page-block .inner-content .item-list .operation .form-action{cursor:pointer}.SearchCondition-page-block .inner-content .item-list .date-item{display:inline-block}.SearchCondition-page-block .inner-content .item-list .birthday-item>div{display:inline-block;margin-top:5px}.SearchCondition-page-block .inner-content .item-list .birthday-item>div p{display:inline-block;margin:0 10px 0 15px}.SearchCondition-page-block .inner-content .item-list .birthday-item>div>span{margin-top:5px}.SearchCondition-page-block .inner-content .item-list .birthday-item .age-wrap,.SearchCondition-page-block .inner-content .item-list .relation-item{display:inline-block}.SearchCondition-page-block .inner-content .item-list .relation-item .relation-width{margin-right:10px;width:150px}.SearchCondition-page-block .inner-content .item-list .relation-item .relation-btn{cursor:pointer}.SearchCondition-page-block .inner-content .item-list .range-container{display:inline-block;vertical-align:bottom}.SearchCondition-page-block .inner-content .item-list .item-error{color:red;display:inline-block}.SearchCondition-page-block .inner-content .index-span{display:inline-block;width:30px}.SearchCondition-page-block .blue{color:#2d7aff;margin-right:8px}.SearchCondition-page-block .red{color:#e02020}.SearchCondition-page-block .in-block{display:flex}.SearchCondition-page-block._c_com-search-professional .inner-content .item-list>li{position:relative}.SearchCondition-page-block._c_com-search-professional .inner-content .item-list>li .show-small-select .val-small-select-wrap{width:66px!important}.SearchCondition-page-block._c_com-search-professional .inner-content .item-list>li .show-small-select .val-input-wrap{width:34%!important}.SearchCondition-page-block._c_com-search-professional .inner-content .item-error{display:block;padding-left:29px}.SearchCondition-page-block._c_com-search-professional .select-front-item{width:23%!important}.SearchCondition-page-block._c_com-search-professional .val-input-wrap{display:inline-block;width:100%}.SearchCondition-page-block._c_com-search-professional .val-input-wrap .n-input{width:100%!important}.SearchCondition-page-block._c_com-search-professional .val-age-wrap .ant-calendar-picker,.SearchCondition-page-block._c_com-search-professional .val-date-wrap .ant-calendar-picker,.SearchCondition-page-block._c_com-search-professional .val-select-wrap .ant-calendar-picker{width:50%!important}.SearchCondition-page-block._c_com-search-professional .val-range-wrap{width:42%!important}.SearchCondition-page-block._c_com-search-professional .val-range-wrap .ant-input-group .age-com .age-com-suffix{padding:0 1px}.SearchCondition-page-block._c_com-search-professional .val-range-wrap .ant-input-group .age-com .ant-input-number{width:100%}.SearchCondition-page-block._c_com-search-professional .val-range-wrap .ant-input-group .age-com .ant-input-number .ant-input-number-handler-wrap{display:none}.SearchCondition-page-block._c_com-search-professional .val-range-wrap .ant-input-group .age-com .ant-input-number .ant-input-number-input-wrap input{padding:0 2px}.SearchCondition-page-block._c_com-search-professional .teavalue-wrap{width:calc(88% + 20px)}.search-filter-modal-wrap{background:#fff;overflow-y:visible!important;width:860px}.search-filter-modal-wrap .n-card-header .svg-wrap .svg-icon{cursor:pointer;font-size:14px}.search-filter-modal-wrap .n-card-header .svg-wrap .svg-icon+svg{margin-left:16px}.search-filter-modal-wrap .n-card__content{overflow-y:auto}.search-filter-modal-wrap .n-card__footer{align-items:center;display:flex;justify-content:flex-end}.search-filter-modal-wrap .n-card__footer .n-button{margin-left:8px}.classification-set-modal-wrap-block.n-dialog{background:#fff;width:860px}.classification-set-modal-wrap-block .n-card-header .svg-wrap .svg-icon{cursor:pointer;font-size:14px}.classification-set-modal-wrap-block .n-card-header .svg-wrap .svg-icon+svg{margin-left:16px}.classification-set-modal-wrap-block .n-card__content{overflow-y:auto}.classification-set-modal-wrap-block .n-card__content .list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-set-modal-wrap-block .n-card__content .list .list-title .list-title-item{font-weight:700;width:25%}.classification-set-modal-wrap-block .n-card__content .list .list-content{padding:0}.classification-set-modal-wrap-block .n-card__content .list .list-content li{display:flex;height:52px;line-height:52px}.classification-set-modal-wrap-block .n-card__content .list .list-content li .list-content-item{align-items:center;display:flex;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:25%}.classification-set-modal-wrap-block .n-card__content .list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-set-modal-wrap-block .n-card__content .list .list-content li.checked,.classification-set-modal-wrap-block .n-card__content .list .list-content li.checked .text{background-color:#f2f2f2}.classification-set-modal-wrap-block .n-card__content .list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-set-modal-wrap-block .n-card__content .list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-set-modal-wrap-block .n-card__content .list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-set-modal-wrap-block .n-card__content .list .list-title-item{margin-left:-1px;padding:0 10px}.classification-set-modal-wrap-block .n-card__content .list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-set-modal-wrap-block .n-card__content .list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-set-modal-wrap-block .n-card__content .list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-set-modal-wrap-block .n-card__content .list .list-content-radio,.classification-set-modal-wrap-block .n-card__content .list .list-content-switch{text-align:center}.classification-set-modal-wrap-block .n-card__content .list .anticon+.anticon{margin-left:8px}.classification-set-modal-wrap-block .n-card__content .btn-reset{float:left}.classification-set-modal-wrap-block .n-card__footer{align-items:center;display:flex;justify-content:flex-end;padding-top:10px}.classification-set-modal-wrap-block .n-card__footer .n-button{margin-left:8px}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .btn-custom-wrap{align-items:flex-start;display:flex;justify-content:flex-end;width:100%}.base-search-block .base-container ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:8px}.base-search-block .base-container ul li{display:inline-block}.base-search-block .base-container ul li .search-default{border-color:#d5d5d5;color:#212121;height:32px;line-height:32px;margin-bottom:8px;margin-right:8px}.base-search-block .base-container ul li .my-input-search{height:32px;margin-bottom:8px;margin-right:8px;position:relative;top:-1px;vertical-align:middle}.base-search-block .base-container ul li .my-input-search .ant-input{border-right:0!important;margin-top:1px}.base-search-block .base-container ul li .my-input-search .ant-input:hover+.ant-input-suffix .ant-input-search-icon{color:#579aff}.base-search-block .base-container ul li .my-input-search .ant-input-group-addon{border:0!important;padding:0;vertical-align:bottom}.base-search-block .base-container ul li .my-input-search .ant-input-group-addon .ant-btn{border-bottom-left-radius:0;border-top-left-radius:0}.base-search-block .base-container ul li .my-input-search .svg-icon{font-size:16px;margin-right:0}.base-search-block .base-container ul li .mr8{margin-bottom:8px;margin-right:8px}.base-search-block .base-container ul li .mr12{margin-bottom:8px;margin-right:12px}.base-search-block .base-container ul li .ml12{margin-bottom:8px;margin-left:12px}.base-search-block .base-container ul li.related-search-input .my-input-search{width:40px}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-affix-wrapper{width:0}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-affix-wrapper .ant-input{box-shadow:none;outline:none;width:0}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-affix-wrapper .ant-input:focus{outline:none}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-affix-wrapper .ant-input:not(:last-child){border:0!important;padding:0}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-affix-wrapper .ant-input-suffix i{display:none}.base-search-block .base-container ul li.related-search-input .my-input-search .ant-input-group-addon .ant-btn{border-bottom-left-radius:4px;border-top-left-radius:4px}.base-search-block .base-container ul li.related-search-input-expand{transition:width .2s}.base-search-block .base-container ul li.related-search-input-expand .my-input-search{width:215px}.base-search-block .base-container ul li.related-search-input-expand .my-input-search .ant-input-affix-wrapper .ant-input-suffix i{display:inline-block}.base-search-block .base-container ul .dropdown-button{border-color:#d5d5d5!important;color:#212121;margin-bottom:8px;margin-left:8px}.base-search-block .base-container ul .dropdown-button .svg-icon{margin-right:4px}.base-search-block .base-container ul .dropdown-button.ant-dropdown-trigger i.anticon.anticon-down{color:#969696;font-size:14px}.base-search-block .base-container ul .baseSearch-input-search .input-search-com input{padding:4px 8px}.base-search-block .base-container ul .baseSearch-input-search .input-search-com .search-placeholder-icon{color:#b4b4b4}.base-search-block .base-container ul .btn-row{display:inline-flex;height:32px;line-height:32px;margin-bottom:8px;padding-right:8px;transform:translateZ(0)}.base-search-block .base-container ul .btn-row .mgl-10{margin-left:10px}.base-search-block .base-container ul .btn-row.min-width{min-width:212px}.base-search-block .base-container ul .btn-row .ant-select-selection__rendered{color:#212121;font-size:14px}.base-search-block .base-container ul .btn-row .ant-select-arrow i{color:#969696;font-size:12px}.base-search-block .base-container ul .btn-row .btn-setting{margin-right:4px}.base-search-block .base-container ul .btn-row .viewList-button{align-items:center;display:flex;justify-content:center;padding:0 12px}.base-search-block .base-tabs{align-items:center;border-bottom:1px solid #d5d5d5;display:flex;margin-bottom:8px}.base-search-block .base-tabs .base-tabs-item{border-bottom:1px solid transparent;color:#212121;cursor:pointer;font-size:14px;font-weight:400;padding:7px 16px}.base-search-block .base-tabs .base-tabs-item-active{border-bottom:1px solid #2d7aff;color:#2d7aff}.base-search-block .baseSearchPlaceholderSpan{position:absolute;visibility:hidden;z-index:-1}.base-search-block .num-picker{display:flex;position:relative}.base-search-block .num-picker.num-picker-unit{padding-right:20px}.base-search-block .num-picker input{text-align:left!important}.base-search-block .num-picker:hover .clear-number-icon{display:block}.base-search-block .num-picker .ant-calendar-range-picker-input{text-align:left}.base-search-block .num-picker .clear-number-icon{cursor:pointer;display:none;position:absolute;right:5px;top:6px;z-index:1000}.quick-search-block .quick-item{margin-bottom:10px;min-width:32px}.quick-search-block .quick-item .quick-row{display:flex}.quick-search-block .quick-item .quick-row>div{box-sizing:border-box;display:inline-block}.quick-search-block .quick-item .quick-row .quick-item-title{color:#000;line-height:32px;min-width:80px;padding-left:12px;text-align:right}.quick-search-block .quick-item .quick-row .quick-item-col{padding:0 12px;vertical-align:middle}.quick-search-block .quick-item .quick-row .quick-item-col .label-content .n-tag--checkable{background:#fafafa;border:1px solid hsla(0,0%,84%,.8);border-radius:4px;box-sizing:border-box;color:rgba(33,33,33,.6);cursor:pointer;font-size:14px;height:32px;line-height:32px;margin-bottom:8px;margin-right:8px;padding:0 7px;position:relative;text-align:center;width:108px}.quick-search-block .quick-item .quick-row .quick-item-col .label-content .n-tag--checkable .n-tag__content{width:100%}.quick-search-block .quick-item .quick-row .quick-item-col .label-content .n-tag--checkable.ant-tag-checkable-checked{background-color:#5585f5;color:#fff}.quick-search-block .quick-item .quick-row .quick-item-col .tag-evaluate .n-tag{margin-right:8px}.quick-search-block .quick-item .quick-row .quick-item-title-default{width:25%}.quick-search-block .quick-item .quick-row .quick-item-col-default{width:75%}.quick-search-block .quick-item .check-box{line-height:32px}.quick-search-block .quick-item .check-date-btn{background-color:#ddd;cursor:pointer;display:inline-block;height:32px;line-height:32px;padding:0 10px}.quick-search-block .quick-item .check-date-btn.ml{margin-left:20px}.quick-search-block .quick-item .check-date-btn.mr{margin-right:20px}.quick-search-block .quick-item .check-date{display:inline-block;line-height:33px}.quick-search-block .quick-item .check-date .n-date-picker{display:inline-block}.quick-search-block .quick-item .birthday-item>div{margin-top:5px}.quick-search-block .quick-item .birthday-item>div p{display:inline-block;margin:0 20px}.quick-search-block .quick-item .birthday-item>div>span{margin-top:5px}.quick-search-block .quick-item .birthday-item .age-wrap{display:inline-block}.quick-search-block .quick-item .ant-input-wrapper .ant-input-group-addon{border:1px solid #d9d9d9!important;border-left:0!important}.quick-search-block .quick-item .num-picker{font-feature-settings:"tnum";background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;box-sizing:border-box;color:rgba(0,0,0,.65);display:flex;display:inline-block;font-size:14px;font-variant:tabular-nums;height:32px;line-height:1.5;list-style:none;margin:0;padding:4px 11px;position:relative;transition:all .3s;width:100%}.quick-search-block .quick-item .num-picker.num-picker-unit{padding-right:20px}.quick-search-block .quick-item .num-picker input{text-align:left!important}.quick-search-block .quick-item .num-picker:hover{border-color:#82acff;border-right-width:1px!important}.quick-search-block .quick-item .num-picker:hover .clear-number-icon{display:block}.quick-search-block .quick-item .num-picker .ant-calendar-range-picker-input{background-color:transparent;border:0;height:99%;outline:0;text-align:left;text-align:center;width:44%}.quick-search-block .quick-item .num-picker .clear-number-icon{cursor:pointer;display:none;position:absolute;right:5px;top:6px;z-index:1000}.quick-search-block .n-radio-group{vertical-align:middle}.quick-search-block .n-radio-group .n-radio-button{padding:0 8px}.quick-search-block .n-radio-group .n-radio-button[hidesplitor=true]~.n-radio-group__splitor{display:none}.quick-search-block .label-attr-container .edit-label{color:#000;font-size:14px;line-height:32px;padding-left:0}.quick-search-block .label-attr-container .label-container-height{flex:none;height:74px;overflow:hidden}.quick-search-block .label-attr-container .edit-content{padding:0}.quick-search-block .label-attr-container .label-unfold-btn{color:rgba(0,0,0,.6);cursor:pointer;display:inline-block;margin:8px 0}.quick-search-block .label-attr-container .label-unfold-btn>span{align-items:center;display:flex;line-height:1}.quick-search-block .label-attr-container .label-unfold-btn .anticon{font-size:16px;margin-left:8px}.quick-search-block .label-attr-container .label-unfold-btn:active,.quick-search-block .label-attr-container .label-unfold-btn:hover{color:#2d7aff}.quick-search-block.quick-search-table .module-title{border-left:4px solid #2d7aff;color:#506493;line-height:20px;padding-left:12px}.quick-search-block.quick-search-table .quick-item{display:inline-block}.quick-search-block.quick-search-table .quick-item.quick-block{display:block}.quick-search-block .psw-icon{color:#969696;cursor:pointer}.quick-search-block .psw-icon:active{color:#5585f5}.classification-block{cursor:pointer}.classification-block .tree-type{border:1px solid #d5d5d5;border-radius:4px;height:100%;line-height:32px;margin-top:8px;padding-bottom:80px;width:150px}.classification-block .tree-type .tree{height:calc(100% - 32px);line-height:32px;margin:0;overflow:auto;padding-left:0}.classification-block .tree-type .tree::-webkit-scrollbar{width:5px}.classification-block .tree-type .header{border-bottom:1px solid #e6eaef;display:flex;font-size:14px;justify-content:space-between;padding:0 10px}.classification-block .tree-type .header .header-1{align-items:center;display:flex}.classification-block .tree-type .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer}.classification-block .tree-type .tree-item.tree-header{box-sizing:border-box;padding:0 10px}.classification-block .tree-type .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .tree-type .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .tree-type .tree-item .header-item{border-bottom:1px solid transparent;box-sizing:border-box;color:rgba(0,0,0,.6);line-height:1.4}.classification-block .tree-type .tree-item .header-item.selected,.classification-block .tree-type .tree-item .header-item:hover{color:#2d7aff}.classification-block .tree-type .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree-item .children{align-items:center;display:flex;height:32px;padding-left:23px;padding-right:10px}.classification-block .tree-type .tree-item .children .child-item{align-items:center;border-bottom:1px solid transparent;color:#7c7c7c;display:flex;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .tree-type .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .tree-type .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tree-type .tree-item .children .child-item .child-item-content{align-items:center;display:flex}.classification-block .tree-type .tree-item .children .child-item .child-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree-item .children .child-item .digital-span{flex:1;margin-left:5px;text-align:left}.classification-block .tree-type .tree-type-footer{background:#fff;bottom:0;padding-left:16px;position:absolute;width:100%}.classification-block .tree-type .tree-type-footer .selected-num{margin-bottom:9px}.classification-block .tree-type .tree-type-footer .selected-item-del{margin-bottom:15px;margin-left:0}.classification-block .tile-type{border:1px solid #d5d5d5;border-radius:4px;margin-bottom:8px;padding:0 17px}.classification-block .tile-type .header{align-items:center;border-bottom:1px solid #d5d5d5;display:inline-flex;justify-content:space-between;line-height:44px;width:100%}.classification-block .tile-type .header .all-data{border-bottom:1px solid transparent;color:#000;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:500;line-height:1.4;margin-right:auto}.classification-block .tile-type .header .all-data:hover{color:#2d7aff}.classification-block .tile-type .header .all-data:active{border-color:transparent;color:#000}.classification-block .tile-type .header .selected{color:#2d7aff}.classification-block .tile-type .header .right-setting{color:#000;display:flex}.classification-block .tile-type .header .right-setting .setting-1{align-items:center;display:flex}.classification-block .tile-type .header .right-setting .setting-1 .n-icon{margin-right:6px}.classification-block .tile-type .header .right-setting .upack-up-btn{color:#2d7aff}.classification-block .tile-type .tile{border-bottom:1px solid #d5d5d5;padding:9px 0}.classification-block .tile-type .tile-item{cursor:pointer;display:flex;line-height:38px}.classification-block .tile-type .tile-item .parent{box-sizing:border-box;color:#000;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:600;max-width:135px;padding-right:16px;width:135px}.classification-block .tile-type .tile-item .children{flex:1}.classification-block .tile-type .tile-item .children .child-item{border-bottom:1px solid transparent;border-radius:4px;color:#7c7c7c;display:inline-block;font-size:14px;line-height:1.5;margin:0 5px;padding:1px 6px}.classification-block .tile-type .tile-item .children .child-item.selected,.classification-block .tile-type .tile-item .children .child-item:hover{background-color:rgba(45,122,255,.1);color:#2d7aff}.classification-block .tile-type .tile-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tile-type .tile-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tile-type .tile-item .child-item.selected{color:#2d7aff}.classification-block .select-type{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px;position:relative;width:100px}.classification-block .select-type .title{align-items:center;border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;color:#969696;display:flex;font-size:12px;height:100%;justify-content:space-between;padding:0 8px;width:100%}.classification-block .select-type .title>span{color:#212121;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .title i{font-size:12px}.classification-block .select-type .title:before{color:#409eff;content:"&";font-weight:700;margin:0 5px}.classification-block .select-type .main-wrapper{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;min-width:270px;position:absolute;top:39px;width:100%;z-index:3000}.classification-block .select-type .main-wrapper::-webkit-scrollbar{width:5px}.classification-block .select-type .main-wrapper .tree-footer,.classification-block .select-type .main-wrapper .tree-footer span{align-items:center;display:flex}.classification-block .select-type .main-wrapper .tree-footer span .n-icon{margin-right:6px}.classification-block .select-type .main-wrapper .tree-footer span:first-child{margin-right:16px}.classification-block .select-type .tree{margin:0;max-height:300px;overflow:auto;padding:32px 0}.classification-block .select-type .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer;line-height:32px}.classification-block .select-type .tree-item.tree-header{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;height:40px;padding:0 10px;position:absolute;top:0;width:100%;z-index:1}.classification-block .select-type .tree-item .child-header{flex:1}.classification-block .select-type .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .select-type .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .select-type .tree-item .header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6)}.classification-block .select-type .tree-item .header-item.selected,.classification-block .select-type .tree-item .header-item:hover{color:#2d7aff}.classification-block .select-type .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree-item .children{align-items:center;display:flex;height:32px;line-height:32px;padding-left:23px;padding-right:10px}.classification-block .select-type .tree-item .children .child-item{border-bottom:1px solid transparent;color:#7c7c7c;display:inline-block;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .tree-item .children .child-item.child-header{padding:0 10px}.classification-block .select-type .tree-item .children .child-item.header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6)}.classification-block .select-type .tree-item .children .child-item.header-item.selected,.classification-block .select-type .tree-item .children .child-item.header-item:hover{color:#2d7aff}.classification-block .select-type .tree-item .children .child-item.header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .select-type .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .select-type .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .select-type .tree-item:last-child{border-bottom:0}.classification-block .select-type .select-type-footer{align-items:center;background-color:#fff;border-top:1px solid #d5d5d5;bottom:0;display:flex;height:40px;justify-content:space-between;padding:0 12px;position:absolute;width:100%}.classification-block .group-type{border:1px solid #d5d5d5;border-radius:4px;margin-bottom:8px;padding:0 16px}.classification-block .group-type .header{align-items:center;display:inline-flex;justify-content:space-between;line-height:44px;padding-left:4px;width:100%}.classification-block .group-type .header .all-data{border-bottom:1px solid transparent;color:rgba(0,0,0,.6);margin-right:auto}.classification-block .group-type .header .all-data:hover{border-color:transparent;color:#2d7aff}.classification-block .group-type .header .all-data:active{border-color:transparent;color:#000}.classification-block .group-type .header .selected{color:#2d7aff}.classification-block .group-type .header .right-setting{color:#000;display:flex}.classification-block .group-type .header .right-setting span{align-items:center;display:flex}.classification-block .group-type .header .right-setting span .n-icon{margin-right:6px}.classification-block .group-type .header .right-setting .anticon{color:rgba(0,0,0,.6);margin-right:6px}.classification-block .group-type .header .right-setting .upack-up-btn{color:#2d7aff}.classification-block .group-type .group{border-bottom:1px solid #d5d5d5;display:flex;flex-wrap:wrap;padding:16px 0}.classification-block .group-type .group .child-item{border-bottom:1px solid transparent;color:#7c7c7c;margin-right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .group-type .group .child-item:hover{border-color:transparent;color:#2d7aff}.classification-block .group-type .group .child-item.selected{color:#2d7aff}.classification-block .group-type .group .child-item:active{border-color:transparent;color:#000}.classification-block .group-type .group .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .group-type .group .ant-select,.classification-block .group-type .group .n-select{margin-bottom:8px;margin-right:8px;width:130px}.classification-block .group-type .select-type-footer{align-items:center;background-color:#fff;bottom:0;display:flex;height:32px;justify-content:space-between;padding:0 12px;position:absolute;width:100%}.classification-block .classificationSelect3 .v-vl-items{min-height:auto!important}.classification-block .classificationSelect3 .v-vl-items .v-vl-visible-items .n-base-select-option:first-child{display:none}.classification-block .selected-list{align-items:center;display:flex;padding:11.5px 6px}.classification-block .selected-list .selected-item{align-items:center;background-color:rgba(45,122,255,.1);border-radius:4px;color:#2d7aff;display:flex;margin-left:8px;padding:1px 6.5px 1px 8px}.classification-block .selected-list .selected-item .anticon-close{color:#2474ff;font-size:12px;margin-left:13px}.classification-block .selected-num{color:rgba(0,0,0,.6);font-size:14px;line-height:20px;margin-right:8px}.classification-block .selected-item-del{align-items:center;color:#2474ff;display:flex;font-size:14px;line-height:20px;margin-left:22px}.classification-block .selected-item-del .n-icon{margin-right:6px}.classification-block .selected-item-del:hover{color:rgba(36,116,255,.8)}.classification-block .disabled{pointer-events:none}.classification-block .classify-4-container{overflow:hidden;transition:height .2s ease-in}.classification-block div.classify-4{border:none;border-bottom:1px solid #d5d5d5;margin-bottom:0}.classification-block div.classify-4 .header{border-bottom:none!important}.classification-block.classificationIndex-4{border:1px solid #d5d5d5;border-radius:4px;margin-bottom:10px}.classification-block.classificationIndex-4.upack-up-wrap{border-bottom:none}
|
|
1
|
+
@font-face{font-family:iconfont;src:url(iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter{cursor:pointer;font-size:18px}.classification-modal-block .n-card-header .svg-wrap .iconfont-table-filter:last-child{margin-left:16px}.classification-modal-block .n-card-header .svg-wrap .n-icon{cursor:pointer}.classification-modal-block .n-card__content{overflow-y:auto}.classification-modal-block .n-card__content .table-modal-list .list-title{background-color:#f2f2f4;border:1px solid #e1dfdf;display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-title .list-title-item{font-weight:700;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content{padding:0}.classification-modal-block .n-card__content .table-modal-list .list-content li{display:flex;height:52px;line-height:52px}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item{align-items:center;display:flex;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:25%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-item .n-icon{cursor:pointer;margin-right:8px}.classification-modal-block .n-card__content .table-modal-list .list-content li.checked,.classification-modal-block .n-card__content .table-modal-list .list-content li.checked .text{background-color:#f2f2f2}.classification-modal-block .n-card__content .table-modal-list .list-content li .text{background-color:#fff;display:inline-block;padding:0 10px;position:relative}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line{position:relative;text-align:center;width:75%}.classification-modal-block .n-card__content .table-modal-list .list-content li .list-content-line:before{border:1px solid #e8e8e8;content:"";left:0;margin-top:20px;position:absolute;width:100%}.classification-modal-block .n-card__content .table-modal-list .list-title-item{margin-left:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item{border-bottom:1px solid #e1dfdf;margin-left:-1px;margin-top:-1px;padding:0 10px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch{height:16px;min-width:28px;width:28px}.classification-modal-block .n-card__content .table-modal-list .list-content-item .ant-switch:after{height:12px;width:12px}.classification-modal-block .n-card__content .table-modal-list .list-content-radio,.classification-modal-block .n-card__content .table-modal-list .list-content-switch{text-align:center}.classification-modal-block .n-card__content .table-modal-list .anticon+.anticon{margin-left:8px}.classification-modal-block .n-card__content .class-filter-content .item-name{display:flex;height:32px;line-height:32px;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .item-name .label{text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .item-name .addAction{align-items:center;cursor:pointer;display:flex}.classification-modal-block .n-card__content .class-filter-content .item-name .blue{color:#2d7aff;margin-right:8px}.classification-modal-block .n-card__content .class-filter-content .n-form-item-label{width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content{align-items:center;display:flex;flex-wrap:wrap;line-height:32px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .label{display:inline-block;height:32px;line-height:32px;margin-bottom:10px;text-align:right;width:120px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn-dashed{border-color:#a6a6a6;color:#a6a6a6}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag{margin-bottom:10px;margin-right:10px;position:relative}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .anticon-close{color:#2d7aff;cursor:pointer;line-height:36px;position:absolute;right:5px;top:2px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content{align-items:center;background-color:rgba(45,122,255,.1);border:1px solid #2d7aff;border-radius:3px;box-sizing:border-box;color:#2d7aff;cursor:pointer;display:flex;justify-content:center;opacity:1;padding:0 10px;width:100px}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag .s-content span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .ant-input-disabled,.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .s-content{background-color:#2d7aff;color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .edit-tag.edit-tag-select .anticon-close{color:#fff}.classification-modal-block .n-card__content .class-filter-content .quickSearch-content .ant-btn{margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list{border-top:1px solid #e6e6e6;margin-bottom:6px;margin-top:16px;padding-top:12px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li{align-items:center;display:flex;list-style:none;margin-bottom:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .index-span{display:inline-block;width:30px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item{margin-right:10px;width:120px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .form-item.n-date-picker{width:auto}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper{display:flex;flex-wrap:wrap}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .value-cfg_wrapper .form-item{margin-right:10px}.classification-modal-block .n-card__content .class-filter-content .select-item-list li .delete-item-icon{color:red;cursor:pointer;font-size:18px}.classification-modal-block .n-card__footer{padding-top:10px}.classification-modal-block .n-card__footer .flex_between{display:flex;justify-content:space-between}.classification-modal-block .n-card__footer .flex_right{display:flex;justify-content:right}.classification-modal-block .n-card__footer .n-button{margin-left:8px}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:8px}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px}.quick-search-block .quick-item{margin-bottom:10px;min-width:32px}.quick-search-block .quick-item .quick-row{align-items:center;display:flex}.quick-search-block .quick-item .quick-row .quick-item-title{line-height:32px;min-width:80px;padding-left:12px;text-align:right}.quick-search-block .quick-item .quick-row .quick-item-col{align-items:center;display:flex;padding:0 12px}.quick-search-block .quick-item .quick-row .quick-item-title-default{width:25%}.quick-search-block .quick-item .quick-row .quick-item-col-default{width:75%}.quick-search-block.quick-search-table .quick-item{display:inline-block}.quick-search-block.quick-search-table .quick-item.quick-block{display:block}.classification-block .tree-type{border:1px solid #d5d5d5;border-radius:4px;height:100%;line-height:32px;margin-top:8px;padding-bottom:80px;width:150px}.classification-block .tree-type .header{border-bottom:1px solid #e6eaef;display:flex;font-size:14px;justify-content:space-between;padding:0 10px}.classification-block .tree-type .header .header-1{align-items:center;cursor:pointer;display:flex}.classification-block .tree-type .tree{height:calc(100% - 32px);line-height:32px;margin:0;overflow:auto;padding-left:0}.classification-block .tree-type .tree::-webkit-scrollbar{width:5px}.classification-block .tree-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer}.classification-block .tree-type .tree .tree-item.tree-header{box-sizing:border-box;padding:0 10px}.classification-block .tree-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .tree-type .tree .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .tree-type .tree .tree-item .header-item{box-sizing:border-box;line-height:1.4}.classification-block .tree-type .tree .tree-item .header-item.selected,.classification-block .tree-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children{align-items:center;display:flex;height:32px;padding-left:23px;padding-right:10px}.classification-block .tree-type .tree .tree-item .children .child-item{align-items:center;border-bottom:1px solid transparent;color:#7c7c7c;display:flex;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .tree-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .tree-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tree-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-content{align-items:center;display:flex}.classification-block .tree-type .tree .tree-item .children .child-item .child-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .tree-type .tree .tree-item .children .child-item .digital-span{flex:1;margin-left:5px;text-align:left}.classification-block .tree-type .tree .tree-item:last-child{border-bottom:none}.classification-block .tree-type .tree-type-footer{border-top:1px solid #d5d5d5;bottom:0;height:80px;line-height:20px;padding-left:16px;position:absolute;width:100%}.classification-block .tree-type .tree-type-footer .selected-num{margin:10px}.classification-block .tree-type .tree-type-footer .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;justify-content:center;margin-left:0}.classification-block .tile-type{border:1px solid #d5d5d5;border-radius:4px;margin-bottom:8px;padding:0 17px}.classification-block .tile-type .header{align-items:center;border-bottom:1px solid #d5d5d5;display:inline-flex;justify-content:space-between;line-height:44px;width:100%}.classification-block .tile-type .header .all-data{border-bottom:1px solid transparent;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:500;line-height:1.4;margin-right:auto}.classification-block .tile-type .header .all-data:hover{color:#2d7aff}.classification-block .tile-type .header .all-data:active{border-color:transparent;color:#000}.classification-block .tile-type .header .selected{color:#2d7aff}.classification-block .tile-type .header .right-setting{display:flex}.classification-block .tile-type .header .right-setting .setting-1{align-items:center;cursor:pointer;display:flex}.classification-block .tile-type .header .right-setting .setting-1 .n-icon{margin-right:6px}.classification-block .tile-type .header .right-setting .upack-up-btn{color:#2d7aff}.classification-block .tile-type .tile{border-bottom:1px solid #d5d5d5;margin:0;padding:9px 0}.classification-block .tile-type .tile .tile-item{cursor:pointer;display:flex;line-height:38px}.classification-block .tile-type .tile .tile-item .parent{box-sizing:border-box;font-family:PingFangSC-Medium,PingFang SC;font-size:14px;font-weight:600;max-width:135px;padding-right:16px;width:135px}.classification-block .tile-type .tile .tile-item .children{flex:1}.classification-block .tile-type .tile .tile-item .children .child-item{border-bottom:1px solid transparent;border-radius:4px;color:#7c7c7c;display:inline-block;font-size:14px;line-height:1.5;margin:0 5px;padding:1px 6px}.classification-block .tile-type .tile .tile-item .children .child-item.selected,.classification-block .tile-type .tile .tile-item .children .child-item:hover{background-color:rgba(45,122,255,.1);color:#2d7aff}.classification-block .tile-type .tile .tile-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .tile-type .tile .tile-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .tile-type .tile .tile-item .child-item.selected{color:#2d7aff}.classification-block .tile-type .selected-list{align-items:center;display:flex;padding:12px 6px}.classification-block .tile-type .selected-list .selected-num{font-size:14px;line-height:20px;margin-right:8px}.classification-block .tile-type .selected-list .selected-item{align-items:center;background-color:rgba(45,122,255,.1);border-radius:4px;color:#2d7aff;cursor:pointer;display:flex;margin-left:8px;padding:1px 8px}.classification-block .tile-type .selected-list .selected-item-del{align-items:center;color:#2474ff;cursor:pointer;display:flex;font-size:14px;line-height:20px;margin-left:22px}.classification-block .select-type{height:32px;line-height:32px;margin-bottom:8px;margin-right:8px;position:relative;width:100px}.classification-block .select-type .title{align-items:center;border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;color:#969696;cursor:pointer;display:flex;font-size:12px;height:100%;justify-content:space-between;padding:0 8px;width:100%}.classification-block .select-type .title>.name{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .main-wrapper{background-color:#fff;border:1px solid #d5d5d5;border-radius:4px;min-width:270px;position:absolute;top:39px;width:100%;z-index:3000}.classification-block .select-type .main-wrapper::-webkit-scrollbar{width:5px}.classification-block .select-type .tree{margin:0;max-height:300px;overflow:auto;padding:32px 0}.classification-block .select-type .tree .tree-item{border-bottom:1px solid #d5d5d5;cursor:pointer;line-height:32px}.classification-block .select-type .tree .tree-item.tree-header{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;height:40px;padding:0 10px;position:absolute;top:0;width:100%;z-index:1}.classification-block .select-type .tree .tree-item .tree-footer{align-items:center;color:rgba(0,0,0,.6);display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon{align-items:center;cursor:pointer;display:flex}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon .n-icon{margin-right:6px}.classification-block .select-type .tree .tree-item .tree-footer .tree-footer-icon:first-child{margin-right:16px}.classification-block .select-type .tree .tree-item .parent{align-items:center;display:flex;font-weight:600;justify-content:space-between;padding:0 10px}.classification-block .select-type .tree .tree-item .parent.open{background-color:#f2f2f2;border-bottom:1px solid #d5d5d5}.classification-block .select-type .tree .tree-item .header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6);flex:1}.classification-block .select-type .tree .tree-item .header-item.selected,.classification-block .select-type .tree .tree-item .header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children{align-items:center;display:flex;height:32px;line-height:32px;padding-left:23px;padding-right:10px}.classification-block .select-type .tree .tree-item .children .child-item{border-bottom:1px solid transparent;color:#7c7c7c;display:inline-block;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.classification-block .select-type .tree .tree-item .children .child-item.child-header{padding:0 10px}.classification-block .select-type .tree .tree-item .children .child-item.header-item{border-bottom:1px solid transparent;color:rgba(0,0,0,.6)}.classification-block .select-type .tree .tree-item .children .child-item.header-item.selected,.classification-block .select-type .tree .tree-item .children .child-item.header-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.header-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item:hover{color:#2d7aff}.classification-block .select-type .tree .tree-item .children .child-item.selected{align-items:center;color:#2d7aff;display:flex;justify-content:space-between;width:100%}.classification-block .select-type .tree .tree-item .children .child-item:active{border-color:transparent;color:#000}.classification-block .select-type .tree .tree-item .children .child-item.disabled{color:rgba(0,0,0,.2)}.classification-block .select-type .tree .tree-item:last-child{border-bottom:0}.classification-block .select-type .select-type-footer{align-items:center;background-color:#fff;border-top:1px solid #d5d5d5;bottom:0;display:flex;height:40px;justify-content:space-between;padding:0 12px;position:absolute;width:100%}.classification-block .select-type .select-type-footer .selected-num{color:rgba(0,0,0,.6)}.classification-block .select-type .select-type-footer .selected-item-del{color:#2474ff;cursor:pointer}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../../es/shared/types';
|
|
2
|
+
declare const TimePicker: SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
3
|
+
attrs: {
|
|
4
|
+
[x: string]: unknown;
|
|
5
|
+
};
|
|
6
|
+
emits: (event: "update:formattedValue", ...args: any[]) => void;
|
|
7
|
+
timePickerRef: import("vue").Ref<null>;
|
|
8
|
+
__formattedValue: import("vue").Ref<any>;
|
|
9
|
+
keyupValue: import("vue").Ref<string>;
|
|
10
|
+
formatRef: import("vue").ComputedRef<string>;
|
|
11
|
+
updateFormattedValue: (value: any) => void;
|
|
12
|
+
onBlur: () => void;
|
|
13
|
+
onKeyUp: (event: import("../../../es/shared/types").AnyObject) => any;
|
|
14
|
+
NTimePicker: any;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formattedValue"[], "update:formattedValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
16
|
+
"onUpdate:formattedValue"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}, {}>>;
|
|
18
|
+
export default TimePicker;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{COMPONENT_NAMESPACE as r}from"../../shared/global/variable.js";import{safeComponentRegister as i}from"../../shared/utils/index.js";import e from"./src/TimePicker.vue.js";const o=e;o.install=function(e){i(e,o,r+"TimePicker")};export{o as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AnyObject } from '../../../../es/shared/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
+
attrs: {
|
|
4
|
+
[x: string]: unknown;
|
|
5
|
+
};
|
|
6
|
+
emits: (event: "update:formattedValue", ...args: any[]) => void;
|
|
7
|
+
timePickerRef: import("vue").Ref<null>;
|
|
8
|
+
__formattedValue: import("vue").Ref<any>;
|
|
9
|
+
keyupValue: import("vue").Ref<string>;
|
|
10
|
+
formatRef: import("vue").ComputedRef<string>;
|
|
11
|
+
updateFormattedValue: (value: any) => void;
|
|
12
|
+
onBlur: () => void;
|
|
13
|
+
onKeyUp: (event: AnyObject) => any;
|
|
14
|
+
NTimePicker: any;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formattedValue"[], "update:formattedValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
16
|
+
"onUpdate:formattedValue"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}, {}>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defineComponent as e,useAttrs as t,ref as u,computed as l,watch as a,openBlock as r,createBlock as o,unref as i,mergeProps as n,createSlots as v,renderList as m,withCtx as f,renderSlot as d}from"vue";import{NTimePicker as s}from"naive-ui";import{parse as c,isValid as p,format as _}from"date-fns";import k from"../../../_virtual/plugin-vue_export-helper.js";var P=k(e({__name:"TimePicker",emits:["update:formattedValue"],setup(e,{expose:k,emit:P}){const $=t(),b=u(null),x=u(),y=u(""),V=l((()=>$.format?$.format:"HH:mm:ss"));function g(e){P("update:formattedValue",e)}function H(){const e=c(y.value,V.value.replace(/:/,""),new Date);p(e)&&(x.value=_(e,V.value),g(x.value))}function T(e){var t,u;const{keyCode:l=0}=e;if(13==l)return null==(t=b.value)?void 0:t.blur();y.value=(null==(u=e.target)?void 0:u.value)||""}return a((()=>$["formatted-value"]),(e=>{x.value=e}),{immediate:!0}),k({$timePicker:b,focus:()=>{var e,t;return null==(t=null==(e=b.value)?void 0:e.focus)?void 0:t.call(e)},blur:()=>{var e,t;return null==(t=null==(e=b.value)?void 0:e.blur)?void 0:t.call(e)}}),(e,t)=>(r(),o(i(s),n({ref_key:"timePickerRef",ref:b},e.$attrs,{"formatted-value":x.value,"onUpdate:formattedValue":g,onBlur:H,onKeyup:T}),v({_:2},[m(e.$slots,((t,u)=>({name:u,fn:f((()=>[d(e.$slots,u)]))})))]),1040,["formatted-value"]))}}),[["__file","TimePicker.vue"]]);export{P as default};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
noDataTip: {
|
|
3
4
|
type: StringConstructor;
|
|
@@ -12,6 +13,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
13
|
default: boolean;
|
|
13
14
|
};
|
|
14
15
|
}, {
|
|
16
|
+
wrapperStyle: CSSProperties;
|
|
17
|
+
imgStyle: CSSProperties;
|
|
18
|
+
paragraphStyle: CSSProperties;
|
|
19
|
+
textStyle: CSSProperties;
|
|
15
20
|
imgStr: import("vue").ComputedRef<null>;
|
|
16
21
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
17
22
|
noDataTip: {
|