|
|
|
@ -2,15 +2,24 @@ import React, {Component} from 'react';
|
|
|
|
|
import {Link} from "react-router-dom";
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
import { Input ,Icon,Button,Pagination,DatePicker} from 'antd';
|
|
|
|
|
import { handleDateString} from 'educoder';
|
|
|
|
|
import { handleDateString,getUrl} from 'educoder';
|
|
|
|
|
import locale from 'antd/lib/date-picker/locale/zh_CN';
|
|
|
|
|
import MDEditors from '../MDEditors';
|
|
|
|
|
import PhoneModel from './PhoneModel';
|
|
|
|
|
import moment from 'moment'
|
|
|
|
|
import '../packageconcnet.css';
|
|
|
|
|
const { Search } = Input;
|
|
|
|
|
const $ = window.$;
|
|
|
|
|
let origin = getUrl();
|
|
|
|
|
|
|
|
|
|
// load
|
|
|
|
|
if (!window.postUpMsg) {
|
|
|
|
|
$.getScript(
|
|
|
|
|
`${origin}/javascripts/attachments.js`,
|
|
|
|
|
(data, textStatus, jqxhr) => {
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
class PackageIndexNEIBannerConcent extends Component {
|
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props)
|
|
|
|
@ -285,7 +294,8 @@ class PackageIndexNEIBannerConcent extends Component {
|
|
|
|
|
id="_file"
|
|
|
|
|
multiple="multiple" name="attachments[dummy][file]"
|
|
|
|
|
onChange={() => {
|
|
|
|
|
// debugger;
|
|
|
|
|
debugger;
|
|
|
|
|
console.log(window.$('.file_selector')[0]))
|
|
|
|
|
window.addInputFiles(window.$('.file_selector')[0])
|
|
|
|
|
}}
|
|
|
|
|
style={{'display': 'none'}} type="file">
|
|
|
|
|