component-shipinlv 1.1.6 → 1.1.8

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.
Files changed (54) hide show
  1. package/dist/Auth/index.d.ts +1 -1
  2. package/dist/Auth/index.js +2 -2
  3. package/dist/AuthClient/index.d.ts +1 -1
  4. package/dist/AuthClient/index.js +2 -2
  5. package/dist/AuthClient/login-reg.d.ts +1 -1
  6. package/dist/AuthClient/login-reg.js +3 -3
  7. package/dist/AuthClient/login.d.ts +1 -1
  8. package/dist/AuthClient/login.js +2 -2
  9. package/dist/AuthClient/qr/index.d.ts +1 -1
  10. package/dist/AuthClient/qr/index.js +2 -2
  11. package/dist/AuthClient/reg.d.ts +1 -1
  12. package/dist/AuthClient/reg.js +2 -2
  13. package/dist/UI/DialogDrawer.css.js +1 -1
  14. package/dist/UI/LayoutContent.js +2 -2
  15. package/dist/UI/LayoutContent.less +3 -3
  16. package/dist/VideoPublish/account-manage/home.js +3 -1
  17. package/dist/VideoPublish/account-manage/list.js +19 -44
  18. package/dist/VideoPublish/account-manage/list.less +0 -72
  19. package/dist/VideoPublish/create-task/base/index.js +1 -0
  20. package/dist/VideoPublish/create-task/index.js +6 -4
  21. package/dist/VideoPublish/index.js +13 -1
  22. package/dist/VideoPublish/proxy/create.d.ts +8 -0
  23. package/dist/VideoPublish/proxy/create.js +154 -0
  24. package/dist/VideoPublish/proxy/list.d.ts +9 -0
  25. package/dist/VideoPublish/proxy/list.js +245 -0
  26. package/dist/VideoPublish/proxy/list.less +3 -0
  27. package/dist/VideoPublish/proxy/query.d.ts +9 -0
  28. package/dist/VideoPublish/proxy/query.js +75 -0
  29. package/dist/VideoPublish/proxy/query.less +10 -0
  30. package/dist/VideoPublish/task-list/index.js +1 -1
  31. package/dist/VideoPublish/task-list/plan/list.js +4 -6
  32. package/dist/VideoPublish/task-list/plan/list.less +73 -0
  33. package/dist/VideoPublish/video-account/base-info.d.ts +12 -0
  34. package/dist/VideoPublish/video-account/base-info.js +69 -0
  35. package/dist/VideoPublish/video-account/base-info.less +92 -0
  36. package/dist/VideoPublish/video-account/index.js +40 -8
  37. package/dist/VideoPublish/video-account/index.less +10 -0
  38. package/dist/component/{media-show.d.ts → media-show/index.d.ts} +4 -4
  39. package/dist/component/{media-show.js → media-show/index.js} +10 -35
  40. package/dist/component/media-show/index.less +0 -0
  41. package/dist/component/media-show/render.d.ts +10 -0
  42. package/dist/component/media-show/render.js +111 -0
  43. package/dist/component/{media-show.less → media-show/render.less} +2 -1
  44. package/dist/config/apiUrls.js +1 -1
  45. package/dist/lib/Tool.js +4 -2
  46. package/dist/service/api/AuthController.d.ts +2 -0
  47. package/dist/service/api/VideoPublishVideoAccountProxyController.d.ts +11 -0
  48. package/dist/service/api/VideoPublishVideoAccountProxyController.js +105 -0
  49. package/dist/types/VideoPublishTaskPlan.d.ts +1 -0
  50. package/dist/types/VideoPublishVideoAccount.d.ts +11 -0
  51. package/dist/types/VideoPublishVideoAccountProxy.d.ts +32 -0
  52. package/dist/types/VideoPublishVideoAccountProxy.js +0 -0
  53. package/dist/typings/VideoPublishVideoAccount.d.ts +3 -1
  54. package/package.json +1 -1
