@cmstops/pro-compo 0.1.30 → 0.1.32
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/dist/index.css +218 -20
- package/dist/index.min.css +1 -1
- package/es/baseFilter/component.js +2 -1
- package/es/contentDetailList/component.js +3 -1
- package/es/contentDetailList/components/Content/CompoItem/index.js +2 -1
- package/es/contentDetailList/components/Content/ContentListItem/index.js +2 -1
- package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +2 -1
- package/es/contentDetailList/components/Content/DocItem/index.js +2 -1
- package/es/contentDetailList/components/Content/DocMpItem/index.js +2 -1
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +2 -1
- package/es/contentDetailList/components/Content/LiveItem/index.js +2 -1
- package/es/contentDetailList/components/Content/MaccountItem/index.js +2 -1
- package/es/contentDetailList/components/Content/index.js +7 -2
- package/es/contentDetailList/components/Doc/index.js +2 -1
- package/es/contentDetailList/style/DocItem.less +4 -3
- package/es/contentDetailList/style/index.css +3 -3
- package/es/contentModal/component.js +39 -36
- package/es/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/es/contentModal/components/CompoList/index.js +10 -3
- package/es/contentModal/components/ContentList/MediaFilter/index.js +2 -1
- package/es/contentModal/components/ContentList/index.js +2 -1
- package/es/contentModal/components/LiveList/MediaFilter/index.js +2 -1
- package/es/contentModal/components/LiveList/index.js +2 -1
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.js +2 -1
- package/es/contentModal/components/MpAccountList/index.js +2 -1
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +2 -1
- package/es/contentModal/components/MpContentList/index.js +2 -1
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +55 -23
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +68 -18
- package/es/contentModal/components/ViewAllColumn/index.js +93 -45
- package/es/contentModal/components/storeBox/index.js +8 -7
- package/es/contentModal/images/pic-thumb.js +2 -0
- package/es/contentModal/style/MediaFilter.less +35 -5
- package/es/contentModal/style/ViewAllColumn.less +11 -0
- package/es/contentModal/style/columnTree.less +25 -5
- package/es/contentModal/style/index.css +56 -11
- package/es/contentModal/style/storeBox.less +16 -6
- package/es/dataTags/component.js +26 -5
- package/es/editMetaInfo/component.js +2 -1
- package/es/editMetaInfo/components/metaInfoForm.js +93 -7
- package/es/editMetaInfo/style/index.css +18 -1
- package/es/editMetaInfo/style/index.less +31 -1
- package/es/hooks/source.d.ts +9 -0
- package/es/hooks/source.js +31 -0
- package/es/hooks/user.d.ts +1 -1
- package/es/imageCrop/component.js +16 -9
- package/es/index.css +218 -20
- package/es/mediaFilter/component.js +2 -1
- package/es/mediaFilter/components/DocFilter.js +2 -1
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/messageBox/list.js +2 -1
- package/es/previousVersion/component.js +2 -1
- package/es/resourceModal/assets/images/sys_load_more.js +2 -0
- package/es/resourceModal/component.js +11 -3
- package/es/resourceModal/components/MediaPreviewer/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +5 -7
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +87 -34
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +139 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +103 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +103 -0
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -1
- package/es/resourceModal/components/MediaSelection/index.js +18 -8
- package/es/resourceModal/script/api.d.ts +17 -0
- package/es/resourceModal/script/api.js +21 -1
- package/es/resourceModal/script/mediaSelection.d.ts +4 -0
- package/es/resourceModal/script/mediaSelection.js +8 -0
- package/es/resourceModal/style/MainContent.less +25 -5
- package/es/resourceModal/style/SystemResourceSelected.less +138 -0
- package/es/resourceModal/style/index.css +142 -6
- package/es/resourceModal/style/index.less +1 -0
- package/es/selectAvatarList/component.js +2 -1
- package/es/selectGategory/component.js +2 -1
- package/es/selectGategory/components/ColumnSelection/index.js +2 -1
- package/es/selectThumb/component.js +8 -3
- package/es/selectThumb/components/card.js +5 -7
- package/es/selectThumb/components/colorPalette.js +2 -1
- package/es/selectThumb/components/colorPicker.js +2 -1
- package/es/typeIcons/component.js +10 -7
- package/es/uploadBefore/component.js +3 -2
- package/es/uploadBefore/components/UploadBefore.js +2 -1
- package/es/uploadBefore/components/UploadForClick.js +2 -1
- package/es/uploadStep/component.js +3 -2
- package/es/userDirector/component.js +2 -1
- package/es/userDirector/components/userTree.js +2 -1
- package/es/utils/doc.d.ts +1 -0
- package/es/utils/doc.js +2 -1
- package/es/utils/typeMap.d.ts +1 -0
- package/es/utils/typeMap.js +2 -1
- package/lib/baseFilter/component.js +2 -1
- package/lib/contentDetailList/component.js +3 -1
- package/lib/contentDetailList/components/Content/CompoItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/ContentListItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/LiveItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +2 -1
- package/lib/contentDetailList/components/Content/index.js +6 -1
- package/lib/contentDetailList/components/Doc/index.js +2 -1
- package/lib/contentDetailList/style/DocItem.less +4 -3
- package/lib/contentDetailList/style/index.css +3 -3
- package/lib/contentModal/component.js +39 -36
- package/lib/contentModal/components/CompoList/CompoFilter/index.js +3 -2
- package/lib/contentModal/components/CompoList/index.js +10 -3
- package/lib/contentModal/components/ContentList/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/ContentList/index.js +2 -1
- package/lib/contentModal/components/LiveList/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/LiveList/index.js +2 -1
- package/lib/contentModal/components/MpAccountList/MpAccountFilter/index.js +2 -1
- package/lib/contentModal/components/MpAccountList/index.js +2 -1
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +2 -1
- package/lib/contentModal/components/MpContentList/index.js +2 -1
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +53 -21
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +66 -16
- package/lib/contentModal/components/ViewAllColumn/index.js +92 -44
- package/lib/contentModal/components/storeBox/index.js +8 -7
- package/lib/contentModal/images/pic-thumb.js +3 -0
- package/lib/contentModal/style/MediaFilter.less +35 -5
- package/lib/contentModal/style/ViewAllColumn.less +11 -0
- package/lib/contentModal/style/columnTree.less +25 -5
- package/lib/contentModal/style/index.css +56 -11
- package/lib/contentModal/style/storeBox.less +16 -6
- package/lib/dataTags/component.js +25 -4
- package/lib/editMetaInfo/component.js +2 -1
- package/lib/editMetaInfo/components/metaInfoForm.js +91 -5
- package/lib/editMetaInfo/style/index.css +18 -1
- package/lib/editMetaInfo/style/index.less +31 -1
- package/lib/hooks/source.js +34 -0
- package/lib/imageCrop/component.js +16 -9
- package/lib/index.css +218 -20
- package/lib/mediaFilter/component.js +2 -1
- package/lib/mediaFilter/components/DocFilter.js +2 -1
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/messageBox/list.js +2 -1
- package/lib/previousVersion/component.js +2 -1
- package/lib/resourceModal/assets/images/sys_load_more.js +3 -0
- package/lib/resourceModal/component.js +10 -2
- package/lib/resourceModal/components/MediaPreviewer/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.js +5 -7
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +86 -33
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +140 -0
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +104 -0
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +104 -0
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -1
- package/lib/resourceModal/components/MediaSelection/index.js +17 -7
- package/lib/resourceModal/script/api.js +23 -0
- package/lib/resourceModal/script/mediaSelection.js +10 -0
- package/lib/resourceModal/style/MainContent.less +25 -5
- package/lib/resourceModal/style/SystemResourceSelected.less +138 -0
- package/lib/resourceModal/style/index.css +142 -6
- package/lib/resourceModal/style/index.less +1 -0
- package/lib/selectAvatarList/component.js +2 -1
- package/lib/selectGategory/component.js +2 -1
- package/lib/selectGategory/components/ColumnSelection/index.js +2 -1
- package/lib/selectThumb/component.js +7 -2
- package/lib/selectThumb/components/card.js +5 -7
- package/lib/selectThumb/components/colorPalette.js +2 -1
- package/lib/selectThumb/components/colorPicker.js +2 -1
- package/lib/typeIcons/component.js +9 -6
- package/lib/uploadBefore/component.js +3 -2
- package/lib/uploadBefore/components/UploadBefore.js +2 -1
- package/lib/uploadBefore/components/UploadForClick.js +2 -1
- package/lib/uploadStep/component.js +3 -2
- package/lib/userDirector/component.js +2 -1
- package/lib/userDirector/components/userTree.js +2 -1
- package/lib/utils/doc.js +2 -1
- package/lib/utils/typeMap.js +2 -1
- package/package.json +5 -3
- package/es/editMetaInfo/script/restaurants.js +0 -127
- package/lib/editMetaInfo/script/restaurants.js +0 -128
|
@@ -9,7 +9,7 @@ const _sfc_main = defineComponent({
|
|
|
9
9
|
list: {}
|
|
10
10
|
},
|
|
11
11
|
emits: ["select", "expand", "add"],
|
|
12
|
-
setup(__props, { emit }) {
|
|
12
|
+
setup(__props, { emit: __emit }) {
|
|
13
13
|
const props = __props;
|
|
14
14
|
const loadMore = () => {
|
|
15
15
|
};
|
|
@@ -18,6 +18,7 @@ const _sfc_main = defineComponent({
|
|
|
18
18
|
title: "alias",
|
|
19
19
|
key: "node_key"
|
|
20
20
|
};
|
|
21
|
+
const emit = __emit;
|
|
21
22
|
const select = (selectedKeys, data) => {
|
|
22
23
|
emit("select", selectedKeys, data);
|
|
23
24
|
};
|
package/es/utils/doc.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export declare const editDocTypeToRouteMap: {
|
|
|
55
55
|
audio_album: string;
|
|
56
56
|
special_v3: string;
|
|
57
57
|
h5: string;
|
|
58
|
+
mini_program: string;
|
|
58
59
|
};
|
|
59
60
|
export declare const approvalItem: (item: any) => any;
|
|
60
61
|
export declare const getPublishParmas: (categories: any[], categories_with: any[], docData: any) => {
|
package/es/utils/doc.js
CHANGED
|
@@ -81,7 +81,8 @@ const docSeries = {
|
|
|
81
81
|
audio: "\u97F3\u9891\u7A3F\u4EF6",
|
|
82
82
|
audio_album: "\u97F3\u9891\u96C6\u7A3F\u4EF6",
|
|
83
83
|
h5: "H5\u7A3F\u4EF6",
|
|
84
|
-
special_v3: "\u4E13\u9898\u7A3F\u4EF6"
|
|
84
|
+
special_v3: "\u4E13\u9898\u7A3F\u4EF6",
|
|
85
|
+
mini_program: "\u5C0F\u7A0B\u5E8F\u7A3F\u4EF6"
|
|
85
86
|
};
|
|
86
87
|
const typeOptions = () => {
|
|
87
88
|
const arr = Object.keys(docSeries).map((key) => {
|
package/es/utils/typeMap.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ export declare const kongo_source_map: {
|
|
|
120
120
|
document: string;
|
|
121
121
|
category_list: string;
|
|
122
122
|
service: string;
|
|
123
|
+
political: string;
|
|
123
124
|
};
|
|
124
125
|
export declare const calcApprovingUser: (data: any) => any;
|
|
125
126
|
export declare const calcApprovingDependent: (data: any) => string;
|
package/es/utils/typeMap.js
CHANGED
|
@@ -94,7 +94,8 @@ const kongo_source_map = {
|
|
|
94
94
|
url: "\u94FE\u63A5",
|
|
95
95
|
document: "\u7A3F\u4EF6",
|
|
96
96
|
category_list: "\u9891\u9053",
|
|
97
|
-
service: "\u670D\u52A1"
|
|
97
|
+
service: "\u670D\u52A1",
|
|
98
|
+
political: "\u653F\u60C5"
|
|
98
99
|
};
|
|
99
100
|
const calcApprovingUser = (data) => {
|
|
100
101
|
if (data.current_processes[0] && data.current_processes[0].users && data.current_processes[0].users[0]) {
|
|
@@ -21,8 +21,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
21
21
|
formatQuery: { type: Boolean }
|
|
22
22
|
},
|
|
23
23
|
emits: ["search"],
|
|
24
|
-
setup(__props, { emit }) {
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
25
|
const props = __props;
|
|
26
|
+
const emit = __emit;
|
|
26
27
|
props.BASE_API || config.DEFAULT_BASE_API;
|
|
27
28
|
const render = vue.ref(false);
|
|
28
29
|
const form = vue.ref({});
|
|
@@ -31,8 +31,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
31
31
|
"scroll",
|
|
32
32
|
"scrollReachEnd"
|
|
33
33
|
],
|
|
34
|
-
setup(__props, { emit }) {
|
|
34
|
+
setup(__props, { emit: __emit }) {
|
|
35
35
|
const props = __props;
|
|
36
|
+
const emit = __emit;
|
|
36
37
|
const parmasProps = props.parmas || {};
|
|
37
38
|
const dragalbeProps = props.dragalbe || false;
|
|
38
39
|
const abttritesProps = props.abttrites || [];
|
|
@@ -44,6 +45,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
44
45
|
});
|
|
45
46
|
const dataList = vue.computed({
|
|
46
47
|
get() {
|
|
48
|
+
console.log("dataList", props.data);
|
|
47
49
|
return props.data;
|
|
48
50
|
},
|
|
49
51
|
set(value) {
|
|
@@ -22,8 +22,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
22
22
|
item: {}
|
|
23
23
|
},
|
|
24
24
|
emits: ["clickTitle"],
|
|
25
|
-
setup(__props, { emit }) {
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
26
|
const props = __props;
|
|
27
|
+
const emit = __emit;
|
|
27
28
|
const comColumnsMap = vue.ref(typeMap.compoColumnsMap().value);
|
|
28
29
|
const hide = vue.computed(() => {
|
|
29
30
|
const { hide: hide2 } = props.item;
|
|
@@ -30,8 +30,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
30
30
|
parmas: {}
|
|
31
31
|
},
|
|
32
32
|
emits: ["clickTitle"],
|
|
33
|
-
setup(__props, { emit }) {
|
|
33
|
+
setup(__props, { emit: __emit }) {
|
|
34
34
|
const props = __props;
|
|
35
|
+
const emit = __emit;
|
|
35
36
|
const hide = vue.computed(() => {
|
|
36
37
|
const { hide: hide2 } = props.item;
|
|
37
38
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -15,7 +15,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
15
15
|
item: {}
|
|
16
16
|
},
|
|
17
17
|
emits: ["showUserInfo"],
|
|
18
|
-
setup(__props, { emit }) {
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
|
+
const emit = __emit;
|
|
19
20
|
const calcIsRobot = (data) => {
|
|
20
21
|
if (data.current_processes[0] && data.current_processes[0].users && data.current_processes[0].users[0]) {
|
|
21
22
|
const ApvUser = data.current_processes[0].users[0];
|
|
@@ -34,8 +34,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
34
34
|
abttrites: {}
|
|
35
35
|
},
|
|
36
36
|
emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
|
|
37
|
-
setup(__props, { emit }) {
|
|
37
|
+
setup(__props, { emit: __emit }) {
|
|
38
38
|
const props = __props;
|
|
39
|
+
const emit = __emit;
|
|
39
40
|
const hide = vue.computed(() => {
|
|
40
41
|
const { hide: hide2 } = props.item;
|
|
41
42
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -24,9 +24,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
24
24
|
abttrites: {}
|
|
25
25
|
},
|
|
26
26
|
emits: ["clickTitle"],
|
|
27
|
-
setup(__props, { emit }) {
|
|
27
|
+
setup(__props, { emit: __emit }) {
|
|
28
28
|
var _a, _b, _c;
|
|
29
29
|
const props = __props;
|
|
30
|
+
const emit = __emit;
|
|
30
31
|
const hide = vue.computed(() => {
|
|
31
32
|
const { hide: hide2 } = props.item;
|
|
32
33
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -24,8 +24,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
24
24
|
item: {}
|
|
25
25
|
},
|
|
26
26
|
emits: ["clickTitle"],
|
|
27
|
-
setup(__props, { emit }) {
|
|
27
|
+
setup(__props, { emit: __emit }) {
|
|
28
28
|
const props = __props;
|
|
29
|
+
const emit = __emit;
|
|
29
30
|
const hide = vue.computed(() => {
|
|
30
31
|
const { hide: hide2 } = props.item;
|
|
31
32
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -21,8 +21,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
21
21
|
item: {}
|
|
22
22
|
},
|
|
23
23
|
emits: ["clickTitle"],
|
|
24
|
-
setup(__props, { emit }) {
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
25
|
const props = __props;
|
|
26
|
+
const emit = __emit;
|
|
26
27
|
const hide = vue.computed(() => {
|
|
27
28
|
const { hide: hide2 } = props.item;
|
|
28
29
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -18,8 +18,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
18
18
|
abttrites: {}
|
|
19
19
|
},
|
|
20
20
|
emits: ["clickTitle"],
|
|
21
|
-
setup(__props, { emit }) {
|
|
21
|
+
setup(__props, { emit: __emit }) {
|
|
22
22
|
const props = __props;
|
|
23
|
+
const emit = __emit;
|
|
23
24
|
const hide = vue.computed(() => {
|
|
24
25
|
const { hide: hide2 } = props.item;
|
|
25
26
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -96,10 +96,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
96
96
|
parmas: {}
|
|
97
97
|
},
|
|
98
98
|
emits: ["sortChange", "clickTitle", "dragstart"],
|
|
99
|
-
setup(__props, { emit }) {
|
|
99
|
+
setup(__props, { emit: __emit }) {
|
|
100
|
+
const props = __props;
|
|
101
|
+
const emit = __emit;
|
|
100
102
|
const clickTitle = (item) => {
|
|
101
103
|
emit("clickTitle", item);
|
|
102
104
|
};
|
|
105
|
+
vue.onMounted(() => {
|
|
106
|
+
console.log("props", props.item);
|
|
107
|
+
});
|
|
103
108
|
return (_ctx, _cache) => {
|
|
104
109
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
105
110
|
vue.createCommentVNode(" \u7A3F\u4EF6 "),
|
|
@@ -9,7 +9,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
9
9
|
index: {}
|
|
10
10
|
},
|
|
11
11
|
emits: ["cellMouseEnter", "cellMouseLeave", "clickTitle"],
|
|
12
|
-
setup(__props, { emit }) {
|
|
12
|
+
setup(__props, { emit: __emit }) {
|
|
13
|
+
const emit = __emit;
|
|
13
14
|
const cellMouseEnter = (params) => {
|
|
14
15
|
emit("cellMouseEnter", params);
|
|
15
16
|
};
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
width: 100%;
|
|
21
21
|
height: 100%;
|
|
22
22
|
border-radius: 4px;
|
|
23
|
+
|
|
23
24
|
img {
|
|
24
25
|
width: 100%;
|
|
25
26
|
height: 100%;
|
|
@@ -51,15 +52,15 @@
|
|
|
51
52
|
padding: 2px 0;
|
|
52
53
|
|
|
53
54
|
.title {
|
|
54
|
-
width: calc(100% - 50px);
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
|
+
width: calc(100% - 50px);
|
|
57
58
|
margin-bottom: 10px;
|
|
58
59
|
overflow: hidden;
|
|
59
60
|
color: #1d2129;
|
|
61
|
+
font-weight: 400;
|
|
60
62
|
font-size: 14px;
|
|
61
63
|
font-style: normal;
|
|
62
|
-
font-weight: 400;
|
|
63
64
|
line-height: 22px;
|
|
64
65
|
cursor: pointer;
|
|
65
66
|
-webkit-line-clamp: 2;
|
|
@@ -93,7 +94,7 @@
|
|
|
93
94
|
|
|
94
95
|
.tags {
|
|
95
96
|
display: inline-block;
|
|
96
|
-
width:
|
|
97
|
+
width: 200px;
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
.abttr {
|
|
@@ -557,15 +557,15 @@
|
|
|
557
557
|
padding: 2px 0;
|
|
558
558
|
}
|
|
559
559
|
.medialist-doc-item-view .info-view .title {
|
|
560
|
-
width: calc(100% - 50px);
|
|
561
560
|
display: flex;
|
|
562
561
|
align-items: center;
|
|
562
|
+
width: calc(100% - 50px);
|
|
563
563
|
margin-bottom: 10px;
|
|
564
564
|
overflow: hidden;
|
|
565
565
|
color: #1d2129;
|
|
566
|
+
font-weight: 400;
|
|
566
567
|
font-size: 14px;
|
|
567
568
|
font-style: normal;
|
|
568
|
-
font-weight: 400;
|
|
569
569
|
line-height: 22px;
|
|
570
570
|
cursor: pointer;
|
|
571
571
|
-webkit-line-clamp: 2;
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
}
|
|
596
596
|
.medialist-doc-item-view .info-view .abttrite-v .left .tags {
|
|
597
597
|
display: inline-block;
|
|
598
|
-
width:
|
|
598
|
+
width: 200px;
|
|
599
599
|
}
|
|
600
600
|
.medialist-doc-item-view .info-view .abttrite-v .left .abttr {
|
|
601
601
|
display: inline-block;
|
|
@@ -22,11 +22,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
22
22
|
defaultSelectedData: {},
|
|
23
23
|
maxSelect: {},
|
|
24
24
|
typeData: {},
|
|
25
|
-
userStore: {}
|
|
25
|
+
userStore: {},
|
|
26
|
+
compoFilter: { type: Boolean, default: false }
|
|
26
27
|
},
|
|
27
28
|
emits: ["update:visible", "comfirm"],
|
|
28
|
-
setup(__props, { emit }) {
|
|
29
|
+
setup(__props, { emit: __emit }) {
|
|
29
30
|
var _a, _b, _c;
|
|
31
|
+
const emit = __emit;
|
|
30
32
|
const props = __props;
|
|
31
33
|
const BASE_API = props.BASE_API || config.DEFAULT_BASE_API;
|
|
32
34
|
const visible = vue.computed({
|
|
@@ -77,18 +79,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
77
79
|
});
|
|
78
80
|
return (_ctx, _cache) => {
|
|
79
81
|
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Modal), {
|
|
80
|
-
visible: visible.value,
|
|
81
|
-
width: "986px",
|
|
82
|
-
"mask-closable": false,
|
|
83
82
|
footer: false,
|
|
83
|
+
"mask-closable": false,
|
|
84
|
+
visible: visible.value,
|
|
85
|
+
"body-class": "add-content-modal-body",
|
|
86
|
+
"modal-class": "add-content-modal-wrapper",
|
|
84
87
|
"title-align": "start",
|
|
85
88
|
"unmount-on-close": "",
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
onOk: handleOk,
|
|
89
|
-
onOpen: HandleOpen,
|
|
89
|
+
width: "1020px",
|
|
90
|
+
onCancel: handleCancel,
|
|
90
91
|
onClose: HandleClose,
|
|
91
|
-
|
|
92
|
+
onOk: handleOk,
|
|
93
|
+
onOpen: HandleOpen
|
|
92
94
|
}, {
|
|
93
95
|
title: vue.withCtx(() => [
|
|
94
96
|
vue.createTextVNode(vue.toDisplayString(props.title ? props.title : "\u6DFB\u52A0\u5185\u5BB9"), 1)
|
|
@@ -107,11 +109,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
107
109
|
default: vue.withCtx(() => [
|
|
108
110
|
vue.unref(userInfo) && vue.unref(userInfo).repository_id ? (vue.openBlock(), vue.createBlock(index, {
|
|
109
111
|
key: 0,
|
|
110
|
-
|
|
112
|
+
banner: typeDataController.value.docBanner,
|
|
111
113
|
"default-selected-data": selectedData.value,
|
|
112
|
-
"
|
|
114
|
+
"max-select": _ctx.maxSelect,
|
|
113
115
|
series: typeDataController.value.docSeries,
|
|
114
|
-
|
|
116
|
+
"type-data": typeDataController.value,
|
|
115
117
|
"user-info": vue.unref(userInfo),
|
|
116
118
|
onChange: selectedDataChangeHandle
|
|
117
119
|
}, {
|
|
@@ -123,18 +125,18 @@ const _sfc_main = vue.defineComponent({
|
|
|
123
125
|
]),
|
|
124
126
|
options: vue.withCtx(() => [
|
|
125
127
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
126
|
-
type: "primary",
|
|
127
128
|
disabled: !hasSelected.value,
|
|
129
|
+
type: "primary",
|
|
128
130
|
onClick: comfirm
|
|
129
131
|
}, {
|
|
130
132
|
default: vue.withCtx(() => [
|
|
131
|
-
vue.createTextVNode("\u6DFB\u52A0")
|
|
133
|
+
vue.createTextVNode("\u6DFB\u52A0 ")
|
|
132
134
|
]),
|
|
133
135
|
_: 1
|
|
134
136
|
}, 8, ["disabled"])
|
|
135
137
|
]),
|
|
136
138
|
_: 1
|
|
137
|
-
}, 8, ["
|
|
139
|
+
}, 8, ["banner", "default-selected-data", "max-select", "series", "type-data", "user-info"])) : vue.createCommentVNode("v-if", true)
|
|
138
140
|
]),
|
|
139
141
|
_: 1
|
|
140
142
|
})) : vue.createCommentVNode("v-if", true),
|
|
@@ -145,12 +147,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
145
147
|
default: vue.withCtx(() => [
|
|
146
148
|
vue.unref(userInfo) && vue.unref(userInfo).repository_id ? (vue.openBlock(), vue.createBlock(index$2, {
|
|
147
149
|
key: 0,
|
|
148
|
-
"max-select": _ctx.maxSelect,
|
|
149
150
|
"default-selected-data": selectedData.value,
|
|
151
|
+
"max-select": _ctx.maxSelect,
|
|
150
152
|
"outside-select-data": _ctx.outsideSelectData || [],
|
|
153
|
+
type: typeDataController.value.contentListType,
|
|
151
154
|
"type-data": typeDataController.value,
|
|
152
155
|
"user-info": vue.unref(userInfo),
|
|
153
|
-
type: typeDataController.value.contentListType,
|
|
154
156
|
onChange: selectedDataChangeHandle
|
|
155
157
|
}, {
|
|
156
158
|
store: vue.withCtx(() => [
|
|
@@ -161,8 +163,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
161
163
|
]),
|
|
162
164
|
options: vue.withCtx(() => [
|
|
163
165
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
164
|
-
type: "primary",
|
|
165
166
|
disabled: !hasSelected.value,
|
|
167
|
+
type: "primary",
|
|
166
168
|
onClick: comfirm
|
|
167
169
|
}, {
|
|
168
170
|
default: vue.withCtx(() => [
|
|
@@ -172,7 +174,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
172
174
|
}, 8, ["disabled"])
|
|
173
175
|
]),
|
|
174
176
|
_: 1
|
|
175
|
-
}, 8, ["
|
|
177
|
+
}, 8, ["default-selected-data", "max-select", "outside-select-data", "type", "type-data", "user-info"])) : vue.createCommentVNode("v-if", true)
|
|
176
178
|
]),
|
|
177
179
|
_: 1
|
|
178
180
|
})) : vue.createCommentVNode("v-if", true),
|
|
@@ -183,11 +185,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
183
185
|
default: vue.withCtx(() => [
|
|
184
186
|
vue.unref(userInfo) && vue.unref(userInfo).repository_id ? (vue.openBlock(), vue.createBlock(index$3, {
|
|
185
187
|
key: 0,
|
|
186
|
-
|
|
188
|
+
columns: typeDataController.value.compoType,
|
|
189
|
+
"compo-filter": _ctx.compoFilter,
|
|
187
190
|
"default-selected-data": selectedData.value,
|
|
191
|
+
"max-select": _ctx.maxSelect,
|
|
188
192
|
"outside-select-data": _ctx.outsideSelectData || [],
|
|
189
193
|
"type-data": typeDataController.value,
|
|
190
|
-
columns: typeDataController.value.compoType,
|
|
191
194
|
"user-info": vue.unref(userInfo),
|
|
192
195
|
onChange: selectedDataChangeHandle
|
|
193
196
|
}, {
|
|
@@ -199,8 +202,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
199
202
|
]),
|
|
200
203
|
options: vue.withCtx(() => [
|
|
201
204
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
202
|
-
type: "primary",
|
|
203
205
|
disabled: !hasSelected.value,
|
|
206
|
+
type: "primary",
|
|
204
207
|
onClick: comfirm
|
|
205
208
|
}, {
|
|
206
209
|
default: vue.withCtx(() => [
|
|
@@ -210,7 +213,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
210
213
|
}, 8, ["disabled"])
|
|
211
214
|
]),
|
|
212
215
|
_: 1
|
|
213
|
-
}, 8, ["
|
|
216
|
+
}, 8, ["columns", "compo-filter", "default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : vue.createCommentVNode("v-if", true)
|
|
214
217
|
]),
|
|
215
218
|
_: 1
|
|
216
219
|
})) : vue.createCommentVNode("v-if", true),
|
|
@@ -221,11 +224,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
221
224
|
default: vue.withCtx(() => [
|
|
222
225
|
vue.unref(userInfo) && vue.unref(userInfo).repository_id ? (vue.openBlock(), vue.createBlock(index$4, {
|
|
223
226
|
key: 0,
|
|
224
|
-
|
|
227
|
+
columns: typeDataController.value.compoType,
|
|
225
228
|
"default-selected-data": selectedData.value,
|
|
229
|
+
"max-select": _ctx.maxSelect,
|
|
226
230
|
"outside-select-data": _ctx.outsideSelectData || [],
|
|
227
231
|
"type-data": typeDataController.value,
|
|
228
|
-
columns: typeDataController.value.compoType,
|
|
229
232
|
"user-info": vue.unref(userInfo),
|
|
230
233
|
onChange: selectedDataChangeHandle
|
|
231
234
|
}, {
|
|
@@ -237,8 +240,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
237
240
|
]),
|
|
238
241
|
options: vue.withCtx(() => [
|
|
239
242
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
240
|
-
type: "primary",
|
|
241
243
|
disabled: !hasSelected.value,
|
|
244
|
+
type: "primary",
|
|
242
245
|
onClick: comfirm
|
|
243
246
|
}, {
|
|
244
247
|
default: vue.withCtx(() => [
|
|
@@ -248,7 +251,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
248
251
|
}, 8, ["disabled"])
|
|
249
252
|
]),
|
|
250
253
|
_: 1
|
|
251
|
-
}, 8, ["
|
|
254
|
+
}, 8, ["columns", "default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : vue.createCommentVNode("v-if", true)
|
|
252
255
|
]),
|
|
253
256
|
_: 1
|
|
254
257
|
})) : vue.createCommentVNode("v-if", true),
|
|
@@ -259,11 +262,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
259
262
|
default: vue.withCtx(() => [
|
|
260
263
|
vue.unref(userInfo) && vue.unref(userInfo).repository_id ? (vue.openBlock(), vue.createBlock(index$5, {
|
|
261
264
|
key: 0,
|
|
262
|
-
|
|
265
|
+
columns: typeDataController.value.MpAccountType,
|
|
263
266
|
"default-selected-data": selectedData.value,
|
|
267
|
+
"max-select": _ctx.maxSelect,
|
|
264
268
|
"outside-select-data": _ctx.outsideSelectData || [],
|
|
265
269
|
"type-data": typeDataController.value,
|
|
266
|
-
columns: typeDataController.value.MpAccountType,
|
|
267
270
|
"user-info": vue.unref(userInfo),
|
|
268
271
|
onChange: selectedDataChangeHandle
|
|
269
272
|
}, {
|
|
@@ -275,8 +278,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
275
278
|
]),
|
|
276
279
|
options: vue.withCtx(() => [
|
|
277
280
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
278
|
-
type: "primary",
|
|
279
281
|
disabled: !hasSelected.value,
|
|
282
|
+
type: "primary",
|
|
280
283
|
onClick: comfirm
|
|
281
284
|
}, {
|
|
282
285
|
default: vue.withCtx(() => [
|
|
@@ -286,7 +289,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
286
289
|
}, 8, ["disabled"])
|
|
287
290
|
]),
|
|
288
291
|
_: 1
|
|
289
|
-
}, 8, ["
|
|
292
|
+
}, 8, ["columns", "default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : vue.createCommentVNode("v-if", true)
|
|
290
293
|
]),
|
|
291
294
|
_: 1
|
|
292
295
|
}, 8, ["title"])) : vue.createCommentVNode("v-if", true),
|
|
@@ -297,11 +300,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
297
300
|
default: vue.withCtx(() => [
|
|
298
301
|
vue.unref(userInfo) && vue.unref(userInfo).repository_id ? (vue.openBlock(), vue.createBlock(index$6, {
|
|
299
302
|
key: 0,
|
|
300
|
-
|
|
303
|
+
columns: typeDataController.value.MpAccountType,
|
|
301
304
|
"default-selected-data": selectedData.value,
|
|
305
|
+
"max-select": _ctx.maxSelect,
|
|
302
306
|
"outside-select-data": _ctx.outsideSelectData || [],
|
|
303
307
|
"type-data": typeDataController.value,
|
|
304
|
-
columns: typeDataController.value.MpAccountType,
|
|
305
308
|
"user-info": vue.unref(userInfo),
|
|
306
309
|
onChange: selectedDataChangeHandle
|
|
307
310
|
}, {
|
|
@@ -313,8 +316,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
313
316
|
]),
|
|
314
317
|
options: vue.withCtx(() => [
|
|
315
318
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
316
|
-
type: "primary",
|
|
317
319
|
disabled: !hasSelected.value,
|
|
320
|
+
type: "primary",
|
|
318
321
|
onClick: comfirm
|
|
319
322
|
}, {
|
|
320
323
|
default: vue.withCtx(() => [
|
|
@@ -324,7 +327,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
324
327
|
}, 8, ["disabled"])
|
|
325
328
|
]),
|
|
326
329
|
_: 1
|
|
327
|
-
}, 8, ["
|
|
330
|
+
}, 8, ["columns", "default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : vue.createCommentVNode("v-if", true)
|
|
328
331
|
]),
|
|
329
332
|
_: 1
|
|
330
333
|
}, 8, ["title"])) : vue.createCommentVNode("v-if", true)
|
|
@@ -12,9 +12,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
12
12
|
userInfo: {}
|
|
13
13
|
},
|
|
14
14
|
emits: ["update:group_id", "search"],
|
|
15
|
-
setup(__props, { emit }) {
|
|
16
|
-
const props = __props;
|
|
15
|
+
setup(__props, { emit: __emit }) {
|
|
17
16
|
const columnIdMap = typeMap.compoColumnsMap();
|
|
17
|
+
const props = __props;
|
|
18
|
+
const emit = __emit;
|
|
18
19
|
const filter = vue.ref({ keyword: "", columns: "" });
|
|
19
20
|
const groupId = vue.computed({
|
|
20
21
|
get() {
|
|
@@ -22,11 +22,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
22
22
|
outsideSelectData: {},
|
|
23
23
|
defaultSelectedData: {},
|
|
24
24
|
typeData: {},
|
|
25
|
-
userInfo: {}
|
|
25
|
+
userInfo: {},
|
|
26
|
+
compoFilter: { type: Boolean }
|
|
26
27
|
},
|
|
27
28
|
emits: ["change"],
|
|
28
|
-
setup(__props, { emit }) {
|
|
29
|
-
const props = __props;
|
|
29
|
+
setup(__props, { emit: __emit }) {
|
|
30
30
|
const columnIdMap = (compo) => {
|
|
31
31
|
if ((compo == null ? void 0 : compo.term_switch) === 1) {
|
|
32
32
|
return "PC\u6A21\u5757";
|
|
@@ -34,6 +34,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
34
34
|
const _type = typeMap.compoColumnsMap();
|
|
35
35
|
return _type[compo.columns];
|
|
36
36
|
};
|
|
37
|
+
const emit = __emit;
|
|
38
|
+
const props = __props;
|
|
37
39
|
const _maxSelect = props.maxSelect || 100;
|
|
38
40
|
const selectedData = vue.ref([]);
|
|
39
41
|
const tempSelectedData = vue.computed(() => {
|
|
@@ -163,6 +165,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
163
165
|
v._type = 2;
|
|
164
166
|
return v;
|
|
165
167
|
}) || [];
|
|
168
|
+
if (props.compoFilter) {
|
|
169
|
+
mediaFileData.value = mediaFileData.value.filter(
|
|
170
|
+
(x) => x.term_switch !== 1
|
|
171
|
+
);
|
|
172
|
+
}
|
|
166
173
|
}
|
|
167
174
|
};
|
|
168
175
|
const getGroupData = async () => {
|
|
@@ -12,8 +12,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
12
12
|
type: {}
|
|
13
13
|
},
|
|
14
14
|
emits: ["update:group_id", "search"],
|
|
15
|
-
setup(__props, { emit }) {
|
|
15
|
+
setup(__props, { emit: __emit }) {
|
|
16
16
|
const props = __props;
|
|
17
|
+
const emit = __emit;
|
|
17
18
|
const filter = vue.ref({ keyword: "", relation_type: "" });
|
|
18
19
|
const groupId = vue.computed({
|
|
19
20
|
get() {
|
|
@@ -25,7 +25,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
25
25
|
userInfo: {}
|
|
26
26
|
},
|
|
27
27
|
emits: ["change"],
|
|
28
|
-
setup(__props, { emit }) {
|
|
28
|
+
setup(__props, { emit: __emit }) {
|
|
29
|
+
const emit = __emit;
|
|
29
30
|
const props = __props;
|
|
30
31
|
const _maxSelect = props.maxSelect || 100;
|
|
31
32
|
const selectedData = vue.ref([]);
|
|
@@ -10,8 +10,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
10
10
|
group_id: {}
|
|
11
11
|
},
|
|
12
12
|
emits: ["update:group_id", "search"],
|
|
13
|
-
setup(__props, { emit }) {
|
|
13
|
+
setup(__props, { emit: __emit }) {
|
|
14
14
|
const props = __props;
|
|
15
|
+
const emit = __emit;
|
|
15
16
|
const filter = vue.ref({ type: "", name: "" });
|
|
16
17
|
vue.computed({
|
|
17
18
|
get() {
|
|
@@ -24,7 +24,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
24
24
|
userInfo: {}
|
|
25
25
|
},
|
|
26
26
|
emits: ["change"],
|
|
27
|
-
setup(__props, { emit }) {
|
|
27
|
+
setup(__props, { emit: __emit }) {
|
|
28
|
+
const emit = __emit;
|
|
28
29
|
const props = __props;
|
|
29
30
|
const _maxSelect = props.maxSelect || 100;
|
|
30
31
|
const selectedData = vue.ref([]);
|
|
@@ -7,8 +7,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
7
7
|
...{ name: "MpAccountFilter" },
|
|
8
8
|
__name: "index",
|
|
9
9
|
emits: ["search"],
|
|
10
|
-
setup(__props, { emit }) {
|
|
10
|
+
setup(__props, { emit: __emit }) {
|
|
11
11
|
var _a, _b, _c;
|
|
12
|
+
const emit = __emit;
|
|
12
13
|
const filter = vue.ref({ mp_name: "", mp_type: "" });
|
|
13
14
|
const mpName = ((_c = (_b = (_a = window.situoyun) == null ? void 0 : _a.config) == null ? void 0 : _b.oem_config) == null ? void 0 : _c.mp_name) || "\u516C\u4F17\u53F7";
|
|
14
15
|
const typeOptions = vue.computed(() => {
|
|
@@ -30,8 +30,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
30
30
|
defaultSelectedData: {}
|
|
31
31
|
},
|
|
32
32
|
emits: ["change"],
|
|
33
|
-
setup(__props, { emit }) {
|
|
33
|
+
setup(__props, { emit: __emit }) {
|
|
34
34
|
var _a, _b, _c;
|
|
35
|
+
const emit = __emit;
|
|
35
36
|
const props = __props;
|
|
36
37
|
const _maxSelect = props.maxSelect || 100;
|
|
37
38
|
const selectedData = vue.ref([]);
|
|
@@ -11,9 +11,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
11
11
|
userInfo: {}
|
|
12
12
|
},
|
|
13
13
|
emits: ["update:group_id", "search"],
|
|
14
|
-
setup(__props, { emit }) {
|
|
14
|
+
setup(__props, { emit: __emit }) {
|
|
15
15
|
var _a, _b, _c;
|
|
16
16
|
const props = __props;
|
|
17
|
+
const emit = __emit;
|
|
17
18
|
const filter = vue.ref({ wd: "", account_uid: "", order: 1 });
|
|
18
19
|
const typeOptions = vue.ref([{ mp_name: "\u5168\u90E8", uid: "all" }]);
|
|
19
20
|
const limit = vue.ref(100);
|