dev_aliyun2
harry 5 years ago
parent e67b131f5c
commit 4c44e599a5

@ -1,50 +1,16 @@
export default Itembankstops;
import React, { Component } from "react";
import { Link, NavLink } from 'react-router-dom';
import { WordsBtn, ActionBtn, SnackbarHOC, getImageUrl } from 'educoder';
import { getImageUrl } from 'educoder';
import axios from 'axios';
import {
notification,
Spin,
Table,
Pagination,
Radio,
Checkbox,
Form,
Input,
Select,
Cascader,
Col, Row, InputNumber, DatePicker, AutoComplete, Button, Tag, Tooltip
} from "antd";
import './../questioncss/questioncom.css';
import Newknledpots from './Newknledpots'
const InputGroup = Input.Group;
const { Option } = Select;
const queryString = require('query-string');
const options = [
{
value: '方向',
label: '方向',
children: [
{
value: '课程',
label: '课程',
},
],
},
{
value: 'jiangsu',
label: 'Jiangsu',
children: [
{
value: 'nanjing',
label: 'Nanjing',
},
],
},
];
//Comthetestpaperst试卷的
class Itembankstop extends Component {
constructor(props) {
@ -685,7 +651,6 @@ class Itembankstop extends Component {
`
body{
width: 100%!important;
overflow: hidden!important;
}
.ant-form-item{
margin-bottom: 0px !important;
@ -738,6 +703,7 @@ class Itembankstop extends Component {
)(
<Cascader style={{ width: '270px' }} options={options} onChange={this.handleFormzhishidian}
placeholder="请选择..." />
)}
</Form.Item>
@ -765,14 +731,13 @@ class Itembankstop extends Component {
</div >
)
}
</div>
)}
</Form.Item>
}
{
{
this.state.Knowpoints === undefined || this.state.Knowpoints === null ? "" :
this.state.Knowpoints.length > 0 ?
<div className="sortinxdirection huanhan w100s mt15" style={{
@ -794,7 +759,7 @@ class Itembankstop extends Component {
</div>
:
""
}
}
@ -803,11 +768,12 @@ class Itembankstop extends Component {
label="题型"
>
{getFieldDecorator("rbtx",
{initialValue: this.state.rbtx,
rules: [{required: true, message: '请选择题型'}],
{
initialValue: this.state.rbtx,
rules: [{ required: true, message: '请选择题型' }],
}
)(
<Select style={{width: '270px'}} disabled={this.state.boolnews} onChange={this.handleFormtixing}
<Select style={{ width: '270px' }} disabled={this.state.boolnews} onChange={this.handleFormtixing}
placeholder="请选择...">
<Option value="PROGRAM">编程题</Option>
<Option value="SINGLE">单选题</Option>
@ -815,7 +781,7 @@ class Itembankstop extends Component {
<Option value="JUDGMENT">判断题</Option>
</Select>
)}
</Form.Item >
</Form.Item>
<style>
{
@ -886,11 +852,12 @@ class Itembankstop extends Component {
)}
</Form.Item>
</div>
</Form >
</Form>
<div className="h20"></div>
</div >
</div>
)
}

Loading…
Cancel
Save