@cmstops/pro-compo 0.3.84 → 0.3.86
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 +12 -14
- package/es/contentDetailList/components/Content/LiveItem/index.js +5 -6
- package/es/contentDetailList/components/Content/courseItem/index.js +7 -8
- package/es/contentDetailList/components/Content/funhdItem/index.js +7 -8
- package/es/contentDetailList/components/Content/index.js +2 -2
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
- package/es/contentModal/component.js +53 -14
- package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/Dejin/MediaFilter/index.js +128 -0
- package/es/contentModal/components/Dejin/index.d.ts +0 -0
- package/es/contentModal/components/Dejin/index.js +236 -0
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
- 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 +3 -0
- package/es/contentModal/script/api.js +22 -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 +47 -56
- package/es/docPreview/components/PreviewIframe.js +9 -10
- package/es/docPreview/scripts/hook.d.ts +16 -6
- package/es/editMetaInfo/component.js +35 -12
- package/es/editMetaInfo/components/metaInfoForm.js +4 -4
- package/es/emptyData/svg/acount.js +3 -5
- package/es/emptyData/svg/add.js +3 -5
- package/es/emptyData/svg/analize.js +3 -5
- package/es/emptyData/svg/analize_fail.js +3 -5
- package/es/emptyData/svg/empty.js +3 -5
- package/es/emptyData/svg/file.js +3 -5
- package/es/emptyData/svg/manager.js +3 -5
- package/es/emptyData/svg/message.js +14 -17
- package/es/emptyData/svg/noanalize.js +3 -5
- package/es/emptyData/svg/null.js +3 -5
- package/es/emptyData/svg/search.js +3 -5
- package/es/emptyData/svg/star.js +3 -5
- package/es/emptyData/svg/trash.js +3 -5
- package/es/emptyData/svg/user.js +3 -5
- 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 +9 -2
- 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/importData/component.js +18 -21
- package/es/mediaFilter/components/DocFilter.js +1 -1
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/mediaView/component.js +3 -5
- package/es/messageBox/component.js +2 -2
- package/es/previousVersion/component.js +3 -4
- package/es/resourceGridList/component.js +15 -18
- package/es/resourceModal/component.js +2 -2
- package/es/resourceModal/components/MediaPreviewer/index.js +7 -10
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
- package/es/selectGategory/component.js +3 -4
- package/es/selectResourceModal/component.js +15 -13
- package/es/selectResourceModal/components/List/ListAi/index.js +7 -8
- package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -8
- 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 +3 -4
- package/es/selectResourceModal/components/List/ListSystem/index.js +1 -2
- package/es/selectResourceModal/components/List/ListVideo/index.js +1 -0
- package/es/selectResourceModal/scripts/useResourceSelect.d.ts +1 -1
- package/es/selectResourceModal/scripts/useTabFilter.d.ts +1 -1
- package/es/selectThumb/component.js +23 -28
- package/es/uploadBefore/components/UploadBefore.js +2 -2
- package/es/uploadBefore/script/uploadHooks.d.ts +42 -1
- package/es/userAvater/component.js +2 -2
- package/es/userDirector/component.js +2 -2
- package/es/utils/filter.d.ts +12 -0
- package/es/videoThumb/component.js +8 -5
- 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 +12 -14
- package/lib/contentDetailList/components/Content/LiveItem/index.js +5 -6
- package/lib/contentDetailList/components/Content/courseItem/index.js +7 -8
- package/lib/contentDetailList/components/Content/funhdItem/index.js +7 -8
- package/lib/contentDetailList/components/Content/index.js +2 -2
- package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
- package/lib/contentModal/component.js +53 -14
- package/lib/contentModal/components/Dejin/MediaFilter/index.js +129 -0
- package/lib/contentModal/components/Dejin/index.js +237 -0
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
- 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 +24 -0
- package/lib/dataTags/component.js +10 -10
- package/lib/docHistory/component.js +2 -2
- package/lib/docPreview/component.js +47 -56
- package/lib/docPreview/components/PreviewIframe.js +9 -10
- package/lib/editMetaInfo/component.js +34 -11
- package/lib/editMetaInfo/components/metaInfoForm.js +4 -4
- package/lib/emptyData/svg/acount.js +3 -5
- package/lib/emptyData/svg/add.js +3 -5
- package/lib/emptyData/svg/analize.js +3 -5
- package/lib/emptyData/svg/analize_fail.js +3 -5
- package/lib/emptyData/svg/empty.js +3 -5
- package/lib/emptyData/svg/file.js +3 -5
- package/lib/emptyData/svg/manager.js +3 -5
- package/lib/emptyData/svg/message.js +14 -17
- package/lib/emptyData/svg/noanalize.js +3 -5
- package/lib/emptyData/svg/null.js +3 -5
- package/lib/emptyData/svg/search.js +3 -5
- package/lib/emptyData/svg/star.js +3 -5
- package/lib/emptyData/svg/trash.js +3 -5
- package/lib/emptyData/svg/user.js +3 -5
- package/lib/imageCrop/component.js +4 -4
- package/lib/importData/component.js +18 -21
- package/lib/mediaFilter/components/DocFilter.js +1 -1
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/mediaView/component.js +3 -5
- package/lib/messageBox/component.js +2 -2
- package/lib/previousVersion/component.js +3 -4
- package/lib/resourceGridList/component.js +15 -18
- package/lib/resourceModal/component.js +2 -2
- package/lib/resourceModal/components/MediaPreviewer/index.js +7 -10
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
- package/lib/selectGategory/component.js +3 -4
- package/lib/selectResourceModal/component.js +15 -13
- package/lib/selectResourceModal/components/List/ListAi/index.js +6 -7
- package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -8
- 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 +3 -4
- package/lib/selectResourceModal/components/List/ListSystem/index.js +1 -2
- package/lib/selectResourceModal/components/List/ListVideo/index.js +1 -0
- package/lib/selectThumb/component.js +23 -28
- package/lib/uploadBefore/components/UploadBefore.js +2 -2
- package/lib/userAvater/component.js +2 -2
- package/lib/userDirector/component.js +2 -2
- package/lib/videoThumb/component.js +9 -6
- package/package.json +1 -1
|
@@ -13,9 +13,8 @@ const _hoisted_4 = { class: "info-view" };
|
|
|
13
13
|
const _hoisted_5 = { class: "title_i" };
|
|
14
14
|
const _hoisted_6 = { class: "abttrite-v" };
|
|
15
15
|
const _hoisted_7 = { class: "left" };
|
|
16
|
-
const _hoisted_8 =
|
|
17
|
-
const _hoisted_9 = { class: "
|
|
18
|
-
const _hoisted_10 = { class: "right" };
|
|
16
|
+
const _hoisted_8 = { class: "abttr time" };
|
|
17
|
+
const _hoisted_9 = { class: "right" };
|
|
19
18
|
const _sfc_main = vue.defineComponent({
|
|
20
19
|
__name: "index",
|
|
21
20
|
props: {
|
|
@@ -85,10 +84,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
85
84
|
type: _ctx.item.series
|
|
86
85
|
}, null, 8, ["type"]),
|
|
87
86
|
vue.renderSlot(_ctx.$slots, "tip"),
|
|
88
|
-
|
|
89
|
-
vue.createElementVNode("span",
|
|
87
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "abttr tags" }, null, -1)),
|
|
88
|
+
vue.createElementVNode("span", _hoisted_8, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
|
|
90
89
|
]),
|
|
91
|
-
vue.createElementVNode("div",
|
|
90
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
92
91
|
vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
93
92
|
])
|
|
94
93
|
])
|
|
@@ -13,10 +13,9 @@ const _hoisted_4 = { class: "info-view" };
|
|
|
13
13
|
const _hoisted_5 = { class: "title_i" };
|
|
14
14
|
const _hoisted_6 = { class: "abttrite-v" };
|
|
15
15
|
const _hoisted_7 = { class: "left" };
|
|
16
|
-
const _hoisted_8 =
|
|
17
|
-
const _hoisted_9 = { class: "abttr
|
|
18
|
-
const _hoisted_10 = { class: "
|
|
19
|
-
const _hoisted_11 = { class: "right" };
|
|
16
|
+
const _hoisted_8 = { class: "abttr tags" };
|
|
17
|
+
const _hoisted_9 = { class: "abttr time" };
|
|
18
|
+
const _hoisted_10 = { class: "right" };
|
|
20
19
|
const _sfc_main = vue.defineComponent({
|
|
21
20
|
__name: "index",
|
|
22
21
|
props: {
|
|
@@ -86,19 +85,19 @@ const _sfc_main = vue.defineComponent({
|
|
|
86
85
|
type: "course"
|
|
87
86
|
}),
|
|
88
87
|
vue.renderSlot(_ctx.$slots, "tip"),
|
|
89
|
-
|
|
88
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "abttr tags" }, "\u8BFE\u7A0B", -1)),
|
|
90
89
|
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
91
90
|
content: `\u8BFE\u7A0B\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
|
|
92
91
|
position: "top"
|
|
93
92
|
}, {
|
|
94
93
|
default: vue.withCtx(() => [
|
|
95
|
-
vue.createElementVNode("span",
|
|
94
|
+
vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
|
|
96
95
|
]),
|
|
97
96
|
_: 1
|
|
98
97
|
}, 8, ["content"]),
|
|
99
|
-
vue.createElementVNode("span",
|
|
98
|
+
vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
|
|
100
99
|
]),
|
|
101
|
-
vue.createElementVNode("div",
|
|
100
|
+
vue.createElementVNode("div", _hoisted_10, [
|
|
102
101
|
vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
103
102
|
])
|
|
104
103
|
])
|
|
@@ -13,10 +13,9 @@ const _hoisted_4 = { class: "info-view" };
|
|
|
13
13
|
const _hoisted_5 = { class: "title_i" };
|
|
14
14
|
const _hoisted_6 = { class: "abttrite-v" };
|
|
15
15
|
const _hoisted_7 = { class: "left" };
|
|
16
|
-
const _hoisted_8 =
|
|
17
|
-
const _hoisted_9 = { class: "abttr
|
|
18
|
-
const _hoisted_10 = { class: "
|
|
19
|
-
const _hoisted_11 = { class: "right" };
|
|
16
|
+
const _hoisted_8 = { class: "abttr tags" };
|
|
17
|
+
const _hoisted_9 = { class: "abttr time" };
|
|
18
|
+
const _hoisted_10 = { class: "right" };
|
|
20
19
|
const _sfc_main = vue.defineComponent({
|
|
21
20
|
__name: "index",
|
|
22
21
|
props: {
|
|
@@ -86,19 +85,19 @@ const _sfc_main = vue.defineComponent({
|
|
|
86
85
|
type: "funhd"
|
|
87
86
|
}),
|
|
88
87
|
vue.renderSlot(_ctx.$slots, "tip"),
|
|
89
|
-
|
|
88
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("span", { class: "abttr tags" }, "\u6D3B\u52A8", -1)),
|
|
90
89
|
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
91
90
|
content: `\u6D3B\u52A8\u521B\u5EFA\u4EBA: ${_ctx.item.pub_user_alias}`,
|
|
92
91
|
position: "top"
|
|
93
92
|
}, {
|
|
94
93
|
default: vue.withCtx(() => [
|
|
95
|
-
vue.createElementVNode("span",
|
|
94
|
+
vue.createElementVNode("span", _hoisted_8, vue.toDisplayString(_ctx.item.pub_user_alias), 1)
|
|
96
95
|
]),
|
|
97
96
|
_: 1
|
|
98
97
|
}, 8, ["content"]),
|
|
99
|
-
vue.createElementVNode("span",
|
|
98
|
+
vue.createElementVNode("span", _hoisted_9, "\u53D1\u5E03\u65F6\u95F4: " + vue.toDisplayString(vue.unref(index.timeFormat)(_ctx.item.pub_time)), 1)
|
|
100
99
|
]),
|
|
101
|
-
vue.createElementVNode("div",
|
|
100
|
+
vue.createElementVNode("div", _hoisted_10, [
|
|
102
101
|
vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
103
102
|
])
|
|
104
103
|
])
|
|
@@ -471,11 +471,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
471
471
|
onCellMouseEnter: cellMouseEnter,
|
|
472
472
|
onCellMouseLeave: cellMouseLeave
|
|
473
473
|
}, {
|
|
474
|
-
batch: vue.withCtx(() => []),
|
|
474
|
+
batch: vue.withCtx(() => _cache[0] || (_cache[0] = [])),
|
|
475
475
|
index: vue.withCtx(() => [
|
|
476
476
|
vue.createElementVNode("span", _hoisted_37, vue.toDisplayString(_ctx.index + 1), 1)
|
|
477
477
|
]),
|
|
478
|
-
tip: vue.withCtx(() => []),
|
|
478
|
+
tip: vue.withCtx(() => _cache[1] || (_cache[1] = [])),
|
|
479
479
|
option: vue.withCtx(() => [
|
|
480
480
|
vue.renderSlot(_ctx.$slots, "option", {
|
|
481
481
|
row: _ctx.item,
|
|
@@ -29,16 +29,15 @@ const _hoisted_8 = {
|
|
|
29
29
|
key: 3,
|
|
30
30
|
class: "setting"
|
|
31
31
|
};
|
|
32
|
-
const _hoisted_9 =
|
|
33
|
-
const _hoisted_10 = {
|
|
32
|
+
const _hoisted_9 = {
|
|
34
33
|
key: 4,
|
|
35
34
|
class: "time-go"
|
|
36
35
|
};
|
|
37
|
-
const
|
|
36
|
+
const _hoisted_10 = {
|
|
38
37
|
key: 5,
|
|
39
38
|
class: "time-go"
|
|
40
39
|
};
|
|
41
|
-
const
|
|
40
|
+
const _hoisted_11 = { class: "btns" };
|
|
42
41
|
const _sfc_main = vue.defineComponent({
|
|
43
42
|
__name: "index",
|
|
44
43
|
props: {
|
|
@@ -222,7 +221,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
222
221
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, "\u6682\u65E0\u4E8C\u7EF4\u7801"))
|
|
223
222
|
], 64)),
|
|
224
223
|
is_share.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
225
|
-
|
|
224
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("span", { class: "label" }, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1)),
|
|
226
225
|
vue.createElementVNode("span", null, [
|
|
227
226
|
vue.createVNode(vue.unref(webVue.Select), {
|
|
228
227
|
modelValue: expiration.value,
|
|
@@ -243,17 +242,17 @@ const _sfc_main = vue.defineComponent({
|
|
|
243
242
|
}, 8, ["modelValue"])
|
|
244
243
|
])
|
|
245
244
|
])),
|
|
246
|
-
is_share.value && time.value ? (vue.openBlock(), vue.createElementBlock("div",
|
|
247
|
-
vue.createElementVNode("div",
|
|
245
|
+
is_share.value && time.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4: " + vue.toDisplayString(time.value), 1)) : is_share.value && time.value === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, "\u94FE\u63A5\u5DF2\u8FC7\u671F")) : vue.createCommentVNode("v-if", true),
|
|
246
|
+
vue.createElementVNode("div", _hoisted_11, [
|
|
248
247
|
showGetLink.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
249
248
|
key: 0,
|
|
250
249
|
type: "primary",
|
|
251
250
|
light: "",
|
|
252
251
|
onClick: _cache[1] || (_cache[1] = ($event) => genTimeLink(expiration.value))
|
|
253
252
|
}, {
|
|
254
|
-
default: vue.withCtx(() => [
|
|
253
|
+
default: vue.withCtx(() => _cache[5] || (_cache[5] = [
|
|
255
254
|
vue.createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
|
|
256
|
-
]),
|
|
255
|
+
])),
|
|
257
256
|
_: 1
|
|
258
257
|
})) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
259
258
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
@@ -261,9 +260,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
261
260
|
light: "",
|
|
262
261
|
onClick: _cache[2] || (_cache[2] = ($event) => clipUrl("img"))
|
|
263
262
|
}, {
|
|
264
|
-
default: vue.withCtx(() => [
|
|
263
|
+
default: vue.withCtx(() => _cache[6] || (_cache[6] = [
|
|
265
264
|
vue.createTextVNode(" \u590D\u5236\u4E8C\u7EF4\u7801 ")
|
|
266
|
-
]),
|
|
265
|
+
])),
|
|
267
266
|
_: 1
|
|
268
267
|
}),
|
|
269
268
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
@@ -9,6 +9,7 @@ var index$2 = require("./components/ContentList/index.js");
|
|
|
9
9
|
var index$4 = require("./components/LiveList/index.js");
|
|
10
10
|
var index$7 = require("./components/EqxiuList/index.js");
|
|
11
11
|
var index$6 = require("./components/MpContentList/index.js");
|
|
12
|
+
var index$8 = require("./components/Dejin/index.js");
|
|
12
13
|
var index$1 = require("./components/storeBox/index.js");
|
|
13
14
|
require("../typeIcons/style/index.js");
|
|
14
15
|
var api = require("./script/api.js");
|
|
@@ -168,9 +169,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
168
169
|
type: "primary",
|
|
169
170
|
onClick: comfirm
|
|
170
171
|
}, {
|
|
171
|
-
default: vue.withCtx(() => [
|
|
172
|
+
default: vue.withCtx(() => _cache[8] || (_cache[8] = [
|
|
172
173
|
vue.createTextVNode("\u6DFB\u52A0 ")
|
|
173
|
-
]),
|
|
174
|
+
])),
|
|
174
175
|
_: 1
|
|
175
176
|
}, 8, ["disabled"])
|
|
176
177
|
]),
|
|
@@ -207,9 +208,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
207
208
|
type: "primary",
|
|
208
209
|
onClick: comfirm
|
|
209
210
|
}, {
|
|
210
|
-
default: vue.withCtx(() => [
|
|
211
|
+
default: vue.withCtx(() => _cache[9] || (_cache[9] = [
|
|
211
212
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
212
|
-
]),
|
|
213
|
+
])),
|
|
213
214
|
_: 1
|
|
214
215
|
}, 8, ["disabled"])
|
|
215
216
|
]),
|
|
@@ -247,9 +248,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
247
248
|
type: "primary",
|
|
248
249
|
onClick: comfirm
|
|
249
250
|
}, {
|
|
250
|
-
default: vue.withCtx(() => [
|
|
251
|
+
default: vue.withCtx(() => _cache[10] || (_cache[10] = [
|
|
251
252
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
252
|
-
]),
|
|
253
|
+
])),
|
|
253
254
|
_: 1
|
|
254
255
|
}, 8, ["disabled"])
|
|
255
256
|
]),
|
|
@@ -286,9 +287,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
286
287
|
type: "primary",
|
|
287
288
|
onClick: comfirm
|
|
288
289
|
}, {
|
|
289
|
-
default: vue.withCtx(() => [
|
|
290
|
+
default: vue.withCtx(() => _cache[11] || (_cache[11] = [
|
|
290
291
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
291
|
-
]),
|
|
292
|
+
])),
|
|
292
293
|
_: 1
|
|
293
294
|
}, 8, ["disabled"])
|
|
294
295
|
]),
|
|
@@ -325,9 +326,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
325
326
|
type: "primary",
|
|
326
327
|
onClick: comfirm
|
|
327
328
|
}, {
|
|
328
|
-
default: vue.withCtx(() => [
|
|
329
|
+
default: vue.withCtx(() => _cache[12] || (_cache[12] = [
|
|
329
330
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
330
|
-
]),
|
|
331
|
+
])),
|
|
331
332
|
_: 1
|
|
332
333
|
}, 8, ["disabled"])
|
|
333
334
|
]),
|
|
@@ -364,9 +365,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
364
365
|
type: "primary",
|
|
365
366
|
onClick: comfirm
|
|
366
367
|
}, {
|
|
367
|
-
default: vue.withCtx(() => [
|
|
368
|
+
default: vue.withCtx(() => _cache[13] || (_cache[13] = [
|
|
368
369
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
369
|
-
]),
|
|
370
|
+
])),
|
|
370
371
|
_: 1
|
|
371
372
|
}, 8, ["disabled"])
|
|
372
373
|
]),
|
|
@@ -403,9 +404,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
403
404
|
type: "primary",
|
|
404
405
|
onClick: comfirm
|
|
405
406
|
}, {
|
|
406
|
-
default: vue.withCtx(() => [
|
|
407
|
+
default: vue.withCtx(() => _cache[14] || (_cache[14] = [
|
|
407
408
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
408
|
-
]),
|
|
409
|
+
])),
|
|
409
410
|
_: 1
|
|
410
411
|
}, 8, ["disabled"])
|
|
411
412
|
]),
|
|
@@ -413,6 +414,44 @@ const _sfc_main = vue.defineComponent({
|
|
|
413
414
|
}, 8, ["columns", "default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : vue.createCommentVNode("v-if", true)
|
|
414
415
|
]),
|
|
415
416
|
_: 1
|
|
417
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
418
|
+
vue.createCommentVNode(" \u62A5\u6599\u5185\u5BB9 "),
|
|
419
|
+
typeDataController.value.addDejin ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
|
|
420
|
+
key: "10",
|
|
421
|
+
title: "\u62A5\u6599\u5185\u5BB9"
|
|
422
|
+
}, {
|
|
423
|
+
default: vue.withCtx(() => [
|
|
424
|
+
vue.unref(userInfo) && vue.unref(userInfo).repository_id ? (vue.openBlock(), vue.createBlock(index$8, {
|
|
425
|
+
key: 0,
|
|
426
|
+
"default-selected-data": selectedData.value,
|
|
427
|
+
"max-select": _ctx.maxSelect,
|
|
428
|
+
"outside-select-data": _ctx.outsideSelectData || [],
|
|
429
|
+
"type-data": typeDataController.value,
|
|
430
|
+
"user-info": vue.unref(userInfo),
|
|
431
|
+
onChange: selectedDataChangeHandle
|
|
432
|
+
}, {
|
|
433
|
+
store: vue.withCtx(() => [
|
|
434
|
+
vue.createVNode(index$1, {
|
|
435
|
+
selectData: selectedData.value,
|
|
436
|
+
"onUpdate:selectData": _cache[7] || (_cache[7] = ($event) => selectedData.value = $event)
|
|
437
|
+
}, null, 8, ["selectData"])
|
|
438
|
+
]),
|
|
439
|
+
options: vue.withCtx(() => [
|
|
440
|
+
vue.createVNode(vue.unref(webVue.Button), {
|
|
441
|
+
disabled: !hasSelected.value,
|
|
442
|
+
type: "primary",
|
|
443
|
+
onClick: comfirm
|
|
444
|
+
}, {
|
|
445
|
+
default: vue.withCtx(() => _cache[15] || (_cache[15] = [
|
|
446
|
+
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
447
|
+
])),
|
|
448
|
+
_: 1
|
|
449
|
+
}, 8, ["disabled"])
|
|
450
|
+
]),
|
|
451
|
+
_: 1
|
|
452
|
+
}, 8, ["default-selected-data", "max-select", "outside-select-data", "type-data", "user-info"])) : vue.createCommentVNode("v-if", true)
|
|
453
|
+
]),
|
|
454
|
+
_: 1
|
|
416
455
|
})) : vue.createCommentVNode("v-if", true)
|
|
417
456
|
]),
|
|
418
457
|
_: 1
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
var api = require("../../../script/api.js");
|
|
5
|
+
const _hoisted_1 = { class: "media-filter-container" };
|
|
6
|
+
const _sfc_main = vue.defineComponent({
|
|
7
|
+
...{ name: "MediaFilter" },
|
|
8
|
+
__name: "index",
|
|
9
|
+
props: {
|
|
10
|
+
userInfo: {}
|
|
11
|
+
},
|
|
12
|
+
emits: ["update:group_id", "search"],
|
|
13
|
+
setup(__props, { emit: __emit }) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const emit = __emit;
|
|
16
|
+
const filter = vue.ref({ title: "", classify_id: "", related_journalist: "" });
|
|
17
|
+
const reporterOptions = vue.ref([]);
|
|
18
|
+
const getReporterOptions = async (params) => {
|
|
19
|
+
var _a;
|
|
20
|
+
const res = await api.getReporterContent(props.userInfo.BASE_API, {
|
|
21
|
+
offset: 0,
|
|
22
|
+
limit: 100,
|
|
23
|
+
...params
|
|
24
|
+
});
|
|
25
|
+
if (res.code === 0) {
|
|
26
|
+
reporterOptions.value = (((_a = res.message) == null ? void 0 : _a.data) || []).map((item) => {
|
|
27
|
+
return {
|
|
28
|
+
label: item.alias || "\u533F\u540D\u8BB0\u8005",
|
|
29
|
+
value: item.uuid
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
const dejinTypeOptions = vue.ref([]);
|
|
35
|
+
const getDejinTypeOptions = async (params) => {
|
|
36
|
+
var _a;
|
|
37
|
+
const res = await api.getTypeConfig(props.userInfo.BASE_API, {
|
|
38
|
+
offset: 0,
|
|
39
|
+
limit: 100,
|
|
40
|
+
...params
|
|
41
|
+
});
|
|
42
|
+
if (res.code === 0) {
|
|
43
|
+
dejinTypeOptions.value = (((_a = res.message) == null ? void 0 : _a.data) || []).map((item) => {
|
|
44
|
+
return {
|
|
45
|
+
label: item.name,
|
|
46
|
+
value: item.id
|
|
47
|
+
};
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
const handleSearch = () => {
|
|
52
|
+
emit("search", filter.value);
|
|
53
|
+
};
|
|
54
|
+
vue.watch(
|
|
55
|
+
() => filter.value,
|
|
56
|
+
() => handleSearch(),
|
|
57
|
+
{ deep: true }
|
|
58
|
+
);
|
|
59
|
+
vue.onMounted(() => {
|
|
60
|
+
getDejinTypeOptions();
|
|
61
|
+
getReporterOptions();
|
|
62
|
+
});
|
|
63
|
+
return (_ctx, _cache) => {
|
|
64
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
65
|
+
vue.createVNode(vue.unref(webVue.Row), {
|
|
66
|
+
justify: "space-between",
|
|
67
|
+
style: { "width": "100%" }
|
|
68
|
+
}, {
|
|
69
|
+
default: vue.withCtx(() => [
|
|
70
|
+
vue.createVNode(vue.unref(webVue.Col), { span: 20 }, {
|
|
71
|
+
default: vue.withCtx(() => [
|
|
72
|
+
vue.createVNode(vue.unref(webVue.Input), {
|
|
73
|
+
modelValue: filter.value.title,
|
|
74
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filter.value.title = $event),
|
|
75
|
+
class: "filter-item",
|
|
76
|
+
style: { "margin-right": "10px" },
|
|
77
|
+
"allow-clear": "",
|
|
78
|
+
placeholder: "\u8BF7\u8F93\u5165\u6807\u9898\u68C0\u7D22",
|
|
79
|
+
onPressEnter: handleSearch
|
|
80
|
+
}, null, 8, ["modelValue"]),
|
|
81
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
82
|
+
modelValue: filter.value.classify_id,
|
|
83
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => filter.value.classify_id = $event),
|
|
84
|
+
class: "filter-item",
|
|
85
|
+
placeholder: "\u62A5\u6599\u7C7B\u578B",
|
|
86
|
+
"allow-clear": "",
|
|
87
|
+
style: { "width": "120px", "margin-right": "10px" }
|
|
88
|
+
}, {
|
|
89
|
+
default: vue.withCtx(() => [
|
|
90
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(dejinTypeOptions.value, (item) => {
|
|
91
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
92
|
+
key: item.id,
|
|
93
|
+
label: item.label,
|
|
94
|
+
value: item.value
|
|
95
|
+
}, null, 8, ["label", "value"]);
|
|
96
|
+
}), 128))
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
}, 8, ["modelValue"]),
|
|
100
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
101
|
+
modelValue: filter.value.related_journalist,
|
|
102
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter.value.related_journalist = $event),
|
|
103
|
+
class: "filter-item",
|
|
104
|
+
placeholder: "\u5173\u8054\u8BB0\u8005",
|
|
105
|
+
"allow-clear": "",
|
|
106
|
+
style: { "width": "120px" }
|
|
107
|
+
}, {
|
|
108
|
+
default: vue.withCtx(() => [
|
|
109
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(reporterOptions.value, (item) => {
|
|
110
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
111
|
+
key: item.value,
|
|
112
|
+
label: item.label,
|
|
113
|
+
value: item.value
|
|
114
|
+
}, null, 8, ["label", "value"]);
|
|
115
|
+
}), 128))
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["modelValue"])
|
|
119
|
+
]),
|
|
120
|
+
_: 1
|
|
121
|
+
})
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
})
|
|
125
|
+
]);
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
module.exports = _sfc_main;
|