工单评论

forge
caicai8 5 years ago
parent 6541ca5cde
commit 63182747f7

@ -7,7 +7,8 @@ import UploadComponent from '../Upload/Index';
import { getImageUrl } from 'educoder';
import {Modal, Col, Form, Input, Tooltip, Popconfirm, Pagination , Spin} from 'antd'
import NoneData from '../../modules/courses/coursesPublic/NoneData';
import Attachments from '../Upload/attachment'
import Attachments from '../Upload/attachment';
import QuillForEditor from '../quillForEditor';
const TextArea = Input.TextArea;
@ -441,7 +442,20 @@ class Detail extends Component{
required: true, message: '请输入内容'
}],
})(
<TextArea placeholder="添加评论..." style={{height: "200px"}}/>
<QuillForEditor
imgAttrs={{ width: '60px', height: '30px' }}
wrapStyle={{
height: '200px',
opacity:1,
}}
autoFocus={true}
style={{ height: '150px' }}
placeholder="添加评论..."
// options={options}
value={'ctx'}
// showUploadImage={handleShowImage}
// onContentChange={handleContentChange}
/>
)}
</Form.Item>
<UploadComponent load={this.UploadFunc} isComplete={showFiles} changeIsComplete={this.changeIsComplete}></UploadComponent>

@ -12,6 +12,22 @@ import axios from 'axios';
const Option = Select.Option;
const TextArea = Input.TextArea;
{/* <QuillForEditor
imgAttrs={{ width: '60px', height: '30px' }}
wrapStyle={{
height: showQuill ? 'auto' : '0px',
opacity: showQuill ? 1 : 0,
overflow: showQuill ? 'none' : 'none',
transition: 'all 0.3s'
}}
autoFocus={focus}
style={{ height: '150px' }}
placeholder="说点儿什么~"
options={options}
value={ctx}
showUploadImage={handleShowImage}
onContentChange={handleContentChange}
/> */}
class New extends Component{
constructor(props){
super(props);

Loading…
Cancel
Save