cnhis-design-vue 2.2.3 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -10
- package/es/affix/index.js +8 -8
- package/es/age/index.js +10 -10
- package/es/alert/index.js +8 -8
- package/es/anchor/index.js +8 -8
- package/es/auto-complete/index.js +8 -8
- package/es/avatar/index.js +8 -8
- package/es/back-top/index.js +8 -8
- package/es/badge/index.js +8 -8
- package/es/base/index.js +8 -8
- package/es/big-table/index.js +102 -102
- package/es/big-table/style.css +1 -1
- package/es/breadcrumb/index.js +8 -8
- package/es/button/index.js +33 -33
- package/es/calendar/index.js +8 -8
- package/es/captcha/index.js +3 -3
- package/es/card/index.js +8 -8
- package/es/card-reader-sdk/index.js +1 -1
- package/es/carousel/index.js +8 -8
- package/es/cascader/index.js +8 -8
- package/es/checkbox/index.js +9 -9
- package/es/col/index.js +8 -8
- package/es/collapse/index.js +8 -8
- package/es/color-picker/index.js +1 -1
- package/es/comment/index.js +8 -8
- package/es/config-provider/index.js +8 -8
- package/es/date-picker/index.js +8 -8
- package/es/descriptions/index.js +8 -8
- package/es/direct/index.js +16 -16
- package/es/divider/index.js +8 -8
- package/es/drag-layout/index.js +3 -3
- package/es/drawer/index.js +8 -8
- package/es/dropdown/index.js +8 -8
- package/es/editor/index.js +1 -1
- package/es/ellipsis/index.js +1 -1
- package/es/empty/index.js +8 -8
- package/es/fabric-chart/index.js +262 -183
- package/es/form/index.js +8 -8
- package/es/form-model/index.js +8 -8
- package/es/form-table/index.js +74 -74
- package/es/full-calendar/index.js +4 -4
- package/es/index/index.js +778 -689
- package/es/index/style.css +1 -1
- package/es/input/index.js +9 -9
- package/es/input-number/index.js +8 -8
- package/es/layout/index.js +8 -8
- package/es/list/index.js +8 -8
- package/es/locale-provider/index.js +8 -8
- package/es/map/index.js +9 -9
- package/es/mentions/index.js +8 -8
- package/es/menu/index.js +8 -8
- package/es/message/index.js +8 -8
- package/es/multi-chat/index.js +76 -76
- package/es/multi-chat-client/index.js +70 -70
- package/es/multi-chat-history/index.js +4 -4
- package/es/multi-chat-record/index.js +14 -14
- package/es/multi-chat-setting/index.js +22 -22
- package/es/multi-chat-sip/index.js +1 -1
- package/es/notification/index.js +8 -8
- package/es/page-header/index.js +8 -8
- package/es/pagination/index.js +8 -8
- package/es/popconfirm/index.js +8 -8
- package/es/popover/index.js +8 -8
- package/es/progress/index.js +8 -8
- package/es/radio/index.js +9 -9
- package/es/rate/index.js +8 -8
- package/es/result/index.js +8 -8
- package/es/row/index.js +8 -8
- package/es/scale-container/index.js +9 -9
- package/es/scale-view/index.js +27 -27
- package/es/select/index.js +36 -21
- package/es/select-label/index.js +11 -11
- package/es/select-person/index.js +2 -2
- package/es/select-tag/index.js +4 -4
- package/es/shortcut-setter/index.js +10 -10
- package/es/skeleton/index.js +8 -8
- package/es/slider/index.js +8 -8
- package/es/slider-tree/index.js +9 -9
- package/es/space/index.js +8 -8
- package/es/spin/index.js +8 -8
- package/es/statistic/index.js +8 -8
- package/es/steps/index.js +8 -8
- package/es/switch/index.js +8 -8
- package/es/table-filter/index.js +112 -117
- package/es/table-filter/style.css +1 -1
- package/es/tabs/index.js +8 -8
- package/es/tag/index.js +9 -9
- package/es/time-picker/index.js +8 -8
- package/es/timeline/index.js +8 -8
- package/es/tooltip/index.js +8 -8
- package/es/transfer/index.js +8 -8
- package/es/tree/index.js +8 -8
- package/es/tree-select/index.js +8 -8
- package/es/upload/index.js +8 -8
- package/es/verification-code/index.js +2 -2
- package/lib/cui.common.js +719 -632
- package/lib/cui.umd.js +719 -632
- package/lib/cui.umd.min.js +18 -18
- package/package.json +1 -1
- package/.prettierrc.js +0 -27
- package/packages/affix/index.js +0 -12
- package/packages/affix/src/Affix.jsx +0 -12
- package/packages/age/index.js +0 -27
- package/packages/age/src/age/index.vue +0 -140
- package/packages/age/src/age-com/index.vue +0 -210
- package/packages/alert/index.js +0 -12
- package/packages/alert/src/Alert.jsx +0 -11
- package/packages/anchor/index.js +0 -18
- package/packages/anchor/src/Anchor.jsx +0 -11
- package/packages/anchor/src/Link.jsx +0 -11
- package/packages/auto-complete/index.js +0 -12
- package/packages/auto-complete/src/AutoComplete.jsx +0 -12
- package/packages/avatar/index.js +0 -12
- package/packages/avatar/src/Avatar.jsx +0 -11
- package/packages/back-top/index.js +0 -12
- package/packages/back-top/src/BackTop.jsx +0 -11
- package/packages/badge/index.js +0 -12
- package/packages/badge/src/Badge.jsx +0 -11
- package/packages/base/index.js +0 -3
- package/packages/big-table/index.js +0 -20
- package/packages/big-table/src/BigTable.vue +0 -2977
- package/packages/big-table/src/Fieldset.vue +0 -2067
- package/packages/big-table/src/assets/iconfont/iconfont.css +0 -25
- package/packages/big-table/src/assets/iconfont/iconfont.ttf +0 -0
- package/packages/big-table/src/assets/img/failure.png +0 -0
- package/packages/big-table/src/assets/img/icon-asc.png +0 -0
- package/packages/big-table/src/assets/img/icon-desc.png +0 -0
- package/packages/big-table/src/assets/img/no-permission.png +0 -0
- package/packages/big-table/src/assets/img/nodata.png +0 -0
- package/packages/big-table/src/assets/img/notfound.png +0 -0
- package/packages/big-table/src/assets/img/qr.png +0 -0
- package/packages/big-table/src/assets/img/video_default_cover.png +0 -0
- package/packages/big-table/src/assets/img/xb_big.png +0 -0
- package/packages/big-table/src/assets/img/xb_small.png +0 -0
- package/packages/big-table/src/assets/style/table-base.less +0 -425
- package/packages/big-table/src/assets/style/table-global.less +0 -20
- package/packages/big-table/src/components/AutoLayoutButton.vue +0 -285
- package/packages/big-table/src/components/HeaderFilter.vue +0 -371
- package/packages/big-table/src/components/NoData.vue +0 -81
- package/packages/big-table/src/components/TextOverTooltip.vue +0 -120
- package/packages/big-table/src/components/edit-form/EditForm.vue +0 -518
- package/packages/big-table/src/components/edit-form/edit-component/config-data/index.js +0 -68
- package/packages/big-table/src/components/edit-form/edit-component/edit-date-picker/edit-date-picker.vue +0 -60
- package/packages/big-table/src/components/edit-form/edit-component/edit-digital/edit-digital.vue +0 -54
- package/packages/big-table/src/components/edit-form/edit-component/edit-input/edit-input.vue +0 -39
- package/packages/big-table/src/components/edit-form/edit-component/edit-input-password/edit-input-password.vue +0 -79
- package/packages/big-table/src/components/edit-form/edit-component/edit-month-picker/edit-month-picker.vue +0 -37
- package/packages/big-table/src/components/edit-form/edit-component/edit-search/edit-search.vue +0 -156
- package/packages/big-table/src/components/edit-form/edit-component/edit-search-more/edit-search-more.vue +0 -151
- package/packages/big-table/src/components/edit-form/edit-component/edit-select/edit-select.vue +0 -40
- package/packages/big-table/src/components/edit-form/edit-component/edit-select-multiple/edit-select-multiple.vue +0 -55
- package/packages/big-table/src/components/edit-form/edit-component/edit-switch/edit-switch.vue +0 -43
- package/packages/big-table/src/components/edit-form/edit-component/edit-textarea/edit-textarea.vue +0 -41
- package/packages/big-table/src/components/edit-form/edit-component/edit-time-picker/edit-time-picker.vue +0 -40
- package/packages/big-table/src/components/edit-form/edit-component/mixins/bound-date.js +0 -3
- package/packages/big-table/src/components/edit-form/edit-component/mixins/dateType.js +0 -217
- package/packages/big-table/src/components/edit-form/edit-component/mixins/item-default.js +0 -639
- package/packages/big-table/src/components/edit-form/edit-component/mixins/search.js +0 -1223
- package/packages/big-table/src/components/edit-form/edit-component/register-com.js +0 -26
- package/packages/big-table/src/components/edit-form/edit-item/form-event.js +0 -80
- package/packages/big-table/src/components/edit-form/edit-item/global-props.js +0 -33
- package/packages/big-table/src/components/edit-form/edit-item/index.js +0 -4
- package/packages/big-table/src/components/edit-form/edit-item/render-methods.js +0 -28
- package/packages/big-table/src/components/edit-form/edit-item/validate-rules.js +0 -463
- package/packages/big-table/src/components/edit-form/edit-mixins/form-commom.js +0 -673
- package/packages/big-table/src/components/edit-form/edit-mixins/index.js +0 -3
- package/packages/big-table/src/components/edit-form/edit-utils/index.js +0 -112
- package/packages/big-table/src/components/password-com.vue +0 -58
- package/packages/big-table/src/components/player-vod/index.vue +0 -57
- package/packages/big-table/src/components/player-vod/player.vue +0 -193
- package/packages/big-table/src/components/player-vod/video-list.vue +0 -265
- package/packages/big-table/src/components/player-vod/video-modal.vue +0 -131
- package/packages/big-table/src/utils/CustomPagination.vue +0 -86
- package/packages/big-table/src/utils/batchEditing.js +0 -613
- package/packages/big-table/src/utils/bigTableProps.js +0 -112
- package/packages/big-table/src/utils/checkStrictly.js +0 -58
- package/packages/big-table/src/utils/eventBroadcast.js +0 -24
- package/packages/big-table/src/utils/format.js +0 -577
- package/packages/big-table/src/utils/headerFilter.js +0 -691
- package/packages/big-table/src/utils/nestTable.js +0 -109
- package/packages/big-table/src/utils/tableParse.js +0 -234
- package/packages/breadcrumb/index.js +0 -21
- package/packages/breadcrumb/src/Breadcrumb.jsx +0 -11
- package/packages/breadcrumb/src/BreadcrumbItem.jsx +0 -11
- package/packages/breadcrumb/src/BreadcrumbSeparator.jsx +0 -11
- package/packages/button/index.js +0 -21
- package/packages/button/src/Button.jsx +0 -11
- package/packages/button/src/ButtonGroup.jsx +0 -11
- package/packages/button/src/ButtonPrint/components/IdentityVerification.vue +0 -181
- package/packages/button/src/ButtonPrint/index.vue +0 -165
- package/packages/button/src/ButtonPrint/js/print.es.min.js +0 -1
- package/packages/button/src/ButtonPrint/js/print.es.min1.js +0 -1
- package/packages/button/src/ButtonPrint/mixin/his-print.js +0 -95
- package/packages/button/src/ButtonPrint/new.vue +0 -1476
- package/packages/button/src/ButtonPrint/old.vue +0 -870
- package/packages/calendar/index.js +0 -12
- package/packages/calendar/src/Calendar.jsx +0 -11
- package/packages/captcha/index.js +0 -10
- package/packages/captcha/src/Captcha.vue +0 -164
- package/packages/captcha/src/Index.vue +0 -47
- package/packages/captcha/src/SlideVerify.vue +0 -285
- package/packages/card/index.js +0 -21
- package/packages/card/src/Card.jsx +0 -12
- package/packages/card/src/CardGrid.js +0 -7
- package/packages/card/src/CardMeta.js +0 -7
- package/packages/card-reader-sdk/index.js +0 -4
- package/packages/card-reader-sdk/src/cardReaderSDK.js +0 -149
- package/packages/card-reader-sdk/src/components/readCardDialog.vue +0 -48
- package/packages/card-reader-sdk/src/constants/index.js +0 -76
- package/packages/card-reader-sdk/src/insuranceSDK.js +0 -111
- package/packages/card-reader-sdk/src/utils/index.js +0 -84
- package/packages/card-reader-sdk/src/utils/readHealthCard.jsx +0 -57
- package/packages/carousel/index.js +0 -12
- package/packages/carousel/src/Carousel.jsx +0 -12
- package/packages/cascader/index.js +0 -12
- package/packages/cascader/src/Cascader.jsx +0 -11
- package/packages/checkbox/index.js +0 -30
- package/packages/checkbox/src/Checkbox.jsx +0 -11
- package/packages/checkbox/src/CheckboxImg/index.vue +0 -142
- package/packages/checkbox/src/Group.jsx +0 -11
- package/packages/col/index.js +0 -13
- package/packages/col/src/Col.jsx +0 -11
- package/packages/collapse/index.js +0 -18
- package/packages/collapse/src/Collapse.jsx +0 -11
- package/packages/collapse/src/Panel.jsx +0 -11
- package/packages/color-picker/index.js +0 -10
- package/packages/color-picker/src/color-picker.vue +0 -191
- package/packages/color-picker/src/style.less +0 -109
- package/packages/comment/index.js +0 -12
- package/packages/comment/src/Comment.jsx +0 -11
- package/packages/config-provider/index.js +0 -12
- package/packages/config-provider/src/ConfigProvider.jsx +0 -11
- package/packages/date-picker/index.js +0 -26
- package/packages/date-picker/src/DatePicker.jsx +0 -12
- package/packages/date-picker/src/MonthPicker.jsx +0 -11
- package/packages/date-picker/src/RangePicker.jsx +0 -11
- package/packages/date-picker/src/WeekPicker.jsx +0 -11
- package/packages/date-picker/src/utils/index.js +0 -374
- package/packages/descriptions/index.js +0 -18
- package/packages/descriptions/src/Descriptions.jsx +0 -11
- package/packages/descriptions/src/Item.jsx +0 -11
- package/packages/direct/index.js +0 -3
- package/packages/divider/index.js +0 -12
- package/packages/divider/src/Divider.jsx +0 -11
- package/packages/drag-layout/DragFormLeftItem.vue +0 -173
- package/packages/drag-layout/DragFormRightItem.vue +0 -284
- package/packages/drag-layout/I18n-mixins.js +0 -10
- package/packages/drag-layout/drag-layout.vue +0 -778
- package/packages/drag-layout/index.js +0 -12
- package/packages/drawer/index.js +0 -12
- package/packages/drawer/src/Drawer.jsx +0 -11
- package/packages/dropdown/index.js +0 -12
- package/packages/dropdown/src/Dropdown.jsx +0 -11
- package/packages/editor/index.js +0 -10
- package/packages/editor/src/Editor.vue +0 -201
- package/packages/editor/src/utils.js +0 -65
- package/packages/ellipsis/index.js +0 -9
- package/packages/ellipsis/src/Ellipsis.vue +0 -65
- package/packages/empty/index.js +0 -12
- package/packages/empty/src/Empty.jsx +0 -11
- package/packages/fabric-chart/index.js +0 -10
- package/packages/fabric-chart/src/FabricChart.vue +0 -153
- package/packages/fabric-chart/src/FabricGrid.vue +0 -67
- package/packages/fabric-chart/src/components/DropPopup.vue +0 -90
- package/packages/fabric-chart/src/components/MouseRightClick.vue +0 -168
- package/packages/fabric-chart/src/components/TimeScaleValue.vue +0 -125
- package/packages/fabric-chart/src/const/defaultVaule.js +0 -61
- package/packages/fabric-chart/src/fabric-chart/FabricCanvas.vue +0 -396
- package/packages/fabric-chart/src/fabric-chart/FabricLines.vue +0 -641
- package/packages/fabric-chart/src/fabric-chart/FabricPolylines.vue +0 -1447
- package/packages/fabric-chart/src/fabric-chart/FabricScaleValue.vue +0 -142
- package/packages/fabric-chart/src/fabric-chart/FabricTextGroup.vue +0 -928
- package/packages/fabric-chart/src/mixins/draw.js +0 -444
- package/packages/fabric-chart/src/mixins/drawExtracorporealCirculation.js +0 -222
- package/packages/fabric-chart/src/mixins/eventCommon.js +0 -107
- package/packages/fabric-chart/src/mixins/fabricCommon.js +0 -77
- package/packages/fabric-chart/src/mixins/fabricObject.js +0 -193
- package/packages/fabric-chart/src/utils/bus.js +0 -2
- package/packages/fabric-chart/src/utils/index.js +0 -104
- package/packages/form/index.js +0 -16
- package/packages/form/src/Form.jsx +0 -11
- package/packages/form/src/Item.jsx +0 -11
- package/packages/form-model/index.js +0 -14
- package/packages/form-model/src/FormModel.jsx +0 -11
- package/packages/form-model/src/Item.jsx +0 -11
- package/packages/form-table/index.js +0 -16
- package/packages/form-table/src/FormTable.vue +0 -1110
- package/packages/form-table/src/components/table-component/config-data/index.js +0 -80
- package/packages/form-table/src/components/table-component/global-props.js +0 -22
- package/packages/form-table/src/components/table-component/index.js +0 -8
- package/packages/form-table/src/components/table-component/mixins/bound-date.js +0 -455
- package/packages/form-table/src/components/table-component/mixins/dateType.js +0 -217
- package/packages/form-table/src/components/table-component/mixins/item-default.js +0 -257
- package/packages/form-table/src/components/table-component/mixins/search.js +0 -1242
- package/packages/form-table/src/components/table-component/register-com.js +0 -30
- package/packages/form-table/src/components/table-component/table-age/table-age.vue +0 -175
- package/packages/form-table/src/components/table-component/table-date-picker/table-date-picker.vue +0 -87
- package/packages/form-table/src/components/table-component/table-digital/table-digital.vue +0 -93
- package/packages/form-table/src/components/table-component/table-input/table-input.vue +0 -81
- package/packages/form-table/src/components/table-component/table-input-password/table-input-password.vue +0 -126
- package/packages/form-table/src/components/table-component/table-month-picker/table-month-picker.vue +0 -55
- package/packages/form-table/src/components/table-component/table-search/table-search.vue +0 -174
- package/packages/form-table/src/components/table-component/table-search-more/table-search-more.vue +0 -191
- package/packages/form-table/src/components/table-component/table-select/table-select.vue +0 -64
- package/packages/form-table/src/components/table-component/table-select-multiple/table-select-multiple.vue +0 -81
- package/packages/form-table/src/components/table-component/table-textarea/table-textarea.vue +0 -76
- package/packages/form-table/src/components/table-component/table-time-picker/table-time-picker.vue +0 -55
- package/packages/form-table/src/components/table-component/table-tree-select/table-tree-select.vue +0 -135
- package/packages/form-table/src/components/table-component/text-over-tooltip/TextOverTooltip.vue +0 -97
- package/packages/form-table/src/components/table-item/form-event.js +0 -81
- package/packages/form-table/src/components/table-item/global-props.js +0 -27
- package/packages/form-table/src/components/table-item/index.js +0 -4
- package/packages/form-table/src/components/table-item/render-methods.js +0 -28
- package/packages/form-table/src/components/table-item/validate-rules.js +0 -520
- package/packages/form-table/src/components/table-mixins/form-commom.js +0 -98
- package/packages/form-table/src/components/table-mixins/index.js +0 -3
- package/packages/form-table/src/components/table-utils/index.js +0 -112
- package/packages/form-table/src/disabledDetail.less +0 -46
- package/packages/full-calendar/index.js +0 -10
- package/packages/full-calendar/src/FullCalendar.vue +0 -775
- package/packages/full-calendar/src/api/index.js +0 -71
- package/packages/full-calendar/src/components/ListTag.vue +0 -184
- package/packages/full-calendar/src/components/Tag.vue +0 -300
- package/packages/full-calendar/src/components/TagDetail.vue +0 -288
- package/packages/full-calendar/src/utils/index.js +0 -217
- package/packages/grid/index.js +0 -10
- package/packages/grid/src/grid.js +0 -27
- package/packages/icon/index.js +0 -10
- package/packages/icon/src/icon.js +0 -13
- package/packages/index.js +0 -325
- package/packages/input/index.js +0 -30
- package/packages/input/src/Group.jsx +0 -11
- package/packages/input/src/Input.jsx +0 -11
- package/packages/input/src/Password.jsx +0 -11
- package/packages/input/src/Search.jsx +0 -11
- package/packages/input/src/TextArea.jsx +0 -11
- package/packages/input/src/input-quick/components/quick-item.vue +0 -284
- package/packages/input/src/input-quick/components/quick-popover.vue +0 -596
- package/packages/input/src/input-quick/index.vue +0 -137
- package/packages/input-number/index.js +0 -12
- package/packages/input-number/src/InputNumber.jsx +0 -11
- package/packages/keep-cache/KeepCache.js +0 -236
- package/packages/keep-cache/index.css +0 -3
- package/packages/keep-cache/index.js +0 -8
- package/packages/layout/index.js +0 -27
- package/packages/layout/src/Content.jsx +0 -11
- package/packages/layout/src/Footer.jsx +0 -11
- package/packages/layout/src/Header.jsx +0 -11
- package/packages/layout/src/Layout.jsx +0 -11
- package/packages/layout/src/Sider.jsx +0 -11
- package/packages/list/index.js +0 -21
- package/packages/list/src/Item.jsx +0 -11
- package/packages/list/src/ItemMeta.jsx +0 -11
- package/packages/list/src/List.jsx +0 -11
- package/packages/locale-provider/index.js +0 -12
- package/packages/locale-provider/src/LocaleProvider.jsx +0 -11
- package/packages/map/index.js +0 -10
- package/packages/map/src/Map.vue +0 -484
- package/packages/map/src/popup-map.vue +0 -53
- package/packages/mentions/index.js +0 -18
- package/packages/mentions/src/Mentions.jsx +0 -11
- package/packages/mentions/src/Option.jsx +0 -11
- package/packages/menu/index.js +0 -27
- package/packages/menu/src/Divider.jsx +0 -11
- package/packages/menu/src/Item.jsx +0 -11
- package/packages/menu/src/ItemGroup.jsx +0 -11
- package/packages/menu/src/Menu.jsx +0 -11
- package/packages/menu/src/SubMenu.jsx +0 -11
- package/packages/message/index.js +0 -8
- package/packages/modal/index.js +0 -10
- package/packages/modal/src/Modal.js +0 -7
- package/packages/multi-chat/chat/addConference.vue +0 -200
- package/packages/multi-chat/chat/addMembers.vue +0 -411
- package/packages/multi-chat/chat/advancedFilter.vue +0 -372
- package/packages/multi-chat/chat/audio.vue +0 -599
- package/packages/multi-chat/chat/calling.vue +0 -246
- package/packages/multi-chat/chat/chatFooter.vue +0 -1647
- package/packages/multi-chat/chat/chatHeader.vue +0 -493
- package/packages/multi-chat/chat/chatHistory.vue +0 -605
- package/packages/multi-chat/chat/chatMain.vue +0 -1490
- package/packages/multi-chat/chat/client/clientChat.vue +0 -731
- package/packages/multi-chat/chat/client/index.vue +0 -149
- package/packages/multi-chat/chat/delay.vue +0 -177
- package/packages/multi-chat/chat/evaluate.vue +0 -343
- package/packages/multi-chat/chat/index.vue +0 -2419
- package/packages/multi-chat/chat/messageRecord.vue +0 -324
- package/packages/multi-chat/chat/mixins/NoData.js +0 -20
- package/packages/multi-chat/chat/mixins/base.js +0 -97
- package/packages/multi-chat/chat/mixins/uniRTCAPI.js +0 -80
- package/packages/multi-chat/chat/mixins/viewerOptions.js +0 -67
- package/packages/multi-chat/chat/multiVideo.vue +0 -1426
- package/packages/multi-chat/chat/quickReply.vue +0 -439
- package/packages/multi-chat/chat/robot/index.vue +0 -312
- package/packages/multi-chat/chat/scrollList.vue +0 -1259
- package/packages/multi-chat/chat/video.vue +0 -404
- package/packages/multi-chat/chat/videoVoiceList.vue +0 -348
- package/packages/multi-chat/chat/voice.vue +0 -431
- package/packages/multi-chat/components/avatar.vue +0 -113
- package/packages/multi-chat/components/chat-tabs-header.vue +0 -251
- package/packages/multi-chat/components/classify-tabs.vue +0 -185
- package/packages/multi-chat/components/empty.vue +0 -24
- package/packages/multi-chat/components/modal-refuse-reason.vue +0 -112
- package/packages/multi-chat/components/modal-sip.vue +0 -160
- package/packages/multi-chat/components/modal-user-transfer.vue +0 -98
- package/packages/multi-chat/components/msg-describe.vue +0 -138
- package/packages/multi-chat/components/msg-picture.vue +0 -68
- package/packages/multi-chat/components/msg-prescription.vue +0 -205
- package/packages/multi-chat/components/read-record.vue +0 -133
- package/packages/multi-chat/components/read-status.vue +0 -34
- package/packages/multi-chat/components/user-status.vue +0 -198
- package/packages/multi-chat/components/vuecmf-dialog.vue +0 -323
- package/packages/multi-chat/img/OFF-LINE.png +0 -0
- package/packages/multi-chat/img/ON-LINE.png +0 -0
- package/packages/multi-chat/img/accept.png +0 -0
- package/packages/multi-chat/img/add-person.png +0 -0
- package/packages/multi-chat/img/add_prescription.png +0 -0
- package/packages/multi-chat/img/all-voice.png +0 -0
- package/packages/multi-chat/img/audio-new.png +0 -0
- package/packages/multi-chat/img/audio-play.gif +0 -0
- package/packages/multi-chat/img/audio.png +0 -0
- package/packages/multi-chat/img/base-info-active.png +0 -0
- package/packages/multi-chat/img/base-info.png +0 -0
- package/packages/multi-chat/img/busy_line.png +0 -0
- package/packages/multi-chat/img/call.png +0 -0
- package/packages/multi-chat/img/callin.png +0 -0
- package/packages/multi-chat/img/callin_cancel.png +0 -0
- package/packages/multi-chat/img/calling.png +0 -0
- package/packages/multi-chat/img/callout.png +0 -0
- package/packages/multi-chat/img/callout_cancel.png +0 -0
- package/packages/multi-chat/img/close.png +0 -0
- package/packages/multi-chat/img/close_video.png +0 -0
- package/packages/multi-chat/img/customer-service-active.png +0 -0
- package/packages/multi-chat/img/customer-service.png +0 -0
- package/packages/multi-chat/img/customer.png +0 -0
- package/packages/multi-chat/img/customer_staff.png +0 -0
- package/packages/multi-chat/img/default.png +0 -0
- package/packages/multi-chat/img/ellipsis.png +0 -0
- package/packages/multi-chat/img/end-voice.png +0 -0
- package/packages/multi-chat/img/event-active.png +0 -0
- package/packages/multi-chat/img/event.png +0 -0
- package/packages/multi-chat/img/exp.png +0 -0
- package/packages/multi-chat/img/full-sceen-close.png +0 -0
- package/packages/multi-chat/img/full-sceen.png +0 -0
- package/packages/multi-chat/img/icon_list.png +0 -0
- package/packages/multi-chat/img/icon_list_active.png +0 -0
- package/packages/multi-chat/img/icon_table.png +0 -0
- package/packages/multi-chat/img/icon_table_active.png +0 -0
- package/packages/multi-chat/img/join-video.png +0 -0
- package/packages/multi-chat/img/large.png +0 -0
- package/packages/multi-chat/img/left-wrapper.png +0 -0
- package/packages/multi-chat/img/left.png +0 -0
- package/packages/multi-chat/img/medical_record.png +0 -0
- package/packages/multi-chat/img/middle.png +0 -0
- package/packages/multi-chat/img/msgTip.mp3 +0 -0
- package/packages/multi-chat/img/multi-video.png +0 -0
- package/packages/multi-chat/img/multi-voice.png +0 -0
- package/packages/multi-chat/img/mute-audio.png +0 -0
- package/packages/multi-chat/img/muted-audio.png +0 -0
- package/packages/multi-chat/img/muted-screen.png +0 -0
- package/packages/multi-chat/img/muted-video.png +0 -0
- package/packages/multi-chat/img/no-all-voice.png +0 -0
- package/packages/multi-chat/img/no-data.png +0 -0
- package/packages/multi-chat/img/no-data2.png +0 -0
- package/packages/multi-chat/img/no-screen.png +0 -0
- package/packages/multi-chat/img/no-video.png +0 -0
- package/packages/multi-chat/img/no-voice.png +0 -0
- package/packages/multi-chat/img/no-voiced.png +0 -0
- package/packages/multi-chat/img/normal-screen.png +0 -0
- package/packages/multi-chat/img/normal-video.png +0 -0
- package/packages/multi-chat/img/over.png +0 -0
- package/packages/multi-chat/img/portrait.png +0 -0
- package/packages/multi-chat/img/prescription.png +0 -0
- package/packages/multi-chat/img/receive.png +0 -0
- package/packages/multi-chat/img/reject.png +0 -0
- package/packages/multi-chat/img/remove.png +0 -0
- package/packages/multi-chat/img/replay.png +0 -0
- package/packages/multi-chat/img/required.png +0 -0
- package/packages/multi-chat/img/screen.png +0 -0
- package/packages/multi-chat/img/send_prescription.png +0 -0
- package/packages/multi-chat/img/setting.png +0 -0
- package/packages/multi-chat/img/small.png +0 -0
- package/packages/multi-chat/img/sound.png +0 -0
- package/packages/multi-chat/img/sound_forbid.png +0 -0
- package/packages/multi-chat/img/start_video.png +0 -0
- package/packages/multi-chat/img/system_message.png +0 -0
- package/packages/multi-chat/img/to-session.png +0 -0
- package/packages/multi-chat/img/transfer.png +0 -0
- package/packages/multi-chat/img/transfer2.png +0 -0
- package/packages/multi-chat/img/video-accept.png +0 -0
- package/packages/multi-chat/img/video.png +0 -0
- package/packages/multi-chat/img/video_consult.png +0 -0
- package/packages/multi-chat/img/voice.png +0 -0
- package/packages/multi-chat/img/worktime-active.png +0 -0
- package/packages/multi-chat/img/worktime.png +0 -0
- package/packages/multi-chat/index.js +0 -7
- package/packages/multi-chat/setting/authority/index.vue +0 -156
- package/packages/multi-chat/setting/authority/roleSetting.vue +0 -204
- package/packages/multi-chat/setting/baseInfo/index.vue +0 -1343
- package/packages/multi-chat/setting/configuration/index.vue +0 -334
- package/packages/multi-chat/setting/customerService/batchSelect.vue +0 -403
- package/packages/multi-chat/setting/customerService/index.vue +0 -273
- package/packages/multi-chat/setting/event/edit/condition.vue +0 -128
- package/packages/multi-chat/setting/event/edit/index.vue +0 -437
- package/packages/multi-chat/setting/event/edit/notice.vue +0 -129
- package/packages/multi-chat/setting/event/edit/strategy.vue +0 -98
- package/packages/multi-chat/setting/event/index.vue +0 -249
- package/packages/multi-chat/setting/index.vue +0 -281
- package/packages/multi-chat/setting/page.vue +0 -14
- package/packages/multi-chat/setting/sessionList/index.vue +0 -412
- package/packages/multi-chat/setting/sessionList/messageRecord.vue +0 -372
- package/packages/multi-chat/setting/userConfig/index.vue +0 -124
- package/packages/multi-chat/setting/worktime/index.vue +0 -274
- package/packages/multi-chat/store/actions.js +0 -452
- package/packages/multi-chat/store/getters.js +0 -380
- package/packages/multi-chat/store/helper.js +0 -66
- package/packages/multi-chat/store/index.js +0 -50
- package/packages/multi-chat/store/mutation.js +0 -305
- package/packages/multi-chat/store/state.js +0 -120
- package/packages/multi-chat/style/emoji.css +0 -315
- package/packages/multi-chat/style/message.mixin.less +0 -38
- package/packages/multi-chat/utils/chatSock.js +0 -93
- package/packages/multi-chat/utils/compressImage.js +0 -115
- package/packages/multi-chat/utils/emoji.json +0 -68
- package/packages/multi-chat/utils/index.js +0 -259
- package/packages/multi-chat/utils/observer-scroll.js +0 -49
- package/packages/multi-chat/utils/panelsetting.js +0 -48
- package/packages/multi-chat/utils/rtc-client-multi.js +0 -397
- package/packages/multi-chat/utils/rtc-client.js +0 -469
- package/packages/multi-chat-client/index.js +0 -7
- package/packages/multi-chat-history/index.js +0 -7
- package/packages/multi-chat-record/index.js +0 -7
- package/packages/multi-chat-setting/index.js +0 -7
- package/packages/multi-chat-sip/index.js +0 -6
- package/packages/notification/index.js +0 -8
- package/packages/page-header/index.js +0 -12
- package/packages/page-header/src/PageHeader.jsx +0 -11
- package/packages/pagination/index.js +0 -12
- package/packages/pagination/src/Pagination.jsx +0 -11
- package/packages/popconfirm/index.js +0 -12
- package/packages/popconfirm/src/Popconfirm.jsx +0 -11
- package/packages/popover/index.js +0 -12
- package/packages/popover/src/Popover.jsx +0 -11
- package/packages/progress/index.js +0 -12
- package/packages/progress/src/Progress.jsx +0 -11
- package/packages/radio/index.js +0 -33
- package/packages/radio/src/Group.jsx +0 -11
- package/packages/radio/src/Radio.jsx +0 -11
- package/packages/radio/src/RadioButton.jsx +0 -11
- package/packages/radio/src/RadioImg/index.vue +0 -125
- package/packages/rate/index.js +0 -12
- package/packages/rate/src/Rate.jsx +0 -11
- package/packages/result/index.js +0 -12
- package/packages/result/src/Result.jsx +0 -11
- package/packages/row/index.js +0 -12
- package/packages/row/src/Row.jsx +0 -11
- package/packages/scale-container/index.js +0 -9
- package/packages/scale-container/src/ScaleContainer.vue +0 -202
- package/packages/scale-container/src/scale.png +0 -0
- package/packages/scale-view/NoData.vue +0 -81
- package/packages/scale-view/answerParse.vue +0 -133
- package/packages/scale-view/assets/img/failure.png +0 -0
- package/packages/scale-view/assets/img/no-permission.png +0 -0
- package/packages/scale-view/assets/img/nodata.png +0 -0
- package/packages/scale-view/assets/img/notfound.png +0 -0
- package/packages/scale-view/customList.vue +0 -801
- package/packages/scale-view/data.js +0 -80
- package/packages/scale-view/directive/drag-move.js +0 -132
- package/packages/scale-view/evaluateCountdown.vue +0 -157
- package/packages/scale-view/evaluatePage.vue +0 -203
- package/packages/scale-view/formitem/data.js +0 -3991
- package/packages/scale-view/formitem/index.js +0 -7
- package/packages/scale-view/formitem/r-address.vue +0 -245
- package/packages/scale-view/formitem/r-choice.vue +0 -755
- package/packages/scale-view/formitem/r-input.vue +0 -93
- package/packages/scale-view/formitem/r-prompt.vue +0 -52
- package/packages/scale-view/formitem/r-sign.vue +0 -218
- package/packages/scale-view/formitem/r-time.vue +0 -285
- package/packages/scale-view/formitem/r-upload-custom-list.vue +0 -242
- package/packages/scale-view/formitem/r-upload.vue +0 -321
- package/packages/scale-view/formitem/sign-com.vue +0 -316
- package/packages/scale-view/formitem/text-over-tooltip/TextOverTooltip.vue +0 -98
- package/packages/scale-view/index.js +0 -17
- package/packages/scale-view/mixin/NoData.js +0 -38
- package/packages/scale-view/mixin/addressVal.js +0 -156
- package/packages/scale-view/mixin/evaluate.js +0 -146
- package/packages/scale-view/mixin/index.js +0 -337
- package/packages/scale-view/mixin/judgeTypes.js +0 -267
- package/packages/scale-view/scaleView.vue +0 -2086
- package/packages/select/index.js +0 -30
- package/packages/select/src/CustomSelect/index.vue +0 -130
- package/packages/select/src/OptGroup.jsx +0 -11
- package/packages/select/src/Option.jsx +0 -11
- package/packages/select/src/PagerSelect/index.vue +0 -92
- package/packages/select/src/Select/Select.vue +0 -231
- package/packages/select/src/Select/index.js +0 -12
- package/packages/select/src/TableSelect/index.vue +0 -514
- package/packages/select-label/index.js +0 -14
- package/packages/select-label/label-classify.vue +0 -129
- package/packages/select-label/labelFormContent.vue +0 -787
- package/packages/select-label/select-label.vue +0 -597
- package/packages/select-person/index.js +0 -10
- package/packages/select-person/search-tree.vue +0 -373
- package/packages/select-person/select-person.vue +0 -1736
- package/packages/select-tag/index.js +0 -14
- package/packages/select-tag/label-classify.vue +0 -133
- package/packages/select-tag/labelFormContent.vue +0 -295
- package/packages/select-tag/select-label.vue +0 -274
- package/packages/shortcut-provider/index.js +0 -10
- package/packages/shortcut-provider/src/ShortcutProvider.vue +0 -33
- package/packages/shortcut-provider/src/constants/index.js +0 -4
- package/packages/shortcut-provider/src/hooks/index.js +0 -1
- package/packages/shortcut-provider/src/hooks/useShortcuts.js +0 -129
- package/packages/shortcut-provider/src/utils/index.js +0 -107
- package/packages/shortcut-setter/index.js +0 -12
- package/packages/shortcut-setter/src/ShortcutSetter.vue +0 -55
- package/packages/shortcut-setter/src/ShortcutSetterItem.vue +0 -97
- package/packages/shortcut-setter/src/utils/index.js +0 -63
- package/packages/skeleton/index.js +0 -12
- package/packages/skeleton/src/Skeleton.jsx +0 -11
- package/packages/slider/index.js +0 -12
- package/packages/slider/src/Slider.jsx +0 -11
- package/packages/slider-tree/hooks/useAsyncData.js +0 -53
- package/packages/slider-tree/index.js +0 -7
- package/packages/slider-tree/index.vue +0 -391
- package/packages/slider-tree/utils/index.js +0 -10
- package/packages/space/index.js +0 -12
- package/packages/space/src/Space.jsx +0 -11
- package/packages/spin/index.js +0 -12
- package/packages/spin/src/Spin.jsx +0 -11
- package/packages/statistic/index.js +0 -18
- package/packages/statistic/src/Countdown.jsx +0 -11
- package/packages/statistic/src/Statistic.jsx +0 -11
- package/packages/steps/index.js +0 -18
- package/packages/steps/src/Step.jsx +0 -11
- package/packages/steps/src/Steps.jsx +0 -11
- package/packages/switch/index.js +0 -12
- package/packages/switch/src/Switch.jsx +0 -11
- package/packages/table-filter/index.js +0 -27
- package/packages/table-filter/src/base-search-com/BaseSearch.vue +0 -2690
- package/packages/table-filter/src/classification/Classification-com.vue +0 -1765
- package/packages/table-filter/src/classification/search-class-name.vue +0 -266
- package/packages/table-filter/src/classification/search-professional-model.vue +0 -680
- package/packages/table-filter/src/components/TextOverTooltip.vue +0 -120
- package/packages/table-filter/src/components/age-com/index.vue +0 -205
- package/packages/table-filter/src/components/button-group/ButtonGroup.vue +0 -162
- package/packages/table-filter/src/components/button-icon/button-icon.js +0 -33
- package/packages/table-filter/src/components/button-icon/getBtnIcon.js +0 -34
- package/packages/table-filter/src/components/c-tree-select/tree-select.vue +0 -336
- package/packages/table-filter/src/components/checkbox-group/CheckboxGroup.vue +0 -53
- package/packages/table-filter/src/components/drop-button/drop-button.vue +0 -224
- package/packages/table-filter/src/components/drop-button/head-btn-icon.js +0 -33
- package/packages/table-filter/src/components/drop-view/drop-view.vue +0 -89
- package/packages/table-filter/src/components/multi-select/multi-select.vue +0 -242
- package/packages/table-filter/src/components/out-quick-search/out-quick-search.vue +0 -232
- package/packages/table-filter/src/components/range-age/index.vue +0 -171
- package/packages/table-filter/src/components/render-widget/components/CheckboxGroup.vue +0 -68
- package/packages/table-filter/src/components/render-widget/components/DateRangeQuick.vue +0 -216
- package/packages/table-filter/src/components/render-widget/components/Label.vue +0 -209
- package/packages/table-filter/src/components/render-widget/components/NumberRange.vue +0 -157
- package/packages/table-filter/src/components/render-widget/components/Select.vue +0 -62
- package/packages/table-filter/src/components/render-widget/components/SelectDynamic.vue +0 -287
- package/packages/table-filter/src/components/render-widget/components/SelectLabel.vue +0 -80
- package/packages/table-filter/src/components/render-widget/components/SelectTree.vue +0 -145
- package/packages/table-filter/src/components/render-widget/components/Text.vue +0 -58
- package/packages/table-filter/src/components/render-widget/components/index.js +0 -11
- package/packages/table-filter/src/components/render-widget/enums.js +0 -60
- package/packages/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +0 -282
- package/packages/table-filter/src/components/render-widget/index.vue +0 -150
- package/packages/table-filter/src/components/render-widget/mixins/dynamic-method.js +0 -185
- package/packages/table-filter/src/components/render-widget/mixins/label-method.js +0 -23
- package/packages/table-filter/src/components/render-widget/widgetCfgMaps.js +0 -354
- package/packages/table-filter/src/components/search-condition/SearchCondition.vue +0 -2016
- package/packages/table-filter/src/components/search-condition/fieldTypeList.js +0 -169
- package/packages/table-filter/src/components/search-filter/SearchFilter.vue +0 -280
- package/packages/table-filter/src/components/search-modal/set-classification.vue +0 -340
- package/packages/table-filter/src/components/table-modal/TableModal.vue +0 -477
- package/packages/table-filter/src/const/dataOptions.js +0 -43
- package/packages/table-filter/src/const/index.js +0 -1
- package/packages/table-filter/src/index.vue +0 -584
- package/packages/table-filter/src/mixins/mixins.js +0 -870
- package/packages/table-filter/src/mixins/out-quick-method.js +0 -123
- package/packages/table-filter/src/mixins/printNew.js +0 -190
- package/packages/table-filter/src/mixins/renderWidget.js +0 -122
- package/packages/table-filter/src/mixins/tableSearchCon.js +0 -128
- package/packages/table-filter/src/mixins/wordBookutils.js +0 -130
- package/packages/table-filter/src/quick-search/QuickSearch.vue +0 -2272
- package/packages/tabs/index.js +0 -18
- package/packages/tabs/src/TabPane.jsx +0 -11
- package/packages/tabs/src/Tabs.jsx +0 -11
- package/packages/tag/index.js +0 -21
- package/packages/tag/src/CheckableTag.jsx +0 -11
- package/packages/tag/src/Tag.jsx +0 -11
- package/packages/tag/src/TagGroup.vue +0 -622
- package/packages/time-picker/index.js +0 -12
- package/packages/time-picker/src/TimePicker.jsx +0 -11
- package/packages/timeline/index.js +0 -14
- package/packages/timeline/src/Item.jsx +0 -11
- package/packages/timeline/src/Timeline.jsx +0 -11
- package/packages/tooltip/index.js +0 -12
- package/packages/tooltip/src/Tooltip.jsx +0 -11
- package/packages/transfer/index.js +0 -12
- package/packages/transfer/src/Transfer.jsx +0 -11
- package/packages/tree/index.js +0 -18
- package/packages/tree/src/Tree.jsx +0 -11
- package/packages/tree/src/TreeNode.jsx +0 -11
- package/packages/tree-select/index.js +0 -18
- package/packages/tree-select/src/TreeNode.jsx +0 -11
- package/packages/tree-select/src/TreeSelect.jsx +0 -11
- package/packages/upload/chunk-upload/chunk-upload-new.vue +0 -1006
- package/packages/upload/chunk-upload/vod-chunk-upload.vue +0 -757
- package/packages/upload/chunk-upload/vod-upload-modal.vue +0 -100
- package/packages/upload/index.js +0 -12
- package/packages/upload/src/Upload.jsx +0 -11
- package/packages/verification-code/SlideVerify.vue +0 -306
- package/packages/verification-code/index.js +0 -17
- package/packages/verification-code/verification-code.vue +0 -147
- package/src/assets/img/nodata.png +0 -0
- package/src/assets/img/success.png +0 -0
- package/src/assets/img/video.png +0 -0
- package/src/assets/img/video_default_cover.png +0 -0
- package/src/assets/img/video_hover.png +0 -0
- package/src/assets/img/video_play_hover.png +0 -0
- package/src/component/player-vod/index.vue +0 -57
- package/src/component/player-vod/player.vue +0 -192
- package/src/component/player-vod/video-list.vue +0 -262
- package/src/component/player-vod/video-modal.vue +0 -128
- package/src/component/select-options/index.vue +0 -430
- package/src/component/select-pages/index.vue +0 -95
- package/src/component/svg/index.vue +0 -59
- package/src/core/create.js +0 -6
- package/src/core/event.js +0 -23
- package/src/core/table-methods.js +0 -447
- package/src/directive/flexibleResize.js +0 -162
- package/src/directive/preventReClick.js +0 -12
- package/src/directive/scroll.js +0 -230
- package/src/global/variable.js +0 -2
- package/src/style/normalize.css +0 -424
- package/src/style/style.less +0 -49
- package/src/utils/UniRTCv2.js +0 -627
- package/src/utils/chatFetch.js +0 -61
- package/src/utils/clickoutside.js +0 -75
- package/src/utils/crypto.js +0 -25
- package/src/utils/index.js +0 -103
- package/src/utils/kty-sdk.js +0 -582
- package/src/utils/kty.min-1.0.0.js +0 -14378
- package/src/utils/sip-device.js +0 -79
- package/src/utils/time-domain.js +0 -270
- package/src/utils/trtc.js +0 -1
- package/src/utils/utils-map.js +0 -485
- package/src/utils/vexutils.js +0 -836
|
@@ -1,1765 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="['classification', 'classificationIndex-' + classificationIndex, isPackUp ? 'upack-up-wrap' : '']" :style="dynamicStyle">
|
|
3
|
-
<template v-if="classificationIndex === 0">
|
|
4
|
-
<div
|
|
5
|
-
class="tree-type classify-0"
|
|
6
|
-
:style="{
|
|
7
|
-
width: classificationWidth + 'px',
|
|
8
|
-
paddingBottom: conditionType === 'keyword' ? '80px' : 0
|
|
9
|
-
}"
|
|
10
|
-
v-flexible-resize="{
|
|
11
|
-
mode: 'VR',
|
|
12
|
-
onMove: changeWidth,
|
|
13
|
-
onEnd: saveWidth
|
|
14
|
-
}"
|
|
15
|
-
>
|
|
16
|
-
<div class="header" v-if="hideConditionChangeBtn != 1 || hideConditionChangeSetting != 1">
|
|
17
|
-
<span @click="handleModeChange" v-if="hideConditionChangeBtn != 1">
|
|
18
|
-
<a-icon type="swap" />
|
|
19
|
-
{{ '切换' }}
|
|
20
|
-
</span>
|
|
21
|
-
<span @click="handleSettingShow" v-if="hideConditionChangeSetting != 1">
|
|
22
|
-
<a-icon type="setting" />
|
|
23
|
-
{{ '设置' }}
|
|
24
|
-
</span>
|
|
25
|
-
</div>
|
|
26
|
-
<ul class="tree">
|
|
27
|
-
<template v-for="(item, index) in treeData">
|
|
28
|
-
<li
|
|
29
|
-
:key="index"
|
|
30
|
-
class="tree-item"
|
|
31
|
-
:class="{
|
|
32
|
-
'tree-header': index === 0 || !item.children || item.children.length === 0
|
|
33
|
-
}"
|
|
34
|
-
v-if="index === 0 || !item.children || item.children.length === 0 || (item.children && item.children.filter(i => i.isShow).length !== 0)"
|
|
35
|
-
>
|
|
36
|
-
<template v-if="index === 0 || !item.children || item.children.length === 0">
|
|
37
|
-
<span class="child-item header-item" :class="{ selected: item.selected || conditionSid.indexOf('all_data') !== -1 }" @click="handleItemClick(item)"
|
|
38
|
-
>{{ item.name }}
|
|
39
|
-
<span class="digital-span" v-if="visibleDigital(item)"> ({{ item.digital || 0 }}) </span>
|
|
40
|
-
</span>
|
|
41
|
-
</template>
|
|
42
|
-
<template v-else>
|
|
43
|
-
<span class="parent" :class="{ open: item.open }" @click="handleFold(item)">
|
|
44
|
-
<span>
|
|
45
|
-
{{ item.name }}
|
|
46
|
-
<span class="digital-span" v-if="visibleDigital(item)"> ({{ item.digital || 0 }}) </span>
|
|
47
|
-
</span>
|
|
48
|
-
<a-icon :type="item.open ? 'down' : 'right'" />
|
|
49
|
-
</span>
|
|
50
|
-
<template v-if="item.open">
|
|
51
|
-
<div class="children" v-for="(child, cIndex) in item.children.filter(i => i.isShow)" :key="cIndex">
|
|
52
|
-
<a-tooltip placement="right" v-if="child.isShow">
|
|
53
|
-
<template slot="title">
|
|
54
|
-
<span>{{ tooltipTilte(child) }}</span>
|
|
55
|
-
</template>
|
|
56
|
-
<span
|
|
57
|
-
class="child-item"
|
|
58
|
-
:class="{
|
|
59
|
-
selected: child.selected,
|
|
60
|
-
disabled: !child.digital && getCondiTionDigital
|
|
61
|
-
}"
|
|
62
|
-
@click="handleItemClick(child, cIndex, item, index)"
|
|
63
|
-
>
|
|
64
|
-
<span class="child-item-name">
|
|
65
|
-
{{ child.name | fmtChildName(child.isPublic) }}
|
|
66
|
-
</span>
|
|
67
|
-
<span class="digital-span" v-if="visibleDigital(child)"> ({{ child.digital || 0 }}) </span>
|
|
68
|
-
<a-icon type="check" v-if="child.selected" />
|
|
69
|
-
</span>
|
|
70
|
-
</a-tooltip>
|
|
71
|
-
</div>
|
|
72
|
-
</template>
|
|
73
|
-
</template>
|
|
74
|
-
</li>
|
|
75
|
-
</template>
|
|
76
|
-
</ul>
|
|
77
|
-
<div class="tree-type-footer" v-if="conditionType === 'keyword' && hideClearConditionChange != 1">
|
|
78
|
-
<div class="selected-num">已选择{{ conditionSid.filter(item => item !== 'all_data').length }}项</div>
|
|
79
|
-
<div class="selected-item-del" @click="handleItemClick({ sid: 'all_data', name: '全部数据', digital: allObj.digital })">
|
|
80
|
-
<svg-icon class-name="svg-icon-btn" icon-class="xitongtubiaoliebiaocaozuoanniushanchu" />
|
|
81
|
-
清空筛选
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
</template>
|
|
86
|
-
<template v-if="classificationIndex === 1">
|
|
87
|
-
<div
|
|
88
|
-
class="tile-type classify-1"
|
|
89
|
-
v-if="hideConditionChangeBtn != 1 || hideConditionChangeSetting != 1 || hideConditionChangeSetting != 1 || originConditionList.filter(item => item.isShow).length > 0"
|
|
90
|
-
>
|
|
91
|
-
<div class="header" v-if="hideConditionChangeBtn != 1 || hideConditionChangeSetting != 1">
|
|
92
|
-
<span class="all-data" @click="handleItemClick({ sid: 'all_data', name: '全部数据', digital: allObj.digital })" :class="{ selected: conditionSid.indexOf('all_data') !== -1 }">
|
|
93
|
-
全部数据
|
|
94
|
-
<template v-if="allObj.digital || allObj.digital === 0"> ({{ allObj.digital || 0 }}) </template>
|
|
95
|
-
</span>
|
|
96
|
-
<div class="right-setting">
|
|
97
|
-
<span @click="handleModeChange" style="margin-right: 30px;" v-if="hideConditionChangeBtn != 1">
|
|
98
|
-
<a-icon type="swap" />
|
|
99
|
-
{{ '切换' }}
|
|
100
|
-
</span>
|
|
101
|
-
<span @click="handleSettingShow" v-if="hideConditionChangeSetting != 1">
|
|
102
|
-
<a-icon type="setting" />
|
|
103
|
-
{{ '设置' }}
|
|
104
|
-
</span>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
<ul
|
|
108
|
-
class="tile"
|
|
109
|
-
:style="{
|
|
110
|
-
borderBottom: conditionType === 'keyword' && hideClearConditionChange != 1 ? '1px solid #d5d5d5' : 0
|
|
111
|
-
}"
|
|
112
|
-
>
|
|
113
|
-
<template v-for="(item, index) in treeData.slice(1)">
|
|
114
|
-
<li class="tile-item" :key="index" v-if="item.children && item.children.length > 0">
|
|
115
|
-
<template v-if="!item.children || item.children.length === 0">
|
|
116
|
-
<span class="child-item" style="padding-left: 17px;" :class="{ selected: item.selected }" @click="handleItemClick(item)"
|
|
117
|
-
>{{ item.name }}
|
|
118
|
-
{{ item.digital }}
|
|
119
|
-
<span class="digital-span" v-if="visibleDigital(item)"> ({{ item.digital || 0 }}) </span>
|
|
120
|
-
</span>
|
|
121
|
-
</template>
|
|
122
|
-
<template v-else>
|
|
123
|
-
<!-- <text-over-tooltip
|
|
124
|
-
refName="digitalTitle"
|
|
125
|
-
class="parent digitalTitle"
|
|
126
|
-
:content="
|
|
127
|
-
item.name +
|
|
128
|
-
(countCondition == 1 && (item.digital || item.digital === 0)
|
|
129
|
-
? ' (' + (item.digital || 0) + ')'
|
|
130
|
-
: '')
|
|
131
|
-
"
|
|
132
|
-
v-if="item.children.filter(i => i.isShow).length !== 0"
|
|
133
|
-
></text-over-tooltip> -->
|
|
134
|
-
<span class="parent ellips">{{ item.name }}</span>
|
|
135
|
-
<div class="children">
|
|
136
|
-
<template v-for="(child, cIndex) in item.children">
|
|
137
|
-
<span
|
|
138
|
-
v-if="child.isShow"
|
|
139
|
-
:key="cIndex"
|
|
140
|
-
class="child-item"
|
|
141
|
-
:class="{
|
|
142
|
-
selected: child.selected,
|
|
143
|
-
disabled: !child.digital && getCondiTionDigital
|
|
144
|
-
}"
|
|
145
|
-
@click="handleItemClick(child, cIndex, item, index)"
|
|
146
|
-
>{{ child.name | fmtChildName(child.isPublic) }}
|
|
147
|
-
<span class="digital-span" v-if="visibleDigital(child)"> ({{ child.digital || 0 }}) </span>
|
|
148
|
-
</span>
|
|
149
|
-
</template>
|
|
150
|
-
</div>
|
|
151
|
-
</template>
|
|
152
|
-
</li>
|
|
153
|
-
</template>
|
|
154
|
-
</ul>
|
|
155
|
-
<div class="selected-list" v-if="conditionType === 'keyword' && hideClearConditionChange != 1">
|
|
156
|
-
<div class="selected-num">已选择{{ conditionSid.filter(item => item !== 'all_data').length }}项</div>
|
|
157
|
-
<template v-for="(item, index) in treeData.slice(1)">
|
|
158
|
-
<div class="selected-item" v-if="!item.children || item.children.length === 0" :key="item.sid">
|
|
159
|
-
{{ item.name }}
|
|
160
|
-
<span class="digital-span" v-if="visibleDigital(item)"> ({{ item.digital || 0 }}) </span>
|
|
161
|
-
<a-icon type="close" @click="handleItemClick(item)" />
|
|
162
|
-
</div>
|
|
163
|
-
<template v-else>
|
|
164
|
-
<template v-for="(child, cIndex) in item.children">
|
|
165
|
-
<div class="selected-item" v-if="child.selected" :key="child.sid">
|
|
166
|
-
{{ child.name }}
|
|
167
|
-
<span class="digital-span" v-if="visibleDigital(child)"> ({{ child.digital || 0 }}) </span>
|
|
168
|
-
<a-icon type="close" @click="handleItemClick(child, cIndex, item, index)" />
|
|
169
|
-
</div>
|
|
170
|
-
</template>
|
|
171
|
-
</template>
|
|
172
|
-
</template>
|
|
173
|
-
<div class="selected-item-del" @click="handleItemClick({ sid: 'all_data', name: '全部数据', digital: allObj.digital })">
|
|
174
|
-
<svg-icon class-name="svg-icon-btn" icon-class="xitongtubiaoliebiaocaozuoanniushanchu" />
|
|
175
|
-
清空筛选
|
|
176
|
-
</div>
|
|
177
|
-
</div>
|
|
178
|
-
</div>
|
|
179
|
-
</template>
|
|
180
|
-
<template v-if="classificationIndex === 2">
|
|
181
|
-
<div class="select-type classify-2" ref="selectType">
|
|
182
|
-
<span class="title" @click="() => toggleSelect()">
|
|
183
|
-
<a-tooltip placement="top">
|
|
184
|
-
<template slot="title">
|
|
185
|
-
<span>{{ titleName }}</span>
|
|
186
|
-
</template>
|
|
187
|
-
<span>{{ titleName }}</span>
|
|
188
|
-
</a-tooltip>
|
|
189
|
-
<a-icon :type="selectShow ? 'up' : 'down'" />
|
|
190
|
-
</span>
|
|
191
|
-
<div class="main-wrapper" v-if="selectShow">
|
|
192
|
-
<ul class="tree" :style="{ padding: conditionType === 'keyword' ? '40px 0' : '40px 0 0' }">
|
|
193
|
-
<template v-for="(item, index) in treeData">
|
|
194
|
-
<li
|
|
195
|
-
:key="index"
|
|
196
|
-
class="tree-item"
|
|
197
|
-
:class="{
|
|
198
|
-
'tree-header': index === 0 || !item.children || item.children.length === 0
|
|
199
|
-
}"
|
|
200
|
-
v-if="index === 0 || !item.children || item.children.length === 0 || (item.children && item.children.filter(i => i.isShow).length !== 0)"
|
|
201
|
-
>
|
|
202
|
-
<template v-if="index === 0 || !item.children || item.children.length === 0">
|
|
203
|
-
<span class="child-item child-header header-item" :class="{ selected: item.selected || conditionSid.indexOf('all_data') !== -1 }" @click="handleItemClick(item)"
|
|
204
|
-
>{{ item.name }}
|
|
205
|
-
<span class="digital-span" v-if="visibleDigital(item)"> ({{ item.digital || 0 }}) </span>
|
|
206
|
-
</span>
|
|
207
|
-
<div class="footer">
|
|
208
|
-
<span @click="handleModeChange" v-if="hideConditionChangeBtn != 1">
|
|
209
|
-
<a-icon type="swap" />
|
|
210
|
-
{{ '切换' }}
|
|
211
|
-
</span>
|
|
212
|
-
<span @click="handleSettingShow" v-if="hideConditionChangeSetting != 1">
|
|
213
|
-
<a-icon type="setting" />
|
|
214
|
-
{{ '设置' }}
|
|
215
|
-
</span>
|
|
216
|
-
</div>
|
|
217
|
-
</template>
|
|
218
|
-
<template v-else>
|
|
219
|
-
<span class="parent" :class="{ open: item.open }" @click="handleFold(item)" v-if="item.children.filter(i => i.isShow).length !== 0">
|
|
220
|
-
{{ item.name }}{{ item.digital || item.digital === 0 ? '(' + item.digital + ')' : '' }}
|
|
221
|
-
<a-icon :type="item.open ? 'down' : 'right'" />
|
|
222
|
-
</span>
|
|
223
|
-
<template v-if="item.open">
|
|
224
|
-
<div class="children" v-for="(child, cIndex) in item.children.filter(i => i.isShow)" :key="cIndex">
|
|
225
|
-
<a-tooltip placement="right" v-if="child.isShow">
|
|
226
|
-
<template slot="title">
|
|
227
|
-
<span>{{ tooltipTilte(child) }}</span>
|
|
228
|
-
</template>
|
|
229
|
-
<span
|
|
230
|
-
class="child-item"
|
|
231
|
-
:class="{
|
|
232
|
-
selected: child.selected,
|
|
233
|
-
disabled: !child.digital && getCondiTionDigital
|
|
234
|
-
}"
|
|
235
|
-
@click="handleItemClick(child, cIndex, item, index)"
|
|
236
|
-
>
|
|
237
|
-
<span>
|
|
238
|
-
{{ child.name | fmtChildName(child.isPublic) }}
|
|
239
|
-
<span class="digital-span" v-if="visibleDigital(child)"> ({{ child.digital || 0 }}) </span>
|
|
240
|
-
</span>
|
|
241
|
-
<a-icon type="check" v-if="child.selected" />
|
|
242
|
-
</span>
|
|
243
|
-
</a-tooltip>
|
|
244
|
-
</div>
|
|
245
|
-
</template>
|
|
246
|
-
</template>
|
|
247
|
-
</li>
|
|
248
|
-
</template>
|
|
249
|
-
</ul>
|
|
250
|
-
<div class="select-type-footer" v-if="conditionType === 'keyword' && hideClearConditionChange != 1">
|
|
251
|
-
<div class="selected-num">已选择{{ conditionSid.filter(item => item !== 'all_data').length }}项</div>
|
|
252
|
-
<div class="selected-item-del" @click="handleItemClick({ sid: 'all_data', name: '全部数据', digital: allObj.digital })">
|
|
253
|
-
<svg-icon class-name="svg-icon-btn" icon-class="xitongtubiaoliebiaocaozuoanniushanchu" />
|
|
254
|
-
清空筛选
|
|
255
|
-
</div>
|
|
256
|
-
</div>
|
|
257
|
-
</div>
|
|
258
|
-
</div>
|
|
259
|
-
</template>
|
|
260
|
-
<template v-if="classificationIndex === 3">
|
|
261
|
-
<div
|
|
262
|
-
class="group-type classify-3"
|
|
263
|
-
v-if="hideConditionChangeBtn != 1 || hideConditionChangeSetting != 1 || hideConditionChangeSetting != 1 || originConditionList.filter(item => item.isShow).length > 0"
|
|
264
|
-
>
|
|
265
|
-
<div class="header" v-if="hideConditionChangeBtn != 1 || hideConditionChangeSetting != 1">
|
|
266
|
-
<span class="all-data" @click="handleItemClick({ sid: 'all_data', name: '全部数据', digital: allObj.digital })" :class="{ selected: conditionSid.indexOf('all_data') !== -1 }">
|
|
267
|
-
全部数据
|
|
268
|
-
<template v-if="allObj.digital || allObj.digital === 0"> ({{ allObj.digital || 0 }}) </template>
|
|
269
|
-
</span>
|
|
270
|
-
<div class="right-setting">
|
|
271
|
-
<span @click="handleModeChange" style="margin-right: 30px;" v-if="hideConditionChangeBtn != 1">
|
|
272
|
-
<a-icon type="swap" />
|
|
273
|
-
{{ '切换' }}
|
|
274
|
-
</span>
|
|
275
|
-
<span @click="handleSettingShow" v-if="hideConditionChangeSetting != 1">
|
|
276
|
-
<a-icon type="setting" />
|
|
277
|
-
{{ '设置' }}
|
|
278
|
-
</span>
|
|
279
|
-
</div>
|
|
280
|
-
</div>
|
|
281
|
-
<div
|
|
282
|
-
class="group"
|
|
283
|
-
:style="{
|
|
284
|
-
borderBottom: conditionType === 'keyword' && hideClearConditionChange != 1 ? '1px solid #d5d5d5' : 0
|
|
285
|
-
}"
|
|
286
|
-
>
|
|
287
|
-
<template v-for="(item, index) in treeData.slice(1)">
|
|
288
|
-
<template v-if="!item.children || item.children.length === 0">
|
|
289
|
-
<span :key="item.sid" class="child-item" style="padding-left: 17px;" :class="{ selected: item.selected }" @click="handleItemClick(item)"
|
|
290
|
-
>{{ item.name }}
|
|
291
|
-
{{ item.digital }}
|
|
292
|
-
<span class="digital-span" v-if="visibleDigital(item)"> ({{ item.digital || 0 }}) </span>
|
|
293
|
-
</span>
|
|
294
|
-
</template>
|
|
295
|
-
<template v-else>
|
|
296
|
-
<a-select
|
|
297
|
-
:key="item.sid"
|
|
298
|
-
:placeholder="item.name + (countCondition == 1 && (item.digital || item.digital === 0) ? ' (' + (item.digital || 0) + ')' : '')"
|
|
299
|
-
allowClear
|
|
300
|
-
@change="(value, option) => handleChange(value, option, item, index)"
|
|
301
|
-
:value="groupSelect(index)"
|
|
302
|
-
option-label-prop="label"
|
|
303
|
-
v-if="item.children.filter(i => i.isShow).length !== 0"
|
|
304
|
-
>
|
|
305
|
-
<a-select-option
|
|
306
|
-
:value="0"
|
|
307
|
-
:label="item.name + (countCondition == 1 && (item.digital || item.digital === 0) ? ' (' + (item.digital || 0) + ')' : '')"
|
|
308
|
-
class="classiffication-select-hide"
|
|
309
|
-
>
|
|
310
|
-
{{ item.name }}
|
|
311
|
-
<span class="digital-span" v-if="visibleDigital(item)"> ({{ item.digital || 0 }}) </span>
|
|
312
|
-
</a-select-option>
|
|
313
|
-
<a-select-option
|
|
314
|
-
v-for="(child, cIndex) in item.children.filter(i => i.isShow)"
|
|
315
|
-
:key="child.sid"
|
|
316
|
-
:value="child.sid"
|
|
317
|
-
:label="child.name + (countCondition == 1 && visibleDigital(child) ? ' (' + (child.digital || 0) + ')' : '')"
|
|
318
|
-
:child="child"
|
|
319
|
-
:cIndex="cIndex"
|
|
320
|
-
:index="index"
|
|
321
|
-
:item="item"
|
|
322
|
-
:disabled="!child.digital && getCondiTionDigital"
|
|
323
|
-
class="group-select-option"
|
|
324
|
-
@click="(value, option) => conditionSid.indexOf(child.sid) !== -1 && handleItemClick(child, cIndex, item, index)"
|
|
325
|
-
>
|
|
326
|
-
<span>
|
|
327
|
-
{{ child.name }}
|
|
328
|
-
<span class="digital-span" v-if="visibleDigital(child)"> ({{ child.digital || 0 }}) </span>
|
|
329
|
-
</span>
|
|
330
|
-
<a-icon type="check" v-if="child.selected" />
|
|
331
|
-
</a-select-option>
|
|
332
|
-
</a-select>
|
|
333
|
-
</template>
|
|
334
|
-
</template>
|
|
335
|
-
</div>
|
|
336
|
-
<div class="selected-list" v-if="conditionType === 'keyword' && hideClearConditionChange != 1">
|
|
337
|
-
<div class="selected-num">已选择{{ conditionSid.filter(item => item !== 'all_data').length }}项</div>
|
|
338
|
-
<template v-for="(item, index) in treeData.slice(1)">
|
|
339
|
-
<div class="selected-item" v-if="!item.children || item.children.length === 0" :key="item.sid">
|
|
340
|
-
{{ item.name }}
|
|
341
|
-
<span class="digital-span" v-if="visibleDigital(item)"> ({{ item.digital || 0 }}) </span>
|
|
342
|
-
<a-icon type="close" @click="handleItemClick(item)" />
|
|
343
|
-
</div>
|
|
344
|
-
<template v-else>
|
|
345
|
-
<template v-for="(child, cIndex) in item.children">
|
|
346
|
-
<div class="selected-item" :key="child.sid" v-if="child.selected">
|
|
347
|
-
{{ child.name }}
|
|
348
|
-
<span class="digital-span" v-if="visibleDigital(child)"> ({{ child.digital || 0 }}) </span>
|
|
349
|
-
<a-icon type="close" @click="handleItemClick(child, cIndex, item, index)" />
|
|
350
|
-
</div>
|
|
351
|
-
</template>
|
|
352
|
-
</template>
|
|
353
|
-
</template>
|
|
354
|
-
<div class="selected-item-del" @click="handleItemClick({ sid: 'all_data', name: '全部数据', digital: allObj.digital })">
|
|
355
|
-
<svg-icon class-name="svg-icon-btn" icon-class="xitongtubiaoliebiaocaozuoanniushanchu" />
|
|
356
|
-
清空筛选
|
|
357
|
-
</div>
|
|
358
|
-
</div>
|
|
359
|
-
</div>
|
|
360
|
-
</template>
|
|
361
|
-
|
|
362
|
-
<template v-if="classificationIndex === 4">
|
|
363
|
-
<div class="group-type classify-3 classify-4" v-if="showIconBtn || hasConditionList">
|
|
364
|
-
<div class="header" v-if="showIconBtn">
|
|
365
|
-
<!-- @click="handleItemClick({ sid: 'all_data', name: '全部数据', digital: allObj.digital })" -->
|
|
366
|
-
<span class="all-data" :class="{ selected: conditionSid.indexOf('all_data') !== -1 }">
|
|
367
|
-
{{ showTitleName }}
|
|
368
|
-
<template v-if="allObj.digital || allObj.digital === 0"> ({{ allObj.digital || 0 }}) </template>
|
|
369
|
-
</span>
|
|
370
|
-
<div class="right-setting">
|
|
371
|
-
<span style="margin-right: 30px;" class="upack-up-btn" @click="isPackUp = !isPackUp">
|
|
372
|
-
{{ isPackUp ? '展开' : '收起' }}
|
|
373
|
-
<a-icon style="color:#2d7aff" :type="isPackUp ? 'down' : 'up'" />
|
|
374
|
-
</span>
|
|
375
|
-
<span @click="handleModeChange" style="margin-right: 30px;" v-if="hideConditionChangeBtn != 1">
|
|
376
|
-
<a-icon type="swap" />
|
|
377
|
-
<!-- {{ $t("1.1.5.2") }} -->
|
|
378
|
-
切换
|
|
379
|
-
</span>
|
|
380
|
-
<span @click="handleSettingShow" v-if="hideConditionChangeSetting != 1">
|
|
381
|
-
<a-icon type="setting" />
|
|
382
|
-
<!-- {{ $t("1.1.5.3") }} -->
|
|
383
|
-
设置
|
|
384
|
-
</span>
|
|
385
|
-
</div>
|
|
386
|
-
</div>
|
|
387
|
-
</div>
|
|
388
|
-
<div class="classify-4-container" :style="{ height: isPackUp ? 0 : 'auto' }">
|
|
389
|
-
<search-professional-model
|
|
390
|
-
ref="professional"
|
|
391
|
-
v-bind="$attrs"
|
|
392
|
-
v-on="$listeners"
|
|
393
|
-
:originConditionList="originConditionList"
|
|
394
|
-
:displayCategoryList="displayCategoryList"
|
|
395
|
-
:treeData="treeData"
|
|
396
|
-
:tableId="tableId"
|
|
397
|
-
:searchFieldList="searchFieldList"
|
|
398
|
-
@handleItemClick="handleItemClick"
|
|
399
|
-
@changeShowName="changeShowName"
|
|
400
|
-
/>
|
|
401
|
-
</div>
|
|
402
|
-
</template>
|
|
403
|
-
<!-- searchFieldList: props -->
|
|
404
|
-
<!-- saveGetTableCondiTionList 新增,删除 -->
|
|
405
|
-
<!-- CondiTionListInit 修改? -->
|
|
406
|
-
|
|
407
|
-
<set-classification
|
|
408
|
-
ref="search"
|
|
409
|
-
v-bind="$attrs"
|
|
410
|
-
v-on="$listeners"
|
|
411
|
-
@changeSearch="changeSearch"
|
|
412
|
-
@saveGetTableCondiTionList="saveGetTableCondiTionList"
|
|
413
|
-
@CondiTionListInit="updateTableCondiTion"
|
|
414
|
-
@setClassifyModal="setClassifyModal"
|
|
415
|
-
:searchFieldList="searchFieldList"
|
|
416
|
-
:conditionList="searchConditionList"
|
|
417
|
-
:displayCategoryList="displayCategoryList"
|
|
418
|
-
:settingId="settingId"
|
|
419
|
-
:searchDefName="searchDefName"
|
|
420
|
-
:tableId="tableId"
|
|
421
|
-
:classifyModal="classifyModal"
|
|
422
|
-
:filterApiConfig="filterApiConfig"
|
|
423
|
-
:isCrm="isCrm"
|
|
424
|
-
>
|
|
425
|
-
<template #searchCondition="{ attrs, listeners }">
|
|
426
|
-
<slot name="searchCondition" :attrs="attrs" :listeners="listeners"></slot>
|
|
427
|
-
</template>
|
|
428
|
-
</set-classification>
|
|
429
|
-
</div>
|
|
430
|
-
</template>
|
|
431
|
-
|
|
432
|
-
<script>
|
|
433
|
-
import flexibleResize from '@/directive/flexibleResize';
|
|
434
|
-
import setClassification from '../components/search-modal/set-classification';
|
|
435
|
-
import { filterApiFn } from '~/table-filter/src/mixins/mixins';
|
|
436
|
-
import { Icon, Tooltip, Select } from 'ant-design-vue';
|
|
437
|
-
import svgIcon from '@/component/svg/index.vue';
|
|
438
|
-
import searchProfessionalModel from './search-professional-model.vue';
|
|
439
|
-
import create from '@/core/create';
|
|
440
|
-
export default create({
|
|
441
|
-
name: 'Classification',
|
|
442
|
-
mixins: [filterApiFn],
|
|
443
|
-
provide() {
|
|
444
|
-
return {
|
|
445
|
-
root_isShowResetButton: this.isShowResetButton
|
|
446
|
-
};
|
|
447
|
-
},
|
|
448
|
-
components: {
|
|
449
|
-
// Search,
|
|
450
|
-
[Icon.name]: Icon,
|
|
451
|
-
[Tooltip.name]: Tooltip,
|
|
452
|
-
[Select.name]: Select,
|
|
453
|
-
[Select.Option.name]: Select.Option,
|
|
454
|
-
svgIcon,
|
|
455
|
-
setClassification,
|
|
456
|
-
searchProfessionalModel
|
|
457
|
-
},
|
|
458
|
-
data() {
|
|
459
|
-
return {
|
|
460
|
-
classificationWidth: 150,
|
|
461
|
-
selectShow: false,
|
|
462
|
-
treeData: [],
|
|
463
|
-
conditionList: [],
|
|
464
|
-
originConditionList: [],
|
|
465
|
-
condiTionParams: {},
|
|
466
|
-
classificationIndex: 2,
|
|
467
|
-
curTableId: '',
|
|
468
|
-
spinning: false,
|
|
469
|
-
allObj: {
|
|
470
|
-
name: '全部数据',
|
|
471
|
-
sid: 'all_data'
|
|
472
|
-
},
|
|
473
|
-
|
|
474
|
-
searchConditionList: [],
|
|
475
|
-
displayCategoryList: [],
|
|
476
|
-
settingId: '',
|
|
477
|
-
searchDefName: '', // no use ?
|
|
478
|
-
classifyModal: false, // 筛选分类的弹窗
|
|
479
|
-
|
|
480
|
-
showTitleName: '全部数据',
|
|
481
|
-
isPackUp: false // 是否收起 目前只用于 classificationIndex = 4 (专业模式)
|
|
482
|
-
};
|
|
483
|
-
},
|
|
484
|
-
props: {
|
|
485
|
-
tableId: { type: String },
|
|
486
|
-
conditionSid: { type: Array },
|
|
487
|
-
localObj: { type: Object },
|
|
488
|
-
curClassificationIndex: { type: Number },
|
|
489
|
-
curClassificationWidth: { type: Number },
|
|
490
|
-
curConditionList: { type: Array },
|
|
491
|
-
tableName: { type: String },
|
|
492
|
-
showRelatedTreeBtn: { type: Boolean }, // 平铺列表按钮
|
|
493
|
-
conditionType: { type: String }, // 筛选策略,为keyword是关键字优先,否则筛选分类优先
|
|
494
|
-
hideConditionChangeBtn: { type: Number }, // 是否隐藏切换按钮,1是
|
|
495
|
-
hideConditionChangeSetting: { type: Number }, // 是否隐藏分类设置 ,1是
|
|
496
|
-
hideClearConditionChange: { type: Number }, // 是否隐藏清空筛选分类,1是
|
|
497
|
-
countCondition: { type: Number }, // 是否统计筛选分类,1统计筛选分类,0反之
|
|
498
|
-
countTabCondition: { type: Number }, // 筛选页签是否进行数量统计,1统计筛选页签,0反之
|
|
499
|
-
keyword: { type: String },
|
|
500
|
-
isShowResetButton: { type: Boolean, default: true }, // 是否显示 恢复默认设置 按钮
|
|
501
|
-
fieldKeys: {
|
|
502
|
-
type: Array,
|
|
503
|
-
default: () => []
|
|
504
|
-
},
|
|
505
|
-
tabConditionId: { type: String },
|
|
506
|
-
conditionMap: {
|
|
507
|
-
type: Object,
|
|
508
|
-
default: () => {}
|
|
509
|
-
},
|
|
510
|
-
filterApiConfig: {
|
|
511
|
-
type: Object,
|
|
512
|
-
default: () => {}
|
|
513
|
-
},
|
|
514
|
-
|
|
515
|
-
searchFieldList: {
|
|
516
|
-
type: Array,
|
|
517
|
-
default: () => []
|
|
518
|
-
},
|
|
519
|
-
libSource: {type: String, default: ''},
|
|
520
|
-
},
|
|
521
|
-
computed: {
|
|
522
|
-
isCrm() {
|
|
523
|
-
return this.libSource === 'crm';
|
|
524
|
-
},
|
|
525
|
-
dynamicStyle() {
|
|
526
|
-
if (this.classificationIndex === 0) {
|
|
527
|
-
return {
|
|
528
|
-
marginRight: '8px'
|
|
529
|
-
};
|
|
530
|
-
} else if (this.classificationIndex === 2) {
|
|
531
|
-
return {
|
|
532
|
-
display: 'inline-block'
|
|
533
|
-
};
|
|
534
|
-
}
|
|
535
|
-
return {};
|
|
536
|
-
},
|
|
537
|
-
titleName() {
|
|
538
|
-
let condition = this.conditionList.filter(item => this.conditionSid.indexOf(item.sid) !== -1);
|
|
539
|
-
if (this.conditionSid.indexOf('all_data') !== -1) {
|
|
540
|
-
return '全部数据';
|
|
541
|
-
} else {
|
|
542
|
-
let titleArr = [];
|
|
543
|
-
condition.map(item => {
|
|
544
|
-
titleArr.push(item.name);
|
|
545
|
-
});
|
|
546
|
-
return titleArr.join(',');
|
|
547
|
-
// return (
|
|
548
|
-
// (condition?.displayCategory && condition?.displayCategory !== "未分类"
|
|
549
|
-
// ? `${condition?.displayCategory}/`
|
|
550
|
-
// : "") + condition?.name
|
|
551
|
-
// );
|
|
552
|
-
}
|
|
553
|
-
},
|
|
554
|
-
groupSelect() {
|
|
555
|
-
return function(index) {
|
|
556
|
-
let treeTemp = this.treeData.slice(1);
|
|
557
|
-
if (treeTemp[index].children) {
|
|
558
|
-
const cIndex = treeTemp[index].children.findIndex(item => item.selected);
|
|
559
|
-
if (cIndex !== -1) {
|
|
560
|
-
return treeTemp[index].children[cIndex].sid;
|
|
561
|
-
} else {
|
|
562
|
-
return 0;
|
|
563
|
-
}
|
|
564
|
-
} else {
|
|
565
|
-
return 0;
|
|
566
|
-
}
|
|
567
|
-
};
|
|
568
|
-
},
|
|
569
|
-
|
|
570
|
-
tooltipTilte() {
|
|
571
|
-
return function(item) {
|
|
572
|
-
let digitalNum = item.digital === 0 ? `(0)` : item.digital ? `(${item.digital})` : '';
|
|
573
|
-
const { name, isPublic } = item;
|
|
574
|
-
const fmtChildName = this.$options.filters.fmtChildName;
|
|
575
|
-
return fmtChildName(name, isPublic) + digitalNum;
|
|
576
|
-
};
|
|
577
|
-
},
|
|
578
|
-
handleTileAllDataDigital() {
|
|
579
|
-
if (!this.treeData || !this.treeData.length) return;
|
|
580
|
-
let item = this.treeData[0];
|
|
581
|
-
if (item.sid !== 'all_data') return;
|
|
582
|
-
if (!('digital' in item)) return;
|
|
583
|
-
return item.digital || 0;
|
|
584
|
-
},
|
|
585
|
-
|
|
586
|
-
// 这两个配置都要请求 筛选分类统计接口
|
|
587
|
-
getCondiTionDigital() {
|
|
588
|
-
return this.countCondition === 1 || this.countTabCondition === 1;
|
|
589
|
-
},
|
|
590
|
-
|
|
591
|
-
showIconBtn() {
|
|
592
|
-
return this.hideConditionChangeBtn != 1 || this.hideConditionChangeSetting != 1;
|
|
593
|
-
},
|
|
594
|
-
|
|
595
|
-
hasConditionList() {
|
|
596
|
-
return this.originConditionList.filter(item => item.isShow).length > 0;
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
|
-
mounted() {
|
|
600
|
-
document.addEventListener('click', e => {
|
|
601
|
-
let path = e.composedPath && e.composedPath();
|
|
602
|
-
if (path.includes(this.$refs.selectType)) {
|
|
603
|
-
return;
|
|
604
|
-
}
|
|
605
|
-
this.toggleSelect(false);
|
|
606
|
-
});
|
|
607
|
-
},
|
|
608
|
-
methods: {
|
|
609
|
-
handleChange(value, option, pItem = {}, pIndex) {
|
|
610
|
-
if (value) {
|
|
611
|
-
const { child, cIndex, item, index } = option.data.attrs;
|
|
612
|
-
this.handleItemClick(child, cIndex, item, index);
|
|
613
|
-
} else {
|
|
614
|
-
let cIndex = pItem.children.findIndex(item => this.conditionSid.indexOf(item.sid) !== -1);
|
|
615
|
-
if (cIndex !== -1) {
|
|
616
|
-
this.handleItemClick(pItem.children[cIndex], cIndex, pItem, pIndex);
|
|
617
|
-
}
|
|
618
|
-
// this.handleItemClick({ sid: "all_data", name: "全部数据" });
|
|
619
|
-
}
|
|
620
|
-
},
|
|
621
|
-
handleFold(item) {
|
|
622
|
-
if (item.open) {
|
|
623
|
-
item.open = false;
|
|
624
|
-
} else {
|
|
625
|
-
this.$set(item, 'open', true);
|
|
626
|
-
}
|
|
627
|
-
},
|
|
628
|
-
handleItemClick(child, i, p = {}, pi = undefined) {
|
|
629
|
-
// if (!child.selected) {
|
|
630
|
-
// this.clearActive(child.sid, p);
|
|
631
|
-
// this.$set(child, "selected", true);
|
|
632
|
-
// }
|
|
633
|
-
this.showTitleName = child.name;
|
|
634
|
-
if (!child.digital && this.countCondition === 1) {
|
|
635
|
-
return false;
|
|
636
|
-
}
|
|
637
|
-
let conditionSidTemp = this.getConditionSid(child.sid, this.conditionSid, p);
|
|
638
|
-
let selectList = this.initTree(conditionSidTemp);
|
|
639
|
-
this.toggleSelect(false);
|
|
640
|
-
// TODO: 选中筛选分类
|
|
641
|
-
this.$emit('changeSearch', child.sid === 'all_data' ? 'all' : '', child, p, selectList);
|
|
642
|
-
},
|
|
643
|
-
clearActive(sid, p = {}) {
|
|
644
|
-
let conditionSidTemp = this.getConditionSid(sid, this.conditionSid, p);
|
|
645
|
-
|
|
646
|
-
this.treeData.forEach(item => {
|
|
647
|
-
if (item.children) {
|
|
648
|
-
item.children.forEach(child => {
|
|
649
|
-
if (conditionSidTemp.indexOf(child.sid) !== -1) {
|
|
650
|
-
this.$set(child, 'selected', true);
|
|
651
|
-
} else {
|
|
652
|
-
this.$set(child, 'selected', false);
|
|
653
|
-
}
|
|
654
|
-
});
|
|
655
|
-
} else {
|
|
656
|
-
if (conditionSidTemp.indexOf(item.sid) !== -1) {
|
|
657
|
-
this.$set(item, 'selected', true);
|
|
658
|
-
} else {
|
|
659
|
-
this.$set(item, 'selected', false);
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
});
|
|
663
|
-
},
|
|
664
|
-
// 搜索关键字时重置树结构
|
|
665
|
-
initTree(conditionSidTemp) {
|
|
666
|
-
let selectList = [];
|
|
667
|
-
this.treeData.forEach(item => {
|
|
668
|
-
if (item.children) {
|
|
669
|
-
item.children.forEach(child => {
|
|
670
|
-
if (conditionSidTemp.indexOf(child.sid) !== -1) {
|
|
671
|
-
this.$set(child, 'selected', true);
|
|
672
|
-
selectList.push(child);
|
|
673
|
-
} else {
|
|
674
|
-
this.$set(child, 'selected', false);
|
|
675
|
-
}
|
|
676
|
-
});
|
|
677
|
-
} else {
|
|
678
|
-
if (conditionSidTemp.indexOf(item.sid) !== -1) {
|
|
679
|
-
this.$set(item, 'selected', true);
|
|
680
|
-
selectList.push(item);
|
|
681
|
-
} else {
|
|
682
|
-
this.$set(item, 'selected', false);
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
});
|
|
686
|
-
return selectList;
|
|
687
|
-
},
|
|
688
|
-
// 获取已选择的sid
|
|
689
|
-
getConditionSid(sid, conditionSid, p = {}) {
|
|
690
|
-
let conditionSidTemp = JSON.parse(JSON.stringify(conditionSid));
|
|
691
|
-
if (sid === 'all_data') {
|
|
692
|
-
conditionSidTemp = ['all_data'];
|
|
693
|
-
} else {
|
|
694
|
-
if (this.conditionType === 'keyword') {
|
|
695
|
-
// 关键字搜索多选
|
|
696
|
-
let aIndex = conditionSidTemp.findIndex(subItem => subItem === 'all_data');
|
|
697
|
-
if (aIndex !== -1) conditionSidTemp.splice(aIndex, 1); // 存在选中了全部数据,则先删除
|
|
698
|
-
// 查询是否已经存在,存在则删除一个
|
|
699
|
-
let cIndex = conditionSidTemp.findIndex(subItem => subItem === sid);
|
|
700
|
-
if (cIndex !== -1) {
|
|
701
|
-
conditionSidTemp.splice(cIndex, 1);
|
|
702
|
-
if (conditionSidTemp.length === 0) conditionSidTemp = ['all_data'];
|
|
703
|
-
} else {
|
|
704
|
-
// 查询和已选择的元素是否在同一个父级
|
|
705
|
-
if (p.children && p.children.length > 0) {
|
|
706
|
-
cIndex = conditionSidTemp.findIndex(subItem => p.children.findIndex(pItem => pItem.sid === subItem) !== -1);
|
|
707
|
-
}
|
|
708
|
-
if (cIndex !== -1) {
|
|
709
|
-
conditionSidTemp.splice(cIndex, 1);
|
|
710
|
-
}
|
|
711
|
-
conditionSidTemp.push(sid);
|
|
712
|
-
}
|
|
713
|
-
} else {
|
|
714
|
-
// 非关键字搜索单选
|
|
715
|
-
if (conditionSidTemp.indexOf(sid) !== -1) {
|
|
716
|
-
conditionSidTemp = ['all_data'];
|
|
717
|
-
} else {
|
|
718
|
-
conditionSidTemp = [sid];
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
return conditionSidTemp;
|
|
724
|
-
},
|
|
725
|
-
|
|
726
|
-
/**
|
|
727
|
-
* 改变展示方式
|
|
728
|
-
*/
|
|
729
|
-
handleModeChange() {
|
|
730
|
-
this.$emit('setCurTreeData', this.treeData);
|
|
731
|
-
let res = '';
|
|
732
|
-
if (this.classificationIndex === 4) {
|
|
733
|
-
res = 0;
|
|
734
|
-
} else {
|
|
735
|
-
let index = this.classificationIndex;
|
|
736
|
-
res = ++index;
|
|
737
|
-
}
|
|
738
|
-
this.classificationWidth = 150;
|
|
739
|
-
this.saveListPersonaSetting(res);
|
|
740
|
-
},
|
|
741
|
-
|
|
742
|
-
// 保存
|
|
743
|
-
async saveListPersonaSetting(classificationIndex, classificationWidth) {
|
|
744
|
-
let params = {
|
|
745
|
-
tableId: this.tableId,
|
|
746
|
-
setting: JSON.stringify({
|
|
747
|
-
classificationIndex,
|
|
748
|
-
classificationWidth
|
|
749
|
-
})
|
|
750
|
-
};
|
|
751
|
-
|
|
752
|
-
try {
|
|
753
|
-
let res = await this.handleGetConfigApi(params, 'requestSaveListPersonaSetting');
|
|
754
|
-
// TODO: 切换筛选分类
|
|
755
|
-
res && this.$emit('setClassificationIndex', classificationIndex);
|
|
756
|
-
} catch (error) {
|
|
757
|
-
console.log(error);
|
|
758
|
-
}
|
|
759
|
-
},
|
|
760
|
-
|
|
761
|
-
/**
|
|
762
|
-
* 打开设置弹窗
|
|
763
|
-
*/
|
|
764
|
-
handleSettingShow() {
|
|
765
|
-
this.classifyModal = true;
|
|
766
|
-
// this.$emit("setClassifyModal", true);
|
|
767
|
-
this.toggleSelect(false);
|
|
768
|
-
},
|
|
769
|
-
|
|
770
|
-
setClassifyModal(val) {
|
|
771
|
-
this.classifyModal = val;
|
|
772
|
-
},
|
|
773
|
-
|
|
774
|
-
toggleSelect(flag) {
|
|
775
|
-
if (flag !== undefined) {
|
|
776
|
-
this.selectShow = flag;
|
|
777
|
-
return;
|
|
778
|
-
}
|
|
779
|
-
this.selectShow = !this.selectShow;
|
|
780
|
-
},
|
|
781
|
-
|
|
782
|
-
getTableCondiTionList(options) {
|
|
783
|
-
// 删除当前
|
|
784
|
-
if (options !== undefined && options.type === 'delete' && this.conditionSid.indexOf(options.item.sid) !== -1) {
|
|
785
|
-
this.$emit('changeSearch', 'all', {
|
|
786
|
-
name: '全部数据',
|
|
787
|
-
sid: 'all_data'
|
|
788
|
-
});
|
|
789
|
-
}
|
|
790
|
-
if (!this.tableId) return;
|
|
791
|
-
if (Object.keys(this.conditionMap).length > 0) {
|
|
792
|
-
this.treeData = [];
|
|
793
|
-
let { displayCategoryList = [], conditionList = [] } = this.conditionMap;
|
|
794
|
-
this.originConditionList = JSON.parse(JSON.stringify(conditionList));
|
|
795
|
-
this.displayCategoryList = displayCategoryList || [];
|
|
796
|
-
this.conditionList = JSON.parse(JSON.stringify(conditionList));
|
|
797
|
-
this.conditionList.unshift({
|
|
798
|
-
name: '全部数据',
|
|
799
|
-
sid: 'all_data'
|
|
800
|
-
});
|
|
801
|
-
let treeData = [];
|
|
802
|
-
if (displayCategoryList.length === 0) {
|
|
803
|
-
displayCategoryList = ['未分类'];
|
|
804
|
-
}
|
|
805
|
-
displayCategoryList.forEach(item => {
|
|
806
|
-
let map = { name: item, children: [] };
|
|
807
|
-
conditionList.forEach(condition => {
|
|
808
|
-
if (condition.displayCategory === item || (!condition.displayCategory && item === '未分类' && condition.sid !== 'all_data')) {
|
|
809
|
-
if (this.conditionSid.indexOf(condition.sid) !== -1) {
|
|
810
|
-
condition.selected = true;
|
|
811
|
-
map.open = true;
|
|
812
|
-
}
|
|
813
|
-
if (condition.isShow) {
|
|
814
|
-
map.children.push(condition);
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
});
|
|
818
|
-
if (map.children.length > 0) {
|
|
819
|
-
treeData.push(map);
|
|
820
|
-
}
|
|
821
|
-
});
|
|
822
|
-
treeData.unshift({
|
|
823
|
-
name: '全部数据',
|
|
824
|
-
sid: 'all_data'
|
|
825
|
-
});
|
|
826
|
-
this.$set(this, 'treeData', treeData);
|
|
827
|
-
// 0 模式展开所有分类
|
|
828
|
-
if (this.classificationIndex === 0) {
|
|
829
|
-
this.setOpenStatus(true);
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
},
|
|
833
|
-
// 设置分类展开
|
|
834
|
-
setOpenStatus(value) {
|
|
835
|
-
this.treeData.forEach(item => {
|
|
836
|
-
if (item.children && item.children.length) {
|
|
837
|
-
this.$set(item, 'open', value);
|
|
838
|
-
}
|
|
839
|
-
});
|
|
840
|
-
},
|
|
841
|
-
async getTableCondiTionDigital(setConditionId = false, keyword = '', fieldKeys = [], tabConditionId = '', countTabCondition) {
|
|
842
|
-
try {
|
|
843
|
-
if (!this.countCondition && !this.countTabCondition) {
|
|
844
|
-
this.$set(this.allObj, 'digital', '');
|
|
845
|
-
return Promise.resolve();
|
|
846
|
-
}
|
|
847
|
-
if (!this.tableId) return Promise.resolve();
|
|
848
|
-
let params = { tableId: this.tableId, countCondition: this.countCondition };
|
|
849
|
-
// if (setConditionId && this.conditionSid) {
|
|
850
|
-
// params.conditionId = this.conditionSid == "all_data" ? "ALL" : this.conditionSid;
|
|
851
|
-
// }
|
|
852
|
-
if (keyword) params.keyword = keyword;
|
|
853
|
-
if (tabConditionId) params.tabConditionId = tabConditionId;
|
|
854
|
-
if (countTabCondition) params.countTabCondition = countTabCondition;
|
|
855
|
-
if (fieldKeys.length > 0) params.fieldKeys = JSON.stringify(fieldKeys);
|
|
856
|
-
Object.assign(params, this.handleParams()); // 额外条件暂时隐藏,需要等后端确定是否需要该额外条件
|
|
857
|
-
let res = await this.handleGetConfigApi(params, 'requestTableCondiTionDigital');
|
|
858
|
-
this.handleConditionDiaital(res);
|
|
859
|
-
return Promise.resolve(res);
|
|
860
|
-
} catch (error) {
|
|
861
|
-
console.log(error, 'getTableCondiTionDigital');
|
|
862
|
-
}
|
|
863
|
-
},
|
|
864
|
-
|
|
865
|
-
/**
|
|
866
|
-
* 处理检索分类的统计
|
|
867
|
-
*/
|
|
868
|
-
handleConditionDiaital(map) {
|
|
869
|
-
// TODO: 统计分类更新
|
|
870
|
-
if (this.countTabCondition == 1) this.$emit('setTabConditionNumObj', map);
|
|
871
|
-
if (!map || Object.keys(map).length === 0) return;
|
|
872
|
-
// children
|
|
873
|
-
let resList = [];
|
|
874
|
-
this.handlePlatTree(this.treeData, resList);
|
|
875
|
-
for (let key in map) {
|
|
876
|
-
let useKey = key === 'ALL' ? 'all_data' : key;
|
|
877
|
-
let matchItem = resList.find(v => v.sid == useKey);
|
|
878
|
-
if (matchItem) {
|
|
879
|
-
if (matchItem.sid == 'all_data' && this.countCondition == 1) {
|
|
880
|
-
this.$set(this.allObj, 'digital', map[key] || 0);
|
|
881
|
-
}
|
|
882
|
-
this.$set(matchItem, 'digital', map[key] || 0);
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
let conditionSid = this.conditionSid.indexOf('all_data') !== -1 ? ['ALL'] : this.conditionSid;
|
|
886
|
-
let changeNum = 0;
|
|
887
|
-
if (this.conditionType === 'keyword') {
|
|
888
|
-
let num = 0;
|
|
889
|
-
conditionSid.map(item => {
|
|
890
|
-
return (num += parseInt(map[item]));
|
|
891
|
-
});
|
|
892
|
-
changeNum = num;
|
|
893
|
-
} else {
|
|
894
|
-
changeNum = map[conditionSid[0]];
|
|
895
|
-
}
|
|
896
|
-
return changeNum;
|
|
897
|
-
},
|
|
898
|
-
|
|
899
|
-
handlePlatTree(list, res) {
|
|
900
|
-
if (list.length) {
|
|
901
|
-
list.forEach(item => {
|
|
902
|
-
if (item.children?.length) {
|
|
903
|
-
item.children.forEach(v => {
|
|
904
|
-
res.push(v);
|
|
905
|
-
});
|
|
906
|
-
} else {
|
|
907
|
-
res.push(item);
|
|
908
|
-
}
|
|
909
|
-
});
|
|
910
|
-
}
|
|
911
|
-
},
|
|
912
|
-
async tableCondiTionPromise(options) {
|
|
913
|
-
try {
|
|
914
|
-
await this.getTableCondiTionList(options);
|
|
915
|
-
// 查count后台sql太慢,先注释
|
|
916
|
-
if (this.countCondition === 1 || this.countTabCondition === 1) await this.getTableCondiTionDigital(false, this.keyword, this.fieldKeys, this.tabConditionId, this.countTabCondition); // 开启统计筛选分类
|
|
917
|
-
} catch (err) {
|
|
918
|
-
console.log(err);
|
|
919
|
-
}
|
|
920
|
-
},
|
|
921
|
-
handleParams() {
|
|
922
|
-
if (!this.localObj && Object.keys(this.localObj).length === 0) return {};
|
|
923
|
-
let obj = {};
|
|
924
|
-
if (Array.isArray(this.localObj.params)) {
|
|
925
|
-
this.localObj.params.map(item => {
|
|
926
|
-
obj[item.p_name] = item.p_value;
|
|
927
|
-
});
|
|
928
|
-
}
|
|
929
|
-
if (Object.keys(this.localObj.extendParams || {}).length) {
|
|
930
|
-
Object.assign(obj, this.localObj.extendParams);
|
|
931
|
-
obj.extraParams = JSON.stringify(this.localObj.extendParams);
|
|
932
|
-
}
|
|
933
|
-
return obj;
|
|
934
|
-
},
|
|
935
|
-
changeWidth({ distance }) {
|
|
936
|
-
const w = this.classificationWidth + distance;
|
|
937
|
-
this.classificationWidth = Math.min(Math.max(w, 50), 650);
|
|
938
|
-
},
|
|
939
|
-
saveWidth() {
|
|
940
|
-
const i = this.classificationIndex;
|
|
941
|
-
const w = this.classificationWidth;
|
|
942
|
-
this.saveListPersonaSetting(i, w);
|
|
943
|
-
},
|
|
944
|
-
|
|
945
|
-
// =======================
|
|
946
|
-
async updateTableCondiTion() {
|
|
947
|
-
await this.getTableCondiTionListNew(this.tableId);
|
|
948
|
-
this.getTableCondiTionListRequest();
|
|
949
|
-
},
|
|
950
|
-
|
|
951
|
-
async saveGetTableCondiTionList(options) {
|
|
952
|
-
await this.getTableCondiTionListNew(this.tableId);
|
|
953
|
-
this.handleGetTableCondiTionList();
|
|
954
|
-
// 删除,编辑筛选完成后 刷新数据
|
|
955
|
-
this.$emit('getClassification', options);
|
|
956
|
-
},
|
|
957
|
-
|
|
958
|
-
changeSearch(key, item) {
|
|
959
|
-
if (key == 'all') {
|
|
960
|
-
this.searchDefName = '全部数据';
|
|
961
|
-
} else {
|
|
962
|
-
this.searchDefName = item.name;
|
|
963
|
-
}
|
|
964
|
-
this.$emit('changeSearch', key, item);
|
|
965
|
-
},
|
|
966
|
-
|
|
967
|
-
getTableCondiTionListRequest(first) {
|
|
968
|
-
this.handleGetTableCondiTionList(first).then(checked => {
|
|
969
|
-
this.reloadList(checked);
|
|
970
|
-
});
|
|
971
|
-
},
|
|
972
|
-
|
|
973
|
-
reloadList(item) {
|
|
974
|
-
// 新增筛选分类后刷新
|
|
975
|
-
this.$emit('reloadList', item);
|
|
976
|
-
},
|
|
977
|
-
|
|
978
|
-
handleGetTableCondiTionList(first, conditionMap = {}) {
|
|
979
|
-
let tableId = this.tableId;
|
|
980
|
-
if (!tableId) return new Promise(resolve => resolve(false));
|
|
981
|
-
let conditionMapTemp = Object.keys(conditionMap).length > 0 ? conditionMap : this.conditionMap;
|
|
982
|
-
return new Promise((resolve, reject) => {
|
|
983
|
-
if (Object.keys(conditionMapTemp).length > 0) {
|
|
984
|
-
this.searchConditionList = conditionMapTemp.conditionList || [];
|
|
985
|
-
this.displayCategoryList = conditionMapTemp.displayCategoryList || [];
|
|
986
|
-
let obj = {
|
|
987
|
-
conditionList: this.searchConditionList,
|
|
988
|
-
displayCategoryList: this.displayCategoryList
|
|
989
|
-
};
|
|
990
|
-
this.$emit('getQuickSearchListObj', obj);
|
|
991
|
-
this.settingId = conditionMapTemp.settingId;
|
|
992
|
-
const checked = this.searchConditionList.find(item => item.isDefault) || {
|
|
993
|
-
name: '全部数据',
|
|
994
|
-
sid: 'all_data'
|
|
995
|
-
};
|
|
996
|
-
this.searchDefName = checked.name;
|
|
997
|
-
// if (this.conditionType === "keyword") {
|
|
998
|
-
this.tabConditionList = conditionMapTemp.tabConditionList || []; // 获取页签tab
|
|
999
|
-
this.tabIndex = conditionMapTemp.tabConditionList && conditionMapTemp.tabConditionList.findIndex(item => item.isDefault); // 查询默认选中的标签
|
|
1000
|
-
// }
|
|
1001
|
-
// TODO:
|
|
1002
|
-
// this.getTableCondiTionList()
|
|
1003
|
-
if (this.$attrs.tableOptions?.filterCondition?.displayCategory && first) {
|
|
1004
|
-
resolve({
|
|
1005
|
-
name: this.$attrs.tableOptions?.filterCondition?.name,
|
|
1006
|
-
sid: this.$attrs.tableOptions?.filterCondition?.displayCategory
|
|
1007
|
-
});
|
|
1008
|
-
}
|
|
1009
|
-
resolve(checked);
|
|
1010
|
-
} else {
|
|
1011
|
-
resolve({});
|
|
1012
|
-
}
|
|
1013
|
-
});
|
|
1014
|
-
},
|
|
1015
|
-
|
|
1016
|
-
async getTableCondiTionListNew(tableId) {
|
|
1017
|
-
try {
|
|
1018
|
-
if (!tableId) return new Promise(resolve => resolve(false));
|
|
1019
|
-
let params = { tableId };
|
|
1020
|
-
let res = await this.handleGetConfigApi(params, 'requestTableCondiTionList');
|
|
1021
|
-
this.$emit('setConditionMap', res);
|
|
1022
|
-
return Promise.resolve(res);
|
|
1023
|
-
} catch (error) {
|
|
1024
|
-
return Promise.resolve(false);
|
|
1025
|
-
}
|
|
1026
|
-
},
|
|
1027
|
-
/* */
|
|
1028
|
-
visibleDigital(item) {
|
|
1029
|
-
if (this.countCondition !== 1) return false;
|
|
1030
|
-
return item.digital || item.digital === 0;
|
|
1031
|
-
},
|
|
1032
|
-
|
|
1033
|
-
changeShowName(name) {
|
|
1034
|
-
this.showTitleName = name;
|
|
1035
|
-
},
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* 清空专业模式设置的条件
|
|
1039
|
-
*/
|
|
1040
|
-
handleClearClassConObj(...arg) {
|
|
1041
|
-
let fn = this?.$refs?.professional?.handleClearConObj;
|
|
1042
|
-
if (typeof fn === 'function') {
|
|
1043
|
-
fn(...arg);
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
},
|
|
1047
|
-
filters: {
|
|
1048
|
-
fmtChildName(name, isPublic) {
|
|
1049
|
-
return name && isPublic === '1' ? name.replace(/\(公共\)$/, '') : name;
|
|
1050
|
-
}
|
|
1051
|
-
},
|
|
1052
|
-
activated() {
|
|
1053
|
-
this.tableCondiTionPromise();
|
|
1054
|
-
},
|
|
1055
|
-
watch: {
|
|
1056
|
-
tableId: {
|
|
1057
|
-
immediate: true,
|
|
1058
|
-
deep: true,
|
|
1059
|
-
handler(val) {
|
|
1060
|
-
if (!val) return;
|
|
1061
|
-
this.getTableCondiTionListRequest(true);
|
|
1062
|
-
if (this.curTableId === val) return;
|
|
1063
|
-
this.curTableId = val;
|
|
1064
|
-
// this.$nextTick(() => {
|
|
1065
|
-
// console.log("---------watch----------tableCondiTionPromise")
|
|
1066
|
-
// this.tableCondiTionPromise();
|
|
1067
|
-
// });
|
|
1068
|
-
}
|
|
1069
|
-
},
|
|
1070
|
-
curClassificationIndex: {
|
|
1071
|
-
immediate: true,
|
|
1072
|
-
deep: true,
|
|
1073
|
-
handler(val) {
|
|
1074
|
-
if (val === undefined) return;
|
|
1075
|
-
this.classificationIndex = val;
|
|
1076
|
-
}
|
|
1077
|
-
},
|
|
1078
|
-
curClassificationWidth: {
|
|
1079
|
-
immediate: true,
|
|
1080
|
-
handler(val) {
|
|
1081
|
-
this.classificationWidth = Number(val) || 150;
|
|
1082
|
-
}
|
|
1083
|
-
},
|
|
1084
|
-
curConditionList: {
|
|
1085
|
-
immediate: true,
|
|
1086
|
-
deep: true,
|
|
1087
|
-
handler(val) {
|
|
1088
|
-
if (!val || !val.length || this.treeData === val) return;
|
|
1089
|
-
this.treeData = JSON.parse(JSON.stringify(val));
|
|
1090
|
-
}
|
|
1091
|
-
}
|
|
1092
|
-
},
|
|
1093
|
-
directives: {
|
|
1094
|
-
flexibleResize
|
|
1095
|
-
}
|
|
1096
|
-
});
|
|
1097
|
-
</script>
|
|
1098
|
-
<style lang="less">
|
|
1099
|
-
.classiffication-select-hide {
|
|
1100
|
-
display: none !important;
|
|
1101
|
-
}
|
|
1102
|
-
.group-select-option {
|
|
1103
|
-
display: flex !important;
|
|
1104
|
-
align-items: center;
|
|
1105
|
-
justify-content: space-between;
|
|
1106
|
-
}
|
|
1107
|
-
.group-select-option.ant-select-dropdown-menu-item-selected {
|
|
1108
|
-
color: #2474ff !important;
|
|
1109
|
-
}
|
|
1110
|
-
.group-select-option.ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled) {
|
|
1111
|
-
color: #2474ff !important;
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
.classificationIndex-4 {
|
|
1115
|
-
margin-bottom: 10px;
|
|
1116
|
-
border: 1px solid #d5d5d5;
|
|
1117
|
-
border-radius: 4px;
|
|
1118
|
-
|
|
1119
|
-
&.upack-up-wrap {
|
|
1120
|
-
border-bottom: none;
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
</style>
|
|
1124
|
-
<style lang="less" scoped>
|
|
1125
|
-
.classification {
|
|
1126
|
-
// margin-top: 4px;
|
|
1127
|
-
cursor: pointer;
|
|
1128
|
-
.tree-type {
|
|
1129
|
-
height: 100%;
|
|
1130
|
-
border: 1px solid #d5d5d5;
|
|
1131
|
-
width: 150px;
|
|
1132
|
-
margin-top: 8px;
|
|
1133
|
-
border-radius: 4px;
|
|
1134
|
-
line-height: 32px;
|
|
1135
|
-
padding-bottom: 80px;
|
|
1136
|
-
.tree {
|
|
1137
|
-
height: calc(100% - 32px);
|
|
1138
|
-
overflow: auto;
|
|
1139
|
-
&::-webkit-scrollbar {
|
|
1140
|
-
width: 5px;
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
.header {
|
|
1144
|
-
display: flex;
|
|
1145
|
-
justify-content: space-between;
|
|
1146
|
-
padding: 0 10px;
|
|
1147
|
-
font-size: 14px;
|
|
1148
|
-
border-bottom: 1px solid #e6eaef;
|
|
1149
|
-
}
|
|
1150
|
-
.tree-item {
|
|
1151
|
-
border-bottom: 1px solid #d5d5d5;
|
|
1152
|
-
&.tree-header {
|
|
1153
|
-
padding: 0 10px;
|
|
1154
|
-
box-sizing: border-box;
|
|
1155
|
-
}
|
|
1156
|
-
cursor: pointer;
|
|
1157
|
-
.parent {
|
|
1158
|
-
display: flex;
|
|
1159
|
-
justify-content: space-between;
|
|
1160
|
-
align-items: center;
|
|
1161
|
-
padding: 0 10px;
|
|
1162
|
-
font-weight: 600;
|
|
1163
|
-
&.open {
|
|
1164
|
-
background-color: #f2f2f2;
|
|
1165
|
-
border-bottom: 1px solid #d5d5d5;
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
.header-item {
|
|
1169
|
-
color: rgba(0, 0, 0, 0.6);
|
|
1170
|
-
box-sizing: border-box;
|
|
1171
|
-
border-bottom: 1px solid transparent;
|
|
1172
|
-
line-height: 1.4;
|
|
1173
|
-
&.selected {
|
|
1174
|
-
color: #2d7aff;
|
|
1175
|
-
}
|
|
1176
|
-
&:hover {
|
|
1177
|
-
color: #2d7aff;
|
|
1178
|
-
// border-color: #2d7aff;
|
|
1179
|
-
}
|
|
1180
|
-
&:active {
|
|
1181
|
-
color: #000000;
|
|
1182
|
-
border-color: transparent;
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
.children {
|
|
1186
|
-
display: flex;
|
|
1187
|
-
align-items: center;
|
|
1188
|
-
padding-left: 23px;
|
|
1189
|
-
padding-right: 10px;
|
|
1190
|
-
height: 32px;
|
|
1191
|
-
.child-item {
|
|
1192
|
-
display: flex;
|
|
1193
|
-
align-items: center;
|
|
1194
|
-
// display: inline-block;
|
|
1195
|
-
max-width: 100%;
|
|
1196
|
-
color: #7c7c7c;
|
|
1197
|
-
overflow: hidden;
|
|
1198
|
-
text-overflow: ellipsis;
|
|
1199
|
-
white-space: nowrap;
|
|
1200
|
-
line-height: 1.5;
|
|
1201
|
-
border-bottom: 1px solid transparent;
|
|
1202
|
-
|
|
1203
|
-
&:hover {
|
|
1204
|
-
color: #2d7aff;
|
|
1205
|
-
// border-color: #2d7aff;
|
|
1206
|
-
}
|
|
1207
|
-
&.selected {
|
|
1208
|
-
width: 100%;
|
|
1209
|
-
display: flex;
|
|
1210
|
-
align-items: center;
|
|
1211
|
-
justify-content: space-between;
|
|
1212
|
-
color: #2d7aff;
|
|
1213
|
-
}
|
|
1214
|
-
&:active {
|
|
1215
|
-
color: #000000;
|
|
1216
|
-
border-color: transparent;
|
|
1217
|
-
}
|
|
1218
|
-
&.disabled {
|
|
1219
|
-
color: rgba(0, 0, 0, 0.2);
|
|
1220
|
-
}
|
|
1221
|
-
.child-item-content {
|
|
1222
|
-
display: flex;
|
|
1223
|
-
align-items: center;
|
|
1224
|
-
}
|
|
1225
|
-
.child-item-name {
|
|
1226
|
-
overflow: hidden;
|
|
1227
|
-
text-overflow: ellipsis;
|
|
1228
|
-
white-space: nowrap;
|
|
1229
|
-
}
|
|
1230
|
-
.digital-span {
|
|
1231
|
-
flex: 1;
|
|
1232
|
-
margin-left: 5px;
|
|
1233
|
-
text-align: left;
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
1237
|
-
}
|
|
1238
|
-
.tree-type-footer {
|
|
1239
|
-
position: absolute;
|
|
1240
|
-
bottom: 0;
|
|
1241
|
-
width: 100%;
|
|
1242
|
-
padding-left: 16px;
|
|
1243
|
-
background: #fff;
|
|
1244
|
-
.selected-num {
|
|
1245
|
-
margin-bottom: 9px;
|
|
1246
|
-
}
|
|
1247
|
-
.selected-item-del {
|
|
1248
|
-
margin-left: 0;
|
|
1249
|
-
margin-bottom: 15px;
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
.tile-type {
|
|
1254
|
-
border: 1px solid #d5d5d5;
|
|
1255
|
-
border-radius: 4px;
|
|
1256
|
-
margin-bottom: 8px;
|
|
1257
|
-
padding: 0 17px;
|
|
1258
|
-
.header {
|
|
1259
|
-
width: 100%;
|
|
1260
|
-
display: inline-flex;
|
|
1261
|
-
justify-content: space-between;
|
|
1262
|
-
align-items: center;
|
|
1263
|
-
// padding: 0 14px;
|
|
1264
|
-
line-height: 44px;
|
|
1265
|
-
border-bottom: 1px solid #d5d5d5;
|
|
1266
|
-
.all-data {
|
|
1267
|
-
margin-right: auto;
|
|
1268
|
-
border-bottom: 1px solid transparent;
|
|
1269
|
-
line-height: 1.4;
|
|
1270
|
-
color: #000;
|
|
1271
|
-
font-size: 14px;
|
|
1272
|
-
font-family: PingFangSC-Medium, PingFang SC;
|
|
1273
|
-
font-weight: 500;
|
|
1274
|
-
&:hover {
|
|
1275
|
-
color: #2d7aff;
|
|
1276
|
-
// border-color: #2d7aff;
|
|
1277
|
-
}
|
|
1278
|
-
&:active {
|
|
1279
|
-
color: #000000;
|
|
1280
|
-
border-color: transparent;
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
.selected {
|
|
1284
|
-
color: #2d7aff;
|
|
1285
|
-
}
|
|
1286
|
-
.right-setting {
|
|
1287
|
-
color: #000;
|
|
1288
|
-
.anticon {
|
|
1289
|
-
color: rgba(0, 0, 0, 0.6);
|
|
1290
|
-
margin-right: 6px;
|
|
1291
|
-
}
|
|
1292
|
-
.upack-up-btn {
|
|
1293
|
-
color: #2d7aff;
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
}
|
|
1297
|
-
.tile {
|
|
1298
|
-
border-bottom: 1px solid #d5d5d5;
|
|
1299
|
-
padding: 9px 0;
|
|
1300
|
-
}
|
|
1301
|
-
.tile-item {
|
|
1302
|
-
display: flex;
|
|
1303
|
-
line-height: 38px;
|
|
1304
|
-
cursor: pointer;
|
|
1305
|
-
.parent {
|
|
1306
|
-
width: 135px;
|
|
1307
|
-
padding-right: 16px;
|
|
1308
|
-
color: #000;
|
|
1309
|
-
font-size: 14px;
|
|
1310
|
-
font-weight: 600;
|
|
1311
|
-
font-family: PingFangSC-Medium, PingFang SC;
|
|
1312
|
-
// background: rgba(213, 213, 213, 0.12);
|
|
1313
|
-
// border-right: 1px solid #d5d5d5;
|
|
1314
|
-
max-width: 135px;
|
|
1315
|
-
box-sizing: border-box;
|
|
1316
|
-
}
|
|
1317
|
-
.children {
|
|
1318
|
-
// padding: 0 15px;
|
|
1319
|
-
flex: 1;
|
|
1320
|
-
.child-item {
|
|
1321
|
-
margin: 0 5px;
|
|
1322
|
-
padding: 1px 6px;
|
|
1323
|
-
color: #7c7c7c;
|
|
1324
|
-
font-size: 14px;
|
|
1325
|
-
line-height: 1.5;
|
|
1326
|
-
border-bottom: 1px solid transparent;
|
|
1327
|
-
border-radius: 4px;
|
|
1328
|
-
display: inline-block;
|
|
1329
|
-
&:hover {
|
|
1330
|
-
color: #2d7aff;
|
|
1331
|
-
background-color: rgba(45, 122, 255, 0.1);
|
|
1332
|
-
// border-color: #2d7aff;
|
|
1333
|
-
}
|
|
1334
|
-
&.selected {
|
|
1335
|
-
color: #2d7aff;
|
|
1336
|
-
background-color: rgba(45, 122, 255, 0.1);
|
|
1337
|
-
}
|
|
1338
|
-
&:active {
|
|
1339
|
-
color: #000000;
|
|
1340
|
-
border-color: transparent;
|
|
1341
|
-
}
|
|
1342
|
-
&.disabled {
|
|
1343
|
-
color: rgba(0, 0, 0, 0.2);
|
|
1344
|
-
}
|
|
1345
|
-
}
|
|
1346
|
-
}
|
|
1347
|
-
.child-item {
|
|
1348
|
-
&.selected {
|
|
1349
|
-
color: #2d7aff;
|
|
1350
|
-
}
|
|
1351
|
-
}
|
|
1352
|
-
}
|
|
1353
|
-
.tile-item + .tile-item {
|
|
1354
|
-
// border-top: 1px solid #d5d5d5;
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
.select-type {
|
|
1358
|
-
position: relative;
|
|
1359
|
-
width: 100px;
|
|
1360
|
-
line-height: 32px;
|
|
1361
|
-
height: 32px;
|
|
1362
|
-
margin-right: 8px;
|
|
1363
|
-
margin-bottom: 8px;
|
|
1364
|
-
.title {
|
|
1365
|
-
display: flex;
|
|
1366
|
-
justify-content: space-between;
|
|
1367
|
-
align-items: center;
|
|
1368
|
-
width: 100%;
|
|
1369
|
-
height: 100%;
|
|
1370
|
-
padding: 0 8px;
|
|
1371
|
-
border: 1px solid #d5d5d5;
|
|
1372
|
-
border-radius: 4px;
|
|
1373
|
-
color: #969696;
|
|
1374
|
-
font-size: 12px;
|
|
1375
|
-
box-sizing: border-box;
|
|
1376
|
-
> span {
|
|
1377
|
-
overflow: hidden;
|
|
1378
|
-
text-overflow: ellipsis;
|
|
1379
|
-
white-space: nowrap;
|
|
1380
|
-
color: #212121;
|
|
1381
|
-
font-size: 14px;
|
|
1382
|
-
}
|
|
1383
|
-
i {
|
|
1384
|
-
font-size: 12px;
|
|
1385
|
-
}
|
|
1386
|
-
}
|
|
1387
|
-
.main-wrapper {
|
|
1388
|
-
position: absolute;
|
|
1389
|
-
z-index: 3000;
|
|
1390
|
-
width: 100%;
|
|
1391
|
-
min-width: 270px;
|
|
1392
|
-
// max-height: 300px;
|
|
1393
|
-
// overflow-y: auto;
|
|
1394
|
-
border: 1px solid #d5d5d5;
|
|
1395
|
-
background-color: #fff;
|
|
1396
|
-
border-radius: 4px;
|
|
1397
|
-
// padding-top: 5px;
|
|
1398
|
-
// padding-bottom: 10px;
|
|
1399
|
-
top: 39px;
|
|
1400
|
-
&::-webkit-scrollbar {
|
|
1401
|
-
width: 5px;
|
|
1402
|
-
}
|
|
1403
|
-
.footer {
|
|
1404
|
-
display: flex;
|
|
1405
|
-
align-items: center;
|
|
1406
|
-
// flex-direction: column;
|
|
1407
|
-
// padding: 0 10px;
|
|
1408
|
-
// border-top: 1px solid #d5d5d5;
|
|
1409
|
-
span:first-child {
|
|
1410
|
-
margin-right: 16px;
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
}
|
|
1414
|
-
.tree {
|
|
1415
|
-
padding: 32px 0;
|
|
1416
|
-
/* position: relative; */
|
|
1417
|
-
max-height: 300px;
|
|
1418
|
-
overflow: auto;
|
|
1419
|
-
}
|
|
1420
|
-
.tree-item {
|
|
1421
|
-
border-bottom: 1px solid #d5d5d5;
|
|
1422
|
-
&.tree-header {
|
|
1423
|
-
padding: 0 10px;
|
|
1424
|
-
box-sizing: border-box;
|
|
1425
|
-
display: flex;
|
|
1426
|
-
align-items: center;
|
|
1427
|
-
position: absolute;
|
|
1428
|
-
width: 100%;
|
|
1429
|
-
background-color: #fff;
|
|
1430
|
-
top: 0;
|
|
1431
|
-
height: 40px;
|
|
1432
|
-
}
|
|
1433
|
-
.child-header {
|
|
1434
|
-
flex: 1;
|
|
1435
|
-
}
|
|
1436
|
-
cursor: pointer;
|
|
1437
|
-
.parent {
|
|
1438
|
-
display: flex;
|
|
1439
|
-
justify-content: space-between;
|
|
1440
|
-
align-items: center;
|
|
1441
|
-
padding: 0 10px;
|
|
1442
|
-
font-weight: 600;
|
|
1443
|
-
&.open {
|
|
1444
|
-
background-color: #f2f2f2;
|
|
1445
|
-
border-bottom: 1px solid #d5d5d5;
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
.header-item {
|
|
1449
|
-
color: rgba(0, 0, 0, 0.6);
|
|
1450
|
-
border-bottom: 1px solid transparent;
|
|
1451
|
-
&.selected {
|
|
1452
|
-
color: #2d7aff;
|
|
1453
|
-
}
|
|
1454
|
-
&:hover {
|
|
1455
|
-
color: #2d7aff;
|
|
1456
|
-
// border-color: #2d7aff;
|
|
1457
|
-
}
|
|
1458
|
-
&:active {
|
|
1459
|
-
color: #000000;
|
|
1460
|
-
border-color: transparent;
|
|
1461
|
-
}
|
|
1462
|
-
}
|
|
1463
|
-
.children {
|
|
1464
|
-
display: flex;
|
|
1465
|
-
align-items: center;
|
|
1466
|
-
padding-left: 23px;
|
|
1467
|
-
padding-right: 10px;
|
|
1468
|
-
height: 32px;
|
|
1469
|
-
line-height: 32px;
|
|
1470
|
-
.child-item {
|
|
1471
|
-
display: inline-block;
|
|
1472
|
-
max-width: 100%;
|
|
1473
|
-
color: #7c7c7c;
|
|
1474
|
-
overflow: hidden;
|
|
1475
|
-
text-overflow: ellipsis;
|
|
1476
|
-
white-space: nowrap;
|
|
1477
|
-
line-height: 1.5;
|
|
1478
|
-
border-bottom: 1px solid transparent;
|
|
1479
|
-
&.child-header {
|
|
1480
|
-
padding: 0 10px;
|
|
1481
|
-
}
|
|
1482
|
-
&.header-item {
|
|
1483
|
-
color: rgba(0, 0, 0, 0.6);
|
|
1484
|
-
border-bottom: 1px solid transparent;
|
|
1485
|
-
&.selected {
|
|
1486
|
-
color: #2d7aff;
|
|
1487
|
-
}
|
|
1488
|
-
&:hover {
|
|
1489
|
-
color: #2d7aff;
|
|
1490
|
-
// border-color: #2d7aff;
|
|
1491
|
-
}
|
|
1492
|
-
&:active {
|
|
1493
|
-
color: #000000;
|
|
1494
|
-
border-color: transparent;
|
|
1495
|
-
}
|
|
1496
|
-
}
|
|
1497
|
-
&:hover {
|
|
1498
|
-
color: #2d7aff;
|
|
1499
|
-
// border-color: #2d7aff;
|
|
1500
|
-
}
|
|
1501
|
-
&.selected {
|
|
1502
|
-
width: 100%;
|
|
1503
|
-
display: flex;
|
|
1504
|
-
align-items: center;
|
|
1505
|
-
justify-content: space-between;
|
|
1506
|
-
color: #2d7aff;
|
|
1507
|
-
}
|
|
1508
|
-
&:active {
|
|
1509
|
-
color: #000000;
|
|
1510
|
-
border-color: transparent;
|
|
1511
|
-
}
|
|
1512
|
-
&.disabled {
|
|
1513
|
-
color: rgba(0, 0, 0, 0.2);
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
&:last-child {
|
|
1518
|
-
border-bottom: 0;
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
.select-type-footer {
|
|
1522
|
-
position: absolute;
|
|
1523
|
-
width: 100%;
|
|
1524
|
-
bottom: 0;
|
|
1525
|
-
display: flex;
|
|
1526
|
-
align-items: center;
|
|
1527
|
-
justify-content: space-between;
|
|
1528
|
-
height: 40px;
|
|
1529
|
-
padding: 0 12px;
|
|
1530
|
-
background-color: #fff;
|
|
1531
|
-
border-top: 1px solid #d5d5d5;
|
|
1532
|
-
}
|
|
1533
|
-
}
|
|
1534
|
-
.group-type {
|
|
1535
|
-
border: 1px solid #d5d5d5;
|
|
1536
|
-
padding: 0 16px;
|
|
1537
|
-
border-radius: 4px;
|
|
1538
|
-
margin-bottom: 8px;
|
|
1539
|
-
.header {
|
|
1540
|
-
width: 100%;
|
|
1541
|
-
display: inline-flex;
|
|
1542
|
-
justify-content: space-between;
|
|
1543
|
-
align-items: center;
|
|
1544
|
-
// padding: 0 14px;
|
|
1545
|
-
line-height: 44px;
|
|
1546
|
-
// border-bottom: 1px solid #d5d5d5;
|
|
1547
|
-
padding-left: 4px;
|
|
1548
|
-
.all-data {
|
|
1549
|
-
margin-right: auto;
|
|
1550
|
-
color: rgba(0, 0, 0, 0.6);
|
|
1551
|
-
border-bottom: 1px solid transparent;
|
|
1552
|
-
// line-height: 1.4;
|
|
1553
|
-
&:hover {
|
|
1554
|
-
color: #2d7aff;
|
|
1555
|
-
// border-color: #2d7aff;
|
|
1556
|
-
}
|
|
1557
|
-
&:active {
|
|
1558
|
-
color: #000000;
|
|
1559
|
-
border-color: transparent;
|
|
1560
|
-
}
|
|
1561
|
-
}
|
|
1562
|
-
.selected {
|
|
1563
|
-
color: #2d7aff;
|
|
1564
|
-
}
|
|
1565
|
-
.right-setting {
|
|
1566
|
-
color: #000;
|
|
1567
|
-
.anticon {
|
|
1568
|
-
color: rgba(0, 0, 0, 0.6);
|
|
1569
|
-
margin-right: 6px;
|
|
1570
|
-
}
|
|
1571
|
-
.upack-up-btn {
|
|
1572
|
-
color: #2d7aff;
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
.group {
|
|
1577
|
-
padding: 16px 0;
|
|
1578
|
-
border-bottom: 1px solid #d5d5d5;
|
|
1579
|
-
.child-item {
|
|
1580
|
-
color: #7c7c7c;
|
|
1581
|
-
overflow: hidden;
|
|
1582
|
-
text-overflow: ellipsis;
|
|
1583
|
-
white-space: nowrap;
|
|
1584
|
-
border-bottom: 1px solid transparent;
|
|
1585
|
-
margin-right: 8px;
|
|
1586
|
-
|
|
1587
|
-
&:hover {
|
|
1588
|
-
color: #2d7aff;
|
|
1589
|
-
border-color: transparent;
|
|
1590
|
-
}
|
|
1591
|
-
&.selected {
|
|
1592
|
-
color: #2d7aff;
|
|
1593
|
-
}
|
|
1594
|
-
&:active {
|
|
1595
|
-
color: #000000;
|
|
1596
|
-
border-color: transparent;
|
|
1597
|
-
}
|
|
1598
|
-
&.disabled {
|
|
1599
|
-
color: rgba(0, 0, 0, 0.2);
|
|
1600
|
-
}
|
|
1601
|
-
}
|
|
1602
|
-
/deep/ .ant-select {
|
|
1603
|
-
width: 130px;
|
|
1604
|
-
margin-right: 8px;
|
|
1605
|
-
margin-bottom: 8px;
|
|
1606
|
-
}
|
|
1607
|
-
}
|
|
1608
|
-
.select-type-footer {
|
|
1609
|
-
position: absolute;
|
|
1610
|
-
width: 100%;
|
|
1611
|
-
bottom: 0;
|
|
1612
|
-
display: flex;
|
|
1613
|
-
align-items: center;
|
|
1614
|
-
justify-content: space-between;
|
|
1615
|
-
height: 32px;
|
|
1616
|
-
padding: 0 12px;
|
|
1617
|
-
background-color: #fff;
|
|
1618
|
-
}
|
|
1619
|
-
}
|
|
1620
|
-
.group-type {
|
|
1621
|
-
border: 1px solid #d5d5d5;
|
|
1622
|
-
padding: 0 16px;
|
|
1623
|
-
border-radius: 4px;
|
|
1624
|
-
margin-bottom: 8px;
|
|
1625
|
-
.header {
|
|
1626
|
-
width: 100%;
|
|
1627
|
-
display: inline-flex;
|
|
1628
|
-
justify-content: space-between;
|
|
1629
|
-
align-items: center;
|
|
1630
|
-
// padding: 0 14px;
|
|
1631
|
-
line-height: 44px;
|
|
1632
|
-
border-bottom: 1px solid #d5d5d5;
|
|
1633
|
-
padding-left: 4px;
|
|
1634
|
-
.all-data {
|
|
1635
|
-
margin-right: auto;
|
|
1636
|
-
color: rgba(0, 0, 0, 0.6);
|
|
1637
|
-
border-bottom: 1px solid transparent;
|
|
1638
|
-
// line-height: 1.4;
|
|
1639
|
-
&:hover {
|
|
1640
|
-
color: #2d7aff;
|
|
1641
|
-
// border-color: #2d7aff;
|
|
1642
|
-
border-color: transparent;
|
|
1643
|
-
}
|
|
1644
|
-
&:active {
|
|
1645
|
-
color: #2d7aff;
|
|
1646
|
-
border-color: transparent;
|
|
1647
|
-
}
|
|
1648
|
-
}
|
|
1649
|
-
.selected {
|
|
1650
|
-
color: #2d7aff;
|
|
1651
|
-
}
|
|
1652
|
-
.right-setting {
|
|
1653
|
-
color: #000;
|
|
1654
|
-
.anticon {
|
|
1655
|
-
color: rgba(0, 0, 0, 0.6);
|
|
1656
|
-
margin-right: 6px;
|
|
1657
|
-
}
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
.group {
|
|
1661
|
-
padding: 16px 0;
|
|
1662
|
-
border-bottom: 1px solid #d5d5d5;
|
|
1663
|
-
/deep/ .ant-select {
|
|
1664
|
-
width: 130px;
|
|
1665
|
-
margin-right: 8px;
|
|
1666
|
-
margin-bottom: 8px;
|
|
1667
|
-
}
|
|
1668
|
-
}
|
|
1669
|
-
}
|
|
1670
|
-
.selected-list {
|
|
1671
|
-
padding: 11.5px 6px;
|
|
1672
|
-
display: flex;
|
|
1673
|
-
align-items: center;
|
|
1674
|
-
.selected-item {
|
|
1675
|
-
display: flex;
|
|
1676
|
-
align-items: center;
|
|
1677
|
-
color: #2d7aff;
|
|
1678
|
-
padding: 1px 6.5px 1px 8px;
|
|
1679
|
-
background-color: rgba(45, 122, 255, 0.1);
|
|
1680
|
-
border-radius: 4px;
|
|
1681
|
-
margin-left: 8px;
|
|
1682
|
-
/deep/ .anticon-close {
|
|
1683
|
-
margin-left: 13px;
|
|
1684
|
-
font-size: 12px;
|
|
1685
|
-
color: #2474ff;
|
|
1686
|
-
}
|
|
1687
|
-
}
|
|
1688
|
-
}
|
|
1689
|
-
.selected-num {
|
|
1690
|
-
font-size: 14px;
|
|
1691
|
-
color: rgba(0, 0, 0, 0.6);
|
|
1692
|
-
line-height: 20px;
|
|
1693
|
-
margin-right: 8px;
|
|
1694
|
-
}
|
|
1695
|
-
.selected-item-del {
|
|
1696
|
-
display: flex;
|
|
1697
|
-
align-items: center;
|
|
1698
|
-
font-size: 14px;
|
|
1699
|
-
color: #2474ff;
|
|
1700
|
-
margin-left: 22px;
|
|
1701
|
-
line-height: 20px;
|
|
1702
|
-
.svg-icon-btn {
|
|
1703
|
-
margin-right: 6px;
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1706
|
-
.selected-item-del:hover {
|
|
1707
|
-
color: rgba(36, 116, 255, 0.8);
|
|
1708
|
-
}
|
|
1709
|
-
.selected-list {
|
|
1710
|
-
padding: 11.5px 6px;
|
|
1711
|
-
display: flex;
|
|
1712
|
-
align-items: center;
|
|
1713
|
-
.selected-item {
|
|
1714
|
-
display: flex;
|
|
1715
|
-
align-items: center;
|
|
1716
|
-
color: #2d7aff;
|
|
1717
|
-
padding: 1px 6.5px 1px 8px;
|
|
1718
|
-
background-color: rgba(45, 122, 255, 0.1);
|
|
1719
|
-
border-radius: 4px;
|
|
1720
|
-
margin-left: 8px;
|
|
1721
|
-
/deep/ .anticon-close {
|
|
1722
|
-
margin-left: 13px;
|
|
1723
|
-
font-size: 12px;
|
|
1724
|
-
color: #2474ff;
|
|
1725
|
-
}
|
|
1726
|
-
}
|
|
1727
|
-
}
|
|
1728
|
-
.selected-num {
|
|
1729
|
-
font-size: 14px;
|
|
1730
|
-
color: rgba(0, 0, 0, 0.6);
|
|
1731
|
-
line-height: 20px;
|
|
1732
|
-
margin-right: 8px;
|
|
1733
|
-
}
|
|
1734
|
-
.selected-item-del {
|
|
1735
|
-
display: flex;
|
|
1736
|
-
align-items: center;
|
|
1737
|
-
font-size: 14px;
|
|
1738
|
-
color: #2474ff;
|
|
1739
|
-
margin-left: 22px;
|
|
1740
|
-
line-height: 20px;
|
|
1741
|
-
.svg-icon-btn {
|
|
1742
|
-
margin-right: 6px;
|
|
1743
|
-
}
|
|
1744
|
-
}
|
|
1745
|
-
.selected-item-del:hover {
|
|
1746
|
-
color: rgba(36, 116, 255, 0.8);
|
|
1747
|
-
}
|
|
1748
|
-
.disabled {
|
|
1749
|
-
pointer-events: none;
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
.classify-4-container {
|
|
1753
|
-
overflow: hidden;
|
|
1754
|
-
transition: height ease-in 0.2s;
|
|
1755
|
-
}
|
|
1756
|
-
div.classify-4 {
|
|
1757
|
-
margin-bottom: 0px;
|
|
1758
|
-
border: none;
|
|
1759
|
-
border-bottom: 1px solid #d5d5d5;
|
|
1760
|
-
.header {
|
|
1761
|
-
border-bottom: none !important;
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
}
|
|
1765
|
-
</style>
|