调整 加注释debugger

dev_forum
杨树林 5 years ago
parent 8c0fd05b75
commit 49bd250e86

@ -119,7 +119,7 @@ class AccessoryModal2 extends Component{
} }
} }
Saves=()=>{ Saves=()=>{
debugger // debugger
let {fileList,description} =this.state; let {fileList,description} =this.state;
let newfileList=[]; let newfileList=[];
for(var list of fileList){ for(var list of fileList){

@ -59,7 +59,7 @@ class Associationmodel extends Component{
goback=()=>{ goback=()=>{
debugger // debugger
this.setState({ this.setState({
Modalstype:false, Modalstype:false,
}) })
@ -70,7 +70,7 @@ class Associationmodel extends Component{
setSaves=()=>{ setSaves=()=>{
debugger // debugger
let {projectvalue}=this.state; let {projectvalue}=this.state;
let taskid=this.props.taskid; let taskid=this.props.taskid;
let url="/graduation_tasks/"+taskid+"/graduation_works/relate_project.json"; let url="/graduation_tasks/"+taskid+"/graduation_works/relate_project.json";

@ -86,7 +86,7 @@ class Exercisestatisticalresult extends Component {
page:pageNumber page:pageNumber
}) })
debugger // debugger
$('html').animate({ $('html').animate({
scrollTop: 10 scrollTop: 10
}, 1000); }, 1000);

@ -393,7 +393,7 @@ class GraduationTasksSubmitedit extends Component{
// console.log(fileList); // console.log(fileList);
if(values.description===undefined||values.description===""){ if(values.description===undefined||values.description===""){
this.scrollToAnchor("valuestypes"); this.scrollToAnchor("valuestypes");
debugger // debugger
return return
} }
if(workslist.task_type===2){ if(workslist.task_type===2){

@ -358,7 +358,7 @@ class GraduationTasksSubmitnew extends Component{
//公用数据 //公用数据
Commoninterface = (fileList,selectmemberslist,workslist)=>{ Commoninterface = (fileList,selectmemberslist,workslist)=>{
debugger // debugger
let userids=[]; let userids=[];
for(var list of selectmemberslist){ for(var list of selectmemberslist){
@ -384,7 +384,7 @@ class GraduationTasksSubmitnew extends Component{
// console.log(fileList); // console.log(fileList);
if(values.description===undefined||values.description===""){ if(values.description===undefined||values.description===""){
this.scrollToAnchor("valuestypes"); this.scrollToAnchor("valuestypes");
debugger // debugger
return return
} }
if(workslist&&workslist.task_type===2){ if(workslist&&workslist.task_type===2){
@ -460,7 +460,7 @@ class GraduationTasksSubmitnew extends Component{
//确认 //确认
hidestartshixunsreplace=()=>{ hidestartshixunsreplace=()=>{
debugger // debugger
let {fileList,selectmemberslist,workslist}=this.state; let {fileList,selectmemberslist,workslist}=this.state;
this.Commoninterface(fileList,selectmemberslist,workslist); this.Commoninterface(fileList,selectmemberslist,workslist);

@ -145,7 +145,7 @@ class GraduationTasksedit extends Component{
} }
onAttachmentRemove = (file) => { onAttachmentRemove = (file) => {
debugger // debugger
this.cancelAttachment(); this.cancelAttachment();
const url = `/attachments/${file.response ? file.response.id : file.uid}.json` const url = `/attachments/${file.response ? file.response.id : file.uid}.json`
// const url = `/attachments/${file}.json` // const url = `/attachments/${file}.json`

@ -37,7 +37,7 @@ class GraduationTasks extends Component{
} }
} }
fetchAll = (search,page,order,count) => { fetchAll = (search,page,order,count) => {
debugger // debugger
const cid = this.props.match.params.coursesId const cid = this.props.match.params.coursesId
@ -554,7 +554,7 @@ debugger
} }
// 题库选用成功后刷新页面 // 题库选用成功后刷新页面
useBankSuccess=(checkBoxValues,object_ids)=>{ useBankSuccess=(checkBoxValues,object_ids)=>{
debugger // debugger
let {search,page,order,all_count} = this.state; let {search,page,order,all_count} = this.state;
this.fetchAll(search,page,order,all_count) this.fetchAll(search,page,order,all_count)
} }

@ -115,7 +115,7 @@ class PollDetailTabForthRules extends Component{
} }
//修改发布规则里面的发布时间 //修改发布规则里面的发布时间
changeRulePublishTime=(e,date,index)=>{ changeRulePublishTime=(e,date,index)=>{
debugger // debugger
let arr=Object.assign({}, this.state.rules[parseInt(index)]); let arr=Object.assign({}, this.state.rules[parseInt(index)]);
arr.publish_time=date=== ""?"":moment(handleDateString(date)).format("YYYY-MM-DD HH:mm"); arr.publish_time=date=== ""?"":moment(handleDateString(date)).format("YYYY-MM-DD HH:mm");
if(!arr.end_time){ if(!arr.end_time){

@ -228,7 +228,7 @@ class DetailCards extends Component{
isSpin:true, isSpin:true,
}) })
axios.get(url).then((response) => { axios.get(url).then((response) => {
debugger // debugger
if(response.status===200){ if(response.status===200){
// let path="/shixuns/"+response.data.shixun_identifier+"/challenges"; // let path="/shixuns/"+response.data.shixun_identifier+"/challenges";
// this.props.history.push(path); // this.props.history.push(path);

@ -339,7 +339,7 @@ export default class TPMchallengesnew extends Component {
} }
if(exec_time===null||exec_time===undefined||exec_time===""){ if(exec_time===null||exec_time===undefined||exec_time===""){
debugger
this.setState({ this.setState({
shixunExec_timeType:false shixunExec_timeType:false
}) })

@ -503,7 +503,7 @@ class Newshixuns extends Component {
sendsure_apply = () => { sendsure_apply = () => {
let {languagewrite,systemenvironment,testcoderunmode} = this.state; let {languagewrite,systemenvironment,testcoderunmode} = this.state;
debugger // debugger
// console.log("点击确定") // console.log("点击确定")
// console.log("languagewrite"+languagewrite); // console.log("languagewrite"+languagewrite);
// console.log("systemenvironment"+systemenvironment); // console.log("systemenvironment"+systemenvironment);
@ -538,7 +538,7 @@ class Newshixuns extends Component {
return item.response ? item.response.id : item.id return item.response ? item.response.id : item.id
}) })
} }
debugger // debugger
if( attachment_ids === undefined || attachment_ids.length===0){ if( attachment_ids === undefined || attachment_ids.length===0){
notification.open( notification.open(

Loading…
Cancel
Save