dev_aliyun2
harry 5 years ago
parent e67b131f5c
commit 4c44e599a5

@ -1,50 +1,16 @@
export default Itembankstops;
import React, { Component } from "react"; import React, { Component } from "react";
import { Link, NavLink } from 'react-router-dom'; import { getImageUrl } from 'educoder';
import { WordsBtn, ActionBtn, SnackbarHOC, getImageUrl } from 'educoder';
import axios from 'axios'; import axios from 'axios';
import { import {
notification,
Spin,
Table,
Pagination,
Radio, Radio,
Checkbox,
Form, Form,
Input,
Select,
Cascader, Cascader,
Col, Row, InputNumber, DatePicker, AutoComplete, Button, Tag, Tooltip
} from "antd"; } from "antd";
import './../questioncss/questioncom.css'; import './../questioncss/questioncom.css';
import Newknledpots from './Newknledpots' import Newknledpots from './Newknledpots'
const InputGroup = Input.Group;
const { Option } = Select;
const queryString = require('query-string'); const queryString = require('query-string');
const options = [
{
value: '方向',
label: '方向',
children: [
{
value: '课程',
label: '课程',
},
],
},
{
value: 'jiangsu',
label: 'Jiangsu',
children: [
{
value: 'nanjing',
label: 'Nanjing',
},
],
},
];
//Comthetestpaperst试卷的 //Comthetestpaperst试卷的
class Itembankstop extends Component { class Itembankstop extends Component {
constructor(props) { constructor(props) {
@ -685,7 +651,6 @@ class Itembankstop extends Component {
` `
body{ body{
width: 100%!important; width: 100%!important;
overflow: hidden!important;
} }
.ant-form-item{ .ant-form-item{
margin-bottom: 0px !important; margin-bottom: 0px !important;
@ -738,6 +703,7 @@ class Itembankstop extends Component {
)( )(
<Cascader style={{ width: '270px' }} options={options} onChange={this.handleFormzhishidian} <Cascader style={{ width: '270px' }} options={options} onChange={this.handleFormzhishidian}
placeholder="请选择..." />
)} )}
</Form.Item> </Form.Item>
@ -766,8 +732,7 @@ class Itembankstop extends Component {
</div> </div>
) )}
}
</Form.Item> </Form.Item>
} }
@ -803,7 +768,8 @@ class Itembankstop extends Component {
label="题型" label="题型"
> >
{getFieldDecorator("rbtx", {getFieldDecorator("rbtx",
{initialValue: this.state.rbtx, {
initialValue: this.state.rbtx,
rules: [{ required: true, message: '请选择题型' }], rules: [{ required: true, message: '请选择题型' }],
} }
)( )(
@ -891,6 +857,7 @@ class Itembankstop extends Component {
</div> </div>
) )
} }

Loading…
Cancel
Save