From b040e6efb6c9d4ebbaa3a16b628641ac35d2c0bd Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Wed, 26 Jun 2019 09:52:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=B0=8F=E6=A0=B7=E5=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../courses/busyWork/CommonWorkAppraise.js | 61 +++++++++---------- .../tasks/GraduationTasksappraise.js | 14 ++--- .../shixunHomework/ShixunhomeWorkItem.js | 10 +-- 3 files changed, 42 insertions(+), 43 deletions(-) diff --git a/public/react/src/modules/courses/busyWork/CommonWorkAppraise.js b/public/react/src/modules/courses/busyWork/CommonWorkAppraise.js index 77317792e..08832a059 100644 --- a/public/react/src/modules/courses/busyWork/CommonWorkAppraise.js +++ b/public/react/src/modules/courses/busyWork/CommonWorkAppraise.js @@ -186,32 +186,32 @@ class CommonWorkAppraise extends Component{ } `}
选用对象:你在课堂{engNameMap[object_type]}列表中已“加入题库”的{engNameMap[object_type]}
:选用对象:题库中已设置成公共属性的所有{engNameMap[object_type]}
@@ -240,7 +243,7 @@ class UseBank extends Component{- -
- -- 原因不能为空 +
+
+
{tableData && tableData.graduation_topic_name}
-
-
+
+
课题类型:
{topicInfo.topic_type ? type[`${topicInfo.topic_type}`] :"--"}
-
+
课题来源:
{topicInfo.topic_source ? source[`${topicInfo.topic_source}`] :"--"}
-
+
课题性质1:
{topicInfo.topic_property_first ? first[`${topicInfo.topic_property_first}`] :"--"}
-
+
课题性质2:
{topicInfo.topic_property_second ? second[`${topicInfo.topic_property_second}`] :"--"}
@@ -100,16 +100,16 @@ class GraduateTopicDetailTable extends Component{
}
{
topicInfo &&
-
-
+
+
课题重复情况:
{topicInfo.topic_repeat ? repeat[`${topicInfo.topic_repeat}`] :"--"}
-
+
调研或实习地点:
{topicInfo.city || "--"}
-
+
课题来源单位:
{topicInfo.source_unit || "--"}
diff --git a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js
index 963c7a4f9..bd58e555b 100644
--- a/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js
+++ b/public/react/src/modules/courses/graduation/topics/GraduateTopicDetailTable.js
@@ -74,7 +74,8 @@ class GraduateTopicDetailTable extends Component{
}
hideAgreeTopic=()=>{
this.setState({
- agreeFlag:false
+ agreeFlag:false,
+ classesId:undefined
})
}
sureAgreeTopic=(count)=>{
@@ -116,6 +117,7 @@ class GraduateTopicDetailTable extends Component{
//切换分班
changeClasses=(value)=>{
+ debugger
this.setState({
classesId:value
})
@@ -130,7 +132,8 @@ class GraduateTopicDetailTable extends Component{
}
hideClasses=()=>{
this.setState({
- visible:false
+ visible:false,
+ classesId:undefined
})
}
@@ -209,7 +212,7 @@ class GraduateTopicDetailTable extends Component{
{
tableData.group_list && tableData.group_list.map((item,key)=>{
return(
-
+
)
})
}
diff --git a/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js b/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js
index c3c0d18e2..d71cec73b 100644
--- a/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js
+++ b/public/react/src/modules/courses/graduation/topics/GraduateTopicNew.js
@@ -328,8 +328,8 @@ class GraduateTopicNew extends Component{
>
{topicId==undefined?"新建":"编辑"}
{topicId==undefined?"新建":"编辑"}毕设选题 {topicId==undefined?"新建":"编辑"}毕设选题