@@ -0,0 +1,154 @@
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
+ import React, { useState } from 'react';
4
+ import { Button, Form, Input, InputNumber } from 'antd';
5
+ import { useRequest } from "@umijs/hooks";
6
+ import PageContentWarp from "../../UI/PageContentWarp";
7
+ import DialogDrawerFooter from "../../UI/DialogDrawerFooter";
8
+ import * as VideoPublishVideoAccountProxyController from "../../service/api/VideoPublishVideoAccountProxyController";
9
+ import toast from "../../lib/toast";
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ var VideoPublishVideoAccountProxyCreate = function VideoPublishVideoAccountProxyCreate(_ref) {
13
+ var env = _ref.env,
14
+ id = _ref.id,
15
+ _onSuccess = _ref.onSuccess;
16
+ var _Form$useForm = Form.useForm(),
17
+ _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
18
+ form = _Form$useForm2[0];
19
+ var _useState = useState({
20
+ id: 0,
21
+ ip: '',
22
+ port: 0,
23
+ title: '',
24
+ area: '',
25
+ enabled: true,
26
+ username: '',
27
+ password: '',
28
+ created: 0,
29
+ updated: 0
30
+ }),
31
+ _useState2 = _slicedToArray(_useState, 2),
32
+ detailData = _useState2[0],
33
+ setDetailData = _useState2[1];
34
+ var _useRequest = useRequest(function () {
35
+ return VideoPublishVideoAccountProxyController.detail({
36
+ id: id
37
+ }, {
38
+ env: env
39
+ });
40
+ }, {
41
+ manual: id <= 0,
42
+ onSuccess: function onSuccess(result) {
43
+ setDetailData(result);
44
+ form.setFieldsValue(_objectSpread({}, result));
45
+ }
46
+ }),
47
+ loadingDetail = _useRequest.loading,
48
+ runDetail = _useRequest.run;
49
+ var _useRequest2 = useRequest(function (data) {
50
+ return VideoPublishVideoAccountProxyController.create(data, {
51
+ env: env
52
+ });
53
+ }, {
54
+ manual: true,
55
+ onSuccess: function onSuccess(result) {
56
+ toast('操作成功');
57
+ _onSuccess();
58
+ }
59
+ }),
60
+ loading = _useRequest2.loading,
61
+ run = _useRequest2.run;
62
+ var onFinish = function onFinish(values) {
63
+ run(_objectSpread(_objectSpread({}, values), {}, {
64
+ id: id
65
+ }));
66
+ };
67
+ return /*#__PURE__*/_jsx(PageContentWarp, {
68
+ loading: loadingDetail,
69
+ className: "videoAccountGroupCreate",
70
+ children: /*#__PURE__*/_jsxs(Form, {
71
+ labelCol: {
72
+ span: 6
73
+ },
74
+ form: form,
75
+ disabled: loading,
76
+ onFinish: onFinish,
77
+ children: [/*#__PURE__*/_jsx(Form.Item, {
78
+ name: "title",
79
+ label: "\u6807\u9898",
80
+ rules: [{
81
+ max: 60,
82
+ message: '最多60个字符'
83
+ }],
84
+ children: /*#__PURE__*/_jsx(Input, {
85
+ placeholder: "\u8F93\u5165\u6807\u9898/\u5907\u6CE8"
86
+ })
87
+ }), /*#__PURE__*/_jsx(Form.Item, {
88
+ name: "ip",
89
+ label: "IP \u5730\u5740",
90
+ rules: [{
91
+ max: 60,
92
+ message: '最多60个字符'
93
+ }, {
94
+ required: true,
95
+ message: '必填选项'
96
+ }],
97
+ children: /*#__PURE__*/_jsx(Input, {
98
+ placeholder: "\u8F93\u5165 IP\u5730\u5740"
99
+ })
100
+ }), /*#__PURE__*/_jsx(Form.Item, {
101
+ name: "port",
102
+ label: "\u7AEF\u53E3",
103
+ rules: [{
104
+ required: true,
105
+ message: '必填选项'
106
+ }],
107
+ children: /*#__PURE__*/_jsx(InputNumber, {
108
+ min: 0,
109
+ max: 65535,
110
+ precision: 0,
111
+ placeholder: "\u8F93\u5165 \u7AEF\u53E3"
112
+ })
113
+ }), /*#__PURE__*/_jsx(Form.Item, {
114
+ name: "username",
115
+ label: "\u7528\u6237\u540D",
116
+ rules: [{
117
+ max: 60,
118
+ message: '最多60个字符'
119
+ }],
120
+ children: /*#__PURE__*/_jsx(Input, {
121
+ placeholder: "\u8F93\u5165 \u7528\u6237\u540D"
122
+ })
123
+ }), /*#__PURE__*/_jsx(Form.Item, {
124
+ name: "password",
125
+ label: "\u5BC6\u7801",
126
+ rules: [{
127
+ max: 60,
128
+ message: '最多60个字符'
129
+ }],
130
+ children: /*#__PURE__*/_jsx(Input, {
131
+ placeholder: "\u8F93\u5165 \u5BC6\u7801"
132
+ })
133
+ }), /*#__PURE__*/_jsx(Form.Item, {
134
+ name: "area",
135
+ label: "IP\u5730\u5740 \u5F52\u5C5E\u5730",
136
+ rules: [{
137
+ max: 60,
138
+ message: '最多60个字符'
139
+ }],
140
+ children: /*#__PURE__*/_jsx(Input, {
141
+ placeholder: "\u8F93\u5165IP\u5730\u5740 \u5F52\u5C5E\u5730\uFF0C\u53EA\u662F\u65B9\u4FBF\u7BA1\u7406"
142
+ })
143
+ }), /*#__PURE__*/_jsx(DialogDrawerFooter, {
144
+ children: /*#__PURE__*/_jsx(Button, {
145
+ type: "primary",
146
+ htmlType: "submit",
147
+ loading: loading,
148
+ children: "\u4FDD\u5B58"
149
+ })
150
+ })]
151
+ })
152
+ });
153
+ };
154
+ export default VideoPublishVideoAccountProxyCreate;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import './list.less';
3
+ interface Props {
4
+ disabled?: boolean;
5
+ env?: Global.Env;
6
+ onMenu: (key: string) => void;
7
+ }
8
+ declare const VideoPublishVideoAccountProxy: React.FC<Props>;
9
+ export default VideoPublishVideoAccountProxy;
@@ -0,0 +1,245 @@
1
+ import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
2
+ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
4
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
5
+ import React, { useState } from 'react';
6
+ import "./list.less";
7
+ import { useRequest } from "@umijs/hooks";
8
+ import * as VideoPublishVideoAccountProxyController from "../../service/api/VideoPublishVideoAccountProxyController";
9
+ import Tool from "../../lib/Tool";
10
+ import { Button, Popconfirm, Popover, Space, Table, Tag } from "antd";
11
+ import LayoutContent from "../../UI/LayoutContent";
12
+ import VideoPublishVideoAccountProxyQuery from "./query";
13
+ import VideoPublishVideoAccountProxyCreate from "./create";
14
+ import { jsx as _jsx } from "react/jsx-runtime";
15
+ import { Fragment as _Fragment } from "react/jsx-runtime";
16
+ import { jsxs as _jsxs } from "react/jsx-runtime";
17
+ var VideoPublishVideoAccountProxy = function VideoPublishVideoAccountProxy(_ref) {
18
+ var env = _ref.env,
19
+ disabled = _ref.disabled,
20
+ _ref$onMenu = _ref.onMenu,
21
+ onMenu = _ref$onMenu === void 0 ? function () {} : _ref$onMenu;
22
+ var _useState = useState([]),
23
+ _useState2 = _slicedToArray(_useState, 2),
24
+ listData = _useState2[0],
25
+ setListData = _useState2[1];
26
+ var _useState3 = useState({
27
+ current: 1,
28
+ pageSize: 20,
29
+ total: 0,
30
+ simple: true,
31
+ showSizeChanger: false,
32
+ showQuickJumper: false
33
+ }),
34
+ _useState4 = _slicedToArray(_useState3, 2),
35
+ pagination = _useState4[0],
36
+ setPagination = _useState4[1];
37
+ var _useState5 = useState({
38
+ enabled: '',
39
+ keyword: ''
40
+ }),
41
+ _useState6 = _slicedToArray(_useState5, 2),
42
+ query = _useState6[0],
43
+ setQuery = _useState6[1];
44
+ var columns = [{
45
+ title: '编号',
46
+ dataIndex: 'id',
47
+ key: 'id'
48
+ }, {
49
+ title: '标题',
50
+ dataIndex: 'title',
51
+ key: 'title',
52
+ render: function render(title, record) {
53
+ var index = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
54
+ return /*#__PURE__*/_jsx(Popover, {
55
+ title: "\u89C6\u9891\u6807\u9898",
56
+ content: title,
57
+ children: /*#__PURE__*/_jsx("div", {
58
+ className: "title",
59
+ children: title
60
+ })
61
+ });
62
+ }
63
+ }, {
64
+ title: 'IP 归属地',
65
+ dataIndex: 'area',
66
+ key: 'area',
67
+ render: function render(area, record) {
68
+ var index = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
69
+ return /*#__PURE__*/_jsx(Popover, {
70
+ title: "IP \u5F52\u5C5E\u5730",
71
+ content: area,
72
+ children: /*#__PURE__*/_jsx("div", {
73
+ className: "area",
74
+ children: area
75
+ })
76
+ });
77
+ }
78
+ }, {
79
+ title: 'IP 信息',
80
+ dataIndex: 'ip',
81
+ key: 'ip',
82
+ render: function render(ip, record) {
83
+ var index = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
84
+ var auth = record !== null && record !== void 0 && record.username && record !== null && record !== void 0 && record.password ? "".concat(record === null || record === void 0 ? void 0 : record.username, ":******@") : '';
85
+ var port = record !== null && record !== void 0 && record.port ? /*#__PURE__*/_jsxs(_Fragment, {
86
+ children: [" : ", /*#__PURE__*/_jsx(Tag, {
87
+ children: record === null || record === void 0 ? void 0 : record.port
88
+ })]
89
+ }) : '';
90
+ return /*#__PURE__*/_jsxs("div", {
91
+ className: "ip",
92
+ children: [auth, record === null || record === void 0 ? void 0 : record.ip, port]
93
+ });
94
+ }
95
+ }, {
96
+ title: /*#__PURE__*/_jsx(_Fragment, {
97
+ children: "\u662F\u5426\u542F\u7528"
98
+ }),
99
+ dataIndex: 'enabled',
100
+ key: 'enabled',
101
+ render: function render(enabled, record) {
102
+ return !enabled ? /*#__PURE__*/_jsx(Tag, {
103
+ children: "\u5DF2\u7981\u7528"
104
+ }) : /*#__PURE__*/_jsx(Tag, {
105
+ color: "green",
106
+ children: "\u5DF2\u542F\u7528"
107
+ });
108
+ }
109
+ }, {
110
+ title: /*#__PURE__*/_jsx(_Fragment, {
111
+ children: "\u64CD\u4F5C"
112
+ }),
113
+ dataIndex: '_',
114
+ key: '_',
115
+ render: function render(_, record) {
116
+ var index = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
117
+ return /*#__PURE__*/_jsxs(Space, {
118
+ size: 20,
119
+ children: [/*#__PURE__*/_jsx(Button, {
120
+ type: "primary",
121
+ size: "small",
122
+ onClick: function onClick() {
123
+ return onCreate((record === null || record === void 0 ? void 0 : record.id) || 0);
124
+ },
125
+ children: "\u7F16\u8F91"
126
+ }), /*#__PURE__*/_jsx(Popconfirm, {
127
+ title: "\u5220\u9664",
128
+ description: "\u786E\u5B9A\u8981\u5220\u9664\uFF0C\u4E0D\u53EF\u627E\u56DE\uFF1F",
129
+ onConfirm: function onConfirm() {
130
+ return onDel((record === null || record === void 0 ? void 0 : record.id) || 0);
131
+ },
132
+ children: /*#__PURE__*/_jsx(Button, {
133
+ type: "link",
134
+ ghost: true,
135
+ danger: true,
136
+ size: "small",
137
+ children: "\u5220\u9664"
138
+ })
139
+ })]
140
+ });
141
+ }
142
+ }];
143
+ var _useRequest = useRequest(function () {
144
+ var current = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : pagination.current;
145
+ var postQuery = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : query;
146
+ return VideoPublishVideoAccountProxyController.list(_objectSpread(_objectSpread({}, postQuery), {}, {
147
+ current: current,
148
+ pageSize: 20
149
+ }), {
150
+ env: env
151
+ });
152
+ }, {
153
+ onSuccess: function onSuccess(result) {
154
+ setListData(result.list);
155
+ }
156
+ }),
157
+ loading = _useRequest.loading,
158
+ error = _useRequest.error,
159
+ run = _useRequest.run;
160
+ var _useRequest2 = useRequest(function (id) {
161
+ return VideoPublishVideoAccountProxyController.del({
162
+ id: id
163
+ }, {
164
+ env: env
165
+ });
166
+ }, {
167
+ manual: true,
168
+ onSuccess: function onSuccess(result) {
169
+ run();
170
+ }
171
+ }),
172
+ loadingDel = _useRequest2.loading,
173
+ runDel = _useRequest2.run;
174
+ var onSearch = function onSearch(keyword) {
175
+ var _keyword$replace;
176
+ var list = (keyword === null || keyword === void 0 || (_keyword$replace = keyword.replace(/\s+/g, '')) === null || _keyword$replace === void 0 ? void 0 : _keyword$replace.split('')) || [];
177
+ run();
178
+ };
179
+ var onCreate = /*#__PURE__*/function () {
180
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
181
+ var dialog;
182
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
183
+ while (1) switch (_context.prev = _context.next) {
184
+ case 0:
185
+ dialog = Tool.drawer({
186
+ title: '编辑',
187
+ content: /*#__PURE__*/_jsx(VideoPublishVideoAccountProxyCreate, {
188
+ id: id,
189
+ env: env,
190
+ onSuccess: function onSuccess() {
191
+ run();
192
+ dialog.destroy();
193
+ }
194
+ }),
195
+ width: 680
196
+ });
197
+ case 1:
198
+ case "end":
199
+ return _context.stop();
200
+ }
201
+ }, _callee);
202
+ }));
203
+ return function onCreate(_x) {
204
+ return _ref2.apply(this, arguments);
205
+ };
206
+ }();
207
+ var onDel = function onDel(id) {
208
+ runDel(id);
209
+ };
210
+ var _onQuery = function onQuery(query) {
211
+ setQuery(_objectSpread({}, query));
212
+ pagination.current = 1;
213
+ setPagination(_objectSpread({}, pagination));
214
+ run(pagination.current, query);
215
+ };
216
+ return /*#__PURE__*/_jsx(LayoutContent, {
217
+ title: "\u7F51\u7EDC\u4EE3\u7406",
218
+ extInfo: /*#__PURE__*/_jsx(VideoPublishVideoAccountProxyQuery, {
219
+ loading: loading,
220
+ defaultQuery: query,
221
+ onQuery: function onQuery(query) {
222
+ return _onQuery(query);
223
+ }
224
+ }),
225
+ children: /*#__PURE__*/_jsx("div", {
226
+ className: "videoPublishVideoAccountProxy",
227
+ children: /*#__PURE__*/_jsx(Table, {
228
+ size: "small",
229
+ bordered: true,
230
+ rowKey: function rowKey(record, index) {
231
+ return "".concat(index, "-").concat(record.id);
232
+ },
233
+ loading: loading,
234
+ columns: columns,
235
+ dataSource: listData,
236
+ pagination: pagination,
237
+ onChange: function onChange(page, filters, sorter, extra) {
238
+ pagination.current = page.current || 1;
239
+ setPagination(_objectSpread({}, pagination));
240
+ }
241
+ })
242
+ })
243
+ });
244
+ };
245
+ export default VideoPublishVideoAccountProxy;
@@ -0,0 +1,3 @@
1
+ .videoPublishVideoAccountProxy{
2
+
3
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import './query.less';
3
+ interface Props {
4
+ loading: boolean;
5
+ defaultQuery: VideoPublishVideoAccountProxy.ListQuery;
6
+ onQuery: (query: VideoPublishVideoAccountProxy.ListQuery) => void;
7
+ }
8
+ declare const VideoPublishVideoAccountProxyQuery: React.FC<Props>;
9
+ export default VideoPublishVideoAccountProxyQuery;
@@ -0,0 +1,75 @@
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
+ import React, { useState } from 'react';
4
+ import { Button, Form, Input, Select, Space, Tag } from "antd";
5
+ import "./query.less";
6
+ import { UnorderedListOutlined } from "@ant-design/icons";
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ import { jsxs as _jsxs } from "react/jsx-runtime";
9
+ var VideoPublishVideoAccountProxyQuery = function VideoPublishVideoAccountProxyQuery(_ref) {
10
+ var loading = _ref.loading,
11
+ defaultQuery = _ref.defaultQuery,
12
+ _ref$onQuery = _ref.onQuery,
13
+ onQuery = _ref$onQuery === void 0 ? function () {} : _ref$onQuery;
14
+ var _Form$useForm = Form.useForm(),
15
+ _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
16
+ form = _Form$useForm2[0];
17
+ var _useState = useState(_objectSpread({}, defaultQuery)),
18
+ _useState2 = _slicedToArray(_useState, 2),
19
+ query = _useState2[0],
20
+ setQuery = _useState2[1];
21
+ var onFinish = function onFinish() {
22
+ var values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
23
+ onQuery(_objectSpread(_objectSpread({}, query), values));
24
+ };
25
+ return /*#__PURE__*/_jsx("div", {
26
+ className: "videoPublishVideoAccountProxyQuery",
27
+ children: /*#__PURE__*/_jsx(Form, {
28
+ form: form,
29
+ initialValues: _objectSpread({}, query),
30
+ disabled: loading,
31
+ onFinish: onFinish,
32
+ children: /*#__PURE__*/_jsxs(Space, {
33
+ wrap: true,
34
+ children: [/*#__PURE__*/_jsx(Form.Item, {
35
+ name: "enabled",
36
+ className: "enabled",
37
+ children: /*#__PURE__*/_jsxs(Select, {
38
+ children: [/*#__PURE__*/_jsxs(Select, {
39
+ value: "",
40
+ children: [/*#__PURE__*/_jsx(UnorderedListOutlined, {}), " \u6240\u6709\u72B6\u6001"]
41
+ }), /*#__PURE__*/_jsx(Select, {
42
+ value: "1",
43
+ children: /*#__PURE__*/_jsx(Tag, {
44
+ color: "green",
45
+ children: "\u5DF2\u542F\u7528"
46
+ })
47
+ }), /*#__PURE__*/_jsx(Select, {
48
+ value: "0",
49
+ children: /*#__PURE__*/_jsx(Tag, {
50
+ color: "",
51
+ children: "\u5DF2\u7981\u7528"
52
+ })
53
+ })]
54
+ })
55
+ }), /*#__PURE__*/_jsx(Form.Item, {
56
+ name: "keyword",
57
+ className: "keyword",
58
+ children: /*#__PURE__*/_jsx(Input
59
+ // value={ query.keyword }
60
+ , {
61
+ placeholder: "\u641C\u7D22 \u6807\u9898/IP/\u5F52\u5C5E\u5730",
62
+ allowClear: true
63
+ // onChange={ e => onKeyWord( e.target.value ) }
64
+ // onPressEnter={ ( e ) => onSearch( e.target ) }
65
+ })
66
+ }), /*#__PURE__*/_jsx(Button, {
67
+ type: "primary",
68
+ htmlType: "submit",
69
+ children: "\u641C\u7D22"
70
+ })]
71
+ })
72
+ })
73
+ });
74
+ };
75
+ export default VideoPublishVideoAccountProxyQuery;
@@ -0,0 +1,10 @@
1
+ .videoPublishVideoAccountProxyQuery{
2
+ .ant-form-item{
3
+ margin-bottom: 0 !important;
4
+ }
5
+
6
+ .enabled{
7
+ width: 130px;
8
+ }
9
+
10
+ }
@@ -152,7 +152,7 @@ var VideoPublishTaskList = function VideoPublishTaskList(_ref) {
152
152
  env: env,
153
153
  publishTaskId: publishTaskId
154
154
  }),
155
- width: 920
155
+ width: 1020
156
156
  });
157
157
  };
158
158
  return /*#__PURE__*/_jsx(PageContentWarp, {
@@ -6,13 +6,12 @@ import PageContentWarp from "../../../UI/PageContentWarp";
6
6
  import { useRequest } from "@umijs/hooks";
7
7
  import * as VideoPublishTaskPlanController from "../../../service/api/VideoPublishTaskPlanController";
8
8
  import { Button, Popover, Space, Table } from "antd";
9
- // import VideoPublishTaskListQuery from "component-shipinlv/VideoPublish/task-list/query";
10
9
  import Time from "../../../UI/Time";
11
- import VideoPlatform from "../../../component/video-platform/logo";
12
10
  import VideoPublishTaskPlanStatus from "./status";
13
11
  import { FileTextOutlined, VideoCameraOutlined } from "@ant-design/icons";
14
12
  import VideoKindTag from "../../../component/videoKindTag";
15
13
  import { onMediaShowView } from "../../../component/media-show";
14
+ import VideoPublishVideoAccountBaseInfo from "../../video-account/base-info";
16
15
  import { jsx as _jsx } from "react/jsx-runtime";
17
16
  import { Fragment as _Fragment } from "react/jsx-runtime";
18
17
  var VideoPublishTaskPlanList = function VideoPublishTaskPlanList(_ref) {
@@ -57,13 +56,12 @@ var VideoPublishTaskPlanList = function VideoPublishTaskPlanList(_ref) {
57
56
  dataIndex: 'id',
58
57
  key: 'id'
59
58
  }, {
60
- title: '平台',
59
+ title: '发布账号',
61
60
  dataIndex: 'platform',
62
61
  key: 'platform',
63
62
  render: function render(platform, record) {
64
- return /*#__PURE__*/_jsx(VideoPlatform, {
65
- platform: platform,
66
- showName: true
63
+ return /*#__PURE__*/_jsx(VideoPublishVideoAccountBaseInfo, {
64
+ accountInfo: record === null || record === void 0 ? void 0 : record.accountInfo
67
65
  });
68
66
  }
69
67
  }, {
@@ -5,4 +5,77 @@
5
5
  .ant-pagination-options{
6
6
  display: none;
7
7
  }
8
+
9
+ .article{
10
+ position: relative;
11
+ display: flex;
12
+ flex-direction: row;
13
+ cursor: pointer;
14
+ &.valid{
15
+ .isLoginValid{
16
+ background-color: #00bc00;
17
+ }
18
+ .shopName{
19
+ color: #005a00;
20
+ }
21
+ }
22
+ &.invalid{
23
+ background-color: #e1e1e1;
24
+ .isLoginValid{
25
+ background-color: red;
26
+ }
27
+ .shopName{
28
+ color: #999;
29
+ font-weight: 300;
30
+ }
31
+ .avatarUrl{
32
+ opacity: 0.5;
33
+ filter: grayscale(100%);
34
+ }
35
+ }
36
+ .avatar{
37
+ position: relative;
38
+ width: 40px;
39
+ //box-shadow: 0 0 5px #EEE;
40
+ .avatarUrl{
41
+ border-radius: 100px;
42
+ box-shadow: 0 0 5px #EEE;
43
+ }
44
+ .isLoginValid{
45
+ position: absolute;
46
+ left: 35px;
47
+ top: 35px;
48
+ width: 8px;
49
+ height: 8px;
50
+ border-radius: 100px;
51
+ }
52
+ }
53
+ .shopName{
54
+ max-width: 150px;
55
+ color: #666;
56
+ display: inline-block;
57
+ text-overflow: ellipsis;
58
+ //line-height: 30px;
59
+ font-size: 12px;
60
+ padding: 1px 0 0 12px;
61
+ line-height: 1.1em;
62
+ word-break: keep-all;
63
+ white-space: nowrap;
64
+ overflow: hidden;
65
+ }
66
+ .nicknameRemark{
67
+ max-width: 150px;
68
+ color: #666;
69
+ text-overflow: ellipsis;
70
+ overflow: hidden;
71
+ //background-color: #F6F6F6;
72
+ padding: 2px 0 1px;
73
+ font-weight: 300;
74
+ }
75
+ .uniqueId{
76
+ padding: 1px 0 0;
77
+ font-size: 12px;
78
+ opacity: 0.6;
79
+ }
80
+ }
8
81
  }
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import "./base-info.less";
3
+ interface Props {
4
+ id?: number;
5
+ className?: string;
6
+ index?: number;
7
+ accountInfo?: VideoPublishVideoAccount.BaseInfo;
8
+ onDel?: (id: number) => void;
9
+ onClick?: () => void;
10
+ }
11
+ declare const VideoPublishVideoAccountBaseInfo: React.FC<Props>;
12
+ export default VideoPublishVideoAccountBaseInfo;