@cmstops/pro-compo 0.1.31 → 0.1.33
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 +190 -15
- package/dist/index.min.css +1 -1
- package/es/contentModal/component.js +35 -35
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +53 -22
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +67 -18
- package/es/contentModal/components/ViewAllColumn/index.js +91 -44
- package/es/contentModal/components/storeBox/index.js +6 -6
- package/es/contentModal/images/pic-thumb.js +2 -0
- package/es/contentModal/style/MediaFilter.less +35 -5
- package/es/contentModal/style/ViewAllColumn.less +11 -0
- package/es/contentModal/style/columnTree.less +25 -5
- package/es/contentModal/style/index.css +56 -11
- package/es/contentModal/style/storeBox.less +16 -6
- package/es/editMetaInfo/components/metaInfoForm.js +84 -81
- package/es/index.css +190 -15
- package/es/resourceModal/assets/images/sys_load_more.js +2 -0
- package/es/resourceModal/component.js +9 -2
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +1 -1
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +139 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +103 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +103 -0
- package/es/resourceModal/components/MediaSelection/index.js +16 -7
- package/es/resourceModal/script/api.d.ts +17 -0
- package/es/resourceModal/script/api.js +21 -1
- package/es/resourceModal/script/mediaSelection.d.ts +4 -0
- package/es/resourceModal/script/mediaSelection.js +8 -0
- package/es/resourceModal/style/DocAiMediaSelected.less +2 -3
- package/es/resourceModal/style/MainContent.less +5 -3
- package/es/resourceModal/style/SystemResourceSelected.less +138 -0
- package/es/resourceModal/style/ToolbarSearch.less +13 -0
- package/es/resourceModal/style/index.css +135 -5
- package/es/resourceModal/style/index.less +1 -0
- package/es/selectThumb/component.js +6 -2
- package/lib/contentModal/component.js +35 -35
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +51 -20
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +65 -16
- package/lib/contentModal/components/ViewAllColumn/index.js +90 -43
- package/lib/contentModal/components/storeBox/index.js +6 -6
- package/lib/contentModal/images/pic-thumb.js +3 -0
- package/lib/contentModal/style/MediaFilter.less +35 -5
- package/lib/contentModal/style/ViewAllColumn.less +11 -0
- package/lib/contentModal/style/columnTree.less +25 -5
- package/lib/contentModal/style/index.css +56 -11
- package/lib/contentModal/style/storeBox.less +16 -6
- package/lib/editMetaInfo/components/metaInfoForm.js +83 -80
- package/lib/index.css +190 -15
- package/lib/resourceModal/assets/images/sys_load_more.js +3 -0
- package/lib/resourceModal/component.js +8 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +2 -2
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +140 -0
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +104 -0
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +104 -0
- package/lib/resourceModal/components/MediaSelection/index.js +15 -6
- package/lib/resourceModal/script/api.js +23 -0
- package/lib/resourceModal/script/mediaSelection.js +10 -0
- package/lib/resourceModal/style/DocAiMediaSelected.less +2 -3
- package/lib/resourceModal/style/MainContent.less +5 -3
- package/lib/resourceModal/style/SystemResourceSelected.less +138 -0
- package/lib/resourceModal/style/ToolbarSearch.less +13 -0
- package/lib/resourceModal/style/index.css +135 -5
- package/lib/resourceModal/style/index.less +1 -0
- package/lib/selectThumb/component.js +5 -1
- package/package.json +1 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _im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VDLkRnlbBt1Bo40DiWjsTSQpXd1sM0QvUozGSkQCLDMn5iObN3Fa6DNP3Zk5ow6QIZZiQJp00eYKYj98cfH380LesJaUwNTJ4XXJ4Yu7aVFDNdN+XevZ2nEHRGyH1aNcaHFMtCfDdL8sj9UgZ4+7ZWMUboIo34mKXL8iOTlZvwQ+98sb3LIi/W1BGNcMBltZu0nwV5gMzVq7ZGY6PaTw4eUobITfjDRHrGRPqeNCLRTwy+YOI8oxwgV/EzrBE71WdcS/uWNIaAKeaOI7PKVcoJcpmAkW7N4oKsuL6L4lJD0CHXBJ9n7a6CkOsMHhNpn4n0/dISKcfEUZiLFDCIxK7t0dK4tjkgjsJc1RA8GunvtGBRmxLH/PQgTxpnFOa2CMVkesTu7du5d29sbXqGeGFf4i445bnL0M99FVNaJaL9uSKTwLKB4pdmkw7mkTReLFQZ/Pi4tl1cp31Or39tkvGlIJpozlOKqOKWorgr5LxamjAsdB8FrJNj0h7XifZN0/iSf+yeEON3SMYBtIxw6Mghrk+ZdNRq0M+LRBg/lq4RB1aqVGLLZLEI71HFNM37whAV+aa4EuaVkI9X8Y/hLvfHz4264zhv+LuqFtFRo0HVRSZLEP4fk2v7Crb/X/wAAAAASUVORK5CYII=";
|
|
3
|
+
module.exports = _imports_0;
|
|
@@ -3,6 +3,7 @@ var vue = require("vue");
|
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
4
|
var config = require("../config.js");
|
|
5
5
|
var index = require("./components/MediaSelection/index.js");
|
|
6
|
+
var mediaSelection = require("./script/mediaSelection.js");
|
|
6
7
|
const _sfc_main = vue.defineComponent({
|
|
7
8
|
...{ name: "resourceModal" },
|
|
8
9
|
__name: "component",
|
|
@@ -12,11 +13,17 @@ const _sfc_main = vue.defineComponent({
|
|
|
12
13
|
ai_static_covers: {},
|
|
13
14
|
ai_gif_covers: {},
|
|
14
15
|
preview: { type: Boolean },
|
|
15
|
-
base_api: {}
|
|
16
|
+
base_api: {},
|
|
17
|
+
mediaUseType: {}
|
|
16
18
|
},
|
|
17
19
|
emits: ["update:dialogVisible", "submit"],
|
|
18
20
|
setup(__props, { emit: __emit }) {
|
|
19
21
|
const props = __props;
|
|
22
|
+
const injectMediaUseType = vue.inject("mediaUseType");
|
|
23
|
+
if (!injectMediaUseType && props.mediaUseType) {
|
|
24
|
+
vue.provide("mediaUseType", props.mediaUseType || mediaSelection.mediaUseEnum.THUMB);
|
|
25
|
+
}
|
|
26
|
+
vue.provide("baseAPI", props.base_api || config.DEFAULT_BASE_API);
|
|
20
27
|
const BASE_API = props.base_api || config.DEFAULT_BASE_API;
|
|
21
28
|
const selectedMax = vue.ref(1);
|
|
22
29
|
const emit = __emit;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var vue = require("vue");
|
|
3
3
|
var _null = require("../../../assets/selection/null.js");
|
|
4
4
|
var webVue = require("@arco-design/web-vue");
|
|
5
|
-
var
|
|
5
|
+
var vueCmstopIcons = require("@arco-iconbox/vue-cmstop-icons");
|
|
6
6
|
var component = require("../../../../typeIcons/component.js");
|
|
7
7
|
var index = require("./FileTypeThumb/index.js");
|
|
8
8
|
var filter = require("../../../script/filter.js");
|
|
@@ -133,7 +133,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
133
133
|
onClick: _cache[0] || (_cache[0] = ($event) => isFold.value = !isFold.value)
|
|
134
134
|
}, [
|
|
135
135
|
vue.createElementVNode("div", _hoisted_9, [
|
|
136
|
-
isFold.value ? (vue.openBlock(), vue.createBlock(vue.unref(
|
|
136
|
+
isFold.value ? (vue.openBlock(), vue.createBlock(vue.unref(vueCmstopIcons.IconDoubleDown), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(vueCmstopIcons.IconDoubleUp), { key: 1 })),
|
|
137
137
|
vue.createTextVNode(" " + vue.toDisplayString(isFold.value ? "\u5C55\u5F00\u5168\u90E8" : "\u6536\u7F29\u5168\u90E8"), 1)
|
|
138
138
|
])
|
|
139
139
|
])) : vue.createCommentVNode("v-if", true)
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var webVue = require("@arco-design/web-vue");
|
|
4
|
+
var icon = require("@arco-design/web-vue/es/icon");
|
|
5
|
+
var filter = require("../../../../script/filter.js");
|
|
6
|
+
var api = require("../../../../script/api.js");
|
|
7
|
+
const _hoisted_1 = { class: "toolbar-search-container sysfile-filter-container" };
|
|
8
|
+
const _hoisted_2 = { class: "top-container" };
|
|
9
|
+
const _hoisted_3 = { class: "filter-content" };
|
|
10
|
+
const _hoisted_4 = { class: "filter-left" };
|
|
11
|
+
const _sfc_main = vue.defineComponent({
|
|
12
|
+
...{ name: "ToolbarSearch" },
|
|
13
|
+
__name: "SystemResourceFilter",
|
|
14
|
+
emits: ["search", "changeScen"],
|
|
15
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
16
|
+
const mediaUseType = vue.inject("mediaUseType");
|
|
17
|
+
const baseApi = vue.inject("baseAPI");
|
|
18
|
+
const filter$1 = vue.ref({
|
|
19
|
+
keyword: "",
|
|
20
|
+
wh_rate: "",
|
|
21
|
+
limit: 9
|
|
22
|
+
});
|
|
23
|
+
const classify_id = vue.ref("");
|
|
24
|
+
const classifyIdOptions = vue.ref([]);
|
|
25
|
+
const loadClassify = async () => {
|
|
26
|
+
const res = await api.getSysRsClassifyList(baseApi, mediaUseType);
|
|
27
|
+
if (res.code !== 0)
|
|
28
|
+
return;
|
|
29
|
+
classifyIdOptions.value = res.message.classifies;
|
|
30
|
+
};
|
|
31
|
+
const emit = __emit;
|
|
32
|
+
const contentSearch = () => {
|
|
33
|
+
const params = { ...filter$1.value, sys_tag: mediaUseType };
|
|
34
|
+
emit("search", params);
|
|
35
|
+
};
|
|
36
|
+
const changeScen = () => emit("changeScen", classify_id.value);
|
|
37
|
+
const clearKeyword = () => {
|
|
38
|
+
filter$1.value.keyword = "";
|
|
39
|
+
};
|
|
40
|
+
const showReset = vue.computed(
|
|
41
|
+
() => filter$1.value.keyword || filter$1.value.wh_rate || classify_id.value
|
|
42
|
+
);
|
|
43
|
+
const reset = () => {
|
|
44
|
+
filter$1.value = {
|
|
45
|
+
keyword: "",
|
|
46
|
+
wh_rate: "",
|
|
47
|
+
limit: 9
|
|
48
|
+
};
|
|
49
|
+
classify_id.value = "";
|
|
50
|
+
changeScen();
|
|
51
|
+
contentSearch();
|
|
52
|
+
};
|
|
53
|
+
vue.watch(
|
|
54
|
+
() => filter$1.value,
|
|
55
|
+
() => contentSearch(),
|
|
56
|
+
{ deep: true }
|
|
57
|
+
);
|
|
58
|
+
vue.watch(
|
|
59
|
+
() => classify_id.value,
|
|
60
|
+
() => changeScen()
|
|
61
|
+
);
|
|
62
|
+
vue.onMounted(() => {
|
|
63
|
+
loadClassify();
|
|
64
|
+
});
|
|
65
|
+
__expose({ reset });
|
|
66
|
+
return (_ctx, _cache) => {
|
|
67
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
68
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
69
|
+
vue.renderSlot(_ctx.$slots, "other"),
|
|
70
|
+
vue.createElementVNode("div", _hoisted_3, [
|
|
71
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
72
|
+
vue.createVNode(vue.unref(webVue.Input), {
|
|
73
|
+
modelValue: filter$1.value.keyword,
|
|
74
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filter$1.value.keyword = $event),
|
|
75
|
+
class: "filter-item",
|
|
76
|
+
"allow-clear": "",
|
|
77
|
+
placeholder: "\u8F93\u5165\u7D20\u6750\u6807\u9898\u641C\u7D22",
|
|
78
|
+
onClear: clearKeyword
|
|
79
|
+
}, null, 8, ["modelValue"]),
|
|
80
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
81
|
+
modelValue: classify_id.value,
|
|
82
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => classify_id.value = $event),
|
|
83
|
+
class: "filter-item",
|
|
84
|
+
placeholder: "\u573A\u666F\u5206\u7C7B"
|
|
85
|
+
}, {
|
|
86
|
+
default: vue.withCtx(() => [
|
|
87
|
+
vue.createVNode(vue.unref(webVue.Option), {
|
|
88
|
+
label: "\u5168\u90E8\u573A\u666F",
|
|
89
|
+
value: ""
|
|
90
|
+
}),
|
|
91
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(classifyIdOptions.value, (item) => {
|
|
92
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
93
|
+
key: item.classify_id,
|
|
94
|
+
label: item.scenario_name,
|
|
95
|
+
value: item.classify_id
|
|
96
|
+
}, null, 8, ["label", "value"]);
|
|
97
|
+
}), 128))
|
|
98
|
+
]),
|
|
99
|
+
_: 1
|
|
100
|
+
}, 8, ["modelValue"]),
|
|
101
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
102
|
+
modelValue: filter$1.value.wh_rate,
|
|
103
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => filter$1.value.wh_rate = $event),
|
|
104
|
+
class: "filter-item",
|
|
105
|
+
placeholder: "\u56FE\u7247\u6BD4\u4F8B"
|
|
106
|
+
}, {
|
|
107
|
+
default: vue.withCtx(() => [
|
|
108
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(filter.rateOptions), (item) => {
|
|
109
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
110
|
+
key: item.value,
|
|
111
|
+
label: item.label,
|
|
112
|
+
value: item.value
|
|
113
|
+
}, null, 8, ["label", "value"]);
|
|
114
|
+
}), 128))
|
|
115
|
+
]),
|
|
116
|
+
_: 1
|
|
117
|
+
}, 8, ["modelValue"]),
|
|
118
|
+
vue.withDirectives(vue.createVNode(vue.unref(webVue.Button), {
|
|
119
|
+
type: "text",
|
|
120
|
+
size: "medium",
|
|
121
|
+
onClick: reset
|
|
122
|
+
}, {
|
|
123
|
+
icon: vue.withCtx(() => [
|
|
124
|
+
vue.createVNode(vue.unref(icon.IconRefresh))
|
|
125
|
+
]),
|
|
126
|
+
default: vue.withCtx(() => [
|
|
127
|
+
vue.createTextVNode("\u91CD\u7F6E\u7B5B\u9009")
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
}, 512), [
|
|
131
|
+
[vue.vShow, showReset.value]
|
|
132
|
+
])
|
|
133
|
+
])
|
|
134
|
+
])
|
|
135
|
+
])
|
|
136
|
+
]);
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var sys_load_more = require("../../../../assets/images/sys_load_more.js");
|
|
4
|
+
var webVue = require("@arco-design/web-vue");
|
|
5
|
+
var index = require("../../MainContent/FileTypeThumb/index.js");
|
|
6
|
+
var api = require("../../../../script/api.js");
|
|
7
|
+
const _hoisted_1 = { class: "sys-res-file-list clearfix" };
|
|
8
|
+
const _hoisted_2 = { class: "thumb-wrap" };
|
|
9
|
+
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("img", { src: sys_load_more }, null, -1);
|
|
10
|
+
const _sfc_main = vue.defineComponent({
|
|
11
|
+
__name: "SystemResourceList",
|
|
12
|
+
props: {
|
|
13
|
+
sceniro: {},
|
|
14
|
+
outsideFilter: {}
|
|
15
|
+
},
|
|
16
|
+
emits: ["confirm"],
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
|
+
const emits = __emit;
|
|
19
|
+
const props = __props;
|
|
20
|
+
const baseApi = vue.inject("baseAPI");
|
|
21
|
+
const fileList = vue.ref([]);
|
|
22
|
+
const fileCount = vue.ref(0);
|
|
23
|
+
const showMore = vue.computed(
|
|
24
|
+
() => fileList.value.length < props.sceniro.count
|
|
25
|
+
);
|
|
26
|
+
vue.watch(
|
|
27
|
+
() => props.sceniro,
|
|
28
|
+
() => {
|
|
29
|
+
fileList.value = props.sceniro.data;
|
|
30
|
+
fileCount.value = props.sceniro.count;
|
|
31
|
+
},
|
|
32
|
+
{ deep: true, immediate: true }
|
|
33
|
+
);
|
|
34
|
+
const selectedData = vue.ref([]);
|
|
35
|
+
const confirm = (itemData) => {
|
|
36
|
+
selectedData.value = [itemData];
|
|
37
|
+
emits("confirm", selectedData.value);
|
|
38
|
+
};
|
|
39
|
+
const loadMore = async () => {
|
|
40
|
+
const { sceniro } = props;
|
|
41
|
+
const { outsideFilter } = props;
|
|
42
|
+
const res = await api.getSysRsPage(baseApi, {
|
|
43
|
+
sys_classify: sceniro.classify_id,
|
|
44
|
+
sys_tag: sceniro.sys_tag,
|
|
45
|
+
keyword: outsideFilter.keyword || "",
|
|
46
|
+
wh_rate: outsideFilter.wh_rate || "",
|
|
47
|
+
limit: 10,
|
|
48
|
+
offset: fileList.value.length
|
|
49
|
+
});
|
|
50
|
+
if (res.code !== 0)
|
|
51
|
+
return;
|
|
52
|
+
fileCount.value = res.message.count;
|
|
53
|
+
fileList.value = fileList.value.concat(res.message.data);
|
|
54
|
+
};
|
|
55
|
+
return (_ctx, _cache) => {
|
|
56
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
57
|
+
vue.createCommentVNode(" \u6587\u4EF6 "),
|
|
58
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
59
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(fileList.value, (item) => {
|
|
60
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
61
|
+
key: item.classify_id,
|
|
62
|
+
class: "item"
|
|
63
|
+
}, [
|
|
64
|
+
vue.createElementVNode("div", {
|
|
65
|
+
class: vue.normalizeClass([{ active: selectedData.value.includes(item) }, "shadow-wrap"])
|
|
66
|
+
}, [
|
|
67
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
68
|
+
vue.createVNode(index, {
|
|
69
|
+
"item-data": item,
|
|
70
|
+
preview: true,
|
|
71
|
+
onConfirm: confirm
|
|
72
|
+
}, null, 8, ["item-data"])
|
|
73
|
+
]),
|
|
74
|
+
vue.createElementVNode("h4", null, [
|
|
75
|
+
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
76
|
+
content: item.alias,
|
|
77
|
+
"open-delay": 500,
|
|
78
|
+
effect: "dark",
|
|
79
|
+
placement: "top"
|
|
80
|
+
}, {
|
|
81
|
+
default: vue.withCtx(() => [
|
|
82
|
+
vue.createElementVNode("span", null, vue.toDisplayString(item.alias), 1)
|
|
83
|
+
]),
|
|
84
|
+
_: 2
|
|
85
|
+
}, 1032, ["content"])
|
|
86
|
+
])
|
|
87
|
+
], 2)
|
|
88
|
+
]);
|
|
89
|
+
}), 128)),
|
|
90
|
+
showMore.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
91
|
+
key: 0,
|
|
92
|
+
class: "item-load-more",
|
|
93
|
+
style: vue.normalizeStyle({ width: "calc(20% - 20px)" }),
|
|
94
|
+
onClick: loadMore
|
|
95
|
+
}, [
|
|
96
|
+
_hoisted_3,
|
|
97
|
+
vue.createTextVNode(" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ")
|
|
98
|
+
], 4)) : vue.createCommentVNode("v-if", true)
|
|
99
|
+
])
|
|
100
|
+
], 2112);
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var vue = require("vue");
|
|
3
|
+
var _null = require("../../../assets/selection/null.js");
|
|
4
|
+
var webVue = require("@arco-design/web-vue");
|
|
5
|
+
var SystemResourceFilter = require("./components/SystemResourceFilter.js");
|
|
6
|
+
var SystemResourceList = require("./components/SystemResourceList.js");
|
|
7
|
+
var api = require("../../../script/api.js");
|
|
8
|
+
const _hoisted_1 = { class: "sys-resource-dialog" };
|
|
9
|
+
const _hoisted_2 = { class: "sys-resource-cards" };
|
|
10
|
+
const _hoisted_3 = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "scen-module"
|
|
13
|
+
};
|
|
14
|
+
const _hoisted_4 = { class: "title" };
|
|
15
|
+
const _hoisted_5 = /* @__PURE__ */ vue.createElementVNode("div", { class: "line" }, null, -1);
|
|
16
|
+
const _hoisted_6 = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "null-file"
|
|
19
|
+
};
|
|
20
|
+
const _hoisted_7 = /* @__PURE__ */ vue.createElementVNode("img", {
|
|
21
|
+
class: "null-pic",
|
|
22
|
+
src: _null
|
|
23
|
+
}, null, -1);
|
|
24
|
+
const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("p", null, "\u6682\u65E0\u7D20\u6750", -1);
|
|
25
|
+
const _hoisted_9 = [
|
|
26
|
+
_hoisted_7,
|
|
27
|
+
_hoisted_8
|
|
28
|
+
];
|
|
29
|
+
const _sfc_main = vue.defineComponent({
|
|
30
|
+
__name: "index",
|
|
31
|
+
emits: ["confirm"],
|
|
32
|
+
setup(__props, { emit: __emit }) {
|
|
33
|
+
const emits = __emit;
|
|
34
|
+
const mediaUseType = vue.inject("mediaUseType");
|
|
35
|
+
const baseApi = vue.inject("baseAPI");
|
|
36
|
+
const scenList = vue.ref([]);
|
|
37
|
+
const choseScen = vue.ref("");
|
|
38
|
+
const outsideFilter = vue.ref(null);
|
|
39
|
+
const handleSearch = async (filter) => {
|
|
40
|
+
outsideFilter.value = filter;
|
|
41
|
+
const res = await api.getSysRsByTag(baseApi, filter);
|
|
42
|
+
if (res.code !== 0)
|
|
43
|
+
return;
|
|
44
|
+
scenList.value = res.message.Results;
|
|
45
|
+
};
|
|
46
|
+
const handleChangeScen = (scen) => {
|
|
47
|
+
choseScen.value = scen;
|
|
48
|
+
};
|
|
49
|
+
const handleConfirm = (data) => {
|
|
50
|
+
data[0].realUrl = data[0].url;
|
|
51
|
+
emits("confirm", data);
|
|
52
|
+
};
|
|
53
|
+
const isEmpty = vue.computed(() => {
|
|
54
|
+
if (!scenList.value.length)
|
|
55
|
+
return true;
|
|
56
|
+
if (choseScen.value !== "") {
|
|
57
|
+
const scen = scenList.value.find(
|
|
58
|
+
(item) => item.classify_id === choseScen.value
|
|
59
|
+
);
|
|
60
|
+
return scen.data === null;
|
|
61
|
+
}
|
|
62
|
+
return !scenList.value.some((item) => item.data && item.data.length > 0);
|
|
63
|
+
});
|
|
64
|
+
vue.onMounted(() => {
|
|
65
|
+
handleSearch({ sys_tag: mediaUseType, limit: 9 });
|
|
66
|
+
});
|
|
67
|
+
return (_ctx, _cache) => {
|
|
68
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
69
|
+
vue.createVNode(SystemResourceFilter, {
|
|
70
|
+
onSearch: handleSearch,
|
|
71
|
+
onChangeScen: handleChangeScen
|
|
72
|
+
}),
|
|
73
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
74
|
+
vue.createVNode(vue.unref(webVue.Scrollbar), { class: "sys-resource-scroll" }, {
|
|
75
|
+
default: vue.withCtx(() => [
|
|
76
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(scenList.value, (sceniro) => {
|
|
77
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
78
|
+
key: sceniro.classify_id
|
|
79
|
+
}, [
|
|
80
|
+
sceniro.data && sceniro.data.length > 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
|
|
81
|
+
vue.createElementVNode("div", _hoisted_4, [
|
|
82
|
+
_hoisted_5,
|
|
83
|
+
vue.createTextVNode(" " + vue.toDisplayString(sceniro.scenario_name), 1)
|
|
84
|
+
]),
|
|
85
|
+
vue.createVNode(SystemResourceList, {
|
|
86
|
+
"outside-filter": outsideFilter.value,
|
|
87
|
+
sceniro,
|
|
88
|
+
onConfirm: handleConfirm
|
|
89
|
+
}, null, 8, ["outside-filter", "sceniro"])
|
|
90
|
+
], 512)), [
|
|
91
|
+
[vue.vShow, [sceniro.classify_id, ""].includes(choseScen.value)]
|
|
92
|
+
]) : vue.createCommentVNode("v-if", true)
|
|
93
|
+
], 64);
|
|
94
|
+
}), 128)),
|
|
95
|
+
isEmpty.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, _hoisted_9)) : vue.createCommentVNode("v-if", true)
|
|
96
|
+
]),
|
|
97
|
+
_: 1
|
|
98
|
+
})
|
|
99
|
+
])
|
|
100
|
+
]);
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
module.exports = _sfc_main;
|
|
@@ -4,8 +4,9 @@ var webVue = require("@arco-design/web-vue");
|
|
|
4
4
|
var icon = require("@arco-design/web-vue/es/icon");
|
|
5
5
|
var api = require("../../script/api.js");
|
|
6
6
|
var index = require("./DocAiMediaSelected/index.js");
|
|
7
|
-
var index$1 = require("./
|
|
8
|
-
var index$2 = require("./
|
|
7
|
+
var index$1 = require("./SystemResourceSelected/index.js");
|
|
8
|
+
var index$2 = require("./ToolbarSearch/index.js");
|
|
9
|
+
var index$3 = require("./MainContent/index.js");
|
|
9
10
|
const _hoisted_1 = {
|
|
10
11
|
class: "media-selection",
|
|
11
12
|
unselectable: "on"
|
|
@@ -28,6 +29,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
28
29
|
setup(__props, { emit: __emit }) {
|
|
29
30
|
const props = __props;
|
|
30
31
|
const emit = __emit;
|
|
32
|
+
const mediaUseType = vue.inject("mediaUseType");
|
|
31
33
|
const confirm = (itemData) => {
|
|
32
34
|
emit("confirm", itemData);
|
|
33
35
|
};
|
|
@@ -45,7 +47,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
45
47
|
});
|
|
46
48
|
const filter = vue.ref(null);
|
|
47
49
|
const activeMediaType = vue.ref(
|
|
48
|
-
props.ai_static_covers && props.ai_static_covers.length ? "ai" : "all"
|
|
50
|
+
props.ai_static_covers && props.ai_static_covers.length ? "ai" : mediaUseType ? "system" : "all"
|
|
49
51
|
);
|
|
50
52
|
const api$1 = vue.ref({ getAttachmentsAll: api.getAttachmentsAll, getAttachmentsMy: api.getAttachmentsMy });
|
|
51
53
|
const currentDirectory = vue.ref({
|
|
@@ -173,6 +175,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
173
175
|
key: "ai",
|
|
174
176
|
title: "AI\u4F18\u9009"
|
|
175
177
|
})) : vue.createCommentVNode("v-if", true),
|
|
178
|
+
vue.unref(mediaUseType) ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.TabPane), {
|
|
179
|
+
key: "system",
|
|
180
|
+
title: "\u5185\u7F6E\u7D20\u6750"
|
|
181
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
176
182
|
vue.createVNode(vue.unref(webVue.TabPane), {
|
|
177
183
|
key: "all",
|
|
178
184
|
title: "\u5168\u90E8\u7D20\u6750"
|
|
@@ -197,12 +203,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
197
203
|
"selected-max": _ctx.selectedMax,
|
|
198
204
|
preview: _ctx.preview,
|
|
199
205
|
onConfirm: confirm
|
|
200
|
-
}, null, 8, ["ai_static_covers", "ai_gif_covers", "selected-max", "preview"])) :
|
|
206
|
+
}, null, 8, ["ai_static_covers", "ai_gif_covers", "selected-max", "preview"])) : activeMediaType.value === "system" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
207
|
+
vue.createCommentVNode(" \u5185\u7F6E\u7D20\u6750 "),
|
|
208
|
+
vue.createVNode(index$1, { onConfirm: confirm })
|
|
209
|
+
], 2112)) : vue.createCommentVNode("v-if", true),
|
|
201
210
|
vue.createCommentVNode(" \u7D20\u6750\u5E93\u7D20\u6750 "),
|
|
202
211
|
vue.createCommentVNode(" \u7EC4\u7EC7\u3001\u6587\u4EF6\u5939\u9762\u5305\u5C51 "),
|
|
203
212
|
vue.withDirectives(vue.createElementVNode("div", _hoisted_4, [
|
|
204
213
|
vue.createElementVNode("div", _hoisted_5, [
|
|
205
|
-
vue.createVNode(index$
|
|
214
|
+
vue.createVNode(index$2, {
|
|
206
215
|
ref_key: "getMoreData",
|
|
207
216
|
ref: getMoreData,
|
|
208
217
|
class: "tool-search-box",
|
|
@@ -249,7 +258,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
249
258
|
_: 1
|
|
250
259
|
})) : vue.createCommentVNode("v-if", true),
|
|
251
260
|
vue.createCommentVNode(" \u6211\u7684\u5DE5\u7A0B\u3001\u89C6\u9891\u5217\u8868 "),
|
|
252
|
-
vue.createVNode(index$
|
|
261
|
+
vue.createVNode(index$3, {
|
|
253
262
|
"folder-list": folderList.value,
|
|
254
263
|
"file-list": fileList.value,
|
|
255
264
|
"file-list-count": fileListCount.value,
|
|
@@ -29,7 +29,30 @@ function getAccountList(BASE_API, id, query) {
|
|
|
29
29
|
params: query
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
+
function getSysRsClassifyList(BASE_API, sys_tag) {
|
|
33
|
+
return request(BASE_API, {
|
|
34
|
+
url: `/poplar/v3/sys_attachment/scenario_classifies?sys_tag=${sys_tag}`,
|
|
35
|
+
method: "get"
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function getSysRsByTag(BASE_API, params) {
|
|
39
|
+
return request(BASE_API, {
|
|
40
|
+
url: "/poplar/v3/classified/sys_attachments",
|
|
41
|
+
method: "get",
|
|
42
|
+
params
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
function getSysRsPage(BASE_API, params) {
|
|
46
|
+
return request(BASE_API, {
|
|
47
|
+
url: "/poplar/v3/sys_attachments",
|
|
48
|
+
method: "get",
|
|
49
|
+
params
|
|
50
|
+
});
|
|
51
|
+
}
|
|
32
52
|
exports.getAccountList = getAccountList;
|
|
33
53
|
exports.getAttachmentsAll = getAttachmentsAll;
|
|
34
54
|
exports.getAttachmentsMy = getAttachmentsMy;
|
|
35
55
|
exports.getDirectories = getDirectories;
|
|
56
|
+
exports.getSysRsByTag = getSysRsByTag;
|
|
57
|
+
exports.getSysRsClassifyList = getSysRsClassifyList;
|
|
58
|
+
exports.getSysRsPage = getSysRsPage;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const mediaUseEnum = {
|
|
4
|
+
THUMB: 1,
|
|
5
|
+
COMPOICON: 2,
|
|
6
|
+
PUSHICON: 3,
|
|
7
|
+
NAVBG: 4,
|
|
8
|
+
NAVICON: 5
|
|
9
|
+
};
|
|
10
|
+
exports.mediaUseEnum = mediaUseEnum;
|
|
@@ -32,12 +32,11 @@
|
|
|
32
32
|
width: 100%;
|
|
33
33
|
height: 100%;
|
|
34
34
|
overflow: hidden;
|
|
35
|
-
|
|
36
|
-
border: solid 3px transparent;
|
|
35
|
+
border: solid 1px transparent;
|
|
37
36
|
border-radius: 4px;
|
|
38
37
|
|
|
39
38
|
&.active {
|
|
40
|
-
border: solid
|
|
39
|
+
border: solid 1px #4886ff;
|
|
41
40
|
border-radius: 4px;
|
|
42
41
|
}
|
|
43
42
|
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
background: url('../assets/selection/folder.png') no-repeat 13px
|
|
44
44
|
center;
|
|
45
45
|
background-size: 17px auto;
|
|
46
|
-
border: solid
|
|
46
|
+
border: solid 1px transparent;
|
|
47
47
|
border-radius: 4px;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -74,13 +74,15 @@
|
|
|
74
74
|
padding: 14px 16px;
|
|
75
75
|
line-height: 24px;
|
|
76
76
|
background: #f7f8fa;
|
|
77
|
-
border: 1px solid #ebeef5;
|
|
77
|
+
//border: 1px solid #ebeef5;
|
|
78
|
+
border: 1px solid transparent;
|
|
78
79
|
border-radius: 4px;
|
|
79
80
|
|
|
80
81
|
&:hover {
|
|
81
82
|
color: #165dff;
|
|
82
83
|
background: #f2f3f5;
|
|
83
|
-
|
|
84
|
+
border: 1px solid #4886ff;
|
|
85
|
+
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
84
86
|
cursor: pointer;
|
|
85
87
|
}
|
|
86
88
|
}
|