@cmstops/pro-compo 0.3.82 → 0.3.84
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 +40 -0
- package/dist/index.min.css +1 -1
- 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 +39 -16
- 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/importData/component.d.ts +0 -0
- package/es/importData/component.js +173 -0
- package/es/importData/index.d.ts +2 -0
- package/es/importData/index.js +7 -0
- package/es/importData/style/css.js +1 -0
- package/es/importData/style/index.css +40 -0
- package/es/importData/style/index.d.ts +1 -0
- package/es/importData/style/index.js +1 -0
- package/es/importData/style/index.less +48 -0
- package/es/index.css +40 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.less +1 -0
- 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 +39 -16
- 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/importData/component.js +174 -0
- package/lib/importData/index.js +8 -0
- package/lib/importData/style/css.js +2 -0
- package/lib/importData/style/index.css +40 -0
- package/lib/importData/style/index.js +2 -0
- package/lib/importData/style/index.less +48 -0
- package/lib/index.css +40 -0
- package/lib/index.js +2 -0
- package/lib/index.less +1 -0
- 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
|
@@ -11,6 +11,7 @@ var index$7 = require("./components/EqxiuList/index.js");
|
|
|
11
11
|
var index$6 = require("./components/MpContentList/index.js");
|
|
12
12
|
var index$1 = require("./components/storeBox/index.js");
|
|
13
13
|
require("../typeIcons/style/index.js");
|
|
14
|
+
var api = require("./script/api.js");
|
|
14
15
|
var config = require("../config.js");
|
|
15
16
|
var user = require("../hooks/user.js");
|
|
16
17
|
const _sfc_main = vue.defineComponent({
|
|
@@ -85,12 +86,33 @@ const _sfc_main = vue.defineComponent({
|
|
|
85
86
|
const tabsChange = () => {
|
|
86
87
|
selectedData.value = [];
|
|
87
88
|
};
|
|
89
|
+
const configData = vue.ref({});
|
|
90
|
+
const loadConfig = async () => {
|
|
91
|
+
var _a2;
|
|
92
|
+
const res = await api.getConfigurationNew(BASE_API, {
|
|
93
|
+
module: "third_party_services"
|
|
94
|
+
});
|
|
95
|
+
if (res.code === 0 && ((_a2 = res.message) == null ? void 0 : _a2.length)) {
|
|
96
|
+
res.message.forEach((item) => {
|
|
97
|
+
configData.value[item.key] = JSON.parse(item.value);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
const checkServiceEnable = (key) => {
|
|
102
|
+
const data = configData.value[key];
|
|
103
|
+
if (!data)
|
|
104
|
+
return false;
|
|
105
|
+
if (!data.enable && typeof data.enable !== "undefined")
|
|
106
|
+
return false;
|
|
107
|
+
return true;
|
|
108
|
+
};
|
|
88
109
|
vue.onMounted(() => {
|
|
89
110
|
if (props.userStore) {
|
|
90
111
|
userInfo.value = { BASE_API, ...props.userStore };
|
|
91
112
|
} else {
|
|
92
113
|
getUserInfoHandle();
|
|
93
114
|
}
|
|
115
|
+
loadConfig();
|
|
94
116
|
});
|
|
95
117
|
return (_ctx, _cache) => {
|
|
96
118
|
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Modal), {
|
|
@@ -114,6 +136,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
114
136
|
vue.createVNode(vue.unref(webVue.Tabs), {
|
|
115
137
|
class: "content-tabs",
|
|
116
138
|
justify: "",
|
|
139
|
+
"lazy-load": "",
|
|
117
140
|
onTabClick: tabsChange
|
|
118
141
|
}, {
|
|
119
142
|
default: vue.withCtx(() => [
|
|
@@ -145,9 +168,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
145
168
|
type: "primary",
|
|
146
169
|
onClick: comfirm
|
|
147
170
|
}, {
|
|
148
|
-
default: vue.withCtx(() =>
|
|
171
|
+
default: vue.withCtx(() => [
|
|
149
172
|
vue.createTextVNode("\u6DFB\u52A0 ")
|
|
150
|
-
])
|
|
173
|
+
]),
|
|
151
174
|
_: 1
|
|
152
175
|
}, 8, ["disabled"])
|
|
153
176
|
]),
|
|
@@ -184,9 +207,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
184
207
|
type: "primary",
|
|
185
208
|
onClick: comfirm
|
|
186
209
|
}, {
|
|
187
|
-
default: vue.withCtx(() =>
|
|
210
|
+
default: vue.withCtx(() => [
|
|
188
211
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
189
|
-
])
|
|
212
|
+
]),
|
|
190
213
|
_: 1
|
|
191
214
|
}, 8, ["disabled"])
|
|
192
215
|
]),
|
|
@@ -224,9 +247,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
224
247
|
type: "primary",
|
|
225
248
|
onClick: comfirm
|
|
226
249
|
}, {
|
|
227
|
-
default: vue.withCtx(() =>
|
|
250
|
+
default: vue.withCtx(() => [
|
|
228
251
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
229
|
-
])
|
|
252
|
+
]),
|
|
230
253
|
_: 1
|
|
231
254
|
}, 8, ["disabled"])
|
|
232
255
|
]),
|
|
@@ -236,7 +259,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
236
259
|
_: 1
|
|
237
260
|
})) : vue.createCommentVNode("v-if", true),
|
|
238
261
|
vue.createCommentVNode(" \u4E92\u52A8\u76F4\u64AD "),
|
|
239
|
-
typeDataController.value.addILive ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
|
|
262
|
+
typeDataController.value.addILive && checkServiceEnable("guangdianyun") ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
|
|
240
263
|
key: "6",
|
|
241
264
|
title: "\u4E92\u52A8\u76F4\u64AD"
|
|
242
265
|
}, {
|
|
@@ -263,9 +286,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
263
286
|
type: "primary",
|
|
264
287
|
onClick: comfirm
|
|
265
288
|
}, {
|
|
266
|
-
default: vue.withCtx(() =>
|
|
289
|
+
default: vue.withCtx(() => [
|
|
267
290
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
268
|
-
])
|
|
291
|
+
]),
|
|
269
292
|
_: 1
|
|
270
293
|
}, 8, ["disabled"])
|
|
271
294
|
]),
|
|
@@ -302,9 +325,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
302
325
|
type: "primary",
|
|
303
326
|
onClick: comfirm
|
|
304
327
|
}, {
|
|
305
|
-
default: vue.withCtx(() =>
|
|
328
|
+
default: vue.withCtx(() => [
|
|
306
329
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
307
|
-
])
|
|
330
|
+
]),
|
|
308
331
|
_: 1
|
|
309
332
|
}, 8, ["disabled"])
|
|
310
333
|
]),
|
|
@@ -341,9 +364,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
341
364
|
type: "primary",
|
|
342
365
|
onClick: comfirm
|
|
343
366
|
}, {
|
|
344
|
-
default: vue.withCtx(() =>
|
|
367
|
+
default: vue.withCtx(() => [
|
|
345
368
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
346
|
-
])
|
|
369
|
+
]),
|
|
347
370
|
_: 1
|
|
348
371
|
}, 8, ["disabled"])
|
|
349
372
|
]),
|
|
@@ -353,7 +376,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
353
376
|
_: 1
|
|
354
377
|
}, 8, ["title"])) : vue.createCommentVNode("v-if", true),
|
|
355
378
|
vue.createCommentVNode(" \u4E92\u52A8\u8FD0\u8425 "),
|
|
356
|
-
typeDataController.value.addFunhd ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
|
|
379
|
+
typeDataController.value.addFunhd && checkServiceEnable("interactive") ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
|
|
357
380
|
key: "9",
|
|
358
381
|
title: "\u4E92\u52A8\u8FD0\u8425"
|
|
359
382
|
}, {
|
|
@@ -380,9 +403,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
380
403
|
type: "primary",
|
|
381
404
|
onClick: comfirm
|
|
382
405
|
}, {
|
|
383
|
-
default: vue.withCtx(() =>
|
|
406
|
+
default: vue.withCtx(() => [
|
|
384
407
|
vue.createTextVNode(" \u6DFB\u52A0 ")
|
|
385
|
-
])
|
|
408
|
+
]),
|
|
386
409
|
_: 1
|
|
387
410
|
}, 8, ["disabled"])
|
|
388
411
|
]),
|
|
@@ -76,37 +76,44 @@ const _sfc_main = vue.defineComponent({
|
|
|
76
76
|
loadData();
|
|
77
77
|
};
|
|
78
78
|
const loadData = async () => {
|
|
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
|
-
|
|
109
|
-
|
|
79
|
+
try {
|
|
80
|
+
const gid = group_id.value;
|
|
81
|
+
if (!gid)
|
|
82
|
+
return;
|
|
83
|
+
let params = {
|
|
84
|
+
page_size: page.value.size,
|
|
85
|
+
page_no: page.value.index
|
|
86
|
+
};
|
|
87
|
+
if (filter.value) {
|
|
88
|
+
params = { ...params, ...filter.value };
|
|
89
|
+
}
|
|
90
|
+
if (gid !== "all") {
|
|
91
|
+
params.gid = gid;
|
|
92
|
+
}
|
|
93
|
+
dataLoading.value = true;
|
|
94
|
+
const res = await api.getEqxiuList(props.userInfo.BASE_API, params);
|
|
95
|
+
if ((res == null ? void 0 : res.code) === 0) {
|
|
96
|
+
const { count, data } = res.message;
|
|
97
|
+
mediaFileData.value = data.map((v) => {
|
|
98
|
+
v.catalog = "funhd";
|
|
99
|
+
v.id = v.ID || v.id;
|
|
100
|
+
v.target_id = v.ID || v.id;
|
|
101
|
+
v.target_type = 17;
|
|
102
|
+
v.pub_time = v.updateTime;
|
|
103
|
+
v.update_time = v.updateTime;
|
|
104
|
+
v.content = JSON.stringify(v);
|
|
105
|
+
v.content_title = v.title;
|
|
106
|
+
v.series = "eqxiu";
|
|
107
|
+
return v;
|
|
108
|
+
}) || [];
|
|
109
|
+
page.value.total = count || 0;
|
|
110
|
+
} else {
|
|
111
|
+
webVue.Message.error(res.data);
|
|
112
|
+
}
|
|
113
|
+
} catch (err) {
|
|
114
|
+
console.log(err);
|
|
115
|
+
} finally {
|
|
116
|
+
dataLoading.value = false;
|
|
110
117
|
}
|
|
111
118
|
};
|
|
112
119
|
const clickCheckbox = (e, record) => {
|
|
@@ -5,6 +5,7 @@ var icon = require("@arco-design/web-vue/es/icon");
|
|
|
5
5
|
var api = require("../../../script/api.js");
|
|
6
6
|
const _hoisted_1 = { class: "media-filter-container" };
|
|
7
7
|
const _hoisted_2 = { style: { "margin-right": "10px" } };
|
|
8
|
+
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
|
|
8
9
|
const _sfc_main = vue.defineComponent({
|
|
9
10
|
...{ name: "MediaFilter" },
|
|
10
11
|
__name: "index",
|
|
@@ -111,9 +112,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
111
112
|
]),
|
|
112
113
|
vue.createElementVNode("span", null, vue.toDisplayString(data == null ? void 0 : data.label), 1)
|
|
113
114
|
]),
|
|
114
|
-
"arrow-icon": vue.withCtx(() =>
|
|
115
|
-
|
|
116
|
-
])
|
|
115
|
+
"arrow-icon": vue.withCtx(() => [
|
|
116
|
+
_hoisted_3
|
|
117
|
+
]),
|
|
117
118
|
default: vue.withCtx(() => [
|
|
118
119
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(sortOptions.value, (item) => {
|
|
119
120
|
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
@@ -285,7 +285,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
285
285
|
}, {
|
|
286
286
|
default: vue.withCtx(() => [
|
|
287
287
|
vue.createVNode(vue.unref(icon.IconRefresh), { class: "reset-icon" }),
|
|
288
|
-
|
|
288
|
+
vue.createTextVNode(" \u91CD\u7F6E ")
|
|
289
289
|
]),
|
|
290
290
|
_: 1
|
|
291
291
|
}, 512), [
|
|
@@ -81,9 +81,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
81
81
|
type: "text",
|
|
82
82
|
onClick: clear
|
|
83
83
|
}, {
|
|
84
|
-
default: vue.withCtx(() =>
|
|
84
|
+
default: vue.withCtx(() => [
|
|
85
85
|
vue.createTextVNode("\u6E05\u7A7A")
|
|
86
|
-
])
|
|
86
|
+
]),
|
|
87
87
|
_: 1
|
|
88
88
|
})
|
|
89
89
|
])
|
|
@@ -97,9 +97,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
97
97
|
key: 0,
|
|
98
98
|
class: "button"
|
|
99
99
|
}, {
|
|
100
|
-
default: vue.withCtx(() =>
|
|
100
|
+
default: vue.withCtx(() => [
|
|
101
101
|
vue.createTextVNode("\u5DF2\u9009\u6570\u636E")
|
|
102
|
-
])
|
|
102
|
+
]),
|
|
103
103
|
_: 1
|
|
104
104
|
})) : vue.createCommentVNode("v-if", true)
|
|
105
105
|
]),
|
|
@@ -72,12 +72,20 @@ function getMpContentList(BASE_API, params) {
|
|
|
72
72
|
params
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
+
function getConfigurationNew(BASE_API, params) {
|
|
76
|
+
return request(BASE_API, {
|
|
77
|
+
url: `/poplar/v2/settings`,
|
|
78
|
+
method: "get",
|
|
79
|
+
params
|
|
80
|
+
});
|
|
81
|
+
}
|
|
75
82
|
exports.checkCommitFulfillment = checkCommitFulfillment;
|
|
76
83
|
exports.getBroadcastList = getBroadcastList;
|
|
77
84
|
exports.getCategoryCategoriesTree = getCategoryCategoriesTree;
|
|
78
85
|
exports.getCategoryMediaNew = getCategoryMediaNew;
|
|
79
86
|
exports.getCategoryPath = getCategoryPath;
|
|
80
87
|
exports.getCategorylistsGroups = getCategorylistsGroups;
|
|
88
|
+
exports.getConfigurationNew = getConfigurationNew;
|
|
81
89
|
exports.getEqxiuList = getEqxiuList;
|
|
82
90
|
exports.getMpContentList = getMpContentList;
|
|
83
91
|
exports.searchMlists = searchMlists;
|
|
@@ -131,9 +131,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
131
131
|
size: "small",
|
|
132
132
|
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "yuanchuang"])
|
|
133
133
|
}, {
|
|
134
|
-
default: vue.withCtx(() =>
|
|
134
|
+
default: vue.withCtx(() => [
|
|
135
135
|
vue.createTextVNode("\u539F\u521B")
|
|
136
|
-
])
|
|
136
|
+
]),
|
|
137
137
|
_: 1
|
|
138
138
|
}, 8, ["class"])
|
|
139
139
|
]),
|
|
@@ -149,9 +149,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
149
149
|
size: "small",
|
|
150
150
|
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "star"])
|
|
151
151
|
}, {
|
|
152
|
-
default: vue.withCtx(() =>
|
|
152
|
+
default: vue.withCtx(() => [
|
|
153
153
|
vue.createTextVNode("\u63A8\u8350")
|
|
154
|
-
])
|
|
154
|
+
]),
|
|
155
155
|
_: 1
|
|
156
156
|
}, 8, ["class"])
|
|
157
157
|
]),
|
|
@@ -167,9 +167,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
167
167
|
size: "small",
|
|
168
168
|
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "waring"])
|
|
169
169
|
}, {
|
|
170
|
-
default: vue.withCtx(() =>
|
|
170
|
+
default: vue.withCtx(() => [
|
|
171
171
|
vue.createTextVNode("\u654F\u611F")
|
|
172
|
-
])
|
|
172
|
+
]),
|
|
173
173
|
_: 1
|
|
174
174
|
}, 8, ["class"])
|
|
175
175
|
]),
|
|
@@ -185,9 +185,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
185
185
|
size: "small",
|
|
186
186
|
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "star"])
|
|
187
187
|
}, {
|
|
188
|
-
default: vue.withCtx(() =>
|
|
188
|
+
default: vue.withCtx(() => [
|
|
189
189
|
vue.createTextVNode("\u5DF2\u63A8\u9001")
|
|
190
|
-
])
|
|
190
|
+
]),
|
|
191
191
|
_: 1
|
|
192
192
|
}, 8, ["class"])
|
|
193
193
|
]),
|
|
@@ -221,9 +221,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
221
221
|
size: "small",
|
|
222
222
|
class: vue.normalizeClass([{ disabled: _ctx.disabled }, "matrix"])
|
|
223
223
|
}, {
|
|
224
|
-
default: vue.withCtx(() =>
|
|
224
|
+
default: vue.withCtx(() => [
|
|
225
225
|
vue.createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
|
|
226
|
-
])
|
|
226
|
+
]),
|
|
227
227
|
_: 1
|
|
228
228
|
}, 8, ["class"])
|
|
229
229
|
]),
|
|
@@ -70,9 +70,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
70
70
|
disabled: !vue.unref(current),
|
|
71
71
|
onClick: handeRevert
|
|
72
72
|
}, {
|
|
73
|
-
default: vue.withCtx(() =>
|
|
73
|
+
default: vue.withCtx(() => [
|
|
74
74
|
vue.createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ")
|
|
75
|
-
])
|
|
75
|
+
]),
|
|
76
76
|
_: 1
|
|
77
77
|
}, 8, ["disabled"])
|
|
78
78
|
]),
|
|
@@ -6,18 +6,31 @@ var config = require("../config.js");
|
|
|
6
6
|
var PreviewIframe = require("./components/PreviewIframe.js");
|
|
7
7
|
var hook = require("./scripts/hook.js");
|
|
8
8
|
const _hoisted_1 = { class: "preview-close" };
|
|
9
|
-
const _hoisted_2 = { class: "doc-preview-share
|
|
10
|
-
const _hoisted_3 =
|
|
11
|
-
const _hoisted_4 =
|
|
12
|
-
const _hoisted_5 = { class: "doc-preview-share-
|
|
13
|
-
const _hoisted_6 = { class: "doc-preview-share-
|
|
14
|
-
const _hoisted_7 =
|
|
15
|
-
const _hoisted_8 = { class: "doc-preview-share-
|
|
16
|
-
const _hoisted_9 = { class: "doc-preview-share-
|
|
17
|
-
const _hoisted_10 = { class: "doc-preview-share-link" };
|
|
18
|
-
const _hoisted_11 = { class: "doc-preview-share-
|
|
19
|
-
const _hoisted_12 = { class: "doc-preview-share-
|
|
20
|
-
|
|
9
|
+
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share" }, null, -1);
|
|
10
|
+
const _hoisted_3 = { class: "doc-preview-share-img" };
|
|
11
|
+
const _hoisted_4 = ["src"];
|
|
12
|
+
const _hoisted_5 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1);
|
|
13
|
+
const _hoisted_6 = { class: "doc-preview-share-header" };
|
|
14
|
+
const _hoisted_7 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1);
|
|
15
|
+
const _hoisted_8 = { class: "doc-preview-share-link" };
|
|
16
|
+
const _hoisted_9 = { class: "doc-preview-share-link-value" };
|
|
17
|
+
const _hoisted_10 = { class: "doc-preview-share-link-hint" };
|
|
18
|
+
const _hoisted_11 = { class: "doc-preview-share-action" };
|
|
19
|
+
const _hoisted_12 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-img" }, [
|
|
20
|
+
/* @__PURE__ */ vue.createElementVNode("div", { id: "qr-code-is-pub" })
|
|
21
|
+
], -1);
|
|
22
|
+
const _hoisted_13 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1);
|
|
23
|
+
const _hoisted_14 = { class: "doc-preview-share-header" };
|
|
24
|
+
const _hoisted_15 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1);
|
|
25
|
+
const _hoisted_16 = { class: "doc-preview-share-link" };
|
|
26
|
+
const _hoisted_17 = { class: "doc-preview-share-link-value" };
|
|
27
|
+
const _hoisted_18 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-img" }, [
|
|
28
|
+
/* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-img-hint" }, " \u6682\u65E0\u9884\u89C8 ")
|
|
29
|
+
], -1);
|
|
30
|
+
const _hoisted_19 = /* @__PURE__ */ vue.createElementVNode("div", { class: "doc-preview-share-tips" }, " \u5185\u5BB9\u6682\u65E0\u9884\u89C8\u94FE\u63A5\uFF0C\u53EF\u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1);
|
|
31
|
+
const _hoisted_20 = { class: "doc-preview-share-header" };
|
|
32
|
+
const _hoisted_21 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1);
|
|
33
|
+
const _hoisted_22 = { class: "doc-preview-share-action" };
|
|
21
34
|
const _sfc_main = vue.defineComponent({
|
|
22
35
|
...{ name: "docPreview" },
|
|
23
36
|
__name: "component",
|
|
@@ -62,7 +75,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
62
75
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => emits("close"), ["stop"]))
|
|
63
76
|
})
|
|
64
77
|
]),
|
|
65
|
-
|
|
78
|
+
_hoisted_2,
|
|
66
79
|
vue.createVNode(PreviewIframe, {
|
|
67
80
|
src: vue.unref(innerUrl),
|
|
68
81
|
onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
@@ -77,83 +90,79 @@ const _sfc_main = vue.defineComponent({
|
|
|
77
90
|
}, [
|
|
78
91
|
vue.unref(shareData) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
79
92
|
vue.createCommentVNode(" \u4E8C\u7EF4\u7801 "),
|
|
80
|
-
vue.createElementVNode("div",
|
|
93
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
81
94
|
vue.createElementVNode("img", {
|
|
82
95
|
src: vue.unref(shareData).qrCode,
|
|
83
96
|
alt: ""
|
|
84
|
-
}, null, 8,
|
|
97
|
+
}, null, 8, _hoisted_4)
|
|
85
98
|
]),
|
|
86
99
|
vue.createCommentVNode(" \u5907\u6CE8 "),
|
|
87
|
-
|
|
100
|
+
_hoisted_5,
|
|
88
101
|
vue.createCommentVNode(" \u94FE\u63A5\u524D\u7F6E\u64CD\u4F5C "),
|
|
89
|
-
vue.createElementVNode("div",
|
|
90
|
-
|
|
102
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
103
|
+
_hoisted_7,
|
|
91
104
|
vue.createVNode(vue.unref(webVue.Link), {
|
|
92
105
|
type: "text",
|
|
93
106
|
onClick: vue.unref(copy)
|
|
94
107
|
}, {
|
|
95
|
-
default: vue.withCtx(() =>
|
|
108
|
+
default: vue.withCtx(() => [
|
|
96
109
|
vue.createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
|
|
97
|
-
])
|
|
110
|
+
]),
|
|
98
111
|
_: 1
|
|
99
112
|
}, 8, ["onClick"])
|
|
100
113
|
]),
|
|
101
114
|
vue.createCommentVNode(" \u94FE\u63A5 "),
|
|
102
|
-
vue.createElementVNode("div",
|
|
103
|
-
vue.createElementVNode("div",
|
|
104
|
-
vue.createElementVNode("div",
|
|
115
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
116
|
+
vue.createElementVNode("div", _hoisted_9, vue.toDisplayString(vue.unref(shareData).shareUrl), 1),
|
|
117
|
+
vue.createElementVNode("div", _hoisted_10, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4\uFF1A" + vue.toDisplayString(vue.unref(intervalTime)), 1)
|
|
105
118
|
]),
|
|
106
119
|
vue.createCommentVNode(" \u64CD\u4F5C "),
|
|
107
|
-
vue.createElementVNode("div",
|
|
120
|
+
vue.createElementVNode("div", _hoisted_11, [
|
|
108
121
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
109
122
|
onClick: _cache[2] || (_cache[2] = ($event) => vue.unref(cancel)())
|
|
110
123
|
}, {
|
|
111
|
-
default: vue.withCtx(() =>
|
|
124
|
+
default: vue.withCtx(() => [
|
|
112
125
|
vue.createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5")
|
|
113
|
-
])
|
|
126
|
+
]),
|
|
114
127
|
_: 1
|
|
115
128
|
}),
|
|
116
129
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
117
130
|
type: "primary",
|
|
118
131
|
onClick: _cache[3] || (_cache[3] = ($event) => vue.unref(cancel)(true))
|
|
119
132
|
}, {
|
|
120
|
-
default: vue.withCtx(() =>
|
|
133
|
+
default: vue.withCtx(() => [
|
|
121
134
|
vue.createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ")
|
|
122
|
-
])
|
|
135
|
+
]),
|
|
123
136
|
_: 1
|
|
124
137
|
})
|
|
125
138
|
])
|
|
126
139
|
], 64)) : vue.unref(isPublish) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
127
140
|
vue.createCommentVNode(" \u4E8C\u7EF4\u7801 "),
|
|
128
|
-
|
|
129
|
-
vue.createElementVNode("div", { id: "qr-code-is-pub" })
|
|
130
|
-
], -1)),
|
|
141
|
+
_hoisted_12,
|
|
131
142
|
vue.createCommentVNode(" \u5907\u6CE8 "),
|
|
132
|
-
|
|
143
|
+
_hoisted_13,
|
|
133
144
|
vue.createCommentVNode(" \u94FE\u63A5\u524D\u7F6E\u64CD\u4F5C "),
|
|
134
|
-
vue.createElementVNode("div",
|
|
135
|
-
|
|
145
|
+
vue.createElementVNode("div", _hoisted_14, [
|
|
146
|
+
_hoisted_15,
|
|
136
147
|
vue.createVNode(vue.unref(webVue.Link), {
|
|
137
148
|
type: "text",
|
|
138
149
|
onClick: vue.unref(copy)
|
|
139
150
|
}, {
|
|
140
|
-
default: vue.withCtx(() =>
|
|
151
|
+
default: vue.withCtx(() => [
|
|
141
152
|
vue.createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
|
|
142
|
-
])
|
|
153
|
+
]),
|
|
143
154
|
_: 1
|
|
144
155
|
}, 8, ["onClick"])
|
|
145
156
|
]),
|
|
146
157
|
vue.createCommentVNode(" \u94FE\u63A5 "),
|
|
147
|
-
vue.createElementVNode("div",
|
|
148
|
-
vue.createElementVNode("div",
|
|
158
|
+
vue.createElementVNode("div", _hoisted_16, [
|
|
159
|
+
vue.createElementVNode("div", _hoisted_17, vue.toDisplayString(vue.unref(innerUrl)), 1)
|
|
149
160
|
])
|
|
150
161
|
], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
vue.createElementVNode("div", _hoisted_12, [
|
|
156
|
-
_cache[17] || (_cache[17] = vue.createElementVNode("span", null, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1)),
|
|
162
|
+
_hoisted_18,
|
|
163
|
+
_hoisted_19,
|
|
164
|
+
vue.createElementVNode("div", _hoisted_20, [
|
|
165
|
+
_hoisted_21,
|
|
157
166
|
vue.createVNode(vue.unref(webVue.Select), {
|
|
158
167
|
modelValue: vue.unref(expireTime),
|
|
159
168
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(expireTime) ? expireTime.value = $event : null),
|
|
@@ -172,14 +181,14 @@ const _sfc_main = vue.defineComponent({
|
|
|
172
181
|
_: 1
|
|
173
182
|
}, 8, ["modelValue"])
|
|
174
183
|
]),
|
|
175
|
-
vue.createElementVNode("div",
|
|
184
|
+
vue.createElementVNode("div", _hoisted_22, [
|
|
176
185
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
177
186
|
type: "primary",
|
|
178
187
|
onClick: _cache[5] || (_cache[5] = () => vue.unref(generate)())
|
|
179
188
|
}, {
|
|
180
|
-
default: vue.withCtx(() =>
|
|
189
|
+
default: vue.withCtx(() => [
|
|
181
190
|
vue.createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
|
|
182
|
-
])
|
|
191
|
+
]),
|
|
183
192
|
_: 1
|
|
184
193
|
})
|
|
185
194
|
])
|
|
@@ -3,9 +3,13 @@ var vue = require("vue");
|
|
|
3
3
|
var phone = require("../images/phone.js");
|
|
4
4
|
var webVue = require("@arco-design/web-vue");
|
|
5
5
|
const _hoisted_1 = { class: "iframe-container" };
|
|
6
|
-
const _hoisted_2 =
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("img", {
|
|
7
|
+
src: phone,
|
|
8
|
+
alt: ""
|
|
9
|
+
}, null, -1);
|
|
10
|
+
const _hoisted_3 = { class: "iframe-content" };
|
|
11
|
+
const _hoisted_4 = ["src"];
|
|
12
|
+
const _hoisted_5 = {
|
|
9
13
|
key: 1,
|
|
10
14
|
class: "loading-wrapper"
|
|
11
15
|
};
|
|
@@ -17,16 +21,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
17
21
|
setup(__props) {
|
|
18
22
|
return (_ctx, _cache) => {
|
|
19
23
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
alt: ""
|
|
23
|
-
}, null, -1)),
|
|
24
|
-
vue.createElementVNode("div", _hoisted_2, [
|
|
24
|
+
_hoisted_2,
|
|
25
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
25
26
|
_ctx.src ? (vue.openBlock(), vue.createElementBlock("iframe", {
|
|
26
27
|
key: 0,
|
|
27
28
|
style: { "overflow": "hidden" },
|
|
28
29
|
src: _ctx.src
|
|
29
|
-
}, null, 8,
|
|
30
|
+
}, null, 8, _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
30
31
|
vue.createVNode(vue.unref(webVue.Spin), { loading: true })
|
|
31
32
|
]))
|
|
32
33
|
])
|
|
@@ -758,15 +758,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
758
758
|
}, {
|
|
759
759
|
default: vue.withCtx(() => [
|
|
760
760
|
vue.createVNode(vue.unref(webVue.Radio), { value: 1 }, {
|
|
761
|
-
default: vue.withCtx(() =>
|
|
761
|
+
default: vue.withCtx(() => [
|
|
762
762
|
vue.createTextVNode(" \u9ED8\u54C0\u6A21\u5F0F")
|
|
763
|
-
])
|
|
763
|
+
]),
|
|
764
764
|
_: 1
|
|
765
765
|
}),
|
|
766
766
|
vue.createVNode(vue.unref(webVue.Radio), { value: 2 }, {
|
|
767
|
-
default: vue.withCtx(() =>
|
|
767
|
+
default: vue.withCtx(() => [
|
|
768
768
|
vue.createTextVNode("\u975E\u9ED8\u54C0\u6A21\u5F0F")
|
|
769
|
-
])
|
|
769
|
+
]),
|
|
770
770
|
_: 1
|
|
771
771
|
})
|
|
772
772
|
]),
|