@cmstops/pro-compo 0.3.81 → 0.3.83
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/es/baseFilter/components/FilterGroup.js +1 -1
- package/es/baseFilter/useCalcWidth.d.ts +2 -2
- package/es/contentDetailList/components/Content/DocItem/index.js +14 -12
- package/es/contentDetailList/components/Content/LiveItem/index.js +6 -5
- package/es/contentDetailList/components/Content/courseItem/index.js +8 -7
- package/es/contentDetailList/components/Content/funhdItem/index.js +8 -7
- package/es/contentDetailList/components/Content/index.js +2 -2
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +11 -10
- package/es/contentModal/component.js +40 -17
- package/es/contentModal/components/EqxiuList/index.js +38 -31
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +4 -3
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
- package/es/contentModal/components/storeBox/index.js +4 -4
- package/es/contentModal/script/api.d.ts +1 -0
- package/es/contentModal/script/api.js +8 -1
- package/es/dataTags/component.js +10 -10
- package/es/docHistory/component.js +2 -2
- package/es/docHistory/scripts/useDocHistory.d.ts +4 -4
- package/es/docPreview/component.js +56 -47
- package/es/docPreview/components/PreviewIframe.js +10 -9
- package/es/docPreview/scripts/hook.d.ts +6 -16
- package/es/editMetaInfo/components/metaInfoForm.js +4 -4
- package/es/emptyData/svg/acount.js +5 -3
- package/es/emptyData/svg/add.js +5 -3
- package/es/emptyData/svg/analize.js +5 -3
- package/es/emptyData/svg/analize_fail.js +5 -3
- package/es/emptyData/svg/empty.js +5 -3
- package/es/emptyData/svg/file.js +5 -3
- package/es/emptyData/svg/manager.js +5 -3
- package/es/emptyData/svg/message.js +17 -14
- package/es/emptyData/svg/noanalize.js +5 -3
- package/es/emptyData/svg/null.js +5 -3
- package/es/emptyData/svg/search.js +5 -3
- package/es/emptyData/svg/star.js +5 -3
- package/es/emptyData/svg/trash.js +5 -3
- package/es/emptyData/svg/user.js +5 -3
- package/es/hooks/batch.d.ts +1 -1
- package/es/hooks/dialogVisible.d.ts +1 -1
- package/es/hooks/source.d.ts +1 -1
- package/es/hooks/toggle.d.ts +1 -1
- package/es/hooks/useAttachement.d.ts +6 -6
- package/es/hooks/useMediaContext.d.ts +5 -5
- package/es/hooks/usePopper.d.ts +1 -1
- package/es/hooks/useSelection.d.ts +2 -9
- package/es/hooks/useUpload.d.ts +2 -2
- package/es/hooks/user.d.ts +1 -1
- package/es/imageCrop/component.js +4 -4
- package/es/mediaFilter/components/DocFilter.js +1 -1
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/mediaView/component.js +5 -3
- package/es/messageBox/component.js +2 -2
- package/es/previousVersion/component.js +4 -3
- package/es/resourceGridList/component.js +18 -15
- package/es/resourceModal/component.js +2 -2
- package/es/resourceModal/components/MediaPreviewer/index.js +10 -7
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +17 -15
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +24 -20
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +4 -3
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +13 -9
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
- package/es/selectGategory/component.js +4 -3
- package/es/selectResourceModal/component.js +10 -10
- package/es/selectResourceModal/components/List/ListAi/index.js +8 -7
- package/es/selectResourceModal/components/List/ListCardWrapper.js +8 -6
- package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
- package/es/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
- package/es/selectResourceModal/components/List/ListSystem/SubList.js +4 -3
- package/es/selectResourceModal/components/List/ListSystem/index.js +2 -1
- package/es/selectResourceModal/scripts/useResourceSelect.d.ts +1 -1
- package/es/selectResourceModal/scripts/useTabFilter.d.ts +1 -1
- package/es/selectThumb/component.js +28 -23
- package/es/uploadBefore/components/UploadBefore.js +2 -2
- package/es/uploadBefore/script/uploadHooks.d.ts +1 -42
- package/es/userAvater/component.js +2 -2
- package/es/userDirector/component.js +2 -2
- package/es/utils/filter.d.ts +0 -12
- package/es/videoThumb/scripts/useVideoThumbs.d.ts +4 -4
- package/lib/baseFilter/components/FilterGroup.js +1 -1
- package/lib/contentDetailList/components/Content/DocItem/index.js +14 -12
- package/lib/contentDetailList/components/Content/LiveItem/index.js +6 -5
- package/lib/contentDetailList/components/Content/courseItem/index.js +8 -7
- package/lib/contentDetailList/components/Content/funhdItem/index.js +8 -7
- package/lib/contentDetailList/components/Content/index.js +2 -2
- package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +11 -10
- package/lib/contentModal/component.js +40 -17
- package/lib/contentModal/components/EqxiuList/index.js +38 -31
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +4 -3
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
- package/lib/contentModal/components/storeBox/index.js +4 -4
- package/lib/contentModal/script/api.js +8 -0
- package/lib/dataTags/component.js +10 -10
- package/lib/docHistory/component.js +2 -2
- package/lib/docPreview/component.js +56 -47
- package/lib/docPreview/components/PreviewIframe.js +10 -9
- package/lib/editMetaInfo/components/metaInfoForm.js +4 -4
- package/lib/emptyData/svg/acount.js +5 -3
- package/lib/emptyData/svg/add.js +5 -3
- package/lib/emptyData/svg/analize.js +5 -3
- package/lib/emptyData/svg/analize_fail.js +5 -3
- package/lib/emptyData/svg/empty.js +5 -3
- package/lib/emptyData/svg/file.js +5 -3
- package/lib/emptyData/svg/manager.js +5 -3
- package/lib/emptyData/svg/message.js +17 -14
- package/lib/emptyData/svg/noanalize.js +5 -3
- package/lib/emptyData/svg/null.js +5 -3
- package/lib/emptyData/svg/search.js +5 -3
- package/lib/emptyData/svg/star.js +5 -3
- package/lib/emptyData/svg/trash.js +5 -3
- package/lib/emptyData/svg/user.js +5 -3
- package/lib/imageCrop/component.js +4 -4
- package/lib/mediaFilter/components/DocFilter.js +1 -1
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/mediaView/component.js +5 -3
- package/lib/messageBox/component.js +2 -2
- package/lib/previousVersion/component.js +4 -3
- package/lib/resourceGridList/component.js +18 -15
- package/lib/resourceModal/component.js +2 -2
- package/lib/resourceModal/components/MediaPreviewer/index.js +10 -7
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +17 -15
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +24 -20
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +4 -3
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +13 -9
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
- package/lib/selectGategory/component.js +4 -3
- package/lib/selectResourceModal/component.js +10 -10
- package/lib/selectResourceModal/components/List/ListAi/index.js +7 -6
- package/lib/selectResourceModal/components/List/ListCardWrapper.js +8 -6
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
- package/lib/selectResourceModal/components/List/ListSystem/SubList.js +4 -3
- package/lib/selectResourceModal/components/List/ListSystem/index.js +2 -1
- package/lib/selectThumb/component.js +28 -23
- package/lib/uploadBefore/components/UploadBefore.js +2 -2
- package/lib/userAvater/component.js +2 -2
- package/lib/userDirector/component.js +2 -2
- package/package.json +1 -1
|
@@ -115,7 +115,7 @@ const _sfc_main = defineComponent({
|
|
|
115
115
|
}, {
|
|
116
116
|
default: withCtx(() => [
|
|
117
117
|
createElementVNode("span", _hoisted_3, [
|
|
118
|
-
|
|
118
|
+
createTextVNode(" \u66F4\u591A\u7B5B\u9009 "),
|
|
119
119
|
createVNode(unref(IconCaretDown))
|
|
120
120
|
])
|
|
121
121
|
]),
|
|
@@ -7,8 +7,8 @@ import { Ref } from 'vue';
|
|
|
7
7
|
* @returns
|
|
8
8
|
*/
|
|
9
9
|
export default function useCalcWidth(filterItemsRef: Ref<HTMLElement | undefined>, dpPannelRef: Ref<HTMLElement | undefined>, moreBtnRef: Ref<HTMLElement | undefined>): {
|
|
10
|
-
pannelArray: Ref<string
|
|
11
|
-
popperShowFlag: Ref<boolean
|
|
10
|
+
pannelArray: Ref<string>;
|
|
11
|
+
popperShowFlag: Ref<boolean>;
|
|
12
12
|
showPopper: () => void;
|
|
13
13
|
initDocWidthListener: () => void;
|
|
14
14
|
initPopper: () => void;
|
|
@@ -19,14 +19,16 @@ const _hoisted_6 = { class: "abttrite-v" };
|
|
|
19
19
|
const _hoisted_7 = { class: "left" };
|
|
20
20
|
const _hoisted_8 = { class: "tags" };
|
|
21
21
|
const _hoisted_9 = { key: 0 };
|
|
22
|
-
const _hoisted_10 =
|
|
23
|
-
const _hoisted_11 = {
|
|
24
|
-
const _hoisted_12 = {
|
|
25
|
-
const _hoisted_13 = {
|
|
22
|
+
const _hoisted_10 = /* @__PURE__ */ createElementVNode("span", null, "\u5BA1\u6838\u72B6\u6001: ", -1);
|
|
23
|
+
const _hoisted_11 = { key: 1 };
|
|
24
|
+
const _hoisted_12 = { class: "abttr" };
|
|
25
|
+
const _hoisted_13 = { style: { "font-size": "14px", "margin-bottom": "5px", "font-weight": "bold" } };
|
|
26
|
+
const _hoisted_14 = /* @__PURE__ */ createElementVNode("span", { style: { "font-size": "10px" } }, "\u540C\u65F6\u53D1\u5E03\u5230:", -1);
|
|
27
|
+
const _hoisted_15 = {
|
|
26
28
|
key: 1,
|
|
27
29
|
style: { "font-size": "10px" }
|
|
28
30
|
};
|
|
29
|
-
const
|
|
31
|
+
const _hoisted_16 = { class: "right" };
|
|
30
32
|
const _sfc_main = defineComponent({
|
|
31
33
|
__name: "index",
|
|
32
34
|
props: {
|
|
@@ -144,14 +146,14 @@ const _sfc_main = defineComponent({
|
|
|
144
146
|
return openBlock(), createElementBlock(Fragment, { key: i }, [
|
|
145
147
|
createCommentVNode(" \u5BA1\u6838\u72B6\u6001 "),
|
|
146
148
|
column.key === "approval_status" ? (openBlock(), createElementBlock("span", _hoisted_9, [
|
|
147
|
-
|
|
149
|
+
_hoisted_10,
|
|
148
150
|
unref(approvalItem)(_ctx.item) ? (openBlock(), createBlock(_sfc_main$4, {
|
|
149
151
|
key: 0,
|
|
150
152
|
item: unref(approvalItem)(_ctx.item)
|
|
151
|
-
}, null, 8, ["item"])) : (openBlock(), createElementBlock("span",
|
|
153
|
+
}, null, 8, ["item"])) : (openBlock(), createElementBlock("span", _hoisted_11, "--"))
|
|
152
154
|
])) : column.key === "state" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
153
155
|
createCommentVNode(" \u72B6\u6001 "),
|
|
154
|
-
createElementVNode("span",
|
|
156
|
+
createElementVNode("span", _hoisted_12, [
|
|
155
157
|
createVNode(unref(Tooltip), {
|
|
156
158
|
content: `\u72B6\u6001: ${unref(docStateMap)[_ctx.item.state]}`,
|
|
157
159
|
position: "top"
|
|
@@ -171,12 +173,12 @@ const _sfc_main = defineComponent({
|
|
|
171
173
|
}, {
|
|
172
174
|
content: withCtx(() => [
|
|
173
175
|
_ctx.item.other_categories ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
174
|
-
createElementVNode("div",
|
|
176
|
+
createElementVNode("div", _hoisted_13, "\u680F\u76EE: " + toDisplayString(_ctx.item.primary_category || "--"), 1),
|
|
175
177
|
createElementVNode("span", null, [
|
|
176
|
-
|
|
178
|
+
_hoisted_14,
|
|
177
179
|
createTextVNode(" " + toDisplayString(_ctx.item.other_categories.join("\u3001")), 1)
|
|
178
180
|
])
|
|
179
|
-
], 64)) : (openBlock(), createElementBlock("div",
|
|
181
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_15, "\u680F\u76EE: " + toDisplayString(_ctx.item.primary_category || "--"), 1))
|
|
180
182
|
]),
|
|
181
183
|
default: withCtx(() => [
|
|
182
184
|
createVNode(unref(Button), {
|
|
@@ -228,7 +230,7 @@ const _sfc_main = defineComponent({
|
|
|
228
230
|
], 64);
|
|
229
231
|
}), 128))
|
|
230
232
|
]),
|
|
231
|
-
createElementVNode("div",
|
|
233
|
+
createElementVNode("div", _hoisted_16, [
|
|
232
234
|
renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
233
235
|
])
|
|
234
236
|
])
|
|
@@ -12,8 +12,9 @@ const _hoisted_4 = { class: "info-view" };
|
|
|
12
12
|
const _hoisted_5 = { class: "title_i" };
|
|
13
13
|
const _hoisted_6 = { class: "abttrite-v" };
|
|
14
14
|
const _hoisted_7 = { class: "left" };
|
|
15
|
-
const _hoisted_8 = { class: "abttr
|
|
16
|
-
const _hoisted_9 = { class: "
|
|
15
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", { class: "abttr tags" }, null, -1);
|
|
16
|
+
const _hoisted_9 = { class: "abttr time" };
|
|
17
|
+
const _hoisted_10 = { class: "right" };
|
|
17
18
|
const _sfc_main = defineComponent({
|
|
18
19
|
__name: "index",
|
|
19
20
|
props: {
|
|
@@ -83,10 +84,10 @@ const _sfc_main = defineComponent({
|
|
|
83
84
|
type: _ctx.item.series
|
|
84
85
|
}, null, 8, ["type"]),
|
|
85
86
|
renderSlot(_ctx.$slots, "tip"),
|
|
86
|
-
|
|
87
|
-
createElementVNode("span",
|
|
87
|
+
_hoisted_8,
|
|
88
|
+
createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
|
|
88
89
|
]),
|
|
89
|
-
createElementVNode("div",
|
|
90
|
+
createElementVNode("div", _hoisted_10, [
|
|
90
91
|
renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
91
92
|
])
|
|
92
93
|
])
|
|
@@ -12,9 +12,10 @@ const _hoisted_4 = { class: "info-view" };
|
|
|
12
12
|
const _hoisted_5 = { class: "title_i" };
|
|
13
13
|
const _hoisted_6 = { class: "abttrite-v" };
|
|
14
14
|
const _hoisted_7 = { class: "left" };
|
|
15
|
-
const _hoisted_8 = { class: "abttr tags" };
|
|
16
|
-
const _hoisted_9 = { class: "abttr
|
|
17
|
-
const _hoisted_10 = { class: "
|
|
15
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", { class: "abttr tags" }, "\u8BFE\u7A0B", -1);
|
|
16
|
+
const _hoisted_9 = { class: "abttr tags" };
|
|
17
|
+
const _hoisted_10 = { class: "abttr time" };
|
|
18
|
+
const _hoisted_11 = { class: "right" };
|
|
18
19
|
const _sfc_main = defineComponent({
|
|
19
20
|
__name: "index",
|
|
20
21
|
props: {
|
|
@@ -84,19 +85,19 @@ const _sfc_main = defineComponent({
|
|
|
84
85
|
type: "course"
|
|
85
86
|
}),
|
|
86
87
|
renderSlot(_ctx.$slots, "tip"),
|
|
87
|
-
|
|
88
|
+
_hoisted_8,
|
|
88
89
|
createVNode(unref(Tooltip), {
|
|
89
90
|
content: `\u8BFE\u7A0B\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
|
|
90
91
|
position: "top"
|
|
91
92
|
}, {
|
|
92
93
|
default: withCtx(() => [
|
|
93
|
-
createElementVNode("span",
|
|
94
|
+
createElementVNode("span", _hoisted_9, toDisplayString(_ctx.item.pub_user_alias), 1)
|
|
94
95
|
]),
|
|
95
96
|
_: 1
|
|
96
97
|
}, 8, ["content"]),
|
|
97
|
-
createElementVNode("span",
|
|
98
|
+
createElementVNode("span", _hoisted_10, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
|
|
98
99
|
]),
|
|
99
|
-
createElementVNode("div",
|
|
100
|
+
createElementVNode("div", _hoisted_11, [
|
|
100
101
|
renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
101
102
|
])
|
|
102
103
|
])
|
|
@@ -12,9 +12,10 @@ const _hoisted_4 = { class: "info-view" };
|
|
|
12
12
|
const _hoisted_5 = { class: "title_i" };
|
|
13
13
|
const _hoisted_6 = { class: "abttrite-v" };
|
|
14
14
|
const _hoisted_7 = { class: "left" };
|
|
15
|
-
const _hoisted_8 = { class: "abttr tags" };
|
|
16
|
-
const _hoisted_9 = { class: "abttr
|
|
17
|
-
const _hoisted_10 = { class: "
|
|
15
|
+
const _hoisted_8 = /* @__PURE__ */ createElementVNode("span", { class: "abttr tags" }, "\u6D3B\u52A8", -1);
|
|
16
|
+
const _hoisted_9 = { class: "abttr tags" };
|
|
17
|
+
const _hoisted_10 = { class: "abttr time" };
|
|
18
|
+
const _hoisted_11 = { class: "right" };
|
|
18
19
|
const _sfc_main = defineComponent({
|
|
19
20
|
__name: "index",
|
|
20
21
|
props: {
|
|
@@ -84,19 +85,19 @@ const _sfc_main = defineComponent({
|
|
|
84
85
|
type: "funhd"
|
|
85
86
|
}),
|
|
86
87
|
renderSlot(_ctx.$slots, "tip"),
|
|
87
|
-
|
|
88
|
+
_hoisted_8,
|
|
88
89
|
createVNode(unref(Tooltip), {
|
|
89
90
|
content: `\u6D3B\u52A8\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
|
|
90
91
|
position: "top"
|
|
91
92
|
}, {
|
|
92
93
|
default: withCtx(() => [
|
|
93
|
-
createElementVNode("span",
|
|
94
|
+
createElementVNode("span", _hoisted_9, toDisplayString(_ctx.item.pub_user_alias), 1)
|
|
94
95
|
]),
|
|
95
96
|
_: 1
|
|
96
97
|
}, 8, ["content"]),
|
|
97
|
-
createElementVNode("span",
|
|
98
|
+
createElementVNode("span", _hoisted_10, "\u53D1\u5E03\u65F6\u95F4: " + toDisplayString(unref(timeFormat)(_ctx.item.pub_time)), 1)
|
|
98
99
|
]),
|
|
99
|
-
createElementVNode("div",
|
|
100
|
+
createElementVNode("div", _hoisted_11, [
|
|
100
101
|
renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
101
102
|
])
|
|
102
103
|
])
|
|
@@ -470,11 +470,11 @@ const _sfc_main = defineComponent({
|
|
|
470
470
|
onCellMouseEnter: cellMouseEnter,
|
|
471
471
|
onCellMouseLeave: cellMouseLeave
|
|
472
472
|
}, {
|
|
473
|
-
batch: withCtx(() =>
|
|
473
|
+
batch: withCtx(() => []),
|
|
474
474
|
index: withCtx(() => [
|
|
475
475
|
createElementVNode("span", _hoisted_37, toDisplayString(_ctx.index + 1), 1)
|
|
476
476
|
]),
|
|
477
|
-
tip: withCtx(() =>
|
|
477
|
+
tip: withCtx(() => []),
|
|
478
478
|
option: withCtx(() => [
|
|
479
479
|
renderSlot(_ctx.$slots, "option", {
|
|
480
480
|
row: _ctx.item,
|
|
@@ -24,15 +24,16 @@ const _hoisted_8 = {
|
|
|
24
24
|
key: 3,
|
|
25
25
|
class: "setting"
|
|
26
26
|
};
|
|
27
|
-
const _hoisted_9 = {
|
|
27
|
+
const _hoisted_9 = /* @__PURE__ */ createElementVNode("span", { class: "label" }, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1);
|
|
28
|
+
const _hoisted_10 = {
|
|
28
29
|
key: 4,
|
|
29
30
|
class: "time-go"
|
|
30
31
|
};
|
|
31
|
-
const
|
|
32
|
+
const _hoisted_11 = {
|
|
32
33
|
key: 5,
|
|
33
34
|
class: "time-go"
|
|
34
35
|
};
|
|
35
|
-
const
|
|
36
|
+
const _hoisted_12 = { class: "btns" };
|
|
36
37
|
const _sfc_main = defineComponent({
|
|
37
38
|
__name: "index",
|
|
38
39
|
props: {
|
|
@@ -216,7 +217,7 @@ const _sfc_main = defineComponent({
|
|
|
216
217
|
])) : (openBlock(), createElementBlock("div", _hoisted_6, "\u6682\u65E0\u4E8C\u7EF4\u7801"))
|
|
217
218
|
], 64)),
|
|
218
219
|
is_share.value ? (openBlock(), createElementBlock("div", _hoisted_7, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE")) : (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
219
|
-
|
|
220
|
+
_hoisted_9,
|
|
220
221
|
createElementVNode("span", null, [
|
|
221
222
|
createVNode(unref(Select), {
|
|
222
223
|
modelValue: expiration.value,
|
|
@@ -237,17 +238,17 @@ const _sfc_main = defineComponent({
|
|
|
237
238
|
}, 8, ["modelValue"])
|
|
238
239
|
])
|
|
239
240
|
])),
|
|
240
|
-
is_share.value && time.value ? (openBlock(), createElementBlock("div",
|
|
241
|
-
createElementVNode("div",
|
|
241
|
+
is_share.value && time.value ? (openBlock(), createElementBlock("div", _hoisted_10, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4: " + toDisplayString(time.value), 1)) : is_share.value && time.value === 0 ? (openBlock(), createElementBlock("div", _hoisted_11, "\u94FE\u63A5\u5DF2\u8FC7\u671F")) : createCommentVNode("v-if", true),
|
|
242
|
+
createElementVNode("div", _hoisted_12, [
|
|
242
243
|
showGetLink.value ? (openBlock(), createBlock(unref(Button), {
|
|
243
244
|
key: 0,
|
|
244
245
|
type: "primary",
|
|
245
246
|
light: "",
|
|
246
247
|
onClick: _cache[1] || (_cache[1] = ($event) => genTimeLink(expiration.value))
|
|
247
248
|
}, {
|
|
248
|
-
default: withCtx(() =>
|
|
249
|
+
default: withCtx(() => [
|
|
249
250
|
createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
|
|
250
|
-
])
|
|
251
|
+
]),
|
|
251
252
|
_: 1
|
|
252
253
|
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
253
254
|
createVNode(unref(Button), {
|
|
@@ -255,9 +256,9 @@ const _sfc_main = defineComponent({
|
|
|
255
256
|
light: "",
|
|
256
257
|
onClick: _cache[2] || (_cache[2] = ($event) => clipUrl("img"))
|
|
257
258
|
}, {
|
|
258
|
-
default: withCtx(() =>
|
|
259
|
+
default: withCtx(() => [
|
|
259
260
|
createTextVNode(" \u590D\u5236\u4E8C\u7EF4\u7801 ")
|
|
260
|
-
])
|
|
261
|
+
]),
|
|
261
262
|
_: 1
|
|
262
263
|
}),
|
|
263
264
|
createVNode(unref(Button), {
|
|
@@ -10,6 +10,7 @@ import _sfc_main$8 from "./components/EqxiuList/index.js";
|
|
|
10
10
|
import _sfc_main$7 from "./components/MpContentList/index.js";
|
|
11
11
|
import _sfc_main$2 from "./components/storeBox/index.js";
|
|
12
12
|
import "../typeIcons/style/index.js";
|
|
13
|
+
import { getConfigurationNew } from "./script/api.js";
|
|
13
14
|
import { DEFAULT_BASE_API } from "../config.js";
|
|
14
15
|
import useLoadUserInfo from "../hooks/user.js";
|
|
15
16
|
const _sfc_main = defineComponent({
|
|
@@ -46,7 +47,7 @@ const _sfc_main = defineComponent({
|
|
|
46
47
|
return selectedData.value.length > 0;
|
|
47
48
|
});
|
|
48
49
|
const typeDataController = computed(() => {
|
|
49
|
-
const ret = props.typeData;
|
|
50
|
+
const ret = JSON.parse(JSON.stringify(props.typeData));
|
|
50
51
|
const appList = [
|
|
51
52
|
{ license: "courselearning", key: "addCourse", type: Enum.CheckTypeEnum.MARKET },
|
|
52
53
|
{ license: "maavd", key: "addMpAccount", type: Enum.CheckTypeEnum.MARKET },
|
|
@@ -84,12 +85,33 @@ const _sfc_main = defineComponent({
|
|
|
84
85
|
const tabsChange = () => {
|
|
85
86
|
selectedData.value = [];
|
|
86
87
|
};
|
|
88
|
+
const configData = ref({});
|
|
89
|
+
const loadConfig = async () => {
|
|
90
|
+
var _a2;
|
|
91
|
+
const res = await getConfigurationNew(BASE_API, {
|
|
92
|
+
module: "third_party_services"
|
|
93
|
+
});
|
|
94
|
+
if (res.code === 0 && ((_a2 = res.message) == null ? void 0 : _a2.length)) {
|
|
95
|
+
res.message.forEach((item) => {
|
|
96
|
+
configData.value[item.key] = JSON.parse(item.value);
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
const checkServiceEnable = (key) => {
|
|
101
|
+
const data = configData.value[key];
|
|
102
|
+
if (!data)
|
|
103
|
+
return false;
|
|
104
|
+
if (!data.enable && typeof data.enable !== "undefined")
|
|
105
|
+
return false;
|
|
106
|
+
return true;
|
|
107
|
+
};
|
|
87
108
|
onMounted(() => {
|
|
88
109
|
if (props.userStore) {
|
|
89
110
|
userInfo.value = { BASE_API, ...props.userStore };
|
|
90
111
|
} else {
|
|
91
112
|
getUserInfoHandle();
|
|
92
113
|
}
|
|
114
|
+
loadConfig();
|
|
93
115
|
});
|
|
94
116
|
return (_ctx, _cache) => {
|
|
95
117
|
return openBlock(), createBlock(unref(Modal), {
|
|
@@ -113,6 +135,7 @@ const _sfc_main = defineComponent({
|
|
|
113
135
|
createVNode(unref(Tabs), {
|
|
114
136
|
class: "content-tabs",
|
|
115
137
|
justify: "",
|
|
138
|
+
"lazy-load": "",
|
|
116
139
|
onTabClick: tabsChange
|
|
117
140
|
}, {
|
|
118
141
|
default: withCtx(() => [
|
|
@@ -144,9 +167,9 @@ const _sfc_main = defineComponent({
|
|
|
144
167
|
type: "primary",
|
|
145
168
|
onClick: comfirm
|
|
146
169
|
}, {
|
|
147
|
-
default: withCtx(() =>
|
|
170
|
+
default: withCtx(() => [
|
|
148
171
|
createTextVNode("\u6DFB\u52A0 ")
|
|
149
|
-
])
|
|
172
|
+
]),
|
|
150
173
|
_: 1
|
|
151
174
|
}, 8, ["disabled"])
|
|
152
175
|
]),
|
|
@@ -183,9 +206,9 @@ const _sfc_main = defineComponent({
|
|
|
183
206
|
type: "primary",
|
|
184
207
|
onClick: comfirm
|
|
185
208
|
}, {
|
|
186
|
-
default: withCtx(() =>
|
|
209
|
+
default: withCtx(() => [
|
|
187
210
|
createTextVNode(" \u6DFB\u52A0 ")
|
|
188
|
-
])
|
|
211
|
+
]),
|
|
189
212
|
_: 1
|
|
190
213
|
}, 8, ["disabled"])
|
|
191
214
|
]),
|
|
@@ -223,9 +246,9 @@ const _sfc_main = defineComponent({
|
|
|
223
246
|
type: "primary",
|
|
224
247
|
onClick: comfirm
|
|
225
248
|
}, {
|
|
226
|
-
default: withCtx(() =>
|
|
249
|
+
default: withCtx(() => [
|
|
227
250
|
createTextVNode(" \u6DFB\u52A0 ")
|
|
228
|
-
])
|
|
251
|
+
]),
|
|
229
252
|
_: 1
|
|
230
253
|
}, 8, ["disabled"])
|
|
231
254
|
]),
|
|
@@ -235,7 +258,7 @@ const _sfc_main = defineComponent({
|
|
|
235
258
|
_: 1
|
|
236
259
|
})) : createCommentVNode("v-if", true),
|
|
237
260
|
createCommentVNode(" \u4E92\u52A8\u76F4\u64AD "),
|
|
238
|
-
typeDataController.value.addILive ? (openBlock(), createBlock(unref(TabPane), {
|
|
261
|
+
typeDataController.value.addILive && checkServiceEnable("guangdianyun") ? (openBlock(), createBlock(unref(TabPane), {
|
|
239
262
|
key: "6",
|
|
240
263
|
title: "\u4E92\u52A8\u76F4\u64AD"
|
|
241
264
|
}, {
|
|
@@ -262,9 +285,9 @@ const _sfc_main = defineComponent({
|
|
|
262
285
|
type: "primary",
|
|
263
286
|
onClick: comfirm
|
|
264
287
|
}, {
|
|
265
|
-
default: withCtx(() =>
|
|
288
|
+
default: withCtx(() => [
|
|
266
289
|
createTextVNode(" \u6DFB\u52A0 ")
|
|
267
|
-
])
|
|
290
|
+
]),
|
|
268
291
|
_: 1
|
|
269
292
|
}, 8, ["disabled"])
|
|
270
293
|
]),
|
|
@@ -301,9 +324,9 @@ const _sfc_main = defineComponent({
|
|
|
301
324
|
type: "primary",
|
|
302
325
|
onClick: comfirm
|
|
303
326
|
}, {
|
|
304
|
-
default: withCtx(() =>
|
|
327
|
+
default: withCtx(() => [
|
|
305
328
|
createTextVNode(" \u6DFB\u52A0 ")
|
|
306
|
-
])
|
|
329
|
+
]),
|
|
307
330
|
_: 1
|
|
308
331
|
}, 8, ["disabled"])
|
|
309
332
|
]),
|
|
@@ -340,9 +363,9 @@ const _sfc_main = defineComponent({
|
|
|
340
363
|
type: "primary",
|
|
341
364
|
onClick: comfirm
|
|
342
365
|
}, {
|
|
343
|
-
default: withCtx(() =>
|
|
366
|
+
default: withCtx(() => [
|
|
344
367
|
createTextVNode(" \u6DFB\u52A0 ")
|
|
345
|
-
])
|
|
368
|
+
]),
|
|
346
369
|
_: 1
|
|
347
370
|
}, 8, ["disabled"])
|
|
348
371
|
]),
|
|
@@ -352,7 +375,7 @@ const _sfc_main = defineComponent({
|
|
|
352
375
|
_: 1
|
|
353
376
|
}, 8, ["title"])) : createCommentVNode("v-if", true),
|
|
354
377
|
createCommentVNode(" \u4E92\u52A8\u8FD0\u8425 "),
|
|
355
|
-
typeDataController.value.addFunhd ? (openBlock(), createBlock(unref(TabPane), {
|
|
378
|
+
typeDataController.value.addFunhd && checkServiceEnable("interactive") ? (openBlock(), createBlock(unref(TabPane), {
|
|
356
379
|
key: "9",
|
|
357
380
|
title: "\u4E92\u52A8\u8FD0\u8425"
|
|
358
381
|
}, {
|
|
@@ -379,9 +402,9 @@ const _sfc_main = defineComponent({
|
|
|
379
402
|
type: "primary",
|
|
380
403
|
onClick: comfirm
|
|
381
404
|
}, {
|
|
382
|
-
default: withCtx(() =>
|
|
405
|
+
default: withCtx(() => [
|
|
383
406
|
createTextVNode(" \u6DFB\u52A0 ")
|
|
384
|
-
])
|
|
407
|
+
]),
|
|
385
408
|
_: 1
|
|
386
409
|
}, 8, ["disabled"])
|
|
387
410
|
]),
|
|
@@ -75,37 +75,44 @@ const _sfc_main = defineComponent({
|
|
|
75
75
|
loadData();
|
|
76
76
|
};
|
|
77
77
|
const loadData = async () => {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
78
|
+
try {
|
|
79
|
+
const gid = group_id.value;
|
|
80
|
+
if (!gid)
|
|
81
|
+
return;
|
|
82
|
+
let params = {
|
|
83
|
+
page_size: page.value.size,
|
|
84
|
+
page_no: page.value.index
|
|
85
|
+
};
|
|
86
|
+
if (filter.value) {
|
|
87
|
+
params = { ...params, ...filter.value };
|
|
88
|
+
}
|
|
89
|
+
if (gid !== "all") {
|
|
90
|
+
params.gid = gid;
|
|
91
|
+
}
|
|
92
|
+
dataLoading.value = true;
|
|
93
|
+
const res = await getEqxiuList(props.userInfo.BASE_API, params);
|
|
94
|
+
if ((res == null ? void 0 : res.code) === 0) {
|
|
95
|
+
const { count, data } = res.message;
|
|
96
|
+
mediaFileData.value = data.map((v) => {
|
|
97
|
+
v.catalog = "funhd";
|
|
98
|
+
v.id = v.ID || v.id;
|
|
99
|
+
v.target_id = v.ID || v.id;
|
|
100
|
+
v.target_type = 17;
|
|
101
|
+
v.pub_time = v.updateTime;
|
|
102
|
+
v.update_time = v.updateTime;
|
|
103
|
+
v.content = JSON.stringify(v);
|
|
104
|
+
v.content_title = v.title;
|
|
105
|
+
v.series = "eqxiu";
|
|
106
|
+
return v;
|
|
107
|
+
}) || [];
|
|
108
|
+
page.value.total = count || 0;
|
|
109
|
+
} else {
|
|
110
|
+
Message.error(res.data);
|
|
111
|
+
}
|
|
112
|
+
} catch (err) {
|
|
113
|
+
console.log(err);
|
|
114
|
+
} finally {
|
|
115
|
+
dataLoading.value = false;
|
|
109
116
|
}
|
|
110
117
|
};
|
|
111
118
|
const clickCheckbox = (e, record) => {
|
|
@@ -4,6 +4,7 @@ import { IconSort } from "@arco-design/web-vue/es/icon";
|
|
|
4
4
|
import { searchMpaccount } from "../../../script/api.js";
|
|
5
5
|
const _hoisted_1 = { class: "media-filter-container" };
|
|
6
6
|
const _hoisted_2 = { style: { "margin-right": "10px" } };
|
|
7
|
+
const _hoisted_3 = /* @__PURE__ */ createElementVNode("span", null, null, -1);
|
|
7
8
|
const _sfc_main = defineComponent({
|
|
8
9
|
...{ name: "MediaFilter" },
|
|
9
10
|
__name: "index",
|
|
@@ -110,9 +111,9 @@ const _sfc_main = defineComponent({
|
|
|
110
111
|
]),
|
|
111
112
|
createElementVNode("span", null, toDisplayString(data == null ? void 0 : data.label), 1)
|
|
112
113
|
]),
|
|
113
|
-
"arrow-icon": withCtx(() =>
|
|
114
|
-
|
|
115
|
-
])
|
|
114
|
+
"arrow-icon": withCtx(() => [
|
|
115
|
+
_hoisted_3
|
|
116
|
+
]),
|
|
116
117
|
default: withCtx(() => [
|
|
117
118
|
(openBlock(true), createElementBlock(Fragment, null, renderList(sortOptions.value, (item) => {
|
|
118
119
|
return openBlock(), createBlock(unref(Option), {
|
|
@@ -284,7 +284,7 @@ const _sfc_main = defineComponent({
|
|
|
284
284
|
}, {
|
|
285
285
|
default: withCtx(() => [
|
|
286
286
|
createVNode(unref(IconRefresh), { class: "reset-icon" }),
|
|
287
|
-
|
|
287
|
+
createTextVNode(" \u91CD\u7F6E ")
|
|
288
288
|
]),
|
|
289
289
|
_: 1
|
|
290
290
|
}, 512), [
|
|
@@ -80,9 +80,9 @@ const _sfc_main = defineComponent({
|
|
|
80
80
|
type: "text",
|
|
81
81
|
onClick: clear
|
|
82
82
|
}, {
|
|
83
|
-
default: withCtx(() =>
|
|
83
|
+
default: withCtx(() => [
|
|
84
84
|
createTextVNode("\u6E05\u7A7A")
|
|
85
|
-
])
|
|
85
|
+
]),
|
|
86
86
|
_: 1
|
|
87
87
|
})
|
|
88
88
|
])
|
|
@@ -96,9 +96,9 @@ const _sfc_main = defineComponent({
|
|
|
96
96
|
key: 0,
|
|
97
97
|
class: "button"
|
|
98
98
|
}, {
|
|
99
|
-
default: withCtx(() =>
|
|
99
|
+
default: withCtx(() => [
|
|
100
100
|
createTextVNode("\u5DF2\u9009\u6570\u636E")
|
|
101
|
-
])
|
|
101
|
+
]),
|
|
102
102
|
_: 1
|
|
103
103
|
})) : createCommentVNode("v-if", true)
|
|
104
104
|
]),
|
|
@@ -11,4 +11,5 @@ export declare function searchMpaccount(BASE_API: string, params?: Params): Prom
|
|
|
11
11
|
export declare function getBroadcastList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
12
|
export declare function getEqxiuList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
13
|
export declare function getMpContentList(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
+
export declare function getConfigurationNew(BASE_API: string, params?: Params): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
15
|
export {};
|
|
@@ -70,4 +70,11 @@ function getMpContentList(BASE_API, params) {
|
|
|
70
70
|
params
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
function getConfigurationNew(BASE_API, params) {
|
|
74
|
+
return request(BASE_API, {
|
|
75
|
+
url: `/poplar/v2/settings`,
|
|
76
|
+
method: "get",
|
|
77
|
+
params
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
export { checkCommitFulfillment, getBroadcastList, getCategoryCategoriesTree, getCategoryMediaNew, getCategoryPath, getCategorylistsGroups, getConfigurationNew, getEqxiuList, getMpContentList, searchMlists, searchMpaccount };
|
package/es/dataTags/component.js
CHANGED
|
@@ -130,9 +130,9 @@ const _sfc_main = defineComponent({
|
|
|
130
130
|
size: "small",
|
|
131
131
|
class: normalizeClass([{ disabled: _ctx.disabled }, "yuanchuang"])
|
|
132
132
|
}, {
|
|
133
|
-
default: withCtx(() =>
|
|
133
|
+
default: withCtx(() => [
|
|
134
134
|
createTextVNode("\u539F\u521B")
|
|
135
|
-
])
|
|
135
|
+
]),
|
|
136
136
|
_: 1
|
|
137
137
|
}, 8, ["class"])
|
|
138
138
|
]),
|
|
@@ -148,9 +148,9 @@ const _sfc_main = defineComponent({
|
|
|
148
148
|
size: "small",
|
|
149
149
|
class: normalizeClass([{ disabled: _ctx.disabled }, "star"])
|
|
150
150
|
}, {
|
|
151
|
-
default: withCtx(() =>
|
|
151
|
+
default: withCtx(() => [
|
|
152
152
|
createTextVNode("\u63A8\u8350")
|
|
153
|
-
])
|
|
153
|
+
]),
|
|
154
154
|
_: 1
|
|
155
155
|
}, 8, ["class"])
|
|
156
156
|
]),
|
|
@@ -166,9 +166,9 @@ const _sfc_main = defineComponent({
|
|
|
166
166
|
size: "small",
|
|
167
167
|
class: normalizeClass([{ disabled: _ctx.disabled }, "waring"])
|
|
168
168
|
}, {
|
|
169
|
-
default: withCtx(() =>
|
|
169
|
+
default: withCtx(() => [
|
|
170
170
|
createTextVNode("\u654F\u611F")
|
|
171
|
-
])
|
|
171
|
+
]),
|
|
172
172
|
_: 1
|
|
173
173
|
}, 8, ["class"])
|
|
174
174
|
]),
|
|
@@ -184,9 +184,9 @@ const _sfc_main = defineComponent({
|
|
|
184
184
|
size: "small",
|
|
185
185
|
class: normalizeClass([{ disabled: _ctx.disabled }, "star"])
|
|
186
186
|
}, {
|
|
187
|
-
default: withCtx(() =>
|
|
187
|
+
default: withCtx(() => [
|
|
188
188
|
createTextVNode("\u5DF2\u63A8\u9001")
|
|
189
|
-
])
|
|
189
|
+
]),
|
|
190
190
|
_: 1
|
|
191
191
|
}, 8, ["class"])
|
|
192
192
|
]),
|
|
@@ -220,9 +220,9 @@ const _sfc_main = defineComponent({
|
|
|
220
220
|
size: "small",
|
|
221
221
|
class: normalizeClass([{ disabled: _ctx.disabled }, "matrix"])
|
|
222
222
|
}, {
|
|
223
|
-
default: withCtx(() =>
|
|
223
|
+
default: withCtx(() => [
|
|
224
224
|
createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
|
|
225
|
-
])
|
|
225
|
+
]),
|
|
226
226
|
_: 1
|
|
227
227
|
}, 8, ["class"])
|
|
228
228
|
]),
|