|
@@ -3,7 +3,7 @@ import { getRemoteMaterialListApi } from "@/services/adqV3/cloudNew"
|
|
|
import React, { useEffect, useRef, useState } from "react"
|
|
|
import style from '../cloudNew/index.less'
|
|
|
import Search from "./search"
|
|
|
-import { Button, Card, Checkbox, Divider, Dropdown, Empty, Form, message, Pagination, Popover, Radio, Select, Space, Spin, Statistic, Typography, Image } from "antd"
|
|
|
+import { Button, Card, Checkbox, Divider, Dropdown, Empty, Form, message, Pagination, Popover, Radio, Select, Space, Spin, Statistic, Typography, Image, Tag } from "antd"
|
|
|
import { EyeOutlined, SortAscendingOutlined } from "@ant-design/icons"
|
|
|
import PlayVideo from "../cloudNew/playVideo"
|
|
|
import { formatBytes, formatSecondsToTime } from "@/utils/utils"
|
|
@@ -149,6 +149,7 @@ const Tencent: React.FC = () => {
|
|
|
message.warn('最少选择1个指标')
|
|
|
return
|
|
|
}
|
|
|
+ setSortData({ ...sortData, sortField: undefined })
|
|
|
setShowField(value as any)
|
|
|
}}
|
|
|
/>
|
|
@@ -162,7 +163,7 @@ const Tencent: React.FC = () => {
|
|
|
filterOption={(input, option) =>
|
|
|
(option?.label as any)?.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
}
|
|
|
- options={showFieldList.map(item => ({ label: item.label, value: item.field }))}
|
|
|
+ options={showFieldList.filter(item => showField.includes(item.value)).map(item => ({ label: item.label, value: item.field }))}
|
|
|
value={sortData.sortField}
|
|
|
allowClear
|
|
|
onChange={(value) => {
|
|
@@ -238,7 +239,9 @@ const Tencent: React.FC = () => {
|
|
|
</div>
|
|
|
<Divider style={{ margin: '0 0 4px 0' }} />
|
|
|
<div className={style.actions}>
|
|
|
- <div style={{ height: 22 }}></div>
|
|
|
+ <div style={{ height: 22, fontSize: 12 }}>
|
|
|
+ {item.pitcher_name}
|
|
|
+ </div>
|
|
|
<Dropdown menu={{
|
|
|
items: [{ label: '保存至素材库', key: '1', onClick: () => { setMoveData({ visible: true, data: [item] }) } }]
|
|
|
}}>
|