|
|
|
@ -1,11 +1,7 @@
|
|
|
|
|
import React,{ Component } from "react";
|
|
|
|
|
import { Modal,Checkbox,Select,Input,Tooltip } from "antd";
|
|
|
|
|
import { Modal,Checkbox,Select,Input,Tooltip,Spin,Icon } from "antd";
|
|
|
|
|
import axios from'axios';
|
|
|
|
|
import Loading from '@icedesign/base/lib/loading';
|
|
|
|
|
import '@icedesign/base/lib/loading/style.js';
|
|
|
|
|
import Modals from '../../modals/Modals';
|
|
|
|
|
|
|
|
|
|
const Option = Select.Option;
|
|
|
|
|
const Search = Input.Search;
|
|
|
|
|
class PathModal extends Component{
|
|
|
|
|
constructor(props){
|
|
|
|
@ -126,7 +122,7 @@ class PathModal extends Component{
|
|
|
|
|
render(){
|
|
|
|
|
let {Searchvalue,type,Modalstype}=this.state;
|
|
|
|
|
let {visible,shixunmodallist,hometypepvisible,newshixunmodallist}=this.props;
|
|
|
|
|
|
|
|
|
|
const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|
<div>
|
|
|
|
@ -148,8 +144,7 @@ class PathModal extends Component{
|
|
|
|
|
width="840px"
|
|
|
|
|
destroyOnClose={true}
|
|
|
|
|
>
|
|
|
|
|
<Loading visible={false} shape="dot-circle" color='#4AC7FF'>
|
|
|
|
|
|
|
|
|
|
<Spin indicator={antIcon} spinning={hometypepvisible} size="large" style={{marginTop:'15%'}}>
|
|
|
|
|
<div className="newupload_conbox">
|
|
|
|
|
{ shixunmodallist && shixunmodallist.tags.length===0?"":<div className="clearfix mb20 shixun_work_div newshixun_tab_div cdefault" style={{"marginRight":"4px"}} id="shixun_tab_div">
|
|
|
|
|
|
|
|
|
@ -203,7 +198,6 @@ class PathModal extends Component{
|
|
|
|
|
<div className="over210 pl20 pr20"
|
|
|
|
|
onScroll={this.contentViewScrolledit}
|
|
|
|
|
style={{"Height":"204px"}}>
|
|
|
|
|
<Loading visible={hometypepvisible} shape="dot-circle" className="newnext-loading" color='#4AC7FF'>
|
|
|
|
|
<Checkbox.Group style={{ width: '100%' }} onChange={this.shixunhomeworkedit}>
|
|
|
|
|
{
|
|
|
|
|
newshixunmodallist&&newshixunmodallist.map((item,key)=>{
|
|
|
|
@ -229,7 +223,6 @@ class PathModal extends Component{
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
</Checkbox.Group>
|
|
|
|
|
</Loading>
|
|
|
|
|
</div>
|
|
|
|
|
{ this.state.patheditarrytype===true?<span className={"color-red"}>{this.state.patheditarryvalue}</span>:""}
|
|
|
|
|
<div className="mt20 marginauto clearfix edu-txt-center">
|
|
|
|
@ -237,7 +230,7 @@ class PathModal extends Component{
|
|
|
|
|
<a className="task-btn task-btn-orange margin-tp26" id="submit_send_shixun" onClick={this.savecouseShixunModal}>确定</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</Loading>
|
|
|
|
|
</Spin>
|
|
|
|
|
</Modal>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|