|
|
|
@ -47,7 +47,7 @@ class GraduationTasksSubmitedit extends Component{
|
|
|
|
|
let url = "/graduation_works/"+workId+"/edit.json";
|
|
|
|
|
axios.get(url).then((result)=>{
|
|
|
|
|
|
|
|
|
|
if(result.status===200){
|
|
|
|
|
if(result){
|
|
|
|
|
console.log(result.data.description);
|
|
|
|
|
|
|
|
|
|
this.setState({
|
|
|
|
@ -246,7 +246,7 @@ class GraduationTasksSubmitedit extends Component{
|
|
|
|
|
limit:limit
|
|
|
|
|
}).then((result)=>{
|
|
|
|
|
|
|
|
|
|
if(result.status===200){
|
|
|
|
|
if(result){
|
|
|
|
|
if(types===1){
|
|
|
|
|
if(result.data.members.length>0) {
|
|
|
|
|
result.data.members.map((item, key) => {
|
|
|
|
@ -279,7 +279,10 @@ class GraduationTasksSubmitedit extends Component{
|
|
|
|
|
|
|
|
|
|
contentViewScroll=(e)=>{
|
|
|
|
|
//滑动到底判断
|
|
|
|
|
if(e.currentTarget.scrollHeight-e.currentTarget.scrollTop===e.currentTarget.clientHeight){
|
|
|
|
|
let newscrollTop=parseInt(e.currentTarget.scrollTop);
|
|
|
|
|
let allclientHeight=e.currentTarget.clientHeight+newscrollTop;
|
|
|
|
|
|
|
|
|
|
if(e.currentTarget.scrollHeight-allclientHeight===0||e.currentTarget.scrollHeight-allclientHeight===1){
|
|
|
|
|
// console.log("到达底部");
|
|
|
|
|
|
|
|
|
|
let{ search,page,limit,workslist}=this.state;
|
|
|
|
|