@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
|
@@ -26,8 +26,9 @@ const _sfc_main = defineComponent({
|
|
|
26
26
|
"scroll",
|
|
27
27
|
"scrollReachEnd"
|
|
28
28
|
],
|
|
29
|
-
setup(__props, { emit }) {
|
|
29
|
+
setup(__props, { emit: __emit }) {
|
|
30
30
|
const props = __props;
|
|
31
|
+
const emit = __emit;
|
|
31
32
|
const parmasProps = props.parmas || {};
|
|
32
33
|
const dragalbeProps = props.dragalbe || false;
|
|
33
34
|
const abttritesProps = props.abttrites || [];
|
|
@@ -39,6 +40,7 @@ const _sfc_main = defineComponent({
|
|
|
39
40
|
});
|
|
40
41
|
const dataList = computed({
|
|
41
42
|
get() {
|
|
43
|
+
console.log("dataList", props.data);
|
|
42
44
|
return props.data;
|
|
43
45
|
},
|
|
44
46
|
set(value) {
|
|
@@ -21,8 +21,9 @@ const _sfc_main = 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 comColumnsMap = ref(compoColumnsMap().value);
|
|
27
28
|
const hide = computed(() => {
|
|
28
29
|
const { hide: hide2 } = props.item;
|
|
@@ -29,8 +29,9 @@ const _sfc_main = defineComponent({
|
|
|
29
29
|
parmas: {}
|
|
30
30
|
},
|
|
31
31
|
emits: ["clickTitle"],
|
|
32
|
-
setup(__props, { emit }) {
|
|
32
|
+
setup(__props, { emit: __emit }) {
|
|
33
33
|
const props = __props;
|
|
34
|
+
const emit = __emit;
|
|
34
35
|
const hide = computed(() => {
|
|
35
36
|
const { hide: hide2 } = props.item;
|
|
36
37
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -14,7 +14,8 @@ const _sfc_main = defineComponent({
|
|
|
14
14
|
item: {}
|
|
15
15
|
},
|
|
16
16
|
emits: ["showUserInfo"],
|
|
17
|
-
setup(__props, { emit }) {
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
|
+
const emit = __emit;
|
|
18
19
|
const calcIsRobot = (data) => {
|
|
19
20
|
if (data.current_processes[0] && data.current_processes[0].users && data.current_processes[0].users[0]) {
|
|
20
21
|
const ApvUser = data.current_processes[0].users[0];
|
|
@@ -33,8 +33,9 @@ const _sfc_main = defineComponent({
|
|
|
33
33
|
abttrites: {}
|
|
34
34
|
},
|
|
35
35
|
emits: ["clickTitle", "cellMouseEnter", "cellMouseLeave"],
|
|
36
|
-
setup(__props, { emit }) {
|
|
36
|
+
setup(__props, { emit: __emit }) {
|
|
37
37
|
const props = __props;
|
|
38
|
+
const emit = __emit;
|
|
38
39
|
const hide = computed(() => {
|
|
39
40
|
const { hide: hide2 } = props.item;
|
|
40
41
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -23,9 +23,10 @@ const _sfc_main = defineComponent({
|
|
|
23
23
|
abttrites: {}
|
|
24
24
|
},
|
|
25
25
|
emits: ["clickTitle"],
|
|
26
|
-
setup(__props, { emit }) {
|
|
26
|
+
setup(__props, { emit: __emit }) {
|
|
27
27
|
var _a, _b, _c;
|
|
28
28
|
const props = __props;
|
|
29
|
+
const emit = __emit;
|
|
29
30
|
const hide = computed(() => {
|
|
30
31
|
const { hide: hide2 } = props.item;
|
|
31
32
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -23,8 +23,9 @@ const _sfc_main = defineComponent({
|
|
|
23
23
|
item: {}
|
|
24
24
|
},
|
|
25
25
|
emits: ["clickTitle"],
|
|
26
|
-
setup(__props, { emit }) {
|
|
26
|
+
setup(__props, { emit: __emit }) {
|
|
27
27
|
const props = __props;
|
|
28
|
+
const emit = __emit;
|
|
28
29
|
const hide = computed(() => {
|
|
29
30
|
const { hide: hide2 } = props.item;
|
|
30
31
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -20,8 +20,9 @@ const _sfc_main = defineComponent({
|
|
|
20
20
|
item: {}
|
|
21
21
|
},
|
|
22
22
|
emits: ["clickTitle"],
|
|
23
|
-
setup(__props, { emit }) {
|
|
23
|
+
setup(__props, { emit: __emit }) {
|
|
24
24
|
const props = __props;
|
|
25
|
+
const emit = __emit;
|
|
25
26
|
const hide = computed(() => {
|
|
26
27
|
const { hide: hide2 } = props.item;
|
|
27
28
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -17,8 +17,9 @@ const _sfc_main = defineComponent({
|
|
|
17
17
|
abttrites: {}
|
|
18
18
|
},
|
|
19
19
|
emits: ["clickTitle"],
|
|
20
|
-
setup(__props, { emit }) {
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
21
21
|
const props = __props;
|
|
22
|
+
const emit = __emit;
|
|
22
23
|
const hide = computed(() => {
|
|
23
24
|
const { hide: hide2 } = props.item;
|
|
24
25
|
return hide2 === 7 || hide2 === 6;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, Fragment, createCommentVNode, createBlock, withCtx, createElementVNode, toDisplayString, createVNode, unref, renderSlot, createTextVNode } from "vue";
|
|
1
|
+
import { defineComponent, onMounted, openBlock, createElementBlock, Fragment, createCommentVNode, createBlock, withCtx, createElementVNode, toDisplayString, createVNode, unref, renderSlot, createTextVNode } from "vue";
|
|
2
2
|
import { IconPenFill, IconClockCircle, IconPushpin } from "@arco-design/web-vue/es/icon";
|
|
3
3
|
import _sfc_main$2 from "./CompoItem/index.js";
|
|
4
4
|
import _sfc_main$3 from "./ContentListItem/index.js";
|
|
@@ -95,10 +95,15 @@ const _sfc_main = defineComponent({
|
|
|
95
95
|
parmas: {}
|
|
96
96
|
},
|
|
97
97
|
emits: ["sortChange", "clickTitle", "dragstart"],
|
|
98
|
-
setup(__props, { emit }) {
|
|
98
|
+
setup(__props, { emit: __emit }) {
|
|
99
|
+
const props = __props;
|
|
100
|
+
const emit = __emit;
|
|
99
101
|
const clickTitle = (item) => {
|
|
100
102
|
emit("clickTitle", item);
|
|
101
103
|
};
|
|
104
|
+
onMounted(() => {
|
|
105
|
+
console.log("props", props.item);
|
|
106
|
+
});
|
|
102
107
|
return (_ctx, _cache) => {
|
|
103
108
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
104
109
|
createCommentVNode(" \u7A3F\u4EF6 "),
|
|
@@ -8,7 +8,8 @@ const _sfc_main = defineComponent({
|
|
|
8
8
|
index: {}
|
|
9
9
|
},
|
|
10
10
|
emits: ["cellMouseEnter", "cellMouseLeave", "clickTitle"],
|
|
11
|
-
setup(__props, { emit }) {
|
|
11
|
+
setup(__props, { emit: __emit }) {
|
|
12
|
+
const emit = __emit;
|
|
12
13
|
const cellMouseEnter = (params) => {
|
|
13
14
|
emit("cellMouseEnter", params);
|
|
14
15
|
};
|
|
@@ -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;
|
|
@@ -21,11 +21,13 @@ const _sfc_main = defineComponent({
|
|
|
21
21
|
defaultSelectedData: {},
|
|
22
22
|
maxSelect: {},
|
|
23
23
|
typeData: {},
|
|
24
|
-
userStore: {}
|
|
24
|
+
userStore: {},
|
|
25
|
+
compoFilter: { type: Boolean, default: false }
|
|
25
26
|
},
|
|
26
27
|
emits: ["update:visible", "comfirm"],
|
|
27
|
-
setup(__props, { emit }) {
|
|
28
|
+
setup(__props, { emit: __emit }) {
|
|
28
29
|
var _a, _b, _c;
|
|
30
|
+
const emit = __emit;
|
|
29
31
|
const props = __props;
|
|
30
32
|
const BASE_API = props.BASE_API || DEFAULT_BASE_API;
|
|
31
33
|
const visible = computed({
|
|
@@ -76,18 +78,18 @@ const _sfc_main = defineComponent({
|
|
|
76
78
|
});
|
|
77
79
|
return (_ctx, _cache) => {
|
|
78
80
|
return openBlock(), createBlock(unref(Modal), {
|
|
79
|
-
visible: visible.value,
|
|
80
|
-
width: "986px",
|
|
81
|
-
"mask-closable": false,
|
|
82
81
|
footer: false,
|
|
82
|
+
"mask-closable": false,
|
|
83
|
+
visible: visible.value,
|
|
84
|
+
"body-class": "add-content-modal-body",
|
|
85
|
+
"modal-class": "add-content-modal-wrapper",
|
|
83
86
|
"title-align": "start",
|
|
84
87
|
"unmount-on-close": "",
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
onOk: handleOk,
|
|
88
|
-
onOpen: HandleOpen,
|
|
88
|
+
width: "1020px",
|
|
89
|
+
onCancel: handleCancel,
|
|
89
90
|
onClose: HandleClose,
|
|
90
|
-
|
|
91
|
+
onOk: handleOk,
|
|
92
|
+
onOpen: HandleOpen
|
|
91
93
|
}, {
|
|
92
94
|
title: withCtx(() => [
|
|
93
95
|
createTextVNode(toDisplayString(props.title ? props.title : "\u6DFB\u52A0\u5185\u5BB9"), 1)
|
|
@@ -106,11 +108,11 @@ const _sfc_main = defineComponent({
|
|
|
106
108
|
default: withCtx(() => [
|
|
107
109
|
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$1, {
|
|
108
110
|
key: 0,
|
|
109
|
-
|
|
111
|
+
banner: typeDataController.value.docBanner,
|
|
110
112
|
"default-selected-data": selectedData.value,
|
|
111
|
-
"
|
|
113
|
+
"max-select": _ctx.maxSelect,
|
|
112
114
|
series: typeDataController.value.docSeries,
|
|
113
|
-
|
|
115
|
+
"type-data": typeDataController.value,
|
|
114
116
|
"user-info": unref(userInfo),
|
|
115
117
|
onChange: selectedDataChangeHandle
|
|
116
118
|
}, {
|
|
@@ -122,18 +124,18 @@ const _sfc_main = defineComponent({
|
|
|
122
124
|
]),
|
|
123
125
|
options: withCtx(() => [
|
|
124
126
|
createVNode(unref(Button), {
|
|
125
|
-
type: "primary",
|
|
126
127
|
disabled: !hasSelected.value,
|
|
128
|
+
type: "primary",
|
|
127
129
|
onClick: comfirm
|
|
128
130
|
}, {
|
|
129
131
|
default: withCtx(() => [
|
|
130
|
-
createTextVNode("\u6DFB\u52A0")
|
|
132
|
+
createTextVNode("\u6DFB\u52A0 ")
|
|
131
133
|
]),
|
|
132
134
|
_: 1
|
|
133
135
|
}, 8, ["disabled"])
|
|
134
136
|
]),
|
|
135
137
|
_: 1
|
|
136
|
-
}, 8, ["
|
|
138
|
+
}, 8, ["banner", "default-selected-data", "max-select", "series", "type-data", "user-info"])) : createCommentVNode("v-if", true)
|
|
137
139
|
]),
|
|
138
140
|
_: 1
|
|
139
141
|
})) : createCommentVNode("v-if", true),
|
|
@@ -144,12 +146,12 @@ const _sfc_main = defineComponent({
|
|
|
144
146
|
default: withCtx(() => [
|
|
145
147
|
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$3, {
|
|
146
148
|
key: 0,
|
|
147
|
-
"max-select": _ctx.maxSelect,
|
|
148
149
|
"default-selected-data": selectedData.value,
|
|
150
|
+
"max-select": _ctx.maxSelect,
|
|
149
151
|
"outside-select-data": _ctx.outsideSelectData || [],
|
|
152
|
+
type: typeDataController.value.contentListType,
|
|
150
153
|
"type-data": typeDataController.value,
|
|
151
154
|
"user-info": unref(userInfo),
|
|
152
|
-
type: typeDataController.value.contentListType,
|
|
153
155
|
onChange: selectedDataChangeHandle
|
|
154
156
|
}, {
|
|
155
157
|
store: withCtx(() => [
|
|
@@ -160,8 +162,8 @@ const _sfc_main = defineComponent({
|
|
|
160
162
|
]),
|
|
161
163
|
options: withCtx(() => [
|
|
162
164
|
createVNode(unref(Button), {
|
|
163
|
-
type: "primary",
|
|
164
165
|
disabled: !hasSelected.value,
|
|
166
|
+
type: "primary",
|
|
165
167
|
onClick: comfirm
|
|
166
168
|
}, {
|
|
167
169
|
default: withCtx(() => [
|
|
@@ -171,7 +173,7 @@ const _sfc_main = defineComponent({
|
|
|
171
173
|
}, 8, ["disabled"])
|
|
172
174
|
]),
|
|
173
175
|
_: 1
|
|
174
|
-
}, 8, ["
|
|
176
|
+
}, 8, ["default-selected-data", "max-select", "outside-select-data", "type", "type-data", "user-info"])) : createCommentVNode("v-if", true)
|
|
175
177
|
]),
|
|
176
178
|
_: 1
|
|
177
179
|
})) : createCommentVNode("v-if", true),
|
|
@@ -182,11 +184,12 @@ const _sfc_main = defineComponent({
|
|
|
182
184
|
default: withCtx(() => [
|
|
183
185
|
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$4, {
|
|
184
186
|
key: 0,
|
|
185
|
-
|
|
187
|
+
columns: typeDataController.value.compoType,
|
|
188
|
+
"compo-filter": _ctx.compoFilter,
|
|
186
189
|
"default-selected-data": selectedData.value,
|
|
190
|
+
"max-select": _ctx.maxSelect,
|
|
187
191
|
"outside-select-data": _ctx.outsideSelectData || [],
|
|
188
192
|
"type-data": typeDataController.value,
|
|
189
|
-
columns: typeDataController.value.compoType,
|
|
190
193
|
"user-info": unref(userInfo),
|
|
191
194
|
onChange: selectedDataChangeHandle
|
|
192
195
|
}, {
|
|
@@ -198,8 +201,8 @@ const _sfc_main = defineComponent({
|
|
|
198
201
|
]),
|
|
199
202
|
options: withCtx(() => [
|
|
200
203
|
createVNode(unref(Button), {
|
|
201
|
-
type: "primary",
|
|
202
204
|
disabled: !hasSelected.value,
|
|
205
|
+
type: "primary",
|
|
203
206
|
onClick: comfirm
|
|
204
207
|
}, {
|
|
205
208
|
default: withCtx(() => [
|
|
@@ -209,7 +212,7 @@ const _sfc_main = defineComponent({
|
|
|
209
212
|
}, 8, ["disabled"])
|
|
210
213
|
]),
|
|
211
214
|
_: 1
|
|
212
|
-
}, 8, ["
|
|
215
|
+
}, 8, ["columns", "compo-filter", "default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : createCommentVNode("v-if", true)
|
|
213
216
|
]),
|
|
214
217
|
_: 1
|
|
215
218
|
})) : createCommentVNode("v-if", true),
|
|
@@ -220,11 +223,11 @@ const _sfc_main = defineComponent({
|
|
|
220
223
|
default: withCtx(() => [
|
|
221
224
|
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$5, {
|
|
222
225
|
key: 0,
|
|
223
|
-
|
|
226
|
+
columns: typeDataController.value.compoType,
|
|
224
227
|
"default-selected-data": selectedData.value,
|
|
228
|
+
"max-select": _ctx.maxSelect,
|
|
225
229
|
"outside-select-data": _ctx.outsideSelectData || [],
|
|
226
230
|
"type-data": typeDataController.value,
|
|
227
|
-
columns: typeDataController.value.compoType,
|
|
228
231
|
"user-info": unref(userInfo),
|
|
229
232
|
onChange: selectedDataChangeHandle
|
|
230
233
|
}, {
|
|
@@ -236,8 +239,8 @@ const _sfc_main = defineComponent({
|
|
|
236
239
|
]),
|
|
237
240
|
options: withCtx(() => [
|
|
238
241
|
createVNode(unref(Button), {
|
|
239
|
-
type: "primary",
|
|
240
242
|
disabled: !hasSelected.value,
|
|
243
|
+
type: "primary",
|
|
241
244
|
onClick: comfirm
|
|
242
245
|
}, {
|
|
243
246
|
default: withCtx(() => [
|
|
@@ -247,7 +250,7 @@ const _sfc_main = defineComponent({
|
|
|
247
250
|
}, 8, ["disabled"])
|
|
248
251
|
]),
|
|
249
252
|
_: 1
|
|
250
|
-
}, 8, ["
|
|
253
|
+
}, 8, ["columns", "default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : createCommentVNode("v-if", true)
|
|
251
254
|
]),
|
|
252
255
|
_: 1
|
|
253
256
|
})) : createCommentVNode("v-if", true),
|
|
@@ -258,11 +261,11 @@ const _sfc_main = defineComponent({
|
|
|
258
261
|
default: withCtx(() => [
|
|
259
262
|
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$6, {
|
|
260
263
|
key: 0,
|
|
261
|
-
|
|
264
|
+
columns: typeDataController.value.MpAccountType,
|
|
262
265
|
"default-selected-data": selectedData.value,
|
|
266
|
+
"max-select": _ctx.maxSelect,
|
|
263
267
|
"outside-select-data": _ctx.outsideSelectData || [],
|
|
264
268
|
"type-data": typeDataController.value,
|
|
265
|
-
columns: typeDataController.value.MpAccountType,
|
|
266
269
|
"user-info": unref(userInfo),
|
|
267
270
|
onChange: selectedDataChangeHandle
|
|
268
271
|
}, {
|
|
@@ -274,8 +277,8 @@ const _sfc_main = defineComponent({
|
|
|
274
277
|
]),
|
|
275
278
|
options: withCtx(() => [
|
|
276
279
|
createVNode(unref(Button), {
|
|
277
|
-
type: "primary",
|
|
278
280
|
disabled: !hasSelected.value,
|
|
281
|
+
type: "primary",
|
|
279
282
|
onClick: comfirm
|
|
280
283
|
}, {
|
|
281
284
|
default: withCtx(() => [
|
|
@@ -285,7 +288,7 @@ const _sfc_main = defineComponent({
|
|
|
285
288
|
}, 8, ["disabled"])
|
|
286
289
|
]),
|
|
287
290
|
_: 1
|
|
288
|
-
}, 8, ["
|
|
291
|
+
}, 8, ["columns", "default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : createCommentVNode("v-if", true)
|
|
289
292
|
]),
|
|
290
293
|
_: 1
|
|
291
294
|
}, 8, ["title"])) : createCommentVNode("v-if", true),
|
|
@@ -296,11 +299,11 @@ const _sfc_main = defineComponent({
|
|
|
296
299
|
default: withCtx(() => [
|
|
297
300
|
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$7, {
|
|
298
301
|
key: 0,
|
|
299
|
-
|
|
302
|
+
columns: typeDataController.value.MpAccountType,
|
|
300
303
|
"default-selected-data": selectedData.value,
|
|
304
|
+
"max-select": _ctx.maxSelect,
|
|
301
305
|
"outside-select-data": _ctx.outsideSelectData || [],
|
|
302
306
|
"type-data": typeDataController.value,
|
|
303
|
-
columns: typeDataController.value.MpAccountType,
|
|
304
307
|
"user-info": unref(userInfo),
|
|
305
308
|
onChange: selectedDataChangeHandle
|
|
306
309
|
}, {
|
|
@@ -312,8 +315,8 @@ const _sfc_main = defineComponent({
|
|
|
312
315
|
]),
|
|
313
316
|
options: withCtx(() => [
|
|
314
317
|
createVNode(unref(Button), {
|
|
315
|
-
type: "primary",
|
|
316
318
|
disabled: !hasSelected.value,
|
|
319
|
+
type: "primary",
|
|
317
320
|
onClick: comfirm
|
|
318
321
|
}, {
|
|
319
322
|
default: withCtx(() => [
|
|
@@ -323,7 +326,7 @@ const _sfc_main = defineComponent({
|
|
|
323
326
|
}, 8, ["disabled"])
|
|
324
327
|
]),
|
|
325
328
|
_: 1
|
|
326
|
-
}, 8, ["
|
|
329
|
+
}, 8, ["columns", "default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : createCommentVNode("v-if", true)
|
|
327
330
|
]),
|
|
328
331
|
_: 1
|
|
329
332
|
}, 8, ["title"])) : createCommentVNode("v-if", true)
|
|
@@ -11,9 +11,10 @@ const _sfc_main = defineComponent({
|
|
|
11
11
|
userInfo: {}
|
|
12
12
|
},
|
|
13
13
|
emits: ["update:group_id", "search"],
|
|
14
|
-
setup(__props, { emit }) {
|
|
15
|
-
const props = __props;
|
|
14
|
+
setup(__props, { emit: __emit }) {
|
|
16
15
|
const columnIdMap = compoColumnsMap();
|
|
16
|
+
const props = __props;
|
|
17
|
+
const emit = __emit;
|
|
17
18
|
const filter = ref({ keyword: "", columns: "" });
|
|
18
19
|
const groupId = computed({
|
|
19
20
|
get() {
|
|
@@ -21,11 +21,11 @@ const _sfc_main = defineComponent({
|
|
|
21
21
|
outsideSelectData: {},
|
|
22
22
|
defaultSelectedData: {},
|
|
23
23
|
typeData: {},
|
|
24
|
-
userInfo: {}
|
|
24
|
+
userInfo: {},
|
|
25
|
+
compoFilter: { type: Boolean }
|
|
25
26
|
},
|
|
26
27
|
emits: ["change"],
|
|
27
|
-
setup(__props, { emit }) {
|
|
28
|
-
const props = __props;
|
|
28
|
+
setup(__props, { emit: __emit }) {
|
|
29
29
|
const columnIdMap = (compo) => {
|
|
30
30
|
if ((compo == null ? void 0 : compo.term_switch) === 1) {
|
|
31
31
|
return "PC\u6A21\u5757";
|
|
@@ -33,6 +33,8 @@ const _sfc_main = defineComponent({
|
|
|
33
33
|
const _type = compoColumnsMap();
|
|
34
34
|
return _type[compo.columns];
|
|
35
35
|
};
|
|
36
|
+
const emit = __emit;
|
|
37
|
+
const props = __props;
|
|
36
38
|
const _maxSelect = props.maxSelect || 100;
|
|
37
39
|
const selectedData = ref([]);
|
|
38
40
|
const tempSelectedData = computed(() => {
|
|
@@ -162,6 +164,11 @@ const _sfc_main = defineComponent({
|
|
|
162
164
|
v._type = 2;
|
|
163
165
|
return v;
|
|
164
166
|
}) || [];
|
|
167
|
+
if (props.compoFilter) {
|
|
168
|
+
mediaFileData.value = mediaFileData.value.filter(
|
|
169
|
+
(x) => x.term_switch !== 1
|
|
170
|
+
);
|
|
171
|
+
}
|
|
165
172
|
}
|
|
166
173
|
};
|
|
167
174
|
const getGroupData = async () => {
|
|
@@ -11,8 +11,9 @@ const _sfc_main = defineComponent({
|
|
|
11
11
|
type: {}
|
|
12
12
|
},
|
|
13
13
|
emits: ["update:group_id", "search"],
|
|
14
|
-
setup(__props, { emit }) {
|
|
14
|
+
setup(__props, { emit: __emit }) {
|
|
15
15
|
const props = __props;
|
|
16
|
+
const emit = __emit;
|
|
16
17
|
const filter = ref({ keyword: "", relation_type: "" });
|
|
17
18
|
const groupId = computed({
|
|
18
19
|
get() {
|
|
@@ -24,7 +24,8 @@ const _sfc_main = 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 = ref([]);
|
|
@@ -9,8 +9,9 @@ const _sfc_main = defineComponent({
|
|
|
9
9
|
group_id: {}
|
|
10
10
|
},
|
|
11
11
|
emits: ["update:group_id", "search"],
|
|
12
|
-
setup(__props, { emit }) {
|
|
12
|
+
setup(__props, { emit: __emit }) {
|
|
13
13
|
const props = __props;
|
|
14
|
+
const emit = __emit;
|
|
14
15
|
const filter = ref({ type: "", name: "" });
|
|
15
16
|
computed({
|
|
16
17
|
get() {
|
|
@@ -23,7 +23,8 @@ const _sfc_main = defineComponent({
|
|
|
23
23
|
userInfo: {}
|
|
24
24
|
},
|
|
25
25
|
emits: ["change"],
|
|
26
|
-
setup(__props, { emit }) {
|
|
26
|
+
setup(__props, { emit: __emit }) {
|
|
27
|
+
const emit = __emit;
|
|
27
28
|
const props = __props;
|
|
28
29
|
const _maxSelect = props.maxSelect || 100;
|
|
29
30
|
const selectedData = ref([]);
|
|
@@ -6,8 +6,9 @@ const _sfc_main = defineComponent({
|
|
|
6
6
|
...{ name: "MpAccountFilter" },
|
|
7
7
|
__name: "index",
|
|
8
8
|
emits: ["search"],
|
|
9
|
-
setup(__props, { emit }) {
|
|
9
|
+
setup(__props, { emit: __emit }) {
|
|
10
10
|
var _a, _b, _c;
|
|
11
|
+
const emit = __emit;
|
|
11
12
|
const filter = ref({ mp_name: "", mp_type: "" });
|
|
12
13
|
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";
|
|
13
14
|
const typeOptions = computed(() => {
|
|
@@ -29,8 +29,9 @@ const _sfc_main = defineComponent({
|
|
|
29
29
|
defaultSelectedData: {}
|
|
30
30
|
},
|
|
31
31
|
emits: ["change"],
|
|
32
|
-
setup(__props, { emit }) {
|
|
32
|
+
setup(__props, { emit: __emit }) {
|
|
33
33
|
var _a, _b, _c;
|
|
34
|
+
const emit = __emit;
|
|
34
35
|
const props = __props;
|
|
35
36
|
const _maxSelect = props.maxSelect || 100;
|
|
36
37
|
const selectedData = ref([]);
|
|
@@ -10,9 +10,10 @@ const _sfc_main = defineComponent({
|
|
|
10
10
|
userInfo: {}
|
|
11
11
|
},
|
|
12
12
|
emits: ["update:group_id", "search"],
|
|
13
|
-
setup(__props, { emit }) {
|
|
13
|
+
setup(__props, { emit: __emit }) {
|
|
14
14
|
var _a, _b, _c;
|
|
15
15
|
const props = __props;
|
|
16
|
+
const emit = __emit;
|
|
16
17
|
const filter = ref({ wd: "", account_uid: "", order: 1 });
|
|
17
18
|
const typeOptions = ref([{ mp_name: "\u5168\u90E8", uid: "all" }]);
|
|
18
19
|
const limit = ref(100);
|
|
@@ -21,8 +21,9 @@ const _sfc_main = defineComponent({
|
|
|
21
21
|
userInfo: {}
|
|
22
22
|
},
|
|
23
23
|
emits: ["change"],
|
|
24
|
-
setup(__props, { emit }) {
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
25
|
var _a, _b, _c;
|
|
26
|
+
const emit = __emit;
|
|
26
27
|
const props = __props;
|
|
27
28
|
const _maxSelect = props.maxSelect || 100;
|
|
28
29
|
const selectedData = ref([]);
|