|
|
|
@ -268,6 +268,9 @@ class VideoIndex extends Component {
|
|
|
|
|
const newOperation = flag;
|
|
|
|
|
const new_upload = flag && (is_teacher && this.props.checkIfProfessionalCertification());
|
|
|
|
|
|
|
|
|
|
const isAdmin = this.props&& this.props.isAdmin();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<VideoLink
|
|
|
|
@ -323,6 +326,17 @@ class VideoIndex extends Component {
|
|
|
|
|
{
|
|
|
|
|
type === "video" ?
|
|
|
|
|
<React.Fragment>
|
|
|
|
|
<span>
|
|
|
|
|
{
|
|
|
|
|
videoId ?
|
|
|
|
|
""
|
|
|
|
|
:
|
|
|
|
|
<WordsBtn style="blue" className="ml30 font-16 tongjis"
|
|
|
|
|
onClick={() => this.statisticsy(true)}
|
|
|
|
|
><i className="iconfont icon-tongji1 mr5"></i>统计</WordsBtn>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</span>
|
|
|
|
|
{
|
|
|
|
|
newOperation ?
|
|
|
|
|
<span>
|
|
|
|
@ -332,13 +346,7 @@ class VideoIndex extends Component {
|
|
|
|
|
onClick={() => this.editDir(videoData && videoData.category_name, videoId)}
|
|
|
|
|
className={"ml30 font-16"}>目录重命名</WordsBtn>
|
|
|
|
|
:
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
|
|
<WordsBtn style="blue" className="ml30 font-16 tongjis"
|
|
|
|
|
onClick={() => this.statisticsy(true)}
|
|
|
|
|
><i className="iconfont icon-tongji1 mr5"></i>统计</WordsBtn>
|
|
|
|
|
<WordsBtn style="blue" className="ml30 font-16" onClick={this.addDir}>新建目录</WordsBtn>
|
|
|
|
|
</span>
|
|
|
|
|
<WordsBtn style="blue" className="ml30 font-16" onClick={this.addDir}>新建目录</WordsBtn>
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
<WordsBtn style="blue" className="ml30 font-16"
|
|
|
|
@ -358,6 +366,10 @@ class VideoIndex extends Component {
|
|
|
|
|
</span>
|
|
|
|
|
: ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</React.Fragment>
|
|
|
|
|
:
|
|
|
|
|
<WordsBtn style="blue" className="font-16 ml30" onClick={this.liveSetting}>添加直播</WordsBtn>
|
|
|
|
|