@cmstops/pro-compo 3.9.2 → 3.10.5-stable.1
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/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 +118 -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/components/metaInfoForm.js +11 -11
- package/es/editMetaInfo/script/api.d.ts +2 -2
- 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/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 +118 -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/components/metaInfoForm.js +11 -11
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function getTranscodingProgress(BASE_API: string, id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
1
|
+
export declare function getTranscodingProgress(BASE_API: string, id: number): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
2
2
|
/**
|
|
3
3
|
* 转码逻辑
|
|
4
4
|
* @description 转码逻辑抽离,后期所有涉及到转码的地方都可用该方法
|
|
@@ -5,5 +5,5 @@ declare type EditThumbParams = {
|
|
|
5
5
|
end: number;
|
|
6
6
|
search: string;
|
|
7
7
|
};
|
|
8
|
-
export declare function editthumb(BASE_URL: string, params: EditThumbParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
+
export declare function editthumb(BASE_URL: string, params: EditThumbParams): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
9
9
|
export {};
|
|
@@ -38,9 +38,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
38
38
|
});
|
|
39
39
|
return _columns;
|
|
40
40
|
});
|
|
41
|
-
const getOptions = (
|
|
42
|
-
return item
|
|
43
|
-
|
|
41
|
+
const getOptions = vue.computed(() => {
|
|
42
|
+
return (item) => {
|
|
43
|
+
return item.options ? item.options : [];
|
|
44
|
+
};
|
|
45
|
+
});
|
|
44
46
|
const hasValue = vue.computed(() => {
|
|
45
47
|
return (key) => {
|
|
46
48
|
var _a, _b;
|
|
@@ -77,7 +79,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
77
79
|
_form[column.range] = rangeTemp[column.range];
|
|
78
80
|
} else if (column.component === "select") {
|
|
79
81
|
_form[column.key] = column.defaultValue || null;
|
|
80
|
-
} else {
|
|
82
|
+
} else if (column.component === "input-group") {
|
|
83
|
+
_form[column.selectKey] = column.selectDefaultValue || "";
|
|
84
|
+
_form[column.inputKey] = column.inputDefaultValue || "";
|
|
85
|
+
} else if (column.component) {
|
|
81
86
|
_form[column.key] = column.defaultValue || "";
|
|
82
87
|
}
|
|
83
88
|
});
|
|
@@ -179,17 +184,48 @@ const _sfc_main = vue.defineComponent({
|
|
|
179
184
|
active: hasValue.value(item.key)
|
|
180
185
|
}, {
|
|
181
186
|
default: vue.withCtx(() => [
|
|
182
|
-
item.component === "input" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.
|
|
183
|
-
|
|
187
|
+
item.slot ? vue.renderSlot(_ctx.$slots, item.slot, { key: 0 }) : item.component === "input-group" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.InputGroup), { key: 1 }, {
|
|
188
|
+
default: vue.withCtx(() => [
|
|
189
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
190
|
+
modelValue: form.value[item.selectKey],
|
|
191
|
+
"onUpdate:modelValue": ($event) => form.value[item.selectKey] = $event,
|
|
192
|
+
"default-active-first-option": "",
|
|
193
|
+
style: { "width": "100px" }
|
|
194
|
+
}, {
|
|
195
|
+
default: vue.withCtx(() => [
|
|
196
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.selectOptions, (option, idx) => {
|
|
197
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
198
|
+
key: idx,
|
|
199
|
+
value: option.value
|
|
200
|
+
}, {
|
|
201
|
+
default: vue.withCtx(() => [
|
|
202
|
+
vue.createTextVNode(vue.toDisplayString(option.label), 1)
|
|
203
|
+
]),
|
|
204
|
+
_: 2
|
|
205
|
+
}, 1032, ["value"]);
|
|
206
|
+
}), 128))
|
|
207
|
+
]),
|
|
208
|
+
_: 2
|
|
209
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"]),
|
|
210
|
+
vue.createVNode(vue.unref(webVue.Input), {
|
|
211
|
+
modelValue: form.value[item.inputKey],
|
|
212
|
+
"onUpdate:modelValue": ($event) => form.value[item.inputKey] = $event,
|
|
213
|
+
placeholder: item.placeholder ? item.placeholder : `\u8BF7\u8F93\u5165${item.inputLabel}`,
|
|
214
|
+
style: { "width": "180px" }
|
|
215
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
216
|
+
]),
|
|
217
|
+
_: 2
|
|
218
|
+
}, 1024)) : item.component === "input" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.InputSearch), {
|
|
219
|
+
key: 2,
|
|
184
220
|
modelValue: form.value[item.key],
|
|
185
221
|
"onUpdate:modelValue": ($event) => form.value[item.key] = $event,
|
|
186
222
|
style: vue.normalizeStyle({ width: styleWidth(columnsMap.value[item.key]) }),
|
|
187
223
|
"allow-clear": "",
|
|
188
224
|
size: "medium",
|
|
189
|
-
placeholder: `\u8BF7\u8F93\u5165${item.label}`
|
|
225
|
+
placeholder: item.placeholder ? item.placeholder : `\u8BF7\u8F93\u5165${item.label}`
|
|
190
226
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "style", "placeholder"])) : vue.createCommentVNode("v-if", true),
|
|
191
227
|
item.component === "select" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Select), {
|
|
192
|
-
key:
|
|
228
|
+
key: 3,
|
|
193
229
|
modelValue: form.value[item.key],
|
|
194
230
|
"onUpdate:modelValue": ($event) => form.value[item.key] = $event,
|
|
195
231
|
"popup-container": "#base-filter-popup-container",
|
|
@@ -197,13 +233,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
197
233
|
"allow-search": item.allowSearch,
|
|
198
234
|
"default-active-first-option": false,
|
|
199
235
|
style: vue.normalizeStyle({ width: styleWidth(columnsMap.value[item.key]) }),
|
|
200
|
-
placeholder: `\u8BF7\u9009\u62E9${item.label}`,
|
|
236
|
+
placeholder: item.placeholder ? item.placeholder : `\u8BF7\u9009\u62E9${item.label}`,
|
|
201
237
|
onSearch: ($event) => handleSelectSearch($event, item),
|
|
202
238
|
onPopupVisibleChange: ($event) => handleSelectPopupChange($event, item),
|
|
203
239
|
onChange: ($event) => handleSelectChange($event, item)
|
|
204
240
|
}, {
|
|
205
241
|
default: vue.withCtx(() => [
|
|
206
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getOptions(item), (opt) => {
|
|
242
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getOptions.value(item), (opt) => {
|
|
207
243
|
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
208
244
|
key: opt.value,
|
|
209
245
|
label: opt.label,
|
|
@@ -214,7 +250,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
214
250
|
_: 2
|
|
215
251
|
}, 1032, ["modelValue", "onUpdate:modelValue", "allow-search", "style", "placeholder", "onSearch", "onPopupVisibleChange", "onChange"])) : vue.createCommentVNode("v-if", true),
|
|
216
252
|
item.component === "range-picker" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.RangePicker), {
|
|
217
|
-
key:
|
|
253
|
+
key: 4,
|
|
218
254
|
modelValue: form.value[item.key].range,
|
|
219
255
|
"onUpdate:modelValue": ($event) => form.value[item.key].range = $event,
|
|
220
256
|
style: vue.normalizeStyle({ width: styleWidth(form.value[item.key]) }),
|
|
@@ -225,7 +261,28 @@ const _sfc_main = vue.defineComponent({
|
|
|
225
261
|
"popup-container": "#base-filter-popup-container",
|
|
226
262
|
onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
227
263
|
}, ["stop"]))
|
|
228
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "style"])) : vue.createCommentVNode("v-if", true)
|
|
264
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "style"])) : vue.createCommentVNode("v-if", true),
|
|
265
|
+
item.component === "radio" ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.RadioGroup), {
|
|
266
|
+
key: 5,
|
|
267
|
+
modelValue: form.value[item.key],
|
|
268
|
+
"onUpdate:modelValue": ($event) => form.value[item.key] = $event,
|
|
269
|
+
type: "button"
|
|
270
|
+
}, {
|
|
271
|
+
default: vue.withCtx(() => [
|
|
272
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.options || [], (option, idx) => {
|
|
273
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Radio), {
|
|
274
|
+
key: idx,
|
|
275
|
+
value: option.value
|
|
276
|
+
}, {
|
|
277
|
+
default: vue.withCtx(() => [
|
|
278
|
+
vue.createTextVNode(vue.toDisplayString(option.label), 1)
|
|
279
|
+
]),
|
|
280
|
+
_: 2
|
|
281
|
+
}, 1032, ["value"]);
|
|
282
|
+
}), 128))
|
|
283
|
+
]),
|
|
284
|
+
_: 2
|
|
285
|
+
}, 1032, ["modelValue", "onUpdate:modelValue"])) : vue.createCommentVNode("v-if", true)
|
|
229
286
|
]),
|
|
230
287
|
_: 2
|
|
231
288
|
}, 1032, ["active"]);
|
|
@@ -116,7 +116,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
116
116
|
}, {
|
|
117
117
|
default: vue.withCtx(() => [
|
|
118
118
|
vue.createElementVNode("span", _hoisted_3, [
|
|
119
|
-
_cache[1] || (_cache[1] = vue.createTextVNode(" \u66F4\u591A\u7B5B\u9009 ")),
|
|
119
|
+
_cache[1] || (_cache[1] = vue.createTextVNode(" \u66F4\u591A\u7B5B\u9009 ", -1)),
|
|
120
120
|
vue.createVNode(vue.unref(icon.IconCaretDown))
|
|
121
121
|
])
|
|
122
122
|
]),
|
|
@@ -9,7 +9,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
9
9
|
setup(__props) {
|
|
10
10
|
return (_ctx, _cache) => {
|
|
11
11
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
12
|
-
class: vue.normalizeClass(["filter-item-view", { value:
|
|
12
|
+
class: vue.normalizeClass(["filter-item-view", { value: __props.active }]),
|
|
13
13
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
14
14
|
}, ["stop"]))
|
|
15
15
|
}, [
|
|
@@ -59,7 +59,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
59
59
|
{ immediate: true }
|
|
60
60
|
);
|
|
61
61
|
return (_ctx, _cache) => {
|
|
62
|
-
return
|
|
62
|
+
return __props.colorList && __props.colorList.length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
63
63
|
vue.createVNode(vue.unref(webVue.RadioGroup), {
|
|
64
64
|
modelValue: colorValue.value,
|
|
65
65
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => colorValue.value = $event),
|
|
@@ -60,7 +60,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
60
60
|
const handleScroll = (e) => {
|
|
61
61
|
emit("scroll", e);
|
|
62
62
|
const { target } = e;
|
|
63
|
-
if (target.scrollHeight - target.scrollTop
|
|
63
|
+
if (target.scrollHeight - target.scrollTop <= target.clientHeight + 20) {
|
|
64
64
|
emit("scrollReachEnd");
|
|
65
65
|
}
|
|
66
66
|
};
|
|
@@ -103,12 +103,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
103
103
|
index: index$4,
|
|
104
104
|
parmas: vue.unref(parmasProps),
|
|
105
105
|
abttrites: vue.unref(abttritesProps),
|
|
106
|
-
extraAttrs:
|
|
106
|
+
extraAttrs: __props.extraAttrs,
|
|
107
107
|
BASE_API: vue.unref(BASE_API_R),
|
|
108
108
|
onClickTitle: clickTitle,
|
|
109
109
|
onCellMouseEnter: tableCellMouseEnter,
|
|
110
110
|
onCellMouseLeave: tableCellMouseLeave
|
|
111
111
|
}, {
|
|
112
|
+
"after-index": vue.withCtx(() => [
|
|
113
|
+
vue.renderSlot(_ctx.$slots, "after-index", {
|
|
114
|
+
row: element,
|
|
115
|
+
index: index$4
|
|
116
|
+
})
|
|
117
|
+
]),
|
|
112
118
|
batch: vue.withCtx(() => [
|
|
113
119
|
vue.renderSlot(_ctx.$slots, "batch", {
|
|
114
120
|
row: element,
|
|
@@ -127,12 +133,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
127
133
|
item: element,
|
|
128
134
|
index: index$4,
|
|
129
135
|
abttrites: vue.unref(abttritesProps),
|
|
130
|
-
extraAttrs:
|
|
136
|
+
extraAttrs: __props.extraAttrs,
|
|
131
137
|
BASE_API: vue.unref(BASE_API_R),
|
|
132
138
|
onClickTitle: clickTitle,
|
|
133
139
|
onCellMouseEnter: tableCellMouseEnter,
|
|
134
140
|
onCellMouseLeave: tableCellMouseLeave
|
|
135
141
|
}, {
|
|
142
|
+
"after-index": vue.withCtx(() => [
|
|
143
|
+
vue.renderSlot(_ctx.$slots, "after-index", {
|
|
144
|
+
row: element,
|
|
145
|
+
index: index$4
|
|
146
|
+
})
|
|
147
|
+
]),
|
|
136
148
|
tip: vue.withCtx(() => [
|
|
137
149
|
vue.renderSlot(_ctx.$slots, "tip", {
|
|
138
150
|
row: element,
|
|
@@ -158,7 +170,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
158
170
|
index: index$4,
|
|
159
171
|
parmas: vue.unref(parmasProps),
|
|
160
172
|
abttrites: vue.unref(abttritesProps),
|
|
161
|
-
extraAttrs:
|
|
173
|
+
extraAttrs: __props.extraAttrs,
|
|
162
174
|
onClickTitle: clickTitle,
|
|
163
175
|
onCellMouseEnter: tableCellMouseEnter,
|
|
164
176
|
onCellMouseLeave: tableCellMouseLeave
|
|
@@ -181,7 +193,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
181
193
|
item: element,
|
|
182
194
|
index: index$4,
|
|
183
195
|
abttrites: vue.unref(abttritesProps),
|
|
184
|
-
extraAttrs:
|
|
196
|
+
extraAttrs: __props.extraAttrs,
|
|
185
197
|
onClickTitle: clickTitle,
|
|
186
198
|
onCellMouseEnter: tableCellMouseEnter,
|
|
187
199
|
onCellMouseLeave: tableCellMouseLeave
|
|
@@ -223,12 +235,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
223
235
|
index: index$4,
|
|
224
236
|
parmas: vue.unref(parmasProps),
|
|
225
237
|
abttrites: vue.unref(abttritesProps),
|
|
226
|
-
extraAttrs:
|
|
238
|
+
extraAttrs: __props.extraAttrs,
|
|
227
239
|
BASE_API: vue.unref(BASE_API_R),
|
|
228
240
|
onClickTitle: clickTitle,
|
|
229
241
|
onCellMouseEnter: tableCellMouseEnter,
|
|
230
242
|
onCellMouseLeave: tableCellMouseLeave
|
|
231
243
|
}, {
|
|
244
|
+
"after-index": vue.withCtx(() => [
|
|
245
|
+
vue.renderSlot(_ctx.$slots, "after-index", {
|
|
246
|
+
row: item,
|
|
247
|
+
index: index$4
|
|
248
|
+
})
|
|
249
|
+
]),
|
|
232
250
|
batch: vue.withCtx(() => [
|
|
233
251
|
vue.renderSlot(_ctx.$slots, "batch", {
|
|
234
252
|
row: item,
|
|
@@ -247,12 +265,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
247
265
|
item,
|
|
248
266
|
index: index$4,
|
|
249
267
|
abttrites: vue.unref(abttritesProps),
|
|
250
|
-
extraAttrs:
|
|
268
|
+
extraAttrs: __props.extraAttrs,
|
|
251
269
|
BASE_API: vue.unref(BASE_API_R),
|
|
252
270
|
onClickTitle: clickTitle,
|
|
253
271
|
onCellMouseEnter: tableCellMouseEnter,
|
|
254
272
|
onCellMouseLeave: tableCellMouseLeave
|
|
255
273
|
}, {
|
|
274
|
+
"after-index": vue.withCtx(() => [
|
|
275
|
+
vue.renderSlot(_ctx.$slots, "after-index", {
|
|
276
|
+
row: item,
|
|
277
|
+
index: index$4
|
|
278
|
+
})
|
|
279
|
+
]),
|
|
256
280
|
tip: vue.withCtx(() => [
|
|
257
281
|
vue.renderSlot(_ctx.$slots, "tip", {
|
|
258
282
|
row: item,
|
|
@@ -278,7 +302,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
278
302
|
index: index$4,
|
|
279
303
|
parmas: vue.unref(parmasProps),
|
|
280
304
|
abttrites: vue.unref(abttritesProps),
|
|
281
|
-
extraAttrs:
|
|
305
|
+
extraAttrs: __props.extraAttrs,
|
|
282
306
|
onClickTitle: clickTitle,
|
|
283
307
|
onCellMouseEnter: tableCellMouseEnter,
|
|
284
308
|
onCellMouseLeave: tableCellMouseLeave
|
|
@@ -301,7 +325,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
301
325
|
item,
|
|
302
326
|
index: index$4,
|
|
303
327
|
abttrites: vue.unref(abttritesProps),
|
|
304
|
-
extraAttrs:
|
|
328
|
+
extraAttrs: __props.extraAttrs,
|
|
305
329
|
onClickTitle: clickTitle,
|
|
306
330
|
onCellMouseEnter: tableCellMouseEnter,
|
|
307
331
|
onCellMouseLeave: tableCellMouseLeave
|
|
@@ -30,7 +30,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
30
30
|
const comColumnsMap = vue.ref(typeMap.compoColumnsMap().value);
|
|
31
31
|
const hide = vue.computed(() => {
|
|
32
32
|
const { hide: hide2 } = props.item;
|
|
33
|
-
return hide2
|
|
33
|
+
return hide2 > 0;
|
|
34
34
|
});
|
|
35
35
|
const silent = vue.computed(() => {
|
|
36
36
|
return props.item && props.item.mourn_style === 1;
|
|
@@ -47,19 +47,19 @@ const _sfc_main = vue.defineComponent({
|
|
|
47
47
|
return (_ctx, _cache) => {
|
|
48
48
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
49
49
|
class: vue.normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
|
|
50
|
-
onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event,
|
|
51
|
-
onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event,
|
|
50
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, __props.item)),
|
|
51
|
+
onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, __props.item))
|
|
52
52
|
}, [
|
|
53
53
|
vue.createElementVNode("div", _hoisted_1, [
|
|
54
|
-
|
|
54
|
+
__props.item.cover && __props.item.cover.data && __props.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
|
|
55
55
|
key: 0,
|
|
56
|
-
src:
|
|
56
|
+
src: __props.item.cover.data[0].thumb,
|
|
57
57
|
preview: false,
|
|
58
58
|
fit: "cover",
|
|
59
59
|
class: "image"
|
|
60
|
-
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(
|
|
60
|
+
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(__props.item)), 1)),
|
|
61
61
|
vue.createElementVNode("div", _hoisted_3, [
|
|
62
|
-
vue.renderSlot(_ctx.$slots, "batch", { row:
|
|
62
|
+
vue.renderSlot(_ctx.$slots, "batch", { row: __props.item })
|
|
63
63
|
])
|
|
64
64
|
]),
|
|
65
65
|
vue.createElementVNode("div", _hoisted_4, [
|
|
@@ -68,23 +68,23 @@ const _sfc_main = vue.defineComponent({
|
|
|
68
68
|
onClick: clickTitle
|
|
69
69
|
}, [
|
|
70
70
|
vue.renderSlot(_ctx.$slots, "index"),
|
|
71
|
-
vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(
|
|
71
|
+
vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(__props.item.alias || __props.item.title), 1)
|
|
72
72
|
]),
|
|
73
73
|
vue.createElementVNode("div", _hoisted_6, [
|
|
74
74
|
vue.createElementVNode("div", _hoisted_7, [
|
|
75
75
|
vue.createVNode(component, {
|
|
76
76
|
class: "icon",
|
|
77
77
|
doc: true,
|
|
78
|
-
type:
|
|
78
|
+
type: __props.item.series
|
|
79
79
|
}, null, 8, ["type"]),
|
|
80
80
|
vue.createElementVNode("span", _hoisted_8, [
|
|
81
|
-
vue.createTextVNode(vue.toDisplayString(comColumnsMap.value[
|
|
81
|
+
vue.createTextVNode(vue.toDisplayString(comColumnsMap.value[__props.item.columns]) + "\u7EC4\u4EF6", 1),
|
|
82
82
|
vue.renderSlot(_ctx.$slots, "tip")
|
|
83
83
|
]),
|
|
84
|
-
vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(
|
|
84
|
+
vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(__props.item.pub_time)), 1)
|
|
85
85
|
]),
|
|
86
86
|
vue.createElementVNode("div", _hoisted_10, [
|
|
87
|
-
vue.renderSlot(_ctx.$slots, "option", { row:
|
|
87
|
+
vue.renderSlot(_ctx.$slots, "option", { row: __props.item })
|
|
88
88
|
])
|
|
89
89
|
])
|
|
90
90
|
])
|
|
@@ -37,7 +37,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
37
37
|
const emit = __emit;
|
|
38
38
|
const hide = vue.computed(() => {
|
|
39
39
|
const { hide: hide2 } = props.item;
|
|
40
|
-
return hide2
|
|
40
|
+
return hide2 > 0;
|
|
41
41
|
});
|
|
42
42
|
const silent = vue.computed(() => {
|
|
43
43
|
return props.item && props.item.mourn_style === 1;
|
|
@@ -54,19 +54,19 @@ const _sfc_main = vue.defineComponent({
|
|
|
54
54
|
return (_ctx, _cache) => {
|
|
55
55
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
56
56
|
class: vue.normalizeClass(["medialist-component-item-view", { "gray-forbidden": hide.value, "gray-for-state-hide": silent.value }]),
|
|
57
|
-
onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event,
|
|
58
|
-
onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event,
|
|
57
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => mouseEnterFun($event, __props.item)),
|
|
58
|
+
onMouseleave: _cache[1] || (_cache[1] = ($event) => mouseLeaveFun($event, __props.item))
|
|
59
59
|
}, [
|
|
60
60
|
vue.createElementVNode("div", _hoisted_1, [
|
|
61
|
-
|
|
61
|
+
__props.item.cover && __props.item.cover.data && __props.item.cover.data[0] ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Image), {
|
|
62
62
|
key: 0,
|
|
63
|
-
src:
|
|
63
|
+
src: __props.item.cover.data[0].thumb,
|
|
64
64
|
preview: false,
|
|
65
65
|
fit: "cover",
|
|
66
66
|
class: "image"
|
|
67
|
-
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(
|
|
67
|
+
}, null, 8, ["src"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(vue.unref(index.noCoverText)(__props.item)), 1)),
|
|
68
68
|
vue.createElementVNode("div", _hoisted_3, [
|
|
69
|
-
vue.renderSlot(_ctx.$slots, "batch", { row:
|
|
69
|
+
vue.renderSlot(_ctx.$slots, "batch", { row: __props.item })
|
|
70
70
|
])
|
|
71
71
|
]),
|
|
72
72
|
vue.createElementVNode("div", _hoisted_4, [
|
|
@@ -75,7 +75,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
75
75
|
onClick: clickTitle
|
|
76
76
|
}, [
|
|
77
77
|
vue.renderSlot(_ctx.$slots, "index"),
|
|
78
|
-
vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(
|
|
78
|
+
vue.createElementVNode("span", _hoisted_5, vue.toDisplayString(__props.item.alias || __props.item.title), 1),
|
|
79
79
|
vue.createElementVNode("span", _hoisted_6, [
|
|
80
80
|
vue.renderSlot(_ctx.$slots, "tips")
|
|
81
81
|
]),
|
|
@@ -87,12 +87,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
87
87
|
default: vue.withCtx(() => {
|
|
88
88
|
var _a, _b, _c, _d;
|
|
89
89
|
return [
|
|
90
|
-
((_b = (_a =
|
|
90
|
+
((_b = (_a = __props.parmas) == null ? void 0 : _a.labelTip) == null ? void 0 : _b.info(__props.item)) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7, [
|
|
91
91
|
vue.createVNode(vue.unref(icon.IconInfoCircle), {
|
|
92
92
|
class: "icon",
|
|
93
93
|
size: "16"
|
|
94
94
|
}),
|
|
95
|
-
vue.createElementVNode("span", null, vue.toDisplayString(((_d = (_c =
|
|
95
|
+
vue.createElementVNode("span", null, vue.toDisplayString(((_d = (_c = __props.parmas) == null ? void 0 : _c.labelTip) == null ? void 0 : _d.info(__props.item)) || ""), 1)
|
|
96
96
|
])) : vue.createCommentVNode("v-if", true)
|
|
97
97
|
];
|
|
98
98
|
}),
|
|
@@ -104,17 +104,17 @@ const _sfc_main = vue.defineComponent({
|
|
|
104
104
|
vue.createVNode(component, {
|
|
105
105
|
class: "icon",
|
|
106
106
|
doc: true,
|
|
107
|
-
type:
|
|
107
|
+
type: __props.item.series
|
|
108
108
|
}, null, 8, ["type"]),
|
|
109
109
|
vue.createElementVNode("span", _hoisted_10, [
|
|
110
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.contentList_relation_type_map)[
|
|
110
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.contentList_relation_type_map)[__props.item.relation_type]) + "\u9891\u9053", 1),
|
|
111
111
|
vue.renderSlot(_ctx.$slots, "tip")
|
|
112
112
|
]),
|
|
113
|
-
vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(vue.unref(typeMap.contentList_layout_map)[
|
|
114
|
-
vue.createElementVNode("span", _hoisted_12, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(
|
|
113
|
+
vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(vue.unref(typeMap.contentList_layout_map)[__props.item.list_layout || "blank"]), 1),
|
|
114
|
+
vue.createElementVNode("span", _hoisted_12, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(__props.item.pub_time)), 1)
|
|
115
115
|
]),
|
|
116
116
|
vue.createElementVNode("div", _hoisted_13, [
|
|
117
|
-
vue.renderSlot(_ctx.$slots, "option", { row:
|
|
117
|
+
vue.renderSlot(_ctx.$slots, "option", { row: __props.item })
|
|
118
118
|
])
|
|
119
119
|
])
|
|
120
120
|
])
|
|
@@ -31,39 +31,39 @@ const _sfc_main = vue.defineComponent({
|
|
|
31
31
|
emit("showUserInfo", data);
|
|
32
32
|
};
|
|
33
33
|
return (_ctx, _cache) => {
|
|
34
|
-
return
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
return __props.item ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1, [
|
|
35
|
+
__props.item.status === 1 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, [
|
|
36
|
+
__props.item.current_processes ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
37
37
|
key: 0,
|
|
38
38
|
class: vue.normalizeClass({
|
|
39
|
-
"checking-user": !calcIsRobot(
|
|
40
|
-
"checking-ai": calcIsRobot(
|
|
39
|
+
"checking-user": !calcIsRobot(__props.item),
|
|
40
|
+
"checking-ai": calcIsRobot(__props.item)
|
|
41
41
|
}),
|
|
42
|
-
onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => showUserInfo(
|
|
42
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => showUserInfo(__props.item), ["stop"]))
|
|
43
43
|
}, [
|
|
44
|
-
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingUser)(
|
|
44
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingUser)(__props.item)), 1),
|
|
45
45
|
vue.createElementVNode("span", null, [
|
|
46
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[
|
|
47
|
-
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingDependent)(
|
|
46
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[__props.item.status]) + " ", 1),
|
|
47
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingDependent)(__props.item)), 1)
|
|
48
48
|
])
|
|
49
49
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
50
|
-
])) : [2, 3].includes(
|
|
50
|
+
])) : [2, 3].includes(__props.item.status) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
51
51
|
key: 1,
|
|
52
52
|
class: vue.normalizeClass({
|
|
53
|
-
failure:
|
|
54
|
-
pass:
|
|
53
|
+
failure: __props.item.status === 2,
|
|
54
|
+
pass: __props.item.status === 3
|
|
55
55
|
})
|
|
56
56
|
}, [
|
|
57
|
-
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[
|
|
58
|
-
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingDependent)(
|
|
57
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[__props.item.status]) + " ", 1),
|
|
58
|
+
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(typeMap.calcApprovingDependent)(__props.item)), 1)
|
|
59
59
|
], 2)) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
60
60
|
key: 2,
|
|
61
61
|
class: vue.normalizeClass({
|
|
62
|
-
revoke: [0, 4].includes(
|
|
63
|
-
pass:
|
|
64
|
-
checking: [6, 7].includes(
|
|
62
|
+
revoke: [0, 4].includes(__props.item.status),
|
|
63
|
+
pass: __props.item.status === 5,
|
|
64
|
+
checking: [6, 7].includes(__props.item.status)
|
|
65
65
|
})
|
|
66
|
-
}, vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[
|
|
66
|
+
}, vue.toDisplayString(vue.unref(typeMap.approveFlowStatusMap)[__props.item.status]), 3))
|
|
67
67
|
])) : vue.createCommentVNode("v-if", true);
|
|
68
68
|
};
|
|
69
69
|
}
|