|
@@ -1,7 +1,7 @@
|
1
|
1
|
import React, { useEffect, useState } from 'react'
|
2
|
2
|
import router from 'umi/router'
|
3
|
3
|
import { fetch, apis } from '@/utils/request'
|
4
|
|
-import { Button, Form, Input, InputNumber, Modal, Radio } from 'antd'
|
|
4
|
+import { Button, Form, Input, InputNumber, Modal, Radio, Select } from 'antd'
|
5
|
5
|
import Wangedit from '@/components/Wangedit/Wangedit'
|
6
|
6
|
import ImageUpload from '@/components/uploadImage/ImageUpload'
|
7
|
7
|
|
|
@@ -86,6 +86,15 @@ export default Form.create()(props => {
|
86
|
86
|
return (
|
87
|
87
|
<div>
|
88
|
88
|
<Form {...formItemLayout} onSubmit={handleSubmit}>
|
|
89
|
+ <Form.Item label="类型">
|
|
90
|
+ {
|
|
91
|
+ getFieldDecorator('annType')(
|
|
92
|
+ <Select style={{}} allowClear>
|
|
93
|
+ <Select.Option value="notice">提醒</Select.Option>
|
|
94
|
+ </Select>
|
|
95
|
+ )
|
|
96
|
+ }
|
|
97
|
+ </Form.Item>
|
89
|
98
|
<Form.Item label="公告标题">
|
90
|
99
|
{
|
91
|
100
|
getFieldDecorator('announcementTitle', {
|