@cmstops/pro-compo 0.1.26 → 0.1.29
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 +100 -65
- package/dist/index.min.css +1 -1
- package/es/contentDetailList/components/Content/DocItem/index.js +1 -1
- package/es/contentDetailList/components/Content/DocMpItem/index.js +1 -1
- package/es/contentDetailList/components/Content/KongoNavItem/index.js +3 -3
- package/es/contentDetailList/components/Content/MaccountItem/index.js +30 -23
- package/es/contentDetailList/style/ComoItem.less +4 -0
- package/es/contentDetailList/style/ContentListItem.less +4 -0
- package/es/contentDetailList/style/DocItem.less +4 -6
- package/es/contentDetailList/style/DocMpItem.less +4 -6
- package/es/contentDetailList/style/KongoNavItem.less +4 -0
- package/es/contentDetailList/style/LiveItem.less +4 -0
- package/es/contentDetailList/style/MaccountItem.less +4 -0
- package/es/contentDetailList/style/index.css +28 -58
- package/es/contentDetailList/style/index.less +0 -1
- package/es/contentModal/component.js +165 -5
- package/es/contentModal/components/CompoList/index.js +13 -6
- package/es/contentModal/components/ContentList/MediaFilter/index.js +112 -0
- package/es/contentModal/components/ContentList/index.d.ts +0 -0
- package/es/contentModal/components/ContentList/index.js +269 -0
- package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/MediaFilter/index.js +74 -0
- package/es/contentModal/components/LiveList/index.d.ts +0 -0
- package/es/contentModal/components/LiveList/index.js +227 -0
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/MpAccountFilter/index.js +62 -0
- package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
- package/es/contentModal/components/MpAccountList/index.js +222 -0
- package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +85 -0
- package/es/contentModal/components/MpContentList/index.d.ts +0 -0
- package/es/contentModal/components/MpContentList/index.js +214 -0
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +176 -12
- package/es/contentModal/components/ViewAllColumn/index.js +33 -14
- package/es/contentModal/images/user.js +2 -0
- package/es/contentModal/script/api.d.ts +3 -0
- package/es/contentModal/script/api.js +22 -1
- package/es/contentModal/style/ViewAllColumn.less +51 -31
- package/es/contentModal/style/index.css +21 -7
- package/es/dataTags/component.d.ts +0 -0
- package/es/{contentDetailList/components/DocTags/index.js → dataTags/component.js} +10 -8
- package/es/dataTags/index.d.ts +2 -0
- package/es/dataTags/index.js +7 -0
- package/es/dataTags/style/css.js +1 -0
- package/es/dataTags/style/index.css +51 -0
- package/es/dataTags/style/index.d.ts +1 -0
- package/es/dataTags/style/index.js +1 -0
- package/{lib/contentDetailList/style/DocTags.less → es/dataTags/style/index.less} +12 -8
- package/es/emptyData/component.js +5 -5
- package/es/index.css +100 -65
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.less +1 -0
- package/es/utils/typeMap.d.ts +6 -15
- package/es/utils/typeMap.js +21 -1
- package/lib/contentDetailList/components/Content/DocItem/index.js +4 -4
- package/lib/contentDetailList/components/Content/DocMpItem/index.js +2 -2
- package/lib/contentDetailList/components/Content/KongoNavItem/index.js +4 -4
- package/lib/contentDetailList/components/Content/MaccountItem/index.js +30 -23
- package/lib/contentDetailList/style/ComoItem.less +4 -0
- package/lib/contentDetailList/style/ContentListItem.less +4 -0
- package/lib/contentDetailList/style/DocItem.less +4 -6
- package/lib/contentDetailList/style/DocMpItem.less +4 -6
- package/lib/contentDetailList/style/KongoNavItem.less +4 -0
- package/lib/contentDetailList/style/LiveItem.less +4 -0
- package/lib/contentDetailList/style/MaccountItem.less +4 -0
- package/lib/contentDetailList/style/index.css +28 -58
- package/lib/contentDetailList/style/index.less +0 -1
- package/lib/contentModal/component.js +165 -5
- package/lib/contentModal/components/CompoList/index.js +15 -8
- package/lib/contentModal/components/ContentList/MediaFilter/index.js +113 -0
- package/lib/contentModal/components/ContentList/index.js +270 -0
- package/lib/contentModal/components/LiveList/MediaFilter/index.js +75 -0
- package/lib/contentModal/components/LiveList/index.js +228 -0
- package/lib/contentModal/components/MpAccountList/MpAccountFilter/index.js +63 -0
- package/lib/contentModal/components/MpAccountList/index.js +223 -0
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +86 -0
- package/lib/contentModal/components/MpContentList/index.js +215 -0
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +175 -11
- package/lib/contentModal/components/ViewAllColumn/index.js +33 -14
- package/lib/contentModal/images/user.js +3 -0
- package/lib/contentModal/script/api.js +24 -0
- package/lib/contentModal/style/ViewAllColumn.less +51 -31
- package/lib/contentModal/style/index.css +21 -7
- package/lib/{contentDetailList/components/DocTags/index.js → dataTags/component.js} +10 -8
- package/lib/dataTags/index.js +8 -0
- package/lib/dataTags/style/css.js +2 -0
- package/lib/dataTags/style/index.css +51 -0
- package/lib/dataTags/style/index.js +2 -0
- package/{es/contentDetailList/style/DocTags.less → lib/dataTags/style/index.less} +12 -8
- package/lib/emptyData/component.js +4 -4
- package/lib/index.css +100 -65
- package/lib/index.js +2 -0
- package/lib/index.less +1 -0
- package/lib/utils/typeMap.js +22 -0
- package/package.json +1 -1
- /package/es/{contentDetailList/components/DocTags → contentModal/components/ContentList/MediaFilter}/index.d.ts +0 -0
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, unref, renderSlot, createTextVNode, toDisplayString,
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, unref, renderSlot, createTextVNode, toDisplayString, withCtx } from "vue";
|
|
2
2
|
import { Image, Tooltip } from "@arco-design/web-vue";
|
|
3
3
|
import _sfc_main$1 from "../../../../typeIcons/component.js";
|
|
4
|
-
import _sfc_main$2 from "
|
|
4
|
+
import _sfc_main$2 from "../../../../dataTags/component.js";
|
|
5
5
|
import defaultAvatar from "./temp/user.js";
|
|
6
6
|
const _hoisted_1 = { class: "cover-view" };
|
|
7
7
|
const _hoisted_2 = { class: "info-view" };
|
|
8
8
|
const _hoisted_3 = { class: "abttrite-v" };
|
|
9
9
|
const _hoisted_4 = { class: "left" };
|
|
10
|
-
const _hoisted_5 = { class: "
|
|
10
|
+
const _hoisted_5 = { class: "abttr" };
|
|
11
|
+
const _hoisted_6 = { class: "abttr time" };
|
|
12
|
+
const _hoisted_7 = { class: "right" };
|
|
11
13
|
const _sfc_main = defineComponent({
|
|
12
14
|
__name: "index",
|
|
13
15
|
props: {
|
|
@@ -47,32 +49,37 @@ const _sfc_main = defineComponent({
|
|
|
47
49
|
createElementVNode("div", _hoisted_4, [
|
|
48
50
|
createVNode(_sfc_main$1, {
|
|
49
51
|
class: "icon",
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}, null, 8, ["doc", "type"]),
|
|
52
|
+
type: "mpdoc"
|
|
53
|
+
}),
|
|
53
54
|
createVNode(_sfc_main$2, {
|
|
54
55
|
class: "abttr tags",
|
|
55
56
|
item: _ctx.item
|
|
56
57
|
}, null, 8, ["item"]),
|
|
57
58
|
renderSlot(_ctx.$slots, "tip"),
|
|
58
|
-
(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
59
|
+
createElementVNode("span", _hoisted_5, [
|
|
60
|
+
createVNode(unref(Tooltip), {
|
|
61
|
+
content: `\u8FD0\u8425\u8005: ${_ctx.item.mp_user_name}`,
|
|
62
|
+
placement: "top"
|
|
63
|
+
}, {
|
|
64
|
+
default: withCtx(() => [
|
|
65
|
+
createElementVNode("span", null, toDisplayString(_ctx.item.mp_user_name || "--"), 1)
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}, 8, ["content"])
|
|
69
|
+
]),
|
|
70
|
+
createElementVNode("span", _hoisted_6, [
|
|
71
|
+
createVNode(unref(Tooltip), {
|
|
72
|
+
content: `\u6240\u5C5E\u9886\u57DF: ${_ctx.item.catalog_alias}`,
|
|
73
|
+
placement: "top"
|
|
74
|
+
}, {
|
|
75
|
+
default: withCtx(() => [
|
|
76
|
+
createElementVNode("span", null, toDisplayString(_ctx.item.catalog_alias), 1)
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
}, 8, ["content"])
|
|
80
|
+
])
|
|
74
81
|
]),
|
|
75
|
-
createElementVNode("div",
|
|
82
|
+
createElementVNode("div", _hoisted_7, [
|
|
76
83
|
renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
77
84
|
])
|
|
78
85
|
])
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
width: 100%;
|
|
21
21
|
height: 100%;
|
|
22
22
|
border-radius: 4px;
|
|
23
|
+
img {
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
}
|
|
23
27
|
}
|
|
24
28
|
|
|
25
29
|
.batch-select {
|
|
@@ -28,12 +32,6 @@
|
|
|
28
32
|
left: 5px;
|
|
29
33
|
}
|
|
30
34
|
|
|
31
|
-
.arco-image-img {
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: 100%;
|
|
34
|
-
border-radius: 4px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
35
|
.no-img {
|
|
38
36
|
display: flex;
|
|
39
37
|
align-items: center;
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
width: 100%;
|
|
21
21
|
height: 100%;
|
|
22
22
|
border-radius: 4px;
|
|
23
|
+
img {
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
}
|
|
23
27
|
}
|
|
24
28
|
|
|
25
29
|
.batch-select {
|
|
@@ -28,12 +32,6 @@
|
|
|
28
32
|
left: 5px;
|
|
29
33
|
}
|
|
30
34
|
|
|
31
|
-
.arco-image-img {
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: 100%;
|
|
34
|
-
border-radius: 4px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
35
|
.no-img {
|
|
38
36
|
display: flex;
|
|
39
37
|
align-items: center;
|
|
@@ -59,6 +59,10 @@
|
|
|
59
59
|
height: 100%;
|
|
60
60
|
border-radius: 4px;
|
|
61
61
|
}
|
|
62
|
+
.medialist-component-item-view .cover-view .image img {
|
|
63
|
+
width: 100%;
|
|
64
|
+
height: 100%;
|
|
65
|
+
}
|
|
62
66
|
.medialist-component-item-view .cover-view .no-img {
|
|
63
67
|
display: flex;
|
|
64
68
|
align-items: center;
|
|
@@ -140,6 +144,10 @@
|
|
|
140
144
|
height: 100%;
|
|
141
145
|
border-radius: 4px;
|
|
142
146
|
}
|
|
147
|
+
.medialist-component-item-view .cover-view .image img {
|
|
148
|
+
width: 100%;
|
|
149
|
+
height: 100%;
|
|
150
|
+
}
|
|
143
151
|
.medialist-component-item-view .cover-view .no-img {
|
|
144
152
|
display: flex;
|
|
145
153
|
align-items: center;
|
|
@@ -246,6 +254,10 @@
|
|
|
246
254
|
height: 100%;
|
|
247
255
|
border-radius: 4px;
|
|
248
256
|
}
|
|
257
|
+
.medialist-kongo-item-view .cover-view .image img {
|
|
258
|
+
width: 100%;
|
|
259
|
+
height: 100%;
|
|
260
|
+
}
|
|
249
261
|
.medialist-kongo-item-view .cover-view .no-img {
|
|
250
262
|
display: flex;
|
|
251
263
|
align-items: center;
|
|
@@ -308,54 +320,6 @@
|
|
|
308
320
|
.medialist-kongo-item-view .info-view .abttrite-v .right {
|
|
309
321
|
margin-right: 20px;
|
|
310
322
|
}
|
|
311
|
-
.no-margin span {
|
|
312
|
-
margin-right: 0 !important;
|
|
313
|
-
}
|
|
314
|
-
.doc-tags-container .arco-tag {
|
|
315
|
-
font-weight: 600;
|
|
316
|
-
border: none;
|
|
317
|
-
margin-right: 5px;
|
|
318
|
-
}
|
|
319
|
-
.doc-tags-container .yuanchuang {
|
|
320
|
-
color: #4886ff;
|
|
321
|
-
background: #edf3ff;
|
|
322
|
-
}
|
|
323
|
-
.doc-tags-container .star {
|
|
324
|
-
color: #4a8457;
|
|
325
|
-
background: #e6f8ea;
|
|
326
|
-
}
|
|
327
|
-
.doc-tags-container .waring {
|
|
328
|
-
color: #ff7d00;
|
|
329
|
-
background: #fff2e6;
|
|
330
|
-
}
|
|
331
|
-
.doc-tags-container .thumb {
|
|
332
|
-
color: #86909c;
|
|
333
|
-
background: #f3f4f5;
|
|
334
|
-
}
|
|
335
|
-
.doc-tags-container .disabled {
|
|
336
|
-
color: #bababa !important;
|
|
337
|
-
background: #ecebeb !important;
|
|
338
|
-
}
|
|
339
|
-
.doc-tags-thumb-popver {
|
|
340
|
-
min-width: unset;
|
|
341
|
-
padding: 0;
|
|
342
|
-
overflow: hidden;
|
|
343
|
-
line-height: unset;
|
|
344
|
-
border: none;
|
|
345
|
-
border-radius: 8px;
|
|
346
|
-
}
|
|
347
|
-
.doc-tags-thumb-popver .popper__arrow {
|
|
348
|
-
display: none;
|
|
349
|
-
}
|
|
350
|
-
.doc-tags-thumb-popver .doc-tags-thumb-ul {
|
|
351
|
-
height: 110px;
|
|
352
|
-
}
|
|
353
|
-
.doc-tags-thumb-popver .doc-tags-thumb-ul img {
|
|
354
|
-
height: 100%;
|
|
355
|
-
}
|
|
356
|
-
.doc-tags-thumb-popver .doc-tags-thumb-ul img + img {
|
|
357
|
-
margin-left: 2px;
|
|
358
|
-
}
|
|
359
323
|
.medialist-ilive-item-view {
|
|
360
324
|
display: flex;
|
|
361
325
|
padding: 10px;
|
|
@@ -377,6 +341,10 @@
|
|
|
377
341
|
height: 100%;
|
|
378
342
|
border-radius: 4px;
|
|
379
343
|
}
|
|
344
|
+
.medialist-ilive-item-view .cover-view .image img {
|
|
345
|
+
width: 100%;
|
|
346
|
+
height: 100%;
|
|
347
|
+
}
|
|
380
348
|
.medialist-ilive-item-view .cover-view .no-img {
|
|
381
349
|
display: flex;
|
|
382
350
|
align-items: center;
|
|
@@ -467,6 +435,10 @@
|
|
|
467
435
|
height: 100%;
|
|
468
436
|
border-radius: 4px;
|
|
469
437
|
}
|
|
438
|
+
.medialist-account-item-view .cover-view .image img {
|
|
439
|
+
width: 100%;
|
|
440
|
+
height: 100%;
|
|
441
|
+
}
|
|
470
442
|
.medialist-account-item-view .cover-view .no-img {
|
|
471
443
|
display: flex;
|
|
472
444
|
align-items: center;
|
|
@@ -559,16 +531,15 @@
|
|
|
559
531
|
height: 100%;
|
|
560
532
|
border-radius: 4px;
|
|
561
533
|
}
|
|
534
|
+
.medialist-doc-item-view .cover-view .image img {
|
|
535
|
+
width: 100%;
|
|
536
|
+
height: 100%;
|
|
537
|
+
}
|
|
562
538
|
.medialist-doc-item-view .cover-view .batch-select {
|
|
563
539
|
position: absolute;
|
|
564
540
|
top: 3px;
|
|
565
541
|
left: 5px;
|
|
566
542
|
}
|
|
567
|
-
.medialist-doc-item-view .cover-view .arco-image-img {
|
|
568
|
-
width: 100%;
|
|
569
|
-
height: 100%;
|
|
570
|
-
border-radius: 4px;
|
|
571
|
-
}
|
|
572
543
|
.medialist-doc-item-view .cover-view .no-img {
|
|
573
544
|
display: flex;
|
|
574
545
|
align-items: center;
|
|
@@ -677,16 +648,15 @@
|
|
|
677
648
|
height: 100%;
|
|
678
649
|
border-radius: 4px;
|
|
679
650
|
}
|
|
651
|
+
.medialist-mpdoc-item-view .cover-view .image img {
|
|
652
|
+
width: 100%;
|
|
653
|
+
height: 100%;
|
|
654
|
+
}
|
|
680
655
|
.medialist-mpdoc-item-view .cover-view .batch-select {
|
|
681
656
|
position: absolute;
|
|
682
657
|
top: 3px;
|
|
683
658
|
left: 5px;
|
|
684
659
|
}
|
|
685
|
-
.medialist-mpdoc-item-view .cover-view .arco-image-img {
|
|
686
|
-
width: 100%;
|
|
687
|
-
height: 100%;
|
|
688
|
-
border-radius: 4px;
|
|
689
|
-
}
|
|
690
660
|
.medialist-mpdoc-item-view .cover-view .no-img {
|
|
691
661
|
display: flex;
|
|
692
662
|
align-items: center;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, onMounted, openBlock, createBlock, unref, withCtx, createTextVNode, toDisplayString, createVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { Modal, Tabs, TabPane, Button } from "@arco-design/web-vue";
|
|
3
3
|
import _sfc_main$1 from "./components/ViewAllColumn/index.js";
|
|
4
|
-
import _sfc_main$
|
|
4
|
+
import _sfc_main$4 from "./components/CompoList/index.js";
|
|
5
|
+
import _sfc_main$6 from "./components/MpAccountList/index.js";
|
|
6
|
+
import _sfc_main$3 from "./components/ContentList/index.js";
|
|
7
|
+
import _sfc_main$5 from "./components/LiveList/index.js";
|
|
8
|
+
import _sfc_main$7 from "./components/MpContentList/index.js";
|
|
5
9
|
import _sfc_main$2 from "./components/storeBox/index.js";
|
|
6
10
|
import "../typeIcons/style/index.js";
|
|
7
11
|
import { DEFAULT_BASE_API } from "../config.js";
|
|
@@ -58,6 +62,9 @@ const _sfc_main = defineComponent({
|
|
|
58
62
|
const HandleClose = () => {
|
|
59
63
|
selectedData.value = [];
|
|
60
64
|
};
|
|
65
|
+
const tabsChange = () => {
|
|
66
|
+
selectedData.value = [];
|
|
67
|
+
};
|
|
61
68
|
onMounted(() => {
|
|
62
69
|
if (props.userStore) {
|
|
63
70
|
userInfo.value = { BASE_API, ...props.userStore };
|
|
@@ -86,7 +93,8 @@ const _sfc_main = defineComponent({
|
|
|
86
93
|
default: withCtx(() => [
|
|
87
94
|
createVNode(unref(Tabs), {
|
|
88
95
|
class: "content-tabs",
|
|
89
|
-
justify: ""
|
|
96
|
+
justify: "",
|
|
97
|
+
onTabClick: tabsChange
|
|
90
98
|
}, {
|
|
91
99
|
default: withCtx(() => [
|
|
92
100
|
typeDataController.value.addDoc ? (openBlock(), createBlock(unref(TabPane), {
|
|
@@ -127,9 +135,9 @@ const _sfc_main = defineComponent({
|
|
|
127
135
|
]),
|
|
128
136
|
_: 1
|
|
129
137
|
})) : createCommentVNode("v-if", true),
|
|
130
|
-
typeDataController.value.
|
|
138
|
+
typeDataController.value.addContentList ? (openBlock(), createBlock(unref(TabPane), {
|
|
131
139
|
key: "2",
|
|
132
|
-
title: "\
|
|
140
|
+
title: "\u9891\u9053"
|
|
133
141
|
}, {
|
|
134
142
|
default: withCtx(() => [
|
|
135
143
|
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$3, {
|
|
@@ -138,8 +146,8 @@ const _sfc_main = defineComponent({
|
|
|
138
146
|
"default-selected-data": selectedData.value,
|
|
139
147
|
"outside-select-data": _ctx.outsideSelectData || [],
|
|
140
148
|
"type-data": typeDataController.value,
|
|
141
|
-
columns: typeDataController.value.compoType,
|
|
142
149
|
"user-info": unref(userInfo),
|
|
150
|
+
type: typeDataController.value.contentListType,
|
|
143
151
|
onChange: selectedDataChangeHandle
|
|
144
152
|
}, {
|
|
145
153
|
store: withCtx(() => [
|
|
@@ -161,6 +169,158 @@ const _sfc_main = defineComponent({
|
|
|
161
169
|
}, 8, ["disabled"])
|
|
162
170
|
]),
|
|
163
171
|
_: 1
|
|
172
|
+
}, 8, ["max-select", "default-selected-data", "outside-select-data", "type-data", "user-info", "type"])) : createCommentVNode("v-if", true)
|
|
173
|
+
]),
|
|
174
|
+
_: 1
|
|
175
|
+
})) : createCommentVNode("v-if", true),
|
|
176
|
+
typeDataController.value.addCompo ? (openBlock(), createBlock(unref(TabPane), {
|
|
177
|
+
key: "5",
|
|
178
|
+
title: "\u7EC4\u4EF6"
|
|
179
|
+
}, {
|
|
180
|
+
default: withCtx(() => [
|
|
181
|
+
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$4, {
|
|
182
|
+
key: 0,
|
|
183
|
+
"max-select": _ctx.maxSelect,
|
|
184
|
+
"default-selected-data": selectedData.value,
|
|
185
|
+
"outside-select-data": _ctx.outsideSelectData || [],
|
|
186
|
+
"type-data": typeDataController.value,
|
|
187
|
+
columns: typeDataController.value.compoType,
|
|
188
|
+
"user-info": unref(userInfo),
|
|
189
|
+
onChange: selectedDataChangeHandle
|
|
190
|
+
}, {
|
|
191
|
+
store: withCtx(() => [
|
|
192
|
+
createVNode(_sfc_main$2, {
|
|
193
|
+
selectData: selectedData.value,
|
|
194
|
+
"onUpdate:selectData": _cache[2] || (_cache[2] = ($event) => selectedData.value = $event)
|
|
195
|
+
}, null, 8, ["selectData"])
|
|
196
|
+
]),
|
|
197
|
+
options: withCtx(() => [
|
|
198
|
+
createVNode(unref(Button), {
|
|
199
|
+
type: "primary",
|
|
200
|
+
disabled: !hasSelected.value,
|
|
201
|
+
onClick: comfirm
|
|
202
|
+
}, {
|
|
203
|
+
default: withCtx(() => [
|
|
204
|
+
createTextVNode(" \u6DFB\u52A0 ")
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
}, 8, ["disabled"])
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
}, 8, ["max-select", "default-selected-data", "outside-select-data", "type-data", "columns", "user-info"])) : createCommentVNode("v-if", true)
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
})) : createCommentVNode("v-if", true),
|
|
214
|
+
typeDataController.value.addCompo ? (openBlock(), createBlock(unref(TabPane), {
|
|
215
|
+
key: "6",
|
|
216
|
+
title: "\u4E92\u52A8\u76F4\u64AD"
|
|
217
|
+
}, {
|
|
218
|
+
default: withCtx(() => [
|
|
219
|
+
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$5, {
|
|
220
|
+
key: 0,
|
|
221
|
+
"max-select": _ctx.maxSelect,
|
|
222
|
+
"default-selected-data": selectedData.value,
|
|
223
|
+
"outside-select-data": _ctx.outsideSelectData || [],
|
|
224
|
+
"type-data": typeDataController.value,
|
|
225
|
+
columns: typeDataController.value.compoType,
|
|
226
|
+
"user-info": unref(userInfo),
|
|
227
|
+
onChange: selectedDataChangeHandle
|
|
228
|
+
}, {
|
|
229
|
+
store: withCtx(() => [
|
|
230
|
+
createVNode(_sfc_main$2, {
|
|
231
|
+
selectData: selectedData.value,
|
|
232
|
+
"onUpdate:selectData": _cache[3] || (_cache[3] = ($event) => selectedData.value = $event)
|
|
233
|
+
}, null, 8, ["selectData"])
|
|
234
|
+
]),
|
|
235
|
+
options: withCtx(() => [
|
|
236
|
+
createVNode(unref(Button), {
|
|
237
|
+
type: "primary",
|
|
238
|
+
disabled: !hasSelected.value,
|
|
239
|
+
onClick: comfirm
|
|
240
|
+
}, {
|
|
241
|
+
default: withCtx(() => [
|
|
242
|
+
createTextVNode(" \u6DFB\u52A0 ")
|
|
243
|
+
]),
|
|
244
|
+
_: 1
|
|
245
|
+
}, 8, ["disabled"])
|
|
246
|
+
]),
|
|
247
|
+
_: 1
|
|
248
|
+
}, 8, ["max-select", "default-selected-data", "outside-select-data", "type-data", "columns", "user-info"])) : createCommentVNode("v-if", true)
|
|
249
|
+
]),
|
|
250
|
+
_: 1
|
|
251
|
+
})) : createCommentVNode("v-if", true),
|
|
252
|
+
typeDataController.value.addMpAccount ? (openBlock(), createBlock(unref(TabPane), {
|
|
253
|
+
key: "7",
|
|
254
|
+
title: "\u516C\u4F17\u53F7"
|
|
255
|
+
}, {
|
|
256
|
+
default: withCtx(() => [
|
|
257
|
+
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$6, {
|
|
258
|
+
key: 0,
|
|
259
|
+
"max-select": _ctx.maxSelect,
|
|
260
|
+
"default-selected-data": selectedData.value,
|
|
261
|
+
"outside-select-data": _ctx.outsideSelectData || [],
|
|
262
|
+
"type-data": typeDataController.value,
|
|
263
|
+
columns: typeDataController.value.MpAccountType,
|
|
264
|
+
"user-info": unref(userInfo),
|
|
265
|
+
onChange: selectedDataChangeHandle
|
|
266
|
+
}, {
|
|
267
|
+
store: withCtx(() => [
|
|
268
|
+
createVNode(_sfc_main$2, {
|
|
269
|
+
selectData: selectedData.value,
|
|
270
|
+
"onUpdate:selectData": _cache[4] || (_cache[4] = ($event) => selectedData.value = $event)
|
|
271
|
+
}, null, 8, ["selectData"])
|
|
272
|
+
]),
|
|
273
|
+
options: withCtx(() => [
|
|
274
|
+
createVNode(unref(Button), {
|
|
275
|
+
type: "primary",
|
|
276
|
+
disabled: !hasSelected.value,
|
|
277
|
+
onClick: comfirm
|
|
278
|
+
}, {
|
|
279
|
+
default: withCtx(() => [
|
|
280
|
+
createTextVNode(" \u6DFB\u52A0 ")
|
|
281
|
+
]),
|
|
282
|
+
_: 1
|
|
283
|
+
}, 8, ["disabled"])
|
|
284
|
+
]),
|
|
285
|
+
_: 1
|
|
286
|
+
}, 8, ["max-select", "default-selected-data", "outside-select-data", "type-data", "columns", "user-info"])) : createCommentVNode("v-if", true)
|
|
287
|
+
]),
|
|
288
|
+
_: 1
|
|
289
|
+
})) : createCommentVNode("v-if", true),
|
|
290
|
+
typeDataController.value.addMpContent ? (openBlock(), createBlock(unref(TabPane), {
|
|
291
|
+
key: "8",
|
|
292
|
+
title: "\u516C\u4F17\u53F7\u5185\u5BB9"
|
|
293
|
+
}, {
|
|
294
|
+
default: withCtx(() => [
|
|
295
|
+
unref(userInfo) && unref(userInfo).repository_id ? (openBlock(), createBlock(_sfc_main$7, {
|
|
296
|
+
key: 0,
|
|
297
|
+
"max-select": _ctx.maxSelect,
|
|
298
|
+
"default-selected-data": selectedData.value,
|
|
299
|
+
"outside-select-data": _ctx.outsideSelectData || [],
|
|
300
|
+
"type-data": typeDataController.value,
|
|
301
|
+
columns: typeDataController.value.MpAccountType,
|
|
302
|
+
"user-info": unref(userInfo),
|
|
303
|
+
onChange: selectedDataChangeHandle
|
|
304
|
+
}, {
|
|
305
|
+
store: withCtx(() => [
|
|
306
|
+
createVNode(_sfc_main$2, {
|
|
307
|
+
selectData: selectedData.value,
|
|
308
|
+
"onUpdate:selectData": _cache[5] || (_cache[5] = ($event) => selectedData.value = $event)
|
|
309
|
+
}, null, 8, ["selectData"])
|
|
310
|
+
]),
|
|
311
|
+
options: withCtx(() => [
|
|
312
|
+
createVNode(unref(Button), {
|
|
313
|
+
type: "primary",
|
|
314
|
+
disabled: !hasSelected.value,
|
|
315
|
+
onClick: comfirm
|
|
316
|
+
}, {
|
|
317
|
+
default: withCtx(() => [
|
|
318
|
+
createTextVNode(" \u6DFB\u52A0 ")
|
|
319
|
+
]),
|
|
320
|
+
_: 1
|
|
321
|
+
}, 8, ["disabled"])
|
|
322
|
+
]),
|
|
323
|
+
_: 1
|
|
164
324
|
}, 8, ["max-select", "default-selected-data", "outside-select-data", "type-data", "columns", "user-info"])) : createCommentVNode("v-if", true)
|
|
165
325
|
]),
|
|
166
326
|
_: 1
|
|
@@ -5,7 +5,7 @@ import _sfc_main$1 from "./CompoFilter/index.js";
|
|
|
5
5
|
import useTableBatch from "../../../hooks/batch.js";
|
|
6
6
|
import { searchMlists, getCategorylistsGroups } from "../../script/api.js";
|
|
7
7
|
import { compoColumnsMap } from "../../../utils/typeMap.js";
|
|
8
|
-
import {
|
|
8
|
+
import { timeFormat } from "../../../utils/index.js";
|
|
9
9
|
const _hoisted_1 = { class: "view-all-column-container" };
|
|
10
10
|
const _hoisted_2 = { class: "content-table-view" };
|
|
11
11
|
const _hoisted_3 = { class: "title-span" };
|
|
@@ -26,7 +26,13 @@ const _sfc_main = defineComponent({
|
|
|
26
26
|
emits: ["change"],
|
|
27
27
|
setup(__props, { emit }) {
|
|
28
28
|
const props = __props;
|
|
29
|
-
const columnIdMap =
|
|
29
|
+
const columnIdMap = (compo) => {
|
|
30
|
+
if ((compo == null ? void 0 : compo.term_switch) === 1) {
|
|
31
|
+
return "PC\u6A21\u5757";
|
|
32
|
+
}
|
|
33
|
+
const _type = compoColumnsMap();
|
|
34
|
+
return _type[compo.columns];
|
|
35
|
+
};
|
|
30
36
|
const _maxSelect = props.maxSelect || 100;
|
|
31
37
|
const selectedData = ref([]);
|
|
32
38
|
const tempSelectedData = computed(() => {
|
|
@@ -131,7 +137,8 @@ const _sfc_main = defineComponent({
|
|
|
131
137
|
let params = {
|
|
132
138
|
rid: props.userInfo.repository_id,
|
|
133
139
|
state: 1,
|
|
134
|
-
group_type: 2
|
|
140
|
+
group_type: 2,
|
|
141
|
+
terminal: "pc"
|
|
135
142
|
};
|
|
136
143
|
if (filter.value) {
|
|
137
144
|
params = { ...params, ...filter.value };
|
|
@@ -148,7 +155,7 @@ const _sfc_main = defineComponent({
|
|
|
148
155
|
v.channel_type = 1;
|
|
149
156
|
v.target_id = v.id;
|
|
150
157
|
v.target_type = 6;
|
|
151
|
-
v.pub_time =
|
|
158
|
+
v.pub_time = v.publish_at;
|
|
152
159
|
v.update_time = v.updated_at;
|
|
153
160
|
v.pub_user_alias = v.publish_user_alias;
|
|
154
161
|
v.creator_alias = v.creator_alias || v.author_alias;
|
|
@@ -224,10 +231,10 @@ const _sfc_main = defineComponent({
|
|
|
224
231
|
])
|
|
225
232
|
]),
|
|
226
233
|
type: withCtx(({ record }) => [
|
|
227
|
-
createElementVNode("span", null, toDisplayString(
|
|
234
|
+
createElementVNode("span", null, toDisplayString(columnIdMap(record)), 1)
|
|
228
235
|
]),
|
|
229
236
|
pub_time: withCtx(({ record }) => [
|
|
230
|
-
createElementVNode("span", null, toDisplayString(record.pub_time), 1)
|
|
237
|
+
createElementVNode("span", null, toDisplayString(unref(timeFormat)(record.pub_time)), 1)
|
|
231
238
|
]),
|
|
232
239
|
_: 1
|
|
233
240
|
}, 8, ["data", "loading", "onCellMouseEnter", "onCellMouseLeave"])
|