courseware
杨树林 5 years ago
parent bc4d06eee5
commit 21caa0b9c2

@ -46,7 +46,7 @@ debugType="admin";
// 老师
// debugType="teacher";
// 学生
//debugType="student";
// debugType="student";

@ -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>

Loading…
Cancel
Save