@cmstops/pro-compo 3.0.0 → 3.9.1-rc.0
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/editMetaInfo/components/metaInfoForm.js +4 -2
- package/es/hooks/useAttachement.d.ts +7 -26
- package/es/hooks/useAttachement.js +2 -49
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +10 -25
- package/lib/editMetaInfo/components/metaInfoForm.js +4 -2
- package/lib/hooks/useAttachement.js +0 -49
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +9 -24
- package/package.json +1 -1
|
@@ -48,7 +48,7 @@ const _sfc_main = defineComponent({
|
|
|
48
48
|
brief: "",
|
|
49
49
|
guide: "",
|
|
50
50
|
keywords: [],
|
|
51
|
-
author:
|
|
51
|
+
author: [],
|
|
52
52
|
duty_editor: [],
|
|
53
53
|
extra_attrs: [],
|
|
54
54
|
self_publish_time: "",
|
|
@@ -186,6 +186,7 @@ const _sfc_main = defineComponent({
|
|
|
186
186
|
data.offline_time = data.offline_time && Math.floor(data.offline_time / 1e3);
|
|
187
187
|
data.keywords = data.keywords && data.keywords.join(",");
|
|
188
188
|
data.duty_editor = data.duty_editor && data.duty_editor.join(",");
|
|
189
|
+
data.author = data.author && data.author.join(",");
|
|
189
190
|
data.extra_attrs = data.extra_attrs && data.extra_attrs.join(",");
|
|
190
191
|
data.relation_news = data.relation_news && JSON.stringify(data.relation_news);
|
|
191
192
|
data.comment_available = !!data.comment_available;
|
|
@@ -215,6 +216,7 @@ const _sfc_main = defineComponent({
|
|
|
215
216
|
data.offline_time = data.offline_time && parseInt(data.offline_time, 10) * 1e3 || "";
|
|
216
217
|
data.keywords = data.keywords && data.keywords.split(",") || [];
|
|
217
218
|
data.duty_editor = data.duty_editor && data.duty_editor.split(",") || [];
|
|
219
|
+
data.author = data.author && data.author.split(",") || [];
|
|
218
220
|
data.extra_attrs = data.extra_attrs && data.extra_attrs.split(",") || [];
|
|
219
221
|
data.relation_news = data.relation_news && JSON.parse(data.relation_news) || [];
|
|
220
222
|
data.line_time = !!(data.online_time || data.offline_time);
|
|
@@ -521,7 +523,7 @@ const _sfc_main = defineComponent({
|
|
|
521
523
|
label: "\u4F5C\u8005"
|
|
522
524
|
}, {
|
|
523
525
|
default: withCtx(() => [
|
|
524
|
-
createVNode(unref(
|
|
526
|
+
createVNode(unref(InputTag), {
|
|
525
527
|
modelValue: form.value.author,
|
|
526
528
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => form.value.author = $event),
|
|
527
529
|
"allow-clear": "",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
1
2
|
export declare function getAttachmentsAll(BASE_API: string, query?: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2
3
|
export declare function getAttachmentsMy(BASE_API: string, query?: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
4
|
export declare function getAttachmentsMyMessage(BASE_API: string, query: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -6,12 +7,12 @@ declare type OptionsType = {
|
|
|
6
7
|
BASE_API: string;
|
|
7
8
|
};
|
|
8
9
|
export default function useAttachement(options: OptionsType): {
|
|
9
|
-
list:
|
|
10
|
-
total:
|
|
11
|
-
limit:
|
|
12
|
-
offset:
|
|
10
|
+
list: Ref<any[], any[]>;
|
|
11
|
+
total: Ref<number, number>;
|
|
12
|
+
limit: Ref<number, number>;
|
|
13
|
+
offset: Ref<number, number>;
|
|
13
14
|
pageIdx: import("vue").ComputedRef<number>;
|
|
14
|
-
loading:
|
|
15
|
+
loading: Ref<boolean, boolean>;
|
|
15
16
|
changeFilter: (f: any) => void;
|
|
16
17
|
changeKey: (k: string) => void;
|
|
17
18
|
changePage: (o: number) => void;
|
|
@@ -19,7 +20,7 @@ export default function useAttachement(options: OptionsType): {
|
|
|
19
20
|
loadData: () => Promise<void>;
|
|
20
21
|
};
|
|
21
22
|
export declare function useLocalRecource(): {
|
|
22
|
-
localList:
|
|
23
|
+
localList: Ref<any[], any[]>;
|
|
23
24
|
initLocalList: () => void;
|
|
24
25
|
setLocalList: (list: any[]) => void;
|
|
25
26
|
};
|
|
@@ -30,24 +31,4 @@ export declare const mediaUseEnum: {
|
|
|
30
31
|
export declare function getSysRsByTag(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
31
32
|
export declare function getSysRsClassifyList(BASE_API: string, sys_tag: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
32
33
|
export declare function getSysRsPage(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
33
|
-
export declare function getDirectory(BASE_API: string, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
34
|
-
/**
|
|
35
|
-
* 数据结构:
|
|
36
|
-
* Array<{
|
|
37
|
-
* "id": {dirid},
|
|
38
|
-
* "alias": {dirname},
|
|
39
|
-
* "parent_id": {parent_dirid},
|
|
40
|
-
* "children": [],
|
|
41
|
-
* ...
|
|
42
|
-
* }>
|
|
43
|
-
*/
|
|
44
|
-
declare type DirOptionsType = {
|
|
45
|
-
key?: string;
|
|
46
|
-
BASE_API: string;
|
|
47
|
-
};
|
|
48
|
-
export declare function useDirectory(options: DirOptionsType): {
|
|
49
|
-
tree: import("vue").Ref<any[], any[]>;
|
|
50
|
-
init: () => Promise<void>;
|
|
51
|
-
loadMore: (target: any) => Promise<void>;
|
|
52
|
-
};
|
|
53
34
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref, computed
|
|
1
|
+
import { ref, computed } from "vue";
|
|
2
2
|
import request from "../utils/request.js";
|
|
3
3
|
function getAttachmentsAll(BASE_API, query) {
|
|
4
4
|
return request(BASE_API, {
|
|
@@ -108,51 +108,4 @@ function getSysRsPage(BASE_API, params) {
|
|
|
108
108
|
params
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
|
-
|
|
112
|
-
return request(BASE_API, {
|
|
113
|
-
url: "/poplar/v3/directories",
|
|
114
|
-
method: "get",
|
|
115
|
-
params
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
function useDirectory(options) {
|
|
119
|
-
const tree = ref([]);
|
|
120
|
-
async function loadDirTree(parent_id) {
|
|
121
|
-
const params = parent_id ? { parent_id } : {};
|
|
122
|
-
const { code, message } = await getDirectory(options.BASE_API, params);
|
|
123
|
-
if (code === 0) {
|
|
124
|
-
if (!Array.isArray(message.data))
|
|
125
|
-
return [];
|
|
126
|
-
return message.data.map(({ alias, id }) => {
|
|
127
|
-
return {
|
|
128
|
-
title: alias,
|
|
129
|
-
key: id,
|
|
130
|
-
isLeaf: false,
|
|
131
|
-
children: []
|
|
132
|
-
};
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
return [];
|
|
136
|
-
}
|
|
137
|
-
async function init() {
|
|
138
|
-
const result = await loadDirTree();
|
|
139
|
-
if (!Array.isArray(result))
|
|
140
|
-
return;
|
|
141
|
-
tree.value = result;
|
|
142
|
-
}
|
|
143
|
-
async function loadMore(target) {
|
|
144
|
-
const children = await loadDirTree(target.key);
|
|
145
|
-
target.children = children;
|
|
146
|
-
if (children.length === 0)
|
|
147
|
-
target.isLeaf = true;
|
|
148
|
-
}
|
|
149
|
-
onMounted(() => {
|
|
150
|
-
init();
|
|
151
|
-
});
|
|
152
|
-
return {
|
|
153
|
-
tree,
|
|
154
|
-
init,
|
|
155
|
-
loadMore
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
export { useAttachement as default, getAttachmentsAll, getAttachmentsMy, getAttachmentsMyMessage, getDirectory, getSysRsByTag, getSysRsPage, useDirectory };
|
|
111
|
+
export { useAttachement as default, getAttachmentsAll, getAttachmentsMy, getAttachmentsMyMessage, getSysRsByTag, getSysRsPage };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, computed, ref, watch, onMounted, openBlock, createElementBlock, createElementVNode, createCommentVNode, createVNode, unref, withCtx, createTextVNode, toDisplayString, Fragment, renderList, createBlock, normalizeClass } from "vue";
|
|
2
|
-
import { Input, Dropdown, Doption, Button, Select, Option,
|
|
2
|
+
import { Input, Dropdown, Doption, Button, Select, Option, RangePicker } from "@arco-design/web-vue";
|
|
3
3
|
import { IconUpload } from "@arco-design/web-vue/es/icon";
|
|
4
4
|
import useSelection from "../../../../hooks/useSelection.js";
|
|
5
|
-
import { useDirectory } from "../../../../hooks/useAttachement.js";
|
|
6
5
|
import { RESOURCE_SOURCE_OPTIONS, RESOURCE_CATALOG_OPTIONS } from "../../../../utils/typeMap.js";
|
|
7
6
|
import { getAccountList } from "../../../scripts/selectionApis.js";
|
|
8
7
|
import { keywordsSelection } from "../../../../utils/resource.js";
|
|
@@ -57,9 +56,6 @@ const _sfc_main = defineComponent({
|
|
|
57
56
|
});
|
|
58
57
|
const resourceSource = RESOURCE_SOURCE_OPTIONS;
|
|
59
58
|
const resourceCatalog = RESOURCE_CATALOG_OPTIONS;
|
|
60
|
-
const { tree, loadMore: loadDirMore } = useDirectory({
|
|
61
|
-
BASE_API: baseAPI
|
|
62
|
-
});
|
|
63
59
|
const originFilter = {
|
|
64
60
|
catalog: [],
|
|
65
61
|
source: "",
|
|
@@ -68,8 +64,7 @@ const _sfc_main = defineComponent({
|
|
|
68
64
|
keyword: "",
|
|
69
65
|
precise_keyword: "",
|
|
70
66
|
upload_by: null,
|
|
71
|
-
sf: ""
|
|
72
|
-
directory_id: void 0
|
|
67
|
+
sf: ""
|
|
73
68
|
};
|
|
74
69
|
const filter = ref(JSON.parse(JSON.stringify(originFilter)));
|
|
75
70
|
const handleReset = () => {
|
|
@@ -185,13 +180,13 @@ const _sfc_main = defineComponent({
|
|
|
185
180
|
}, {
|
|
186
181
|
content: withCtx(() => [
|
|
187
182
|
createVNode(unref(Doption), { value: 0 }, {
|
|
188
|
-
default: withCtx(() => _cache[
|
|
183
|
+
default: withCtx(() => _cache[7] || (_cache[7] = [
|
|
189
184
|
createTextVNode("\u7CBE\u51C6\u641C")
|
|
190
185
|
])),
|
|
191
186
|
_: 1
|
|
192
187
|
}),
|
|
193
188
|
createVNode(unref(Doption), { value: 1 }, {
|
|
194
|
-
default: withCtx(() => _cache[
|
|
189
|
+
default: withCtx(() => _cache[8] || (_cache[8] = [
|
|
195
190
|
createTextVNode("\u6A21\u7CCA\u641C")
|
|
196
191
|
])),
|
|
197
192
|
_: 1
|
|
@@ -233,20 +228,10 @@ const _sfc_main = defineComponent({
|
|
|
233
228
|
_: 1
|
|
234
229
|
}, 8, ["modelValue", "disabled"])
|
|
235
230
|
]),
|
|
236
|
-
createCommentVNode(" \u76EE\u5F55 "),
|
|
237
|
-
createVNode(unref(TreeSelect), {
|
|
238
|
-
modelValue: filter.value.directory_id,
|
|
239
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => filter.value.directory_id = $event),
|
|
240
|
-
data: unref(tree),
|
|
241
|
-
"load-more": unref(loadDirMore),
|
|
242
|
-
placeholder: "\u8BF7\u9009\u62E9\u76EE\u5F55",
|
|
243
|
-
style: { "width": "180px" },
|
|
244
|
-
"allow-clear": ""
|
|
245
|
-
}, null, 8, ["modelValue", "data", "load-more"]),
|
|
246
231
|
createCommentVNode(" \u65F6\u95F4\u8303\u56F4 "),
|
|
247
232
|
createVNode(unref(RangePicker), {
|
|
248
233
|
modelValue: rangeTime.value,
|
|
249
|
-
"onUpdate:modelValue": _cache[
|
|
234
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => rangeTime.value = $event),
|
|
250
235
|
"allow-clear": "",
|
|
251
236
|
style: { "width": "240px" }
|
|
252
237
|
}, null, 8, ["modelValue"]),
|
|
@@ -254,7 +239,7 @@ const _sfc_main = defineComponent({
|
|
|
254
239
|
createElementVNode("div", _hoisted_6, [
|
|
255
240
|
createVNode(unref(Select), {
|
|
256
241
|
modelValue: filter.value.source,
|
|
257
|
-
"onUpdate:modelValue": _cache[
|
|
242
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => filter.value.source = $event),
|
|
258
243
|
"allow-clear": "",
|
|
259
244
|
placeholder: "\u6765\u6E90"
|
|
260
245
|
}, {
|
|
@@ -274,7 +259,7 @@ const _sfc_main = defineComponent({
|
|
|
274
259
|
!_ctx.disableUploadBy ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
275
260
|
createVNode(unref(Select), {
|
|
276
261
|
modelValue: filter.value.upload_by,
|
|
277
|
-
"onUpdate:modelValue": _cache[
|
|
262
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => filter.value.upload_by = $event),
|
|
278
263
|
"allow-clear": "",
|
|
279
264
|
placeholder: "\u4E0A\u4F20\u4EBA",
|
|
280
265
|
loading: unref(loading),
|
|
@@ -299,7 +284,7 @@ const _sfc_main = defineComponent({
|
|
|
299
284
|
type: "text",
|
|
300
285
|
onClick: handleReset
|
|
301
286
|
}, {
|
|
302
|
-
default: withCtx(() => _cache[
|
|
287
|
+
default: withCtx(() => _cache[9] || (_cache[9] = [
|
|
303
288
|
createTextVNode(" \u91CD\u7F6E ")
|
|
304
289
|
])),
|
|
305
290
|
_: 1
|
|
@@ -308,13 +293,13 @@ const _sfc_main = defineComponent({
|
|
|
308
293
|
createElementVNode("div", _hoisted_8, [
|
|
309
294
|
createVNode(unref(Button), {
|
|
310
295
|
type: "primary",
|
|
311
|
-
onClick: _cache[
|
|
296
|
+
onClick: _cache[6] || (_cache[6] = ($event) => emits("upload"))
|
|
312
297
|
}, {
|
|
313
298
|
icon: withCtx(() => [
|
|
314
299
|
createVNode(unref(IconUpload))
|
|
315
300
|
]),
|
|
316
301
|
default: withCtx(() => [
|
|
317
|
-
_cache[
|
|
302
|
+
_cache[10] || (_cache[10] = createTextVNode(" \u4E0A\u4F20 "))
|
|
318
303
|
]),
|
|
319
304
|
_: 1
|
|
320
305
|
})
|
|
@@ -49,7 +49,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
49
49
|
brief: "",
|
|
50
50
|
guide: "",
|
|
51
51
|
keywords: [],
|
|
52
|
-
author:
|
|
52
|
+
author: [],
|
|
53
53
|
duty_editor: [],
|
|
54
54
|
extra_attrs: [],
|
|
55
55
|
self_publish_time: "",
|
|
@@ -187,6 +187,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
187
187
|
data.offline_time = data.offline_time && Math.floor(data.offline_time / 1e3);
|
|
188
188
|
data.keywords = data.keywords && data.keywords.join(",");
|
|
189
189
|
data.duty_editor = data.duty_editor && data.duty_editor.join(",");
|
|
190
|
+
data.author = data.author && data.author.join(",");
|
|
190
191
|
data.extra_attrs = data.extra_attrs && data.extra_attrs.join(",");
|
|
191
192
|
data.relation_news = data.relation_news && JSON.stringify(data.relation_news);
|
|
192
193
|
data.comment_available = !!data.comment_available;
|
|
@@ -216,6 +217,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
216
217
|
data.offline_time = data.offline_time && parseInt(data.offline_time, 10) * 1e3 || "";
|
|
217
218
|
data.keywords = data.keywords && data.keywords.split(",") || [];
|
|
218
219
|
data.duty_editor = data.duty_editor && data.duty_editor.split(",") || [];
|
|
220
|
+
data.author = data.author && data.author.split(",") || [];
|
|
219
221
|
data.extra_attrs = data.extra_attrs && data.extra_attrs.split(",") || [];
|
|
220
222
|
data.relation_news = data.relation_news && JSON.parse(data.relation_news) || [];
|
|
221
223
|
data.line_time = !!(data.online_time || data.offline_time);
|
|
@@ -522,7 +524,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
522
524
|
label: "\u4F5C\u8005"
|
|
523
525
|
}, {
|
|
524
526
|
default: vue.withCtx(() => [
|
|
525
|
-
vue.createVNode(vue.unref(webVue.
|
|
527
|
+
vue.createVNode(vue.unref(webVue.InputTag), {
|
|
526
528
|
modelValue: form.value.author,
|
|
527
529
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => form.value.author = $event),
|
|
528
530
|
"allow-clear": "",
|
|
@@ -110,58 +110,9 @@ function getSysRsPage(BASE_API, params) {
|
|
|
110
110
|
params
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
|
-
function getDirectory(BASE_API, params) {
|
|
114
|
-
return request(BASE_API, {
|
|
115
|
-
url: "/poplar/v3/directories",
|
|
116
|
-
method: "get",
|
|
117
|
-
params
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
function useDirectory(options) {
|
|
121
|
-
const tree = vue.ref([]);
|
|
122
|
-
async function loadDirTree(parent_id) {
|
|
123
|
-
const params = parent_id ? { parent_id } : {};
|
|
124
|
-
const { code, message } = await getDirectory(options.BASE_API, params);
|
|
125
|
-
if (code === 0) {
|
|
126
|
-
if (!Array.isArray(message.data))
|
|
127
|
-
return [];
|
|
128
|
-
return message.data.map(({ alias, id }) => {
|
|
129
|
-
return {
|
|
130
|
-
title: alias,
|
|
131
|
-
key: id,
|
|
132
|
-
isLeaf: false,
|
|
133
|
-
children: []
|
|
134
|
-
};
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
return [];
|
|
138
|
-
}
|
|
139
|
-
async function init() {
|
|
140
|
-
const result = await loadDirTree();
|
|
141
|
-
if (!Array.isArray(result))
|
|
142
|
-
return;
|
|
143
|
-
tree.value = result;
|
|
144
|
-
}
|
|
145
|
-
async function loadMore(target) {
|
|
146
|
-
const children = await loadDirTree(target.key);
|
|
147
|
-
target.children = children;
|
|
148
|
-
if (children.length === 0)
|
|
149
|
-
target.isLeaf = true;
|
|
150
|
-
}
|
|
151
|
-
vue.onMounted(() => {
|
|
152
|
-
init();
|
|
153
|
-
});
|
|
154
|
-
return {
|
|
155
|
-
tree,
|
|
156
|
-
init,
|
|
157
|
-
loadMore
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
113
|
exports["default"] = useAttachement;
|
|
161
114
|
exports.getAttachmentsAll = getAttachmentsAll;
|
|
162
115
|
exports.getAttachmentsMy = getAttachmentsMy;
|
|
163
116
|
exports.getAttachmentsMyMessage = getAttachmentsMyMessage;
|
|
164
|
-
exports.getDirectory = getDirectory;
|
|
165
117
|
exports.getSysRsByTag = getSysRsByTag;
|
|
166
118
|
exports.getSysRsPage = getSysRsPage;
|
|
167
|
-
exports.useDirectory = useDirectory;
|
|
@@ -3,7 +3,6 @@ var vue = require("vue");
|
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
4
|
var icon = require("@arco-design/web-vue/es/icon");
|
|
5
5
|
var useSelection = require("../../../../hooks/useSelection.js");
|
|
6
|
-
var useAttachement = require("../../../../hooks/useAttachement.js");
|
|
7
6
|
var typeMap = require("../../../../utils/typeMap.js");
|
|
8
7
|
var selectionApis = require("../../../scripts/selectionApis.js");
|
|
9
8
|
var resource = require("../../../../utils/resource.js");
|
|
@@ -58,9 +57,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
58
57
|
});
|
|
59
58
|
const resourceSource = typeMap.RESOURCE_SOURCE_OPTIONS;
|
|
60
59
|
const resourceCatalog = typeMap.RESOURCE_CATALOG_OPTIONS;
|
|
61
|
-
const { tree, loadMore: loadDirMore } = useAttachement.useDirectory({
|
|
62
|
-
BASE_API: baseAPI
|
|
63
|
-
});
|
|
64
60
|
const originFilter = {
|
|
65
61
|
catalog: [],
|
|
66
62
|
source: "",
|
|
@@ -69,8 +65,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
69
65
|
keyword: "",
|
|
70
66
|
precise_keyword: "",
|
|
71
67
|
upload_by: null,
|
|
72
|
-
sf: ""
|
|
73
|
-
directory_id: void 0
|
|
68
|
+
sf: ""
|
|
74
69
|
};
|
|
75
70
|
const filter = vue.ref(JSON.parse(JSON.stringify(originFilter)));
|
|
76
71
|
const handleReset = () => {
|
|
@@ -186,13 +181,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
186
181
|
}, {
|
|
187
182
|
content: vue.withCtx(() => [
|
|
188
183
|
vue.createVNode(vue.unref(webVue.Doption), { value: 0 }, {
|
|
189
|
-
default: vue.withCtx(() => _cache[
|
|
184
|
+
default: vue.withCtx(() => _cache[7] || (_cache[7] = [
|
|
190
185
|
vue.createTextVNode("\u7CBE\u51C6\u641C")
|
|
191
186
|
])),
|
|
192
187
|
_: 1
|
|
193
188
|
}),
|
|
194
189
|
vue.createVNode(vue.unref(webVue.Doption), { value: 1 }, {
|
|
195
|
-
default: vue.withCtx(() => _cache[
|
|
190
|
+
default: vue.withCtx(() => _cache[8] || (_cache[8] = [
|
|
196
191
|
vue.createTextVNode("\u6A21\u7CCA\u641C")
|
|
197
192
|
])),
|
|
198
193
|
_: 1
|
|
@@ -234,20 +229,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
234
229
|
_: 1
|
|
235
230
|
}, 8, ["modelValue", "disabled"])
|
|
236
231
|
]),
|
|
237
|
-
vue.createCommentVNode(" \u76EE\u5F55 "),
|
|
238
|
-
vue.createVNode(vue.unref(webVue.TreeSelect), {
|
|
239
|
-
modelValue: filter.value.directory_id,
|
|
240
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => filter.value.directory_id = $event),
|
|
241
|
-
data: vue.unref(tree),
|
|
242
|
-
"load-more": vue.unref(loadDirMore),
|
|
243
|
-
placeholder: "\u8BF7\u9009\u62E9\u76EE\u5F55",
|
|
244
|
-
style: { "width": "180px" },
|
|
245
|
-
"allow-clear": ""
|
|
246
|
-
}, null, 8, ["modelValue", "data", "load-more"]),
|
|
247
232
|
vue.createCommentVNode(" \u65F6\u95F4\u8303\u56F4 "),
|
|
248
233
|
vue.createVNode(vue.unref(webVue.RangePicker), {
|
|
249
234
|
modelValue: rangeTime.value,
|
|
250
|
-
"onUpdate:modelValue": _cache[
|
|
235
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => rangeTime.value = $event),
|
|
251
236
|
"allow-clear": "",
|
|
252
237
|
style: { "width": "240px" }
|
|
253
238
|
}, null, 8, ["modelValue"]),
|
|
@@ -255,7 +240,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
255
240
|
vue.createElementVNode("div", _hoisted_6, [
|
|
256
241
|
vue.createVNode(vue.unref(webVue.Select), {
|
|
257
242
|
modelValue: filter.value.source,
|
|
258
|
-
"onUpdate:modelValue": _cache[
|
|
243
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => filter.value.source = $event),
|
|
259
244
|
"allow-clear": "",
|
|
260
245
|
placeholder: "\u6765\u6E90"
|
|
261
246
|
}, {
|
|
@@ -275,7 +260,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
275
260
|
!_ctx.disableUploadBy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
276
261
|
vue.createVNode(vue.unref(webVue.Select), {
|
|
277
262
|
modelValue: filter.value.upload_by,
|
|
278
|
-
"onUpdate:modelValue": _cache[
|
|
263
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => filter.value.upload_by = $event),
|
|
279
264
|
"allow-clear": "",
|
|
280
265
|
placeholder: "\u4E0A\u4F20\u4EBA",
|
|
281
266
|
loading: vue.unref(loading),
|
|
@@ -300,7 +285,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
300
285
|
type: "text",
|
|
301
286
|
onClick: handleReset
|
|
302
287
|
}, {
|
|
303
|
-
default: vue.withCtx(() => _cache[
|
|
288
|
+
default: vue.withCtx(() => _cache[9] || (_cache[9] = [
|
|
304
289
|
vue.createTextVNode(" \u91CD\u7F6E ")
|
|
305
290
|
])),
|
|
306
291
|
_: 1
|
|
@@ -309,13 +294,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
309
294
|
vue.createElementVNode("div", _hoisted_8, [
|
|
310
295
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
311
296
|
type: "primary",
|
|
312
|
-
onClick: _cache[
|
|
297
|
+
onClick: _cache[6] || (_cache[6] = ($event) => emits("upload"))
|
|
313
298
|
}, {
|
|
314
299
|
icon: vue.withCtx(() => [
|
|
315
300
|
vue.createVNode(vue.unref(icon.IconUpload))
|
|
316
301
|
]),
|
|
317
302
|
default: vue.withCtx(() => [
|
|
318
|
-
_cache[
|
|
303
|
+
_cache[10] || (_cache[10] = vue.createTextVNode(" \u4E0A\u4F20 "))
|
|
319
304
|
]),
|
|
320
305
|
_: 1
|
|
321
306
|
})
|