新建实训项目
@@ -345,9 +357,9 @@ class Newshixuns extends Component {
target="_blank">实训制作指南 : ""}
-
- {getFieldDecorator('radiogroup')(
+ {getFieldDecorator('is_jupyter')(
普通实训
Jupyter实训
@@ -363,8 +375,8 @@ class Newshixuns extends Component {
required: true, message: '请输入选题名称',
}, {
max: 60, message: '请输入名称,最大限制60个字符',
- },{
- whitespace:true,message:'请勿输入空格'
+ }, {
+ whitespace: true, message: '请勿输入空格'
}],
})(
-
-
+
+
@@ -412,22 +424,21 @@ class Newshixuns extends Component {
-
-
- {getFieldDecorator('selectleft', {
+ {getFieldDecorator('main_type', {
rules: [{required: true, message: '请选择主类别'}],
})(
)}
-
+
-
- {getFieldDecorator('selectright', {
+ >
+
+ {getFieldDecorator('sub_type', {
rules: [{required: true, message: '请选择小类别'}],
})(
-
)}
@@ -493,22 +504,21 @@ class Newshixuns extends Component {
-
- {postapplyvisible===true?:""}
+ }
+ : ""}
-
+
-
+
-
{this.state.languagewritetype===true?"请填写该镜像语言":""}
+
{this.state.languagewritetype === true ? "请填写该镜像语言" : ""}
-
+
-
{this.state.systemenvironmenttype===true?"请填写该镜像语言系统环境":""}
+
{this.state.systemenvironmenttype === true ? "请填写该镜像语言系统环境" : ""}
-
+ className={this.state.testcoderunmodetype === true ? "fl task-form-80 task-height-150 bor-reds" : "fl task-form-80 task-height-150"}
+ onInput={this.setrun_method}
+ value={this.state.run_method}
+ style={{height: '100px'}}
+ placeholder="请填写该镜像中测试代码运行方式"
+ id="demand_info">
-
{this.state.testcoderunmodetype===true?"请填写该镜像测试代码运行方式":""}
+
{this.state.testcoderunmodetype === true ? "请填写该镜像测试代码运行方式" : ""}
-
-
+
上传附件
(单个文件50M以内)
@@ -571,13 +586,13 @@ class Newshixuns extends Component {
- {this.state.attachmentidstype===true?"请上传附件":""}
+ {this.state.attachmentidstype === true ? "请上传附件" : ""}
this.sendhideModaly()}
>取消
-
@@ -586,7 +601,6 @@ class Newshixuns extends Component {
-
-
-
-
+ this.handleSubmit()}/>
);
diff --git a/public/react/src/modules/tpm/newshixuns/css/Newshixuns.css b/public/react/src/modules/tpm/newshixuns/css/Newshixuns.css
index 060ceff6d..f18446ea1 100644
--- a/public/react/src/modules/tpm/newshixuns/css/Newshixuns.css
+++ b/public/react/src/modules/tpm/newshixuns/css/Newshixuns.css
@@ -826,4 +826,8 @@ a.white-btn.use_scope-btn:hover{
.relative{
position: relative;
+}
+
+.pd40px{
+ padding-bottom: 40px;
}
\ No newline at end of file