@cmstops/pro-compo 3.9.2 → 3.10.5-nanning.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +103 -76
- package/dist/index.css +97 -4
- package/dist/index.min.css +1 -1
- package/dist/index.min.js.map +1 -1
- package/es/appCenter/script/api.d.ts +5 -5
- package/es/baseFilter/component.js +71 -14
- package/es/baseFilter/components/FilterGroup.js +1 -1
- package/es/baseFilter/components/filterItem.js +1 -1
- package/es/colorPalette/component.js +1 -1
- package/es/contentDetailList/component.js +33 -9
- package/es/contentDetailList/components/Content/CircleItem/index.d.ts +0 -0
- package/es/contentDetailList/components/Content/CircleItem/index.js +92 -0
- package/es/contentDetailList/components/Content/CompoItem/index.js +12 -12
- package/es/contentDetailList/components/Content/ContentListItem/index.js +15 -15
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
- package/es/contentDetailList/components/Content/DocItem/index.js +27 -27
- package/es/contentDetailList/components/Content/DocMpItem/index.js +13 -13
- package/es/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
- package/es/contentDetailList/components/Content/LiveItem/index.js +9 -9
- package/es/contentDetailList/components/Content/MaccountItem/index.js +12 -12
- package/es/contentDetailList/components/Content/courseItem/index.js +10 -10
- package/es/contentDetailList/components/Content/funhdItem/index.js +10 -10
- package/es/contentDetailList/components/Content/index.js +173 -117
- package/es/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
- package/es/contentDetailList/components/CustomWrp/index.js +10 -10
- package/es/contentDetailList/components/Doc/index.js +16 -10
- package/es/contentDetailList/components/Records/MatrixItem/index.js +22 -22
- package/es/contentDetailList/components/Records/index.js +8 -8
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
- package/es/contentDetailList/components/ShowQRCode/index.js +1 -1
- package/es/contentDetailList/script/api.d.ts +2 -2
- package/es/contentModal/component.js +40 -40
- package/es/contentModal/components/CompoList/index.js +1 -1
- package/es/contentModal/components/Dejin/index.js +1 -1
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
- package/es/contentModal/components/MpContentList/index.js +1 -1
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
- package/es/contentModal/components/ViewAllColumn/index.js +7 -3
- package/es/contentModal/components/storeBox/index.js +8 -8
- package/es/contentModal/script/api.d.ts +13 -13
- package/es/dataTags/component.js +38 -38
- package/es/docHistory/component.js +44 -15
- package/es/docHistory/components/DocDiffPanel/index.js +2 -2
- package/es/docHistory/components/DocHistoryList/index.js +2 -2
- package/es/docHistory/scripts/diff.js +4 -3
- package/es/docHistory/scripts/useDocHistory.d.ts +1 -1
- package/es/docHistory/style/index.css +4 -0
- package/es/docHistory/style/index.less +5 -0
- package/es/docPreview/component.js +228 -60
- package/es/docPreview/components/PreviewIframe.js +37 -6
- package/es/docPreview/images/pc.js +2 -0
- package/es/docPreview/scripts/api.d.ts +2 -1
- package/es/docPreview/scripts/hook.d.ts +11 -1
- package/es/docPreview/scripts/hook.js +115 -4
- package/es/docPreview/style/index.css +48 -0
- package/es/docPreview/style/index.less +23 -0
- package/es/docPreview/style/previewIframe.less +31 -0
- package/es/editMetaInfo/component.js +24 -4
- package/es/editMetaInfo/components/metaInfoForm.js +358 -17
- package/es/editMetaInfo/script/api.d.ts +9 -2
- package/es/editMetaInfo/script/api.js +20 -1
- package/es/emptyData/component.js +4 -4
- package/es/emptyData/svg/acount.js +2 -2
- package/es/emptyData/svg/add.js +2 -2
- package/es/emptyData/svg/analize.js +2 -2
- package/es/emptyData/svg/analize_fail.js +2 -2
- package/es/emptyData/svg/empty.js +2 -2
- package/es/emptyData/svg/file.js +2 -2
- package/es/emptyData/svg/manager.js +2 -2
- package/es/emptyData/svg/message.js +2 -2
- package/es/emptyData/svg/noanalize.js +2 -2
- package/es/emptyData/svg/null.js +2 -2
- package/es/emptyData/svg/search.js +2 -2
- package/es/emptyData/svg/star.js +2 -2
- package/es/emptyData/svg/trash.js +2 -2
- package/es/emptyData/svg/user.js +2 -2
- package/es/hooks/assets.d.ts +1 -1
- package/es/hooks/source.d.ts +1 -1
- package/es/hooks/useAttachement.d.ts +32 -13
- package/es/hooks/useAttachement.js +42 -2
- package/es/hooks/usePopper.d.ts +1 -1
- package/es/hooks/usePopper.js +3 -3
- package/es/hooks/useUpload.d.ts +53 -5
- package/es/hooks/useUpload.js +43 -4
- package/es/hooks/user.d.ts +1 -1
- package/es/imageCrop/component.js +11 -11
- package/es/imageCrop/script/api.d.ts +1 -1
- package/es/importData/component.js +13 -13
- package/es/index.css +97 -4
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/mediaFilter/component.js +4 -4
- package/es/mediaFilter/components/DocFilter.js +1 -1
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/mediaFilter/components/FilterItem.js +1 -1
- package/es/mediaView/component.js +8 -8
- package/es/messageBox/component.js +3 -3
- package/es/messageBox/script/api.d.ts +2 -2
- package/es/previousVersion/script/api.d.ts +4 -4
- package/es/resourceGridList/component.js +16 -16
- package/es/resourceGridList/components/FileTypeThumb/index.js +6 -6
- package/es/resourceModal/component.js +7 -7
- package/es/resourceModal/components/MediaPreviewer/index.js +8 -8
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
- package/es/resourceModal/components/MediaSelection/index.js +6 -6
- package/es/resourceModal/script/api.d.ts +11 -11
- package/es/selectAddTo/component.d.ts +0 -0
- package/es/selectAddTo/component.js +47 -0
- package/es/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/selectAddTo/components/SelectAddToView.d.ts +0 -0
- package/es/selectAddTo/components/SelectAddToView.js +90 -0
- package/es/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
- package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +166 -0
- package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
- package/es/selectAddTo/components/ViewAllColumn/index.js +212 -0
- package/es/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.d.ts +6 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +102 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
- package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +182 -0
- package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +55 -0
- package/es/selectAddTo/index.d.ts +2 -0
- package/es/selectAddTo/index.js +7 -0
- package/es/selectAddTo/script/api.d.ts +18 -0
- package/es/selectAddTo/script/api.js +23 -0
- package/es/selectAddTo/script/index.d.ts +2 -0
- package/es/selectAddTo/script/useSelectAddToState.d.ts +13 -0
- package/es/selectAddTo/script/useSelectAddToState.js +55 -0
- package/es/selectAddTo/style/css.js +1 -0
- package/es/selectAddTo/style/index.css +3 -0
- package/es/selectAddTo/style/index.d.ts +1 -0
- package/es/selectAddTo/style/index.js +1 -0
- package/es/selectAddTo/style/index.less +3 -0
- package/es/selectAddTo/types/index.d.ts +37 -0
- package/es/selectGategory/component.js +5 -5
- package/es/selectGategory/components/ColumnSelection/index.js +6 -6
- package/es/selectGategory/script/api.d.ts +2 -2
- package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +261 -0
- package/es/selectResourceModal/__demo__/module/basic.d.ts +292 -0
- package/es/selectResourceModal/component.js +26 -34
- package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -6
- package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/es/selectResourceModal/components/List/ListLocal/index.js +8 -3
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +210 -83
- package/es/selectResourceModal/components/List/ListNormal/index.js +23 -7
- package/es/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
- package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
- package/es/selectResourceModal/components/List/ListSystem/index.js +2 -2
- package/es/selectResourceModal/components/List/ListWraper.js +2 -2
- package/es/selectResourceModal/components/ListSelected/index.js +6 -6
- package/es/selectResourceModal/components/ListTabs/index.js +1 -1
- package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
- package/es/selectResourceModal/hooks/useResponsiveFilter.js +142 -0
- package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -2
- package/es/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/es/selectResourceModal/scripts/useTabFilter.js +1 -11
- package/es/selectResourceModal/style/index.css +45 -4
- package/es/selectResourceModal/style/index.less +14 -0
- package/es/selectResourceModal/style/list.less +40 -4
- package/es/selectThumb/component.js +76 -33
- package/es/selectThumb/components/card.js +3 -3
- package/es/style.css +63 -0
- package/es/thumbCard/component.js +7 -7
- package/es/thumbCard/components/ThumbUploading/index.js +3 -3
- package/es/typeIcons/component.js +1 -1
- package/es/uploadBefore/component.js +1 -1
- package/es/uploadBefore/components/UploadBefore.js +9 -9
- package/es/uploadBefore/script/api.d.ts +4 -4
- package/es/uploadStep/component.js +3 -3
- package/es/userAvater/component.js +3 -3
- package/es/userAvater/script/api.d.ts +4 -4
- package/es/userDirector/component.js +5 -5
- package/es/userDirector/components/userTree.js +2 -2
- package/es/userDirector/script/api.d.ts +6 -6
- package/es/utils/index.js +6 -6
- package/es/utils/request.d.ts +1 -1
- package/es/utils/transcodeMedia.d.ts +1 -1
- package/es/videoThumb/scripts/api.d.ts +1 -1
- package/lib/baseFilter/component.js +69 -12
- package/lib/baseFilter/components/FilterGroup.js +1 -1
- package/lib/baseFilter/components/filterItem.js +1 -1
- package/lib/colorPalette/component.js +1 -1
- package/lib/contentDetailList/component.js +33 -9
- package/lib/contentDetailList/components/Content/CircleItem/index.js +93 -0
- package/lib/contentDetailList/components/Content/CompoItem/index.js +12 -12
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +15 -15
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +18 -18
- package/lib/contentDetailList/components/Content/DocItem/index.js +27 -27
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +13 -13
- package/lib/contentDetailList/components/Content/GroupPieceItem/index.js +11 -11
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +14 -14
- package/lib/contentDetailList/components/Content/LiveItem/index.js +9 -9
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +12 -12
- package/lib/contentDetailList/components/Content/courseItem/index.js +10 -10
- package/lib/contentDetailList/components/Content/funhdItem/index.js +10 -10
- package/lib/contentDetailList/components/Content/index.js +173 -117
- package/lib/contentDetailList/components/CustomWrp/CustomItem.js +5 -5
- package/lib/contentDetailList/components/CustomWrp/index.js +10 -10
- package/lib/contentDetailList/components/Doc/index.js +16 -10
- package/lib/contentDetailList/components/Records/MatrixItem/index.js +22 -22
- package/lib/contentDetailList/components/Records/index.js +8 -8
- package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +6 -6
- package/lib/contentDetailList/components/ShowQRCode/index.js +1 -1
- package/lib/contentModal/component.js +40 -40
- package/lib/contentModal/components/CompoList/index.js +1 -1
- package/lib/contentModal/components/Dejin/index.js +1 -1
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +2 -2
- package/lib/contentModal/components/MpContentList/index.js +1 -1
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +3 -3
- package/lib/contentModal/components/ViewAllColumn/index.js +7 -3
- package/lib/contentModal/components/storeBox/index.js +8 -8
- package/lib/dataTags/component.js +38 -38
- package/lib/docHistory/component.js +42 -13
- package/lib/docHistory/components/DocDiffPanel/index.js +2 -2
- package/lib/docHistory/components/DocHistoryList/index.js +2 -2
- package/lib/docHistory/scripts/diff.js +4 -3
- package/lib/docHistory/style/index.css +4 -0
- package/lib/docHistory/style/index.less +5 -0
- package/lib/docPreview/component.js +227 -59
- package/lib/docPreview/components/PreviewIframe.js +37 -6
- package/lib/docPreview/images/pc.js +3 -0
- package/lib/docPreview/scripts/hook.js +115 -3
- package/lib/docPreview/style/index.css +48 -0
- package/lib/docPreview/style/index.less +23 -0
- package/lib/docPreview/style/previewIframe.less +31 -0
- package/lib/editMetaInfo/component.js +23 -3
- package/lib/editMetaInfo/components/metaInfoForm.js +356 -15
- package/lib/editMetaInfo/script/api.js +21 -0
- package/lib/emptyData/component.js +4 -4
- package/lib/emptyData/svg/acount.js +2 -2
- package/lib/emptyData/svg/add.js +2 -2
- package/lib/emptyData/svg/analize.js +2 -2
- package/lib/emptyData/svg/analize_fail.js +2 -2
- package/lib/emptyData/svg/empty.js +2 -2
- package/lib/emptyData/svg/file.js +2 -2
- package/lib/emptyData/svg/manager.js +2 -2
- package/lib/emptyData/svg/message.js +2 -2
- package/lib/emptyData/svg/noanalize.js +2 -2
- package/lib/emptyData/svg/null.js +2 -2
- package/lib/emptyData/svg/search.js +2 -2
- package/lib/emptyData/svg/star.js +2 -2
- package/lib/emptyData/svg/trash.js +2 -2
- package/lib/emptyData/svg/user.js +2 -2
- package/lib/hooks/useAttachement.js +42 -0
- package/lib/hooks/usePopper.js +3 -3
- package/lib/hooks/useUpload.js +43 -3
- package/lib/imageCrop/component.js +11 -11
- package/lib/importData/component.js +13 -13
- package/lib/index.css +97 -4
- package/lib/index.js +2 -0
- package/lib/mediaFilter/component.js +4 -4
- package/lib/mediaFilter/components/DocFilter.js +1 -1
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/mediaFilter/components/FilterItem.js +1 -1
- package/lib/mediaView/component.js +8 -8
- package/lib/messageBox/component.js +3 -3
- package/lib/resourceGridList/component.js +16 -16
- package/lib/resourceGridList/components/FileTypeThumb/index.js +6 -6
- package/lib/resourceModal/component.js +7 -7
- package/lib/resourceModal/components/MediaPreviewer/index.js +8 -8
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +5 -5
- package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +6 -6
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +18 -18
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +3 -3
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -3
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +2 -2
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +4 -4
- package/lib/resourceModal/components/MediaSelection/index.js +6 -6
- package/lib/selectAddTo/component.js +48 -0
- package/lib/selectAddTo/component.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/SelectAddToView.js +91 -0
- package/lib/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +167 -0
- package/lib/selectAddTo/components/ViewAllColumn/index.js +213 -0
- package/lib/selectAddTo/components/ViewAllColumn/index.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
- package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +108 -0
- package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +184 -0
- package/lib/selectAddTo/index.js +8 -0
- package/lib/selectAddTo/script/api.js +27 -0
- package/lib/selectAddTo/script/useSelectAddToState.js +57 -0
- package/lib/selectAddTo/style/css.js +2 -0
- package/lib/selectAddTo/style/index.css +3 -0
- package/lib/selectAddTo/style/index.js +2 -0
- package/lib/selectAddTo/style/index.less +3 -0
- package/lib/selectGategory/component.js +5 -5
- package/lib/selectGategory/components/ColumnSelection/index.js +6 -6
- package/lib/selectResourceModal/component.js +25 -33
- package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -6
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/lib/selectResourceModal/components/List/ListLocal/index.js +6 -1
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +207 -80
- package/lib/selectResourceModal/components/List/ListNormal/index.js +22 -6
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +3 -3
- package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -3
- package/lib/selectResourceModal/components/List/ListSystem/index.js +2 -2
- package/lib/selectResourceModal/components/List/ListWraper.js +2 -2
- package/lib/selectResourceModal/components/ListSelected/index.js +6 -6
- package/lib/selectResourceModal/components/ListTabs/index.js +1 -1
- package/lib/selectResourceModal/hooks/useResponsiveFilter.js +144 -0
- package/lib/selectResourceModal/scripts/useCompoLf.js +1 -1
- package/lib/selectResourceModal/scripts/useTabFilter.js +1 -13
- package/lib/selectResourceModal/style/index.css +45 -4
- package/lib/selectResourceModal/style/index.less +14 -0
- package/lib/selectResourceModal/style/list.less +40 -4
- package/lib/selectThumb/component.js +75 -32
- package/lib/selectThumb/components/card.js +3 -3
- package/lib/thumbCard/component.js +7 -7
- package/lib/thumbCard/components/ThumbUploading/index.js +3 -3
- package/lib/typeIcons/component.js +1 -1
- package/lib/uploadBefore/component.js +1 -1
- package/lib/uploadBefore/components/UploadBefore.js +9 -9
- package/lib/uploadStep/component.js +3 -3
- package/lib/userAvater/component.js +3 -3
- package/lib/userDirector/component.js +5 -5
- package/lib/userDirector/components/userTree.js +2 -2
- package/lib/utils/index.js +6 -6
- package/package.json +1 -1
|
@@ -45,7 +45,7 @@ const _sfc_main = defineComponent({
|
|
|
45
45
|
});
|
|
46
46
|
const hide = computed(() => {
|
|
47
47
|
const { hide: hide2 } = props.item;
|
|
48
|
-
return hide2
|
|
48
|
+
return hide2 > 0;
|
|
49
49
|
});
|
|
50
50
|
const silent = computed(() => {
|
|
51
51
|
return props.item && props.item.mourn_style === 1;
|
|
@@ -85,8 +85,8 @@ const _sfc_main = defineComponent({
|
|
|
85
85
|
return (_ctx, _cache) => {
|
|
86
86
|
return openBlock(), createElementBlock("div", {
|
|
87
87
|
class: normalizeClass(["medialist-doc-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
|
|
88
|
-
onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event,
|
|
89
|
-
onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event,
|
|
88
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, __props.item)),
|
|
89
|
+
onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, __props.item))
|
|
90
90
|
}, [
|
|
91
91
|
createElementVNode("div", _hoisted_1, [
|
|
92
92
|
createCommentVNode(" \u5C01\u9762 "),
|
|
@@ -98,7 +98,7 @@ const _sfc_main = defineComponent({
|
|
|
98
98
|
fit: "cover"
|
|
99
99
|
}, null, 8, ["src"])) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(noImgText.value), 1)),
|
|
100
100
|
createElementVNode("div", _hoisted_3, [
|
|
101
|
-
renderSlot(_ctx.$slots, "batch", { row:
|
|
101
|
+
renderSlot(_ctx.$slots, "batch", { row: __props.item })
|
|
102
102
|
])
|
|
103
103
|
]),
|
|
104
104
|
createCommentVNode(" \u4FE1\u606F "),
|
|
@@ -139,7 +139,7 @@ const _sfc_main = defineComponent({
|
|
|
139
139
|
]),
|
|
140
140
|
createElementVNode("div", _hoisted_9, [
|
|
141
141
|
createCommentVNode(" \u540E\u7F00 "),
|
|
142
|
-
renderSlot(_ctx.$slots, "option", { row:
|
|
142
|
+
renderSlot(_ctx.$slots, "option", { row: __props.item })
|
|
143
143
|
])
|
|
144
144
|
])
|
|
145
145
|
])
|
|
@@ -26,8 +26,8 @@ const _sfc_main = defineComponent({
|
|
|
26
26
|
};
|
|
27
27
|
return (_ctx, _cache) => {
|
|
28
28
|
return openBlock(), createBlock(_sfc_main$1, {
|
|
29
|
-
item:
|
|
30
|
-
abttrites:
|
|
29
|
+
item: __props.item,
|
|
30
|
+
abttrites: __props.abttrites,
|
|
31
31
|
"thumb-key": customMeta.value.thumbKey,
|
|
32
32
|
"show-attrs": customMeta.value.showAttrs,
|
|
33
33
|
onCellMouseEnter: cellMouseEnter,
|
|
@@ -36,26 +36,26 @@ const _sfc_main = defineComponent({
|
|
|
36
36
|
}, {
|
|
37
37
|
index: withCtx(() => [
|
|
38
38
|
renderSlot(_ctx.$slots, "index", {
|
|
39
|
-
row:
|
|
40
|
-
index:
|
|
39
|
+
row: __props.item,
|
|
40
|
+
index: __props.index
|
|
41
41
|
})
|
|
42
42
|
]),
|
|
43
43
|
tip: withCtx(() => [
|
|
44
44
|
renderSlot(_ctx.$slots, "tip", {
|
|
45
|
-
row:
|
|
46
|
-
index:
|
|
45
|
+
row: __props.item,
|
|
46
|
+
index: __props.index
|
|
47
47
|
})
|
|
48
48
|
]),
|
|
49
49
|
batch: withCtx(() => [
|
|
50
50
|
renderSlot(_ctx.$slots, "batch", {
|
|
51
|
-
row:
|
|
52
|
-
index:
|
|
51
|
+
row: __props.item,
|
|
52
|
+
index: __props.index
|
|
53
53
|
})
|
|
54
54
|
]),
|
|
55
55
|
option: withCtx(() => [
|
|
56
56
|
renderSlot(_ctx.$slots, "option", {
|
|
57
|
-
row:
|
|
58
|
-
index:
|
|
57
|
+
row: __props.item,
|
|
58
|
+
index: __props.index
|
|
59
59
|
})
|
|
60
60
|
]),
|
|
61
61
|
_: 3
|
|
@@ -23,30 +23,36 @@ const _sfc_main = defineComponent({
|
|
|
23
23
|
};
|
|
24
24
|
return (_ctx, _cache) => {
|
|
25
25
|
return openBlock(), createBlock(_sfc_main$1, {
|
|
26
|
-
item:
|
|
27
|
-
abttrites:
|
|
28
|
-
extraAttrs:
|
|
29
|
-
BASE_API:
|
|
26
|
+
item: __props.item,
|
|
27
|
+
abttrites: __props.abttrites,
|
|
28
|
+
extraAttrs: __props.extraAttrs,
|
|
29
|
+
BASE_API: __props.BASE_API,
|
|
30
30
|
onClickTitle: clickTitle,
|
|
31
31
|
onCellMouseEnter: cellMouseEnter,
|
|
32
32
|
onCellMouseLeave: cellMouseLeave
|
|
33
33
|
}, {
|
|
34
34
|
tip: withCtx(() => [
|
|
35
35
|
renderSlot(_ctx.$slots, "tip", {
|
|
36
|
-
row:
|
|
37
|
-
index:
|
|
36
|
+
row: __props.item,
|
|
37
|
+
index: __props.index
|
|
38
|
+
})
|
|
39
|
+
]),
|
|
40
|
+
"after-index": withCtx(() => [
|
|
41
|
+
renderSlot(_ctx.$slots, "after-index", {
|
|
42
|
+
row: _ctx.element,
|
|
43
|
+
index: __props.index
|
|
38
44
|
})
|
|
39
45
|
]),
|
|
40
46
|
batch: withCtx(() => [
|
|
41
47
|
renderSlot(_ctx.$slots, "batch", {
|
|
42
|
-
row:
|
|
43
|
-
index:
|
|
48
|
+
row: __props.item,
|
|
49
|
+
index: __props.index
|
|
44
50
|
})
|
|
45
51
|
]),
|
|
46
52
|
option: withCtx(() => [
|
|
47
53
|
renderSlot(_ctx.$slots, "option", {
|
|
48
|
-
row:
|
|
49
|
-
index:
|
|
54
|
+
row: __props.item,
|
|
55
|
+
index: __props.index
|
|
50
56
|
})
|
|
51
57
|
]),
|
|
52
58
|
_: 3
|
|
@@ -87,8 +87,8 @@ const _sfc_main = defineComponent({
|
|
|
87
87
|
var _a;
|
|
88
88
|
return openBlock(), createElementBlock("div", {
|
|
89
89
|
class: "matrix-records-item-view",
|
|
90
|
-
onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event,
|
|
91
|
-
onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event,
|
|
90
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, __props.item)),
|
|
91
|
+
onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, __props.item))
|
|
92
92
|
}, [
|
|
93
93
|
createElementVNode("div", _hoisted_1, [
|
|
94
94
|
cover.value ? (openBlock(), createBlock(unref(Image), {
|
|
@@ -97,9 +97,9 @@ const _sfc_main = defineComponent({
|
|
|
97
97
|
preview: false,
|
|
98
98
|
fit: "cover",
|
|
99
99
|
class: "image"
|
|
100
|
-
}, null, 8, ["src"])) :
|
|
100
|
+
}, null, 8, ["src"])) : __props.item.platformId === 20 ? (openBlock(), createElementBlock("span", _hoisted_2, " \u5FAE\u4FE1\u7EC4\u7A3F ")) : (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(unref(noCoverText)(__props.item)), 1)),
|
|
101
101
|
createElementVNode("div", _hoisted_4, [
|
|
102
|
-
renderSlot(_ctx.$slots, "batch", { row:
|
|
102
|
+
renderSlot(_ctx.$slots, "batch", { row: __props.item })
|
|
103
103
|
])
|
|
104
104
|
]),
|
|
105
105
|
createElementVNode("div", _hoisted_5, [
|
|
@@ -108,22 +108,22 @@ const _sfc_main = defineComponent({
|
|
|
108
108
|
onClick: clickTitle
|
|
109
109
|
}, [
|
|
110
110
|
renderSlot(_ctx.$slots, "index"),
|
|
111
|
-
createElementVNode("span", _hoisted_6, toDisplayString(
|
|
111
|
+
createElementVNode("span", _hoisted_6, toDisplayString(__props.item.alias || __props.item.title || `\u5206\u53D1\u8BB0\u5F55${new Date().getTime()}`), 1)
|
|
112
112
|
]),
|
|
113
113
|
createElementVNode("div", _hoisted_7, [
|
|
114
114
|
createElementVNode("div", _hoisted_8, [
|
|
115
115
|
createVNode(_sfc_main$1, {
|
|
116
116
|
class: "icon",
|
|
117
117
|
doc: true,
|
|
118
|
-
type: docTypeMap[
|
|
118
|
+
type: docTypeMap[__props.item.contentType]
|
|
119
119
|
}, null, 8, ["type"]),
|
|
120
120
|
renderSlot(_ctx.$slots, "tip"),
|
|
121
121
|
createElementVNode("span", _hoisted_9, [
|
|
122
|
-
|
|
122
|
+
__props.item.account ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
123
123
|
createElementVNode("div", _hoisted_10, [
|
|
124
124
|
createVNode(unref(Image), {
|
|
125
125
|
class: "avatar",
|
|
126
|
-
src: setAvatar(
|
|
126
|
+
src: setAvatar(__props.item.account),
|
|
127
127
|
preview: false,
|
|
128
128
|
fit: "cover"
|
|
129
129
|
}, null, 8, ["src"]),
|
|
@@ -134,50 +134,50 @@ const _sfc_main = defineComponent({
|
|
|
134
134
|
fit: "cover"
|
|
135
135
|
}, null, 8, ["src"])
|
|
136
136
|
]),
|
|
137
|
-
createElementVNode("span", _hoisted_11, toDisplayString(
|
|
137
|
+
createElementVNode("span", _hoisted_11, toDisplayString(__props.item.account.name || `\u7528\u6237${new Date().getTime()}`), 1)
|
|
138
138
|
], 64)) : (openBlock(), createElementBlock("span", _hoisted_12, "--"))
|
|
139
139
|
]),
|
|
140
140
|
createElementVNode("span", {
|
|
141
|
-
class: normalizeClass(["abttr state", [`p-state-${
|
|
141
|
+
class: normalizeClass(["abttr state", [`p-state-${__props.item.publishState}`]])
|
|
142
142
|
}, [
|
|
143
|
-
[3, 4].includes(
|
|
143
|
+
[3, 4].includes(__props.item.publishState) ? (openBlock(), createBlock(unref(Tooltip), {
|
|
144
144
|
key: 0,
|
|
145
|
-
content: `\u5931\u8D25\u539F\u56E0: ${
|
|
145
|
+
content: `\u5931\u8D25\u539F\u56E0: ${__props.item.errorMsg}`,
|
|
146
146
|
position: "top"
|
|
147
147
|
}, {
|
|
148
148
|
default: withCtx(() => [
|
|
149
|
-
createElementVNode("span", null, toDisplayString(unref(matrixPublishStateMap)[
|
|
149
|
+
createElementVNode("span", null, toDisplayString(unref(matrixPublishStateMap)[__props.item.publishState]), 1)
|
|
150
150
|
]),
|
|
151
151
|
_: 1
|
|
152
|
-
}, 8, ["content"])) : (openBlock(), createElementBlock("span", _hoisted_13, toDisplayString(unref(matrixPublishStateMap)[
|
|
152
|
+
}, 8, ["content"])) : (openBlock(), createElementBlock("span", _hoisted_13, toDisplayString(unref(matrixPublishStateMap)[__props.item.publishState]), 1))
|
|
153
153
|
], 2),
|
|
154
|
-
createElementVNode("span", _hoisted_14, toDisplayString(((_a =
|
|
154
|
+
createElementVNode("span", _hoisted_14, toDisplayString(((_a = __props.item.user) == null ? void 0 : _a.alias) || "--"), 1),
|
|
155
155
|
createElementVNode("span", _hoisted_15, [
|
|
156
156
|
createVNode(unref(Tooltip), {
|
|
157
|
-
content: `\u53D1\u5E03\u65F6\u95F4: ${unref(timeFormat)(
|
|
157
|
+
content: `\u53D1\u5E03\u65F6\u95F4: ${unref(timeFormat)(__props.item.distributeTime)}`,
|
|
158
158
|
position: "top"
|
|
159
159
|
}, {
|
|
160
160
|
default: withCtx(() => [
|
|
161
161
|
createElementVNode("span", null, [
|
|
162
162
|
createVNode(unref(IconSubscribed)),
|
|
163
|
-
createTextVNode(" " + toDisplayString(unref(timeFormat)(
|
|
163
|
+
createTextVNode(" " + toDisplayString(unref(timeFormat)(__props.item.distributeTime)), 1)
|
|
164
164
|
])
|
|
165
165
|
]),
|
|
166
166
|
_: 1
|
|
167
167
|
}, 8, ["content"])
|
|
168
168
|
]),
|
|
169
169
|
createElementVNode("span", {
|
|
170
|
-
class: normalizeClass(["abttr tags state", [`m-state-${
|
|
171
|
-
}, toDisplayString(unref(matrixPublishFormalStateMap)[
|
|
170
|
+
class: normalizeClass(["abttr tags state", [`m-state-${__props.item.platformState}`]])
|
|
171
|
+
}, toDisplayString(unref(matrixPublishFormalStateMap)[__props.item.platformState]), 3),
|
|
172
172
|
createElementVNode("span", _hoisted_16, [
|
|
173
173
|
createVNode(unref(Tooltip), {
|
|
174
|
-
content: `\u5206\u53D1\u65F6\u95F4: ${
|
|
174
|
+
content: `\u5206\u53D1\u65F6\u95F4: ${__props.item.publishTime ? unref(timeFormat)(__props.item.publishTime) : "--"}`,
|
|
175
175
|
position: "top"
|
|
176
176
|
}, {
|
|
177
177
|
default: withCtx(() => [
|
|
178
178
|
createElementVNode("span", null, [
|
|
179
179
|
createVNode(unref(IconSend)),
|
|
180
|
-
createTextVNode(" " + toDisplayString(
|
|
180
|
+
createTextVNode(" " + toDisplayString(__props.item.publishTime ? unref(timeFormat)(__props.item.publishTime) : "--"), 1)
|
|
181
181
|
])
|
|
182
182
|
]),
|
|
183
183
|
_: 1
|
|
@@ -185,7 +185,7 @@ const _sfc_main = defineComponent({
|
|
|
185
185
|
])
|
|
186
186
|
]),
|
|
187
187
|
createElementVNode("div", _hoisted_17, [
|
|
188
|
-
renderSlot(_ctx.$slots, "option", { row:
|
|
188
|
+
renderSlot(_ctx.$slots, "option", { row: __props.item })
|
|
189
189
|
])
|
|
190
190
|
])
|
|
191
191
|
])
|
|
@@ -30,24 +30,24 @@ const _sfc_main = defineComponent({
|
|
|
30
30
|
return (_ctx, _cache) => {
|
|
31
31
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
32
32
|
createCommentVNode(" \u81EA\u5A92\u4F53\u53D1\u5E03\u8BB0\u5F55 "),
|
|
33
|
-
|
|
34
|
-
key: `matrix-${
|
|
35
|
-
item: { ...
|
|
36
|
-
extraAttrs:
|
|
33
|
+
__props.item.catalog === "matrix" ? (openBlock(), createBlock(_sfc_main$1, {
|
|
34
|
+
key: `matrix-${__props.item.id}`,
|
|
35
|
+
item: { ...__props.item, index: __props.index },
|
|
36
|
+
extraAttrs: __props.extraAttrs,
|
|
37
37
|
onClickTitle: clickTitle,
|
|
38
38
|
onCellMouseEnter: cellMouseEnter,
|
|
39
39
|
onCellMouseLeave: cellMouseLeave
|
|
40
40
|
}, {
|
|
41
41
|
batch: withCtx(() => [
|
|
42
42
|
renderSlot(_ctx.$slots, "batch", {
|
|
43
|
-
row:
|
|
44
|
-
index:
|
|
43
|
+
row: __props.item,
|
|
44
|
+
index: __props.index
|
|
45
45
|
})
|
|
46
46
|
]),
|
|
47
47
|
option: withCtx(() => [
|
|
48
48
|
renderSlot(_ctx.$slots, "option", {
|
|
49
|
-
row:
|
|
50
|
-
index:
|
|
49
|
+
row: __props.item,
|
|
50
|
+
index: __props.index
|
|
51
51
|
})
|
|
52
52
|
]),
|
|
53
53
|
_: 3
|
|
@@ -245,9 +245,9 @@ const _sfc_main = defineComponent({
|
|
|
245
245
|
light: "",
|
|
246
246
|
onClick: _cache[1] || (_cache[1] = ($event) => genTimeLink(expiration.value))
|
|
247
247
|
}, {
|
|
248
|
-
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
249
|
-
createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
|
|
250
|
-
])),
|
|
248
|
+
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
249
|
+
createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1)
|
|
250
|
+
])]),
|
|
251
251
|
_: 1
|
|
252
252
|
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
253
253
|
createVNode(unref(Button), {
|
|
@@ -255,9 +255,9 @@ const _sfc_main = defineComponent({
|
|
|
255
255
|
light: "",
|
|
256
256
|
onClick: _cache[2] || (_cache[2] = ($event) => clipUrl("img"))
|
|
257
257
|
}, {
|
|
258
|
-
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
259
|
-
createTextVNode(" \u590D\u5236\u4E8C\u7EF4\u7801 ")
|
|
260
|
-
])),
|
|
258
|
+
default: withCtx(() => [..._cache[6] || (_cache[6] = [
|
|
259
|
+
createTextVNode(" \u590D\u5236\u4E8C\u7EF4\u7801 ", -1)
|
|
260
|
+
])]),
|
|
261
261
|
_: 1
|
|
262
262
|
}),
|
|
263
263
|
createVNode(unref(Button), {
|
|
@@ -53,7 +53,7 @@ const _sfc_main = defineComponent({
|
|
|
53
53
|
default: withCtx(() => [
|
|
54
54
|
showQR.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
55
55
|
key: 0,
|
|
56
|
-
BASE_API:
|
|
56
|
+
BASE_API: __props.BASE_API,
|
|
57
57
|
docData: docData.value || props.item,
|
|
58
58
|
onChangeLoading: handleChangeLoading,
|
|
59
59
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface Params {
|
|
2
2
|
[key: string]: any;
|
|
3
3
|
}
|
|
4
|
-
export declare function generateDocPreviewLink(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
export declare function getDocDetailsNew(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4
|
+
export declare function generateDocPreviewLink(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
+
export declare function getDocDetailsNew(BASE_API: string, query?: Params): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
6
6
|
export {};
|
|
@@ -139,7 +139,7 @@ const _sfc_main = defineComponent({
|
|
|
139
139
|
key: 0,
|
|
140
140
|
banner: typeDataController.value.docBanner,
|
|
141
141
|
"default-selected-data": selectedData.value,
|
|
142
|
-
"max-select":
|
|
142
|
+
"max-select": __props.maxSelect,
|
|
143
143
|
series: typeDataController.value.docSeries,
|
|
144
144
|
"type-data": typeDataController.value,
|
|
145
145
|
"user-info": unref(userInfo),
|
|
@@ -157,9 +157,9 @@ const _sfc_main = defineComponent({
|
|
|
157
157
|
type: "primary",
|
|
158
158
|
onClick: comfirm
|
|
159
159
|
}, {
|
|
160
|
-
default: withCtx(() => _cache[8] || (_cache[8] = [
|
|
161
|
-
createTextVNode("\u6DFB\u52A0 ")
|
|
162
|
-
])),
|
|
160
|
+
default: withCtx(() => [..._cache[8] || (_cache[8] = [
|
|
161
|
+
createTextVNode("\u6DFB\u52A0 ", -1)
|
|
162
|
+
])]),
|
|
163
163
|
_: 1
|
|
164
164
|
}, 8, ["disabled"])
|
|
165
165
|
]),
|
|
@@ -177,8 +177,8 @@ const _sfc_main = defineComponent({
|
|
|
177
177
|
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$3, {
|
|
178
178
|
key: 0,
|
|
179
179
|
"default-selected-data": selectedData.value,
|
|
180
|
-
"max-select":
|
|
181
|
-
"outside-select-data":
|
|
180
|
+
"max-select": __props.maxSelect,
|
|
181
|
+
"outside-select-data": __props.outsideSelectData || [],
|
|
182
182
|
type: typeDataController.value.contentListType,
|
|
183
183
|
"type-data": typeDataController.value,
|
|
184
184
|
"user-info": unref(userInfo),
|
|
@@ -196,9 +196,9 @@ const _sfc_main = defineComponent({
|
|
|
196
196
|
type: "primary",
|
|
197
197
|
onClick: comfirm
|
|
198
198
|
}, {
|
|
199
|
-
default: withCtx(() => _cache[9] || (_cache[9] = [
|
|
200
|
-
createTextVNode(" \u6DFB\u52A0 ")
|
|
201
|
-
])),
|
|
199
|
+
default: withCtx(() => [..._cache[9] || (_cache[9] = [
|
|
200
|
+
createTextVNode(" \u6DFB\u52A0 ", -1)
|
|
201
|
+
])]),
|
|
202
202
|
_: 1
|
|
203
203
|
}, 8, ["disabled"])
|
|
204
204
|
]),
|
|
@@ -216,10 +216,10 @@ const _sfc_main = defineComponent({
|
|
|
216
216
|
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$4, {
|
|
217
217
|
key: 0,
|
|
218
218
|
type: typeDataController.value.compoType,
|
|
219
|
-
"compo-filter":
|
|
219
|
+
"compo-filter": __props.compoFilter,
|
|
220
220
|
"default-selected-data": selectedData.value,
|
|
221
|
-
"max-select":
|
|
222
|
-
"outside-select-data":
|
|
221
|
+
"max-select": __props.maxSelect,
|
|
222
|
+
"outside-select-data": __props.outsideSelectData || [],
|
|
223
223
|
"type-data": typeDataController.value,
|
|
224
224
|
"user-info": unref(userInfo),
|
|
225
225
|
onChange: selectedDataChangeHandle
|
|
@@ -236,9 +236,9 @@ const _sfc_main = defineComponent({
|
|
|
236
236
|
type: "primary",
|
|
237
237
|
onClick: comfirm
|
|
238
238
|
}, {
|
|
239
|
-
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
240
|
-
createTextVNode(" \u6DFB\u52A0 ")
|
|
241
|
-
])),
|
|
239
|
+
default: withCtx(() => [..._cache[10] || (_cache[10] = [
|
|
240
|
+
createTextVNode(" \u6DFB\u52A0 ", -1)
|
|
241
|
+
])]),
|
|
242
242
|
_: 1
|
|
243
243
|
}, 8, ["disabled"])
|
|
244
244
|
]),
|
|
@@ -257,8 +257,8 @@ const _sfc_main = defineComponent({
|
|
|
257
257
|
key: 0,
|
|
258
258
|
columns: typeDataController.value.iliveType,
|
|
259
259
|
"default-selected-data": selectedData.value,
|
|
260
|
-
"max-select":
|
|
261
|
-
"outside-select-data":
|
|
260
|
+
"max-select": __props.maxSelect,
|
|
261
|
+
"outside-select-data": __props.outsideSelectData || [],
|
|
262
262
|
"type-data": typeDataController.value,
|
|
263
263
|
"user-info": unref(userInfo),
|
|
264
264
|
onChange: selectedDataChangeHandle
|
|
@@ -275,9 +275,9 @@ const _sfc_main = defineComponent({
|
|
|
275
275
|
type: "primary",
|
|
276
276
|
onClick: comfirm
|
|
277
277
|
}, {
|
|
278
|
-
default: withCtx(() => _cache[11] || (_cache[11] = [
|
|
279
|
-
createTextVNode(" \u6DFB\u52A0 ")
|
|
280
|
-
])),
|
|
278
|
+
default: withCtx(() => [..._cache[11] || (_cache[11] = [
|
|
279
|
+
createTextVNode(" \u6DFB\u52A0 ", -1)
|
|
280
|
+
])]),
|
|
281
281
|
_: 1
|
|
282
282
|
}, 8, ["disabled"])
|
|
283
283
|
]),
|
|
@@ -296,8 +296,8 @@ const _sfc_main = defineComponent({
|
|
|
296
296
|
key: 0,
|
|
297
297
|
columns: typeDataController.value.MpAccountType,
|
|
298
298
|
"default-selected-data": selectedData.value,
|
|
299
|
-
"max-select":
|
|
300
|
-
"outside-select-data":
|
|
299
|
+
"max-select": __props.maxSelect,
|
|
300
|
+
"outside-select-data": __props.outsideSelectData || [],
|
|
301
301
|
"type-data": typeDataController.value,
|
|
302
302
|
"user-info": unref(userInfo),
|
|
303
303
|
onChange: selectedDataChangeHandle
|
|
@@ -314,9 +314,9 @@ const _sfc_main = defineComponent({
|
|
|
314
314
|
type: "primary",
|
|
315
315
|
onClick: comfirm
|
|
316
316
|
}, {
|
|
317
|
-
default: withCtx(() => _cache[12] || (_cache[12] = [
|
|
318
|
-
createTextVNode(" \u6DFB\u52A0 ")
|
|
319
|
-
])),
|
|
317
|
+
default: withCtx(() => [..._cache[12] || (_cache[12] = [
|
|
318
|
+
createTextVNode(" \u6DFB\u52A0 ", -1)
|
|
319
|
+
])]),
|
|
320
320
|
_: 1
|
|
321
321
|
}, 8, ["disabled"])
|
|
322
322
|
]),
|
|
@@ -335,8 +335,8 @@ const _sfc_main = defineComponent({
|
|
|
335
335
|
key: 0,
|
|
336
336
|
columns: typeDataController.value.MpAccountType,
|
|
337
337
|
"default-selected-data": selectedData.value,
|
|
338
|
-
"max-select":
|
|
339
|
-
"outside-select-data":
|
|
338
|
+
"max-select": __props.maxSelect,
|
|
339
|
+
"outside-select-data": __props.outsideSelectData || [],
|
|
340
340
|
"type-data": typeDataController.value,
|
|
341
341
|
"user-info": unref(userInfo),
|
|
342
342
|
onChange: selectedDataChangeHandle
|
|
@@ -353,9 +353,9 @@ const _sfc_main = defineComponent({
|
|
|
353
353
|
type: "primary",
|
|
354
354
|
onClick: comfirm
|
|
355
355
|
}, {
|
|
356
|
-
default: withCtx(() => _cache[13] || (_cache[13] = [
|
|
357
|
-
createTextVNode(" \u6DFB\u52A0 ")
|
|
358
|
-
])),
|
|
356
|
+
default: withCtx(() => [..._cache[13] || (_cache[13] = [
|
|
357
|
+
createTextVNode(" \u6DFB\u52A0 ", -1)
|
|
358
|
+
])]),
|
|
359
359
|
_: 1
|
|
360
360
|
}, 8, ["disabled"])
|
|
361
361
|
]),
|
|
@@ -374,8 +374,8 @@ const _sfc_main = defineComponent({
|
|
|
374
374
|
key: 0,
|
|
375
375
|
columns: typeDataController.value.funhdType,
|
|
376
376
|
"default-selected-data": selectedData.value,
|
|
377
|
-
"max-select":
|
|
378
|
-
"outside-select-data":
|
|
377
|
+
"max-select": __props.maxSelect,
|
|
378
|
+
"outside-select-data": __props.outsideSelectData || [],
|
|
379
379
|
"type-data": typeDataController.value,
|
|
380
380
|
"user-info": unref(userInfo),
|
|
381
381
|
onChange: selectedDataChangeHandle
|
|
@@ -392,9 +392,9 @@ const _sfc_main = defineComponent({
|
|
|
392
392
|
type: "primary",
|
|
393
393
|
onClick: comfirm
|
|
394
394
|
}, {
|
|
395
|
-
default: withCtx(() => _cache[14] || (_cache[14] = [
|
|
396
|
-
createTextVNode(" \u6DFB\u52A0 ")
|
|
397
|
-
])),
|
|
395
|
+
default: withCtx(() => [..._cache[14] || (_cache[14] = [
|
|
396
|
+
createTextVNode(" \u6DFB\u52A0 ", -1)
|
|
397
|
+
])]),
|
|
398
398
|
_: 1
|
|
399
399
|
}, 8, ["disabled"])
|
|
400
400
|
]),
|
|
@@ -412,8 +412,8 @@ const _sfc_main = defineComponent({
|
|
|
412
412
|
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$9, {
|
|
413
413
|
key: 0,
|
|
414
414
|
"default-selected-data": selectedData.value,
|
|
415
|
-
"max-select":
|
|
416
|
-
"outside-select-data":
|
|
415
|
+
"max-select": __props.maxSelect,
|
|
416
|
+
"outside-select-data": __props.outsideSelectData || [],
|
|
417
417
|
"type-data": typeDataController.value,
|
|
418
418
|
"user-info": unref(userInfo),
|
|
419
419
|
onChange: selectedDataChangeHandle
|
|
@@ -430,9 +430,9 @@ const _sfc_main = defineComponent({
|
|
|
430
430
|
type: "primary",
|
|
431
431
|
onClick: comfirm
|
|
432
432
|
}, {
|
|
433
|
-
default: withCtx(() => _cache[15] || (_cache[15] = [
|
|
434
|
-
createTextVNode(" \u6DFB\u52A0 ")
|
|
435
|
-
])),
|
|
433
|
+
default: withCtx(() => [..._cache[15] || (_cache[15] = [
|
|
434
|
+
createTextVNode(" \u6DFB\u52A0 ", -1)
|
|
435
|
+
])]),
|
|
436
436
|
_: 1
|
|
437
437
|
}, 8, ["disabled"])
|
|
438
438
|
]),
|
|
@@ -211,7 +211,7 @@ const _sfc_main = defineComponent({
|
|
|
211
211
|
"onUpdate:group_id": _cache[0] || (_cache[0] = ($event) => group_id.value = $event),
|
|
212
212
|
groups: groupData.value,
|
|
213
213
|
"user-info": props.userInfo,
|
|
214
|
-
type:
|
|
214
|
+
type: __props.type,
|
|
215
215
|
onSearch: search
|
|
216
216
|
}, null, 8, ["group_id", "groups", "user-info", "type"]),
|
|
217
217
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -179,7 +179,7 @@ const _sfc_main = defineComponent({
|
|
|
179
179
|
createVNode(_sfc_main$1, {
|
|
180
180
|
group_id: group_id.value,
|
|
181
181
|
"onUpdate:group_id": _cache[0] || (_cache[0] = ($event) => group_id.value = $event),
|
|
182
|
-
"user-info":
|
|
182
|
+
"user-info": __props.userInfo,
|
|
183
183
|
onSearch: search
|
|
184
184
|
}, null, 8, ["group_id", "user-info"]),
|
|
185
185
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -110,9 +110,9 @@ const _sfc_main = defineComponent({
|
|
|
110
110
|
]),
|
|
111
111
|
createElementVNode("span", null, toDisplayString(data == null ? void 0 : data.label), 1)
|
|
112
112
|
]),
|
|
113
|
-
"arrow-icon": withCtx(() => _cache[3] || (_cache[3] = [
|
|
113
|
+
"arrow-icon": withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
114
114
|
createElementVNode("span", null, null, -1)
|
|
115
|
-
])),
|
|
115
|
+
])]),
|
|
116
116
|
default: withCtx(() => [
|
|
117
117
|
(openBlock(true), createElementBlock(Fragment, null, renderList(sortOptions.value, (item) => {
|
|
118
118
|
return openBlock(), createBlock(unref(Option), {
|
|
@@ -168,7 +168,7 @@ const _sfc_main = defineComponent({
|
|
|
168
168
|
createVNode(_sfc_main$1, {
|
|
169
169
|
group_id: group_id.value,
|
|
170
170
|
"onUpdate:group_id": _cache[0] || (_cache[0] = ($event) => group_id.value = $event),
|
|
171
|
-
"user-info":
|
|
171
|
+
"user-info": __props.userInfo,
|
|
172
172
|
onSearch: search
|
|
173
173
|
}, null, 8, ["group_id", "user-info"]),
|
|
174
174
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -195,8 +195,8 @@ const _sfc_main = defineComponent({
|
|
|
195
195
|
default: withCtx(() => [
|
|
196
196
|
createVNode(unref(IconInfoCircle))
|
|
197
197
|
]),
|
|
198
|
-
_:
|
|
199
|
-
},
|
|
198
|
+
_: 1
|
|
199
|
+
}, 8, ["content"])
|
|
200
200
|
])
|
|
201
201
|
]),
|
|
202
202
|
_: 2
|
|
@@ -284,7 +284,7 @@ const _sfc_main = defineComponent({
|
|
|
284
284
|
}, {
|
|
285
285
|
default: withCtx(() => [
|
|
286
286
|
createVNode(unref(IconRefresh), { class: "reset-icon" }),
|
|
287
|
-
_cache[7] || (_cache[7] = createTextVNode(" \u91CD\u7F6E "))
|
|
287
|
+
_cache[7] || (_cache[7] = createTextVNode(" \u91CD\u7F6E ", -1))
|
|
288
288
|
]),
|
|
289
289
|
_: 1
|
|
290
290
|
}, 512), [
|
|
@@ -28,7 +28,6 @@ const _sfc_main = defineComponent({
|
|
|
28
28
|
props: {
|
|
29
29
|
maxSelect: {},
|
|
30
30
|
defaultSelectedData: {},
|
|
31
|
-
typeData: {},
|
|
32
31
|
series: {},
|
|
33
32
|
banner: {},
|
|
34
33
|
userInfo: {}
|
|
@@ -245,10 +244,15 @@ const _sfc_main = defineComponent({
|
|
|
245
244
|
dataLoading.value = false;
|
|
246
245
|
if (code === 0) {
|
|
247
246
|
mediaFileData.value = message.data.map((v) => {
|
|
247
|
+
var _a;
|
|
248
248
|
v.catalog = "doc";
|
|
249
249
|
v.target_id = v.id;
|
|
250
250
|
v.target_type = 3;
|
|
251
|
-
|
|
251
|
+
if (((_a = filter.value) == null ? void 0 : _a.order) === "create_time") {
|
|
252
|
+
v.pub_time = v.created_at;
|
|
253
|
+
} else {
|
|
254
|
+
v.pub_time = v.pub_time || v.created_at;
|
|
255
|
+
}
|
|
252
256
|
v.update_time = v.updated_at;
|
|
253
257
|
v.pub_user_alias = v.author_alias;
|
|
254
258
|
return v;
|
|
@@ -265,7 +269,7 @@ const _sfc_main = defineComponent({
|
|
|
265
269
|
createVNode(_sfc_main$1, {
|
|
266
270
|
group_id: group_id.value,
|
|
267
271
|
"onUpdate:group_id": _cache[0] || (_cache[0] = ($event) => group_id.value = $event),
|
|
268
|
-
banner:
|
|
272
|
+
banner: __props.banner,
|
|
269
273
|
height: listMinHeight.value,
|
|
270
274
|
series: props.series,
|
|
271
275
|
tree: categoryCascaderData.value,
|