import React from 'react';
import moment from 'moment';
import { Modal, Button } from 'antd';
import { StandardTableList } from '../../../components/AXList';
import AXVideoPlayer from '../../../components/AXVideoPlayer';
import Ellipsis from '../../../components/Ellipsis';
import { resourceQuality } from '../../../utils/utils';
function VideoTableList({
UIParams, dataSource, loading, totalSize, pageSize, pageNo, modalDestroy, currentItem,
onCreateClick, onUpdateClick, onFilterClick, onBatchClick, onModalCreate,
onModalDestroy,
}) {
const pagination = {
pageNo,
pageSize,
totalSize,
};
const batchActions = [{
key: 'delete',
name: '批量删除',
}, {
key: 'edit',
name: '批量编辑',
}];
const basicSearch = {
keys: [{
name: '视频名称',
field: 'name',
}, {
name: '视频编号',
field: 'code',
}],
};
const columns = [{
title: '视频编号',
key: 1,
dataIndex: 'code',
width: '15%',
render: text => (