|
@@ -6,18 +6,19 @@ import {
|
|
|
Form,
|
|
|
Input,
|
|
|
Select,
|
|
|
- Upload,
|
|
|
+ Radio,
|
|
|
Spin,
|
|
|
Table,
|
|
|
message,
|
|
|
Modal,
|
|
|
Tabs,
|
|
|
- Tag
|
|
|
+ Tag, DatePicker
|
|
|
} from "antd";
|
|
|
import Assign from '@/manageCenter/publicComponent/assign';
|
|
|
import ResolutionDetail from "@/resolutionDetail";
|
|
|
import OrderDetail from "../../order/orderNew/changeComponent/orderDetail";
|
|
|
import OrderRiZi from "@/orderRiZi.jsx";
|
|
|
+import PatentSchedule from './patentSchedule';
|
|
|
import './table.less';
|
|
|
import {
|
|
|
getProcessStatus,
|
|
@@ -35,6 +36,7 @@ const {TabPane} = Tabs
|
|
|
import ShowModalDiv from "@/showModal.jsx";
|
|
|
import ImgList from "../../../common/imgList";
|
|
|
import {ChooseList} from "../../order/orderNew/chooseList";
|
|
|
+import moment from "moment";
|
|
|
|
|
|
const Task = React.createClass({
|
|
|
loadData(pageNo) {
|
|
@@ -468,6 +470,18 @@ const Task = React.createClass({
|
|
|
outsourceName: thisdata.outsourceName, //外包公司名称
|
|
|
outsourcePrice: thisdata.outsourcePrice, //外包价格
|
|
|
declarationBatch: thisdata.declarationBatch,
|
|
|
+ bpType:thisdata.bpType,//0 正常 1专利 2软著 3审计 4双软 5高新
|
|
|
+ specialComment: thisdata.specialComment,
|
|
|
+ urgentDay: thisdata.urgentDay, //有无材料
|
|
|
+ ifMaterial: thisdata.ifMaterial, //加急情况
|
|
|
+ spotCheckStatus: thisdata.spotCheckStatus,
|
|
|
+ setUpStatus: thisdata.setUpStatus,
|
|
|
+ setUpTime: thisdata.setUpTime,
|
|
|
+ highTechStatus: thisdata.highTechStatus,
|
|
|
+ acceptCount:thisdata.acceptCount, //受理数
|
|
|
+ authorizeCount:thisdata.authorizeCount, //授权数
|
|
|
+ rejectCount:thisdata.rejectCount, //驳回数
|
|
|
+ commodityQuantity:thisdata.commodityQuantity, //派单项目数
|
|
|
});
|
|
|
}
|
|
|
}.bind(this),
|
|
@@ -875,6 +889,15 @@ const Task = React.createClass({
|
|
|
this.state.orderNoSearch = "";
|
|
|
this.state.taskNoSearch = "";
|
|
|
this.state.departmenttSearch = undefined;
|
|
|
+ this.setState({
|
|
|
+ urgentDay: '', //有无材料
|
|
|
+ ifMaterial: '', //加急情况
|
|
|
+ specialComment: '', //特别说明
|
|
|
+ spotCheckStatus: '',
|
|
|
+ setUpStatus: '',
|
|
|
+ setUpTime: '',
|
|
|
+ highTechStatus: '',
|
|
|
+ })
|
|
|
this.loadData();
|
|
|
},
|
|
|
searchSwitch() {
|
|
@@ -1250,6 +1273,29 @@ const Task = React.createClass({
|
|
|
{/* </span>*/}
|
|
|
{/*</FormItem>*/}
|
|
|
</div>
|
|
|
+ {/*软著显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新*/}
|
|
|
+ {this.state.bpType === 2 ? <div className="clearfix">
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="加急天数"
|
|
|
+ >
|
|
|
+ {
|
|
|
+ this.state.urgentDay === 1 ? '是' :
|
|
|
+ this.state.urgentDay === 0 ? '否' : ''
|
|
|
+ }
|
|
|
+ </FormItem>
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="有无材料"
|
|
|
+ >
|
|
|
+ {
|
|
|
+ this.state.ifMaterial === 1 ? '是':
|
|
|
+ this.state.ifMaterial === 0 ? '否': ''
|
|
|
+ }
|
|
|
+ </FormItem>
|
|
|
+ </div> : null}
|
|
|
<div className="clearfix">
|
|
|
<div style={{
|
|
|
paddingLeft: '8%',
|
|
@@ -1258,7 +1304,15 @@ const Task = React.createClass({
|
|
|
特别说明
|
|
|
<span style={{color: '#58a3ff',}}>(针对项目的特殊情况说明)</span>
|
|
|
</div>
|
|
|
- <div>{this.state.specialExplain}</div>
|
|
|
+ <div style={{
|
|
|
+ display:'flex',
|
|
|
+ }}>
|
|
|
+ <span style={{paddingRight:'10px',whiteSpace:"nowrap"}}>备注:</span>
|
|
|
+ <span style={{
|
|
|
+ flex: 1,
|
|
|
+ wordBreak: 'break-all',
|
|
|
+ }}>{this.state.specialComment}</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
{
|
|
|
// <FormItem
|
|
@@ -1502,73 +1556,131 @@ const Task = React.createClass({
|
|
|
</div>
|
|
|
<div className="clearfix">
|
|
|
<h3 className="sub-title">项目申报进度</h3>
|
|
|
- <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="申报批次"
|
|
|
- >
|
|
|
- <span>{this.state.declarationBatch}</span>
|
|
|
- </FormItem>
|
|
|
- <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="启动时间"
|
|
|
- >
|
|
|
- <span>{this.state.startDate}</span>
|
|
|
- </FormItem>
|
|
|
- <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="完成时间"
|
|
|
- >
|
|
|
- <span>{this.state.endDate}</span>
|
|
|
- </FormItem>
|
|
|
- <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="受理时间"
|
|
|
- >
|
|
|
- <span>{this.state.acceptDate}</span>
|
|
|
- </FormItem>
|
|
|
- <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="评审时间"
|
|
|
- >
|
|
|
- <span>{this.state.reviewDate}</span>
|
|
|
- </FormItem>
|
|
|
- <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="公示时间"
|
|
|
- >
|
|
|
- <span>{this.state.publicityDate}</span>
|
|
|
- </FormItem>
|
|
|
- <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="发证时间"
|
|
|
- >
|
|
|
- <span>{this.state.licenceDate}</span>
|
|
|
- </FormItem>
|
|
|
- <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="立项金额(万元)"
|
|
|
- >
|
|
|
- <span>{this.state.setUpAmount}</span>
|
|
|
- </FormItem>
|
|
|
- <FormItem
|
|
|
- className="half-item"
|
|
|
- {...formItemLayout}
|
|
|
- label="是否到款"
|
|
|
- >
|
|
|
- <span>
|
|
|
- {this.state.arrivalMoney ? "已到企业" : "未到企业"}
|
|
|
- </span>
|
|
|
- </FormItem>
|
|
|
+ {/*专利显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新*/}
|
|
|
+ {
|
|
|
+ this.state.bpType === 1 ?
|
|
|
+ <div>
|
|
|
+ <FormItem
|
|
|
+ labelCol={{ span: 3 }}
|
|
|
+ wrapperCol={{ span: 16 }}
|
|
|
+ label="是否高新企业"
|
|
|
+ >
|
|
|
+ <span>
|
|
|
+ {
|
|
|
+ this.state.highTechStatus === 1 ? '是':
|
|
|
+ this.state.highTechStatus === 0 ? '否' : ''
|
|
|
+ }
|
|
|
+ </span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem/>
|
|
|
+ <PatentSchedule
|
|
|
+ readOnly
|
|
|
+ taskId={this.state.id}
|
|
|
+ acceptCount={this.state.acceptCount}
|
|
|
+ authorizeCount={this.state.authorizeCount}
|
|
|
+ rejectCount={this.state.rejectCount}
|
|
|
+ commodityQuantity={this.state.commodityQuantity}
|
|
|
+ refresh={()=>{this.xiangqing(this.state.id)}}
|
|
|
+ />
|
|
|
+ </div> :
|
|
|
+ <div>
|
|
|
+ {/*高新显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新*/}
|
|
|
+ {this.state.bpType === 5 ? <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="是否抽查">
|
|
|
+ {
|
|
|
+ this.state.spotCheckStatus === 0 ? '否':
|
|
|
+ this.state.spotCheckStatus === 1 ? '是,未通过':
|
|
|
+ this.state.spotCheckStatus === 2 ? '是,通过': ''
|
|
|
+ }
|
|
|
+ </FormItem> : null}
|
|
|
+ <FormItem/>
|
|
|
+ {this.state.bpType === 5 ? <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="是否立项"
|
|
|
+ >
|
|
|
+ {
|
|
|
+ this.state.setUpStatus === 1 ? '是' :
|
|
|
+ this.state.setUpStatus === 0 ? '否' : ''
|
|
|
+ }
|
|
|
+ </FormItem> : null}
|
|
|
+ {this.state.bpType === 5 ? <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label={this.state.setUpStatus === 1 ? "立项时间" : ''}
|
|
|
+ >
|
|
|
+ {this.state.setUpStatus === 1 ?this.state.setUpTime : null }
|
|
|
+ </FormItem> : null}
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="申报批次"
|
|
|
+ >
|
|
|
+ <span>{this.state.declarationBatch}</span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="启动时间"
|
|
|
+ >
|
|
|
+ <span>{this.state.startDate}</span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="完成时间"
|
|
|
+ >
|
|
|
+ <span>{this.state.endDate}</span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="受理时间"
|
|
|
+ >
|
|
|
+ <span>{this.state.acceptDate}</span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="评审时间"
|
|
|
+ >
|
|
|
+ <span>{this.state.reviewDate}</span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="公示时间"
|
|
|
+ >
|
|
|
+ <span>{this.state.publicityDate}</span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="发证时间"
|
|
|
+ >
|
|
|
+ <span>{this.state.licenceDate}</span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="立项金额(万元)"
|
|
|
+ >
|
|
|
+ <span>{this.state.setUpAmount}</span>
|
|
|
+ </FormItem>
|
|
|
+ <FormItem
|
|
|
+ className="half-item"
|
|
|
+ {...formItemLayout}
|
|
|
+ label="是否到款"
|
|
|
+ >
|
|
|
+ <span>
|
|
|
+ {this.state.arrivalMoney ? "已到企业" : "未到企业"}
|
|
|
+ </span>
|
|
|
+ </FormItem>
|
|
|
+ </div>}
|
|
|
</div>
|
|
|
- <div className="clearfix">
|
|
|
+ {this.state.bpType !== 1 ? <div className="clearfix">
|
|
|
<FormItem
|
|
|
labelCol={{ span: 3 }}
|
|
|
wrapperCol={{ span: 18 }}
|
|
@@ -1603,8 +1715,8 @@ const Task = React.createClass({
|
|
|
/>
|
|
|
</Modal> : null}
|
|
|
</FormItem>
|
|
|
- </div>
|
|
|
- <div className="clearfix">
|
|
|
+ </div> : null}
|
|
|
+ {this.state.bpType !== 1 ? <div className="clearfix">
|
|
|
<FormItem
|
|
|
labelCol={{ span: 3 }}
|
|
|
wrapperCol={{ span: 16 }}
|
|
@@ -1612,7 +1724,7 @@ const Task = React.createClass({
|
|
|
>
|
|
|
<span>{this.state.taskComment}</span>
|
|
|
</FormItem>
|
|
|
- </div>
|
|
|
+ </div>: null}
|
|
|
<div>
|
|
|
<h3 className="sub-title">项目业务</h3>
|
|
|
{this.state.processStatus == 0 ? (
|
|
@@ -1879,7 +1991,15 @@ const Task = React.createClass({
|
|
|
特别说明
|
|
|
<span style={{color: '#58a3ff',}}>(针对项目的特殊情况说明)</span>
|
|
|
</div>
|
|
|
- <div>{this.state.specialExplain}</div>
|
|
|
+ <div style={{
|
|
|
+ display:'flex',
|
|
|
+ }}>
|
|
|
+ <span style={{paddingRight:'10px',whiteSpace:"nowrap"}}>备注:</span>
|
|
|
+ <span style={{
|
|
|
+ flex: 1,
|
|
|
+ wordBreak: 'break-all',
|
|
|
+ }}>{this.state.specialComment}</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
{
|
|
|
// <FormItem
|