|
|
|
@ -0,0 +1,258 @@
|
|
|
|
|
import React, {Component} from 'react';
|
|
|
|
|
import {Link} from "react-router-dom";
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
import { Input ,Icon,Button,Pagination,DatePicker,Breadcrumb} from 'antd';
|
|
|
|
|
import { handleDateString} from 'educoder';
|
|
|
|
|
import locale from 'antd/lib/date-picker/locale/zh_CN';
|
|
|
|
|
import MDEditors from '../MDEditors';
|
|
|
|
|
import PhoneModel from '../PackageIndexNewandEdit/PhoneModel';
|
|
|
|
|
import '../packageconcnet.css';
|
|
|
|
|
const { Search } = Input;
|
|
|
|
|
|
|
|
|
|
class PackageIndexNEITaskDetails extends Component {
|
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props)
|
|
|
|
|
this.contentMdRef = React.createRef();
|
|
|
|
|
this.state = {
|
|
|
|
|
modalCancel:false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
componentDidMount() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setclick=()=>{
|
|
|
|
|
const mdContnet = this.contentMdRef.current.getValue().trim();
|
|
|
|
|
console.log(mdContnet)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onChangeTimePicker = (value, dateString) => {
|
|
|
|
|
this.setState({
|
|
|
|
|
TimePickervalue: dateString
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setPublication=()=>{
|
|
|
|
|
this.props.setPublicationfun()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
modalCancel=()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
modalCancel:false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
editmodels=()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
modalCancel:true
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
let {modalCancel}=this.state;
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
<div className="clearfix">
|
|
|
|
|
<div className={"educontent mt20 mb50"}>
|
|
|
|
|
|
|
|
|
|
<Breadcrumb separator={'>'}>
|
|
|
|
|
<Breadcrumb.Item>Home</Breadcrumb.Item>
|
|
|
|
|
<Breadcrumb.Item>
|
|
|
|
|
<a href="">Application Center</a>
|
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
|
<Breadcrumb.Item>An Application</Breadcrumb.Item>
|
|
|
|
|
</Breadcrumb>
|
|
|
|
|
|
|
|
|
|
<div className="mb20">
|
|
|
|
|
|
|
|
|
|
<p className="clearfix ">
|
|
|
|
|
|
|
|
|
|
<div className={"stud-class-set coursenavbox edu-back-white mt20"}>
|
|
|
|
|
<div className={"ant-row contentbox mdInForm "}>
|
|
|
|
|
|
|
|
|
|
<div className="educontent project-packages-list">
|
|
|
|
|
<div>
|
|
|
|
|
<div className="publicpart orangeBlack "></div>
|
|
|
|
|
<span className="smalltrangle"></span>
|
|
|
|
|
<span className="publicword publicwords"> 未申请 </span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{/*<div>*/}
|
|
|
|
|
{/*<div className="publicpart orangeGreen"></div>*/}
|
|
|
|
|
{/*<span className="smalltrangle"></span>*/}
|
|
|
|
|
{/*<span className="publicword publicwords"> 待发布 </span>*/}
|
|
|
|
|
{/*</div>*/}
|
|
|
|
|
|
|
|
|
|
<div className="project-package-item project-package-items">
|
|
|
|
|
|
|
|
|
|
<div className="item-image">
|
|
|
|
|
<img />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className=" item-body">
|
|
|
|
|
|
|
|
|
|
<div className=" item-head mbf10">
|
|
|
|
|
|
|
|
|
|
<div className=" item-head-title ">
|
|
|
|
|
<a className={"fl mt3 font-18 font-bd color-dark maxwidth700 "}
|
|
|
|
|
title={"做电视购物产品流程做电视购物产品流程做电视购物产品流程做电视购物产品流程做电视购物产品流程产品流程产品流程产品流程做电"}
|
|
|
|
|
>做电视购物产品流程做电视购物产品流程做电视购物产品流程做电视购物产品流程做电视购
|
|
|
|
|
物产品流程产品流程产品流程产品流程做电
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className=" item-head-price mtf7">
|
|
|
|
|
<span>¥<span className={"font-24"}>8000.00</span></span>~<span>¥<span className={"font-24"}>8000.00</span></span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className=" item-category">
|
|
|
|
|
<div className=" item-category-item">人工智能</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className=" item-other">
|
|
|
|
|
<div>
|
|
|
|
|
<span className=" item-group-text">发布时间:2019-03-05 12:23</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div className=" item-group item-other-deadline ml40">
|
|
|
|
|
<span className=" item-group-text">竞标截止时间:2019-09-12 24:00</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className={"stud-class-set padding30 coursenavbox edu-back-white mt20"}>
|
|
|
|
|
<div className={"ant-row contentbox mdInForm "}>
|
|
|
|
|
<div className="ant-form-item-label mb10">
|
|
|
|
|
<label htmlFor="coursesNew_description" className="ant-form-item-required font-16">工期与预算</label>
|
|
|
|
|
</div>
|
|
|
|
|
<p className="clearfix mb20 shaiContent">
|
|
|
|
|
<span className="shaiTitle fl mt5 ml10">竞标截止:</span>
|
|
|
|
|
<DatePicker
|
|
|
|
|
showToday={false}
|
|
|
|
|
showTime
|
|
|
|
|
locale={locale}
|
|
|
|
|
style={{"width": "260px"}}
|
|
|
|
|
format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
|
placeholder="请选择任务的竞标截止日期"
|
|
|
|
|
className={"fafas"}
|
|
|
|
|
onChange={this.onChangeTimePicker}
|
|
|
|
|
/>
|
|
|
|
|
</p>
|
|
|
|
|
<p className="clearfix mb20 shaiContent">
|
|
|
|
|
<span className="shaiTitle fl mt5 ml10">支付费用:</span>
|
|
|
|
|
<Input
|
|
|
|
|
className={"fafas"}
|
|
|
|
|
style={{"width": "260px"}}
|
|
|
|
|
format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
|
placeholder="支付多少费用(最低)"
|
|
|
|
|
onChange={this.onChangeTimePicker}
|
|
|
|
|
suffix={
|
|
|
|
|
<span >¥</span>
|
|
|
|
|
}
|
|
|
|
|
/>
|
|
|
|
|
<span className={"ml10 mr10"}>~</span>
|
|
|
|
|
<Input
|
|
|
|
|
className={"fafas"}
|
|
|
|
|
style={{"width": "260px"}}
|
|
|
|
|
format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
|
placeholder="支付多少费用(最高)"
|
|
|
|
|
onChange={this.onChangeTimePicker}
|
|
|
|
|
|
|
|
|
|
suffix={
|
|
|
|
|
<span>¥</span>
|
|
|
|
|
}
|
|
|
|
|
/>
|
|
|
|
|
</p>
|
|
|
|
|
<div className="ant-form-item-label mb10">
|
|
|
|
|
<label htmlFor="coursesNew_description" className="ant-form-item-required font-16" >联系方式</label>
|
|
|
|
|
</div>
|
|
|
|
|
<p className="clearfix mb20 shaiContent">
|
|
|
|
|
<span className="shaiTitle fl mt5 ml38">姓名:</span>
|
|
|
|
|
<Input
|
|
|
|
|
className={"fafafas"}
|
|
|
|
|
style={{"width": "260px"}}
|
|
|
|
|
format="YYYY-MM-DD HH:mm:ss"
|
|
|
|
|
placeholder="请输入姓名"
|
|
|
|
|
onChange={this.onChangeTimePicker}
|
|
|
|
|
/>
|
|
|
|
|
</p>
|
|
|
|
|
<p className="clearfix mb20 shaiContent">
|
|
|
|
|
<span className="shaiTitle fl mt5 ml25">手机号:</span>
|
|
|
|
|
<Input
|
|
|
|
|
className={"fafafas fl"}
|
|
|
|
|
style={{"width": "260px"}}
|
|
|
|
|
format="YYYY-MM-DD HH:mm"
|
|
|
|
|
showTime={{ format: 'HH:mm' }}
|
|
|
|
|
placeholder="请输入手机号"
|
|
|
|
|
disabled={true}
|
|
|
|
|
onChange={this.onChangeTimePicker}
|
|
|
|
|
/>
|
|
|
|
|
<a className="fl ml20">
|
|
|
|
|
<i className="iconfont icon-bianjidaibeijing font-26 color-blue" onClick={()=>this.editmodels()}></i>
|
|
|
|
|
</a>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p className="clearfix mb20 shaiContent">
|
|
|
|
|
<span className="shaiTitle mt5 fl">
|
|
|
|
|
<span className="shaiTitle fl mt5 ml25">
|
|
|
|
|
{/*未注册才显示!*/}
|
|
|
|
|
|
|
|
|
|
手机号:</span>
|
|
|
|
|
<Input
|
|
|
|
|
className={"fafafas fl"}
|
|
|
|
|
style={{"width": "260px"}}
|
|
|
|
|
format="YYYY-MM-DD HH:mm"
|
|
|
|
|
showTime={{ format: 'HH:mm' }}
|
|
|
|
|
placeholder="请输入手机号码"
|
|
|
|
|
onChange={this.onChangeTimePicker}
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<span className="shaiTitle mt5 ml17 fl">
|
|
|
|
|
<span>
|
|
|
|
|
<Search
|
|
|
|
|
style={{ width: 300 }}
|
|
|
|
|
className="fafas"
|
|
|
|
|
placeholder="请输入验证码"
|
|
|
|
|
enterButton={<span>获取验证码</span>}
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
<span>
|
|
|
|
|
|
|
|
|
|
{/*<Button type="primary" className="defalutSubmitbtn ml10 defalutSubmitbtnmodels">重新发送()</Button>*/}
|
|
|
|
|
</span>
|
|
|
|
|
</span>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
<div className="clearfix mt30 mb30">
|
|
|
|
|
<Button type="primary" className="defalutSubmitbtn fl mr20 defalutSubmitbtns" onClick={this.setPublication}>申请发布</Button>
|
|
|
|
|
<a className="defalutCancelbtns fl">保存</ a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default PackageIndexNEITaskDetails;
|
|
|
|
|
|