component-shipinlv 1.3.12 → 2.0.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/dist/VideoPublish/create-task/base/index.js +24 -1
- package/dist/VideoPublish/create-task/index.js +2 -1
- package/dist/VideoPublish/index.js +1 -1
- package/dist/VideoPublish/task-list/plan/list.js +1 -1
- package/dist/VideoPublish/video-publish-statistic/index.js +1 -1
- package/dist/VideoPublish/video-publish-statistic/publish-plan/list.js +3 -3
- package/dist/component/media-show/render.js +2 -1
- package/dist/types/VideoPublish.d.ts +2 -0
- package/package.json +1 -1
@@ -5,7 +5,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
5
5
|
import React, { useState } from "react";
|
6
6
|
import "./index.less";
|
7
7
|
import { Divider, Tag, Form, Tooltip, InputNumber, Select, Radio, DatePicker, ConfigProvider, Switch } from "antd";
|
8
|
-
import { RedoOutlined, ShoppingOutlined, UsergroupAddOutlined, VideoCameraOutlined } from "@ant-design/icons";
|
8
|
+
import { QuestionCircleOutlined, RedoOutlined, ShoppingOutlined, UsergroupAddOutlined, VideoCameraOutlined } from "@ant-design/icons";
|
9
9
|
import PageContentWarp from "../../../UI/PageContentWarp";
|
10
10
|
import { TreeSelect } from 'antd';
|
11
11
|
import Tool from "../../../lib/Tool";
|
@@ -169,6 +169,29 @@ var VideoPublishCreateTaskBase = function VideoPublishCreateTaskBase(_ref) {
|
|
169
169
|
children: /*#__PURE__*/_jsx(RedoOutlined, {})
|
170
170
|
})
|
171
171
|
})]
|
172
|
+
}), /*#__PURE__*/_jsx(Form.Item, {
|
173
|
+
label: "\u53D1\u5E03\u987A\u5E8F",
|
174
|
+
name: "publishOrder",
|
175
|
+
children: /*#__PURE__*/_jsxs(Radio.Group, {
|
176
|
+
disabled: true,
|
177
|
+
children: [/*#__PURE__*/_jsxs(Radio, {
|
178
|
+
value: "",
|
179
|
+
children: ["\u6309\u4EFB\u52A1\u63D0\u4EA4\u987A\u5E8F", /*#__PURE__*/_jsxs(Tooltip, {
|
180
|
+
title: "\u6839\u636E\u63D0\u4EA4\u53D1\u5E03\u4EFB\u52A1\u7684\u987A\u5E8F\u53D1\uFF08\u65E2\uFF1A\u5148\u63D0\u4EA4\u7684\u5148\u53D1\u5E03\uFF0C \u540E\u63D0\u4EA4\u7684\u540E\u53D1\u5E03\uFF09",
|
181
|
+
children: [" ", /*#__PURE__*/_jsxs("a", {
|
182
|
+
children: [" ", /*#__PURE__*/_jsx(QuestionCircleOutlined, {})]
|
183
|
+
})]
|
184
|
+
})]
|
185
|
+
}), /*#__PURE__*/_jsxs(Radio, {
|
186
|
+
value: "loop-account",
|
187
|
+
children: ["\u6309\u8D26\u6237\u5FAA\u73AF", /*#__PURE__*/_jsxs(Tooltip, {
|
188
|
+
title: "\u7B2C\u4E00\u4E2A\u8D26\u6237\u53D1\u4E00\u4E2A\u89C6\u9891\uFF0C\u63A5\u7740\u7B2C\u4E8C\u4E2A\u8D26\u6237\u53D1\u4E00\u4E2A\uFF0C\u4E00\u76F4\u5FAA\u73AF\uFF08\u65E2\uFF1A\u6BCF\u4E2A\u8D26\u6237\u8F6E\u6D41\u5148\u53D1\u4E00\u4E2A\uFF0C\u6700\u5927\u9650\u5236\u4FDD\u8BC1\u6BCF\u4E2A\u8D26\u6237\u81F3\u5C11\u90FD\u6709\u89C6\u9891\uFF09",
|
189
|
+
children: [" ", /*#__PURE__*/_jsxs("a", {
|
190
|
+
children: [" ", /*#__PURE__*/_jsx(QuestionCircleOutlined, {})]
|
191
|
+
})]
|
192
|
+
})]
|
193
|
+
})]
|
194
|
+
})
|
172
195
|
}), /*#__PURE__*/_jsxs(Divider, {
|
173
196
|
orientation: "left",
|
174
197
|
children: [/*#__PURE__*/_jsx(VideoCameraOutlined, {
|
@@ -33,8 +33,9 @@ var VideoPublishCreateTask = function VideoPublishCreateTask(_ref) {
|
|
33
33
|
normalDayMaxCount: 1,
|
34
34
|
normalVideoKindRateType: '',
|
35
35
|
whoCanView: '0',
|
36
|
-
noTopicIsUserRecommendTopic:
|
36
|
+
noTopicIsUserRecommendTopic: true,
|
37
37
|
startTime: null,
|
38
|
+
publishOrder: '',
|
38
39
|
salesVideoRate: 2,
|
39
40
|
salesVideoRateType: 'hour',
|
40
41
|
salesDayMaxCount: 2,
|
@@ -250,7 +250,7 @@ var VideoPublishTaskPlanList = function VideoPublishTaskPlanList(_ref) {
|
|
250
250
|
loading: loadingTaskList,
|
251
251
|
error: errorTaskList,
|
252
252
|
onReload: runTaskList,
|
253
|
-
title: "\u4EFB\u52A1\u8BA1\u5212",
|
253
|
+
title: "\u4EFB\u52A1\u8BA1\u5212" + timeFromKind,
|
254
254
|
className: "videoPublishTaskPlanList",
|
255
255
|
extInfo: /*#__PURE__*/_jsx(VideoPublishTaskPlanListQuery, {
|
256
256
|
defaultQuery: query,
|
@@ -14,7 +14,7 @@ var VideoPublishStatisticPublish = function VideoPublishStatisticPublish(_ref) {
|
|
14
14
|
label: '发布任务',
|
15
15
|
children: /*#__PURE__*/_jsx(VideoPublishStatisticPublishList, {
|
16
16
|
env: getApiEnv(),
|
17
|
-
timeFromKind: "
|
17
|
+
timeFromKind: "updated"
|
18
18
|
})
|
19
19
|
}, {
|
20
20
|
key: 'operation',
|
@@ -18,7 +18,7 @@ import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
18
18
|
var VideoPublishStatisticPublishList = function VideoPublishStatisticPublishList(_ref) {
|
19
19
|
var env = _ref.env,
|
20
20
|
_ref$timeFromKind = _ref.timeFromKind,
|
21
|
-
timeFromKind = _ref$timeFromKind === void 0 ? '
|
21
|
+
timeFromKind = _ref$timeFromKind === void 0 ? 'updated' : _ref$timeFromKind;
|
22
22
|
var _useState = useState([]),
|
23
23
|
_useState2 = _slicedToArray(_useState, 2),
|
24
24
|
listData = _useState2[0],
|
@@ -220,7 +220,7 @@ var VideoPublishStatisticPublishList = function VideoPublishStatisticPublishList
|
|
220
220
|
accountId: accountId,
|
221
221
|
startTime: query.startTime,
|
222
222
|
endTime: query.endTime,
|
223
|
-
timeFromKind: timeFromKind
|
223
|
+
timeFromKind: query.timeFromKind
|
224
224
|
}),
|
225
225
|
width: 1200
|
226
226
|
});
|
@@ -229,7 +229,7 @@ var VideoPublishStatisticPublishList = function VideoPublishStatisticPublishList
|
|
229
229
|
loading: loadingTaskList,
|
230
230
|
error: errorTaskList,
|
231
231
|
onReload: runTaskList,
|
232
|
-
title: "\u53D1\u5E03\u7EDF\u8BA1",
|
232
|
+
title: "\u53D1\u5E03\u7EDF\u8BA1" + query.timeFromKind,
|
233
233
|
className: "video-publish-statistic-list",
|
234
234
|
extInfo: /*#__PURE__*/_jsx(VideoPublishStatisticPublishListQuery, {
|
235
235
|
defaultQuery: query,
|
@@ -5,6 +5,7 @@ import React, { useEffect, useState } from "react";
|
|
5
5
|
import "./render.less";
|
6
6
|
import Tool from "../../lib/Tool";
|
7
7
|
import getVideoUrl from "../../lib/component/getVideoUrl";
|
8
|
+
import { LoadingOutlined } from "@ant-design/icons";
|
8
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
9
10
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
10
11
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
@@ -105,7 +106,7 @@ export var MediaShowRender = function MediaShowRender(_ref) {
|
|
105
106
|
})
|
106
107
|
})
|
107
108
|
})]
|
108
|
-
}) :
|
109
|
+
}) : /*#__PURE__*/_jsx(LoadingOutlined, {})
|
109
110
|
});
|
110
111
|
};
|
111
112
|
export default MediaShowRender;
|
@@ -6,6 +6,7 @@ declare namespace VideoPublish {
|
|
6
6
|
type VideoFrom = 'local' | 'task';
|
7
7
|
type VideoRateType = 'hour' | 'day';
|
8
8
|
type WhoCanView = '0' | '1' | '2';
|
9
|
+
type PublishOrder = '' | 'loop-account';
|
9
10
|
interface CreateTaskList {
|
10
11
|
id: number;
|
11
12
|
title: string;
|
@@ -127,6 +128,7 @@ declare namespace VideoPublish {
|
|
127
128
|
whoCanView: WhoCanView;
|
128
129
|
noTopicIsUserRecommendTopic: boolean;
|
129
130
|
startTime: number | null;
|
131
|
+
publishOrder: PublishOrder;
|
130
132
|
hourEnabled: number[];
|
131
133
|
}
|
132
134
|
interface TaskListQuery {
|