diff --git a/public/react/src/common/components/Cropper.js b/public/react/src/common/components/Cropper.js
index 2fe71ea2b..f11248751 100644
--- a/public/react/src/common/components/Cropper.js
+++ b/public/react/src/common/components/Cropper.js
@@ -110,13 +110,15 @@ class Cropper extends Component {
render() {
const { width, height, previewId, imageSrc } = this.props;
+
return (
{/* This rule is very important, please do not ignore this! */}
- {/* http://localhost:3007/images/footNavLogo.png 图片转了后不对 */}
-
+ {/* http://localhost:3007/images/footNavLogo.png 图片转了后不对
+ || "/images/testPicture.jpg"
+ || "/images/shixun0.jpg"
+ */}
+
{/* background: 'aquamarine',
'border-radius': '128px'
diff --git a/public/react/src/modules/courses/Resource/index.js b/public/react/src/modules/courses/Resource/index.js
index 8ce285ae1..f26d97ad3 100644
--- a/public/react/src/modules/courses/Resource/index.js
+++ b/public/react/src/modules/courses/Resource/index.js
@@ -176,8 +176,8 @@ class Fileslists extends Component{
let list=result.data.data;
this.setState({
total_count:list.total_count,
- public_count:list.public_count,
- private_count:list.private_count,
+ publish_count:list.publish_count,
+ unpublish_count:list.unpublish_count,
files:list.files,
filesId:list.id,
name:list.name,
@@ -625,13 +625,12 @@ class Fileslists extends Component{
})
}
render(){
-
let { searchValue,
checkBoxValues,
checkAllValue,
total_count,
- public_count,
- private_count,
+ publish_count,
+ unpublish_count,
files,
sorttype,
Modalstype,
@@ -766,8 +765,8 @@ class Fileslists extends Component{
secondRowLeft={
共 {total_count} 个资源
- 已发布:{public_count}个
- 未发布:{private_count}个
+ 已发布:{publish_count}个
+ 未发布:{unpublish_count}个
}
onPressEnter={this.onPressEnter}
diff --git a/public/react/src/modules/courses/coursesPublic/AccessoryModal.js b/public/react/src/modules/courses/coursesPublic/AccessoryModal.js
index 72512be43..5541a01a6 100644
--- a/public/react/src/modules/courses/coursesPublic/AccessoryModal.js
+++ b/public/react/src/modules/courses/coursesPublic/AccessoryModal.js
@@ -151,7 +151,6 @@ class AccessoryModal extends Component{
}).then((result)=>{
if(result.data.status===0){
- debugger
this.props.Cancel()
this.props.setupdate()
@@ -199,7 +198,6 @@ class AccessoryModal extends Component{
}).then((result)=>{
if(result.data.status===0){
- debugger
this.props.Cancel()
this.props.setupdate()
diff --git a/public/react/src/modules/courses/coursesPublic/SelectSetting.js b/public/react/src/modules/courses/coursesPublic/SelectSetting.js
index 4e84bae8c..08e01e28e 100644
--- a/public/react/src/modules/courses/coursesPublic/SelectSetting.js
+++ b/public/react/src/modules/courses/coursesPublic/SelectSetting.js
@@ -175,7 +175,6 @@ class Selectsetting extends Component{
}
savecouseShixunModal=()=>{
- debugger
let {fileList,is_public,unified_setting,description,datatime,course_groups}=this.state;
let newfileList=[];
diff --git a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js
index 09cfdf947..a3ee9ef1a 100644
--- a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js
+++ b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js
@@ -2192,7 +2192,6 @@ class Studentshavecompletedthelist extends Component {
}
funtaskstatustwo = (checkedValues, data) => {
- debugger
// console.log(checkedValues);
if (JSON.stringify(checkedValues) === "[]") {
// console.log(checkedValues);
diff --git a/public/react/src/modules/courses/members/teacherList.js b/public/react/src/modules/courses/members/teacherList.js
index c5422b96f..5f2459dd3 100644
--- a/public/react/src/modules/courses/members/teacherList.js
+++ b/public/react/src/modules/courses/members/teacherList.js
@@ -211,7 +211,6 @@ class studentsList extends Component{
}
onCheckAllChange = (e, item, index) => {
const that = this;
- debugger;
const checkAllArray = that.state.checkAllArray.slice(0)
checkAllArray[index] = !checkAllArray[index]
that.setState({checkAllArray})
diff --git a/public/react/src/modules/courses/poll/PollDetailTabForthRules.js b/public/react/src/modules/courses/poll/PollDetailTabForthRules.js
index 2f3621844..ac0417f39 100644
--- a/public/react/src/modules/courses/poll/PollDetailTabForthRules.js
+++ b/public/react/src/modules/courses/poll/PollDetailTabForthRules.js
@@ -48,6 +48,7 @@ class PollDetailTabForthRules extends Component{
selectedCourse:[],
flagPageEdit:this.props.flagPageEdit
}
+
}
componentDidUpdate(prevProps) {
if (JSON.stringify(this.props.rules) != JSON.stringify(prevProps.rules) ) {
diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js
index e7b85b19d..2553300ab 100644
--- a/public/react/src/modules/courses/shixunHomework/Listofworks.js
+++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js
@@ -67,6 +67,7 @@ class Listofworks extends Component {
order: "update_time",
b_order:"desc",
search: null,
+ allow_late:false,
task_status: [],
course_group_info: [],
teacherdata: undefined,
@@ -220,7 +221,7 @@ class Listofworks extends Component {
{
record.efficiencyscore&& record.efficiencyscore=== "--"?(
- record.submitstate==="按时提交"?
+ this.state.allow_late&&this.state.allow_late===false?
作业截止时,系统根据学生在课堂成员中的效率表现自动评分
}>
@@ -229,7 +230,7 @@ class Listofworks extends Component {
:
- record.submitstate==="延时提交"?
+ this.state.allow_late&&this.state.allow_late===true?