projecCount.jsx 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665
  1. import React,{ Component } from 'react';
  2. import {AutoComplete, Button, DatePicker, Input, message, Modal, Select, Spin, Table, Tabs} from "antd";
  3. import {
  4. ShowModal,
  5. getNewDiccityArr
  6. } from "@/tools";
  7. import { citySelect } from '../../../NewDicProvinceList';
  8. import {ChooseList} from "../../order/orderNew/chooseList";
  9. import $ from "jquery/src/ajax";
  10. import moment from "moment";
  11. import {
  12. highTechColumns,
  13. invention,
  14. utilityModel,
  15. softWriting,
  16. otherTrademarks,
  17. currency,
  18. } from './projecCountConfig';
  19. import HighTech from './highTech';
  20. import './index.less';
  21. const {TabPane} = Tabs;
  22. const { RangePicker } = DatePicker;
  23. const { Option } = Select;
  24. class ProjecCount extends Component{
  25. constructor(props) {
  26. super(props);
  27. this.state={
  28. loading:false,
  29. changeList:[],
  30. columns: currency((v,screen)=>{this.openProjectSummary(v,screen)}),
  31. pagination: {
  32. defaultCurrent: 1,
  33. defaultPageSize: 10,
  34. showQuickJumper: true,
  35. pageSize: 10,
  36. onChange: function(page) {
  37. this.loadData(page);
  38. }.bind(this),
  39. showTotal: function(total) {
  40. return "共" + total + "条数据";
  41. }
  42. },
  43. dataSource: [],
  44. taberReleaseDate: [],
  45. taberProjectType: '',
  46. taberCommodityName: '',
  47. releaseDate:[],
  48. searchOrderNo: '',
  49. searchContractNo: '',
  50. searchEnterpriseName: '',
  51. declarationBatch: '',
  52. projectType: '',
  53. projectStatus: '',
  54. province: '',
  55. depId: '',
  56. departmentArr:[],
  57. contactsOption: [],
  58. contactsOptionData: [],
  59. customerArr: [],
  60. commodityName: '',
  61. kid: '',
  62. status: 0,
  63. }
  64. this.loadData = this.loadData.bind(this);
  65. this.resetAll = this.resetAll.bind(this);
  66. this.changeList = this.changeList.bind(this);
  67. this.departmentList = this.departmentList.bind(this);
  68. this.exportPending = this.exportPending.bind(this);
  69. this.selectSuperId = this.selectSuperId.bind(this);
  70. this.supervisorCui = this.supervisorCui.bind(this);
  71. this.httpChangeCui = this.httpChangeCui.bind(this);
  72. this.selectAuto = this.selectAuto.bind(this);
  73. this.openProjectSummary = this.openProjectSummary.bind(this);
  74. }
  75. changeList(arr) {
  76. const newArr = [];
  77. this.state.columns.forEach(item => {
  78. arr.forEach(val => {
  79. if (val === item.title) {
  80. newArr.push(item);
  81. }
  82. });
  83. });
  84. this.setState({
  85. changeList: newArr
  86. });
  87. }
  88. loadData(pageNo) {
  89. this.setState({
  90. page: pageNo,
  91. loading: true,
  92. taberReleaseDate:this.state.releaseDate,
  93. taberProjectType:this.state.projectType,
  94. taberCommodityName:this.state.commodityName,
  95. });
  96. $.ajax({
  97. method: "get",
  98. dataType: "json",
  99. crossDomain: false,
  100. url: globalConfig.context + "/api/admin/statistis/selectProvincialStatistics",
  101. data: {
  102. pageNo: pageNo || 1,
  103. pageSize: this.state.pagination.pageSize,
  104. startDate: this.state.releaseDate.length > 0 ? this.state.releaseDate[0]: undefined, //开始时间
  105. endDate: this.state.releaseDate.length > 0 ? this.state.releaseDate[1]: undefined, //结束时间
  106. province: this.state.province || undefined,
  107. projectStatus: this.state.projectStatus || undefined,//项目类别
  108. projectType: typeof this.state.projectType === 'number' ? this.state.projectType : undefined,//项目分类
  109. status: this.state.status,
  110. thchDepId: this.state.depId || undefined,
  111. projectId: this.state.kid || undefined,
  112. },
  113. success: function(data) {
  114. ShowModal(this);
  115. let theArr = [];
  116. if (!data.data || !data.data.list) {
  117. if (data.error && data.error.length) {
  118. message.warning(data.error[0].message);
  119. }
  120. } else {
  121. for (let i = 0; i < data.data.list.length; i++) {
  122. let thisdata = data.data.list[i];
  123. thisdata.key=(data.data.pageNo - 1) * data.data.pageSize + i + 1;
  124. theArr.push(thisdata);
  125. }
  126. }
  127. this.state.pagination.current = data.data.pageNo;
  128. this.state.pagination.total = data.data.totalCount;
  129. if (data.data && data.data.list && !data.data.list.length) {
  130. this.state.pagination.current = 0;
  131. this.state.pagination.total = 0;
  132. }
  133. this.setState({
  134. dataSource: theArr,
  135. pagination: this.state.pagination
  136. });
  137. }.bind(this)
  138. }).always(
  139. function() {
  140. this.setState({
  141. loading: false
  142. });
  143. }.bind(this)
  144. );
  145. }
  146. //部门
  147. departmentList() {
  148. $.ajax({
  149. method: "get",
  150. dataType: "json",
  151. crossDomain: false,
  152. url: globalConfig.context + "/api/admin/organization/selectSuperId",
  153. data: {},
  154. success: function (data) {
  155. let thedata = data.data;
  156. let theArr = [];
  157. if (!thedata) {
  158. if (data.error && data.error.length) {
  159. message.warning(data.error[0].message);
  160. }
  161. } else {
  162. thedata.map(function (item, index) {
  163. theArr.push({
  164. key: index,
  165. name: item.name,
  166. id: item.id,
  167. });
  168. });
  169. }
  170. this.setState({
  171. departmentArr: theArr,
  172. });
  173. }.bind(this),
  174. })
  175. }
  176. resetAll() {
  177. this.setState({
  178. releaseDate: [],
  179. searchOrderNo: '',
  180. searchContractNo: '',
  181. searchEnterpriseName: '',
  182. declarationBatch: '',
  183. province: '',
  184. depId: '',
  185. projectType: '',
  186. projectStatus: '',
  187. columns: currency((v,screen)=>{this.openProjectSummary(v,screen)}),
  188. commodityName: '',
  189. kid:'',
  190. status: 0,
  191. taberReleaseDate:[],
  192. taberProjectType:'',
  193. taberCommodityName:'',
  194. },()=>{
  195. this.loadData();
  196. })
  197. }
  198. exportPending() {
  199. let url = `/api/admin/statistis/exporProvincialList?status=${this.state.status}`;
  200. let dep = this.state.departmentArr.filter((e)=> e.id === this.state.depId);//责任部门名称
  201. let option = this.state.contactsOptionData.filter((e)=> e.id === this.state.projectStatus); //项目类别名称
  202. if(dep.length > 0){url = url+`&thchDepName=${dep[0].name}`;}
  203. if(option.length > 0){url = url+`&projectStatusName=${option[0].cname}`;}
  204. if(typeof this.state.projectType === 'number'){url = url+`&projectTypeName=${
  205. this.state.projectType === 0? '通用' :
  206. this.state.projectType === 1? '专利' :
  207. this.state.projectType === 2? '软著' :
  208. this.state.projectType === 3? '审计' :
  209. this.state.projectType === 4? '双软' :
  210. this.state.projectType === 5? '高新' :
  211. this.state.projectType === 6? '商标' :''
  212. }`;}
  213. if(this.state.commodityName){url = url+`&projectName=${this.state.commodityName}`;}
  214. if(this.state.province){url = url+`&provinceName=${getNewDiccityArr(this.state.province)}`;}
  215. let data ={
  216. startDate: this.state.releaseDate.length > 0 ? this.state.releaseDate[0]: undefined, //开始时间
  217. endDate: this.state.releaseDate.length > 0 ? this.state.releaseDate[1]: undefined, //结束时间
  218. thchDepId: this.state.depId || undefined,//责任部门ID
  219. projectStatus: this.state.projectStatus || undefined,//项目类别
  220. projectType: typeof this.state.projectType === 'number' ? this.state.projectType : undefined,//项目分类
  221. province: this.state.province || undefined,
  222. projectId: this.state.kid || undefined,
  223. }
  224. for(let key in data){
  225. if(data[key]){
  226. url = url+`&${key}=${data[key]}`;
  227. }
  228. }
  229. window.open(globalConfig.context +url);
  230. }
  231. //项目类别
  232. selectSuperId() {
  233. $.ajax({
  234. method: "get",
  235. dataType: "json",
  236. crossDomain: false,
  237. url: globalConfig.context + "/api/admin/ProjectSize/getAllCname",
  238. data: {
  239. flag: 0
  240. },
  241. success: function(data) {
  242. let theArr = [];
  243. let thedata = data.data;
  244. if (!thedata) {
  245. if (data.error && data.error.length) {
  246. message.warning(data.error[0].message);
  247. }
  248. }
  249. for (let i = 0; i < data.data.length; i++) {
  250. let theData = data.data[i];
  251. theArr.push(
  252. <Select.Option value={theData.id} key={theData.cname}>
  253. {theData.cname}
  254. </Select.Option>
  255. );
  256. }
  257. this.setState({
  258. contactsOption: theArr,
  259. contactsOptionData: data.data,
  260. });
  261. }.bind(this)
  262. }).always(
  263. );
  264. }
  265. supervisorCui(e) {
  266. //客户名称与服务名称自动补全
  267. let api = "/api/admin/order/getBusinessProjectByName";
  268. $.ajax({
  269. method: "get",
  270. dataType: "json",
  271. crossDomain: false,
  272. url: globalConfig.context + api,
  273. data: {
  274. businessName: e,
  275. },
  276. success: function (data) {
  277. let thedata = data.data;
  278. if (!thedata) {
  279. if (data.error && data.error.length) {
  280. message.warning(data.error[0].message);
  281. }
  282. thedata = {};
  283. }
  284. this.setState({
  285. customerArr: thedata,
  286. });
  287. }.bind(this),
  288. }).always(
  289. function () {
  290. this.setState({
  291. loading: false,
  292. });
  293. }.bind(this)
  294. );
  295. }
  296. httpChangeCui(e) {
  297. if (e.length >= 1) {
  298. this.supervisorCui(e, false);
  299. }
  300. this.setState({
  301. commodityName: e,
  302. });
  303. }
  304. //上级主管输入框失去焦点是判断客户是否存在
  305. selectAuto(value){
  306. let kid=[];
  307. let fwList=this.state.customerArr;
  308. fwList.map(function(item){
  309. if(value===item.bname){
  310. kid=item.id
  311. }
  312. })
  313. this.setState({
  314. kid:kid,
  315. commodityName:value,
  316. })
  317. }
  318. componentWillMount() {
  319. this.loadData();
  320. this.departmentList();
  321. this.selectSuperId();
  322. }
  323. openProjectSummary(record,screen){
  324. this.setState({
  325. projectSummary: true,
  326. taberProvince: record.province,
  327. taberProjectStatus: record.bpId,//项目类别
  328. taberdepId: record.thchDepId,
  329. screen: screen,
  330. })
  331. }
  332. render() {
  333. const dataSources=this.state.customerArr || [];
  334. const options = dataSources.map((group,index) =>
  335. <Select.Option key={index} value={group.bname}>{group.bname}</Select.Option>
  336. )
  337. return (
  338. <div className="user-content">
  339. <div className="content-title">
  340. <span>
  341. 项目统计
  342. (
  343. {
  344. this.state.status === 2 ? '专利' :
  345. this.state.status === 4 ? '软著' :
  346. this.state.status === 1 ? '高新' :
  347. this.state.status === 5 ? '商标' : '通用'
  348. }
  349. )
  350. </span>
  351. </div>
  352. <Tabs defaultActiveKey="1" className="test">
  353. <TabPane tab="搜索" key="1">
  354. <div className="user-search" style={{
  355. marginTop:'10px',
  356. marginLeft:'10px',
  357. marginRight:'10px'
  358. }}>
  359. <span style={{display: "inline-block",marginRight:'10px',marginBottom:'10px'}}>
  360. <span>项目名称:</span>
  361. <AutoComplete
  362. className="certain-category-search"
  363. dropdownClassName="certain-category-search-dropdown"
  364. dropdownMatchSelectWidth={false}
  365. dropdownStyle={{ width: 200 }}
  366. style={{ width: 100,marginLeft:'10px' }}
  367. dataSource={options}
  368. placeholder="输入服务名称"
  369. value={this.state.commodityName}
  370. onChange={this.httpChangeCui}
  371. filterOption={true}
  372. onSelect={this.selectAuto}
  373. >
  374. <Input/>
  375. </AutoComplete>
  376. </span>
  377. <span style={{display:"inline-block"}}>
  378. <span style={{marginRight:'10px',marginBottom:'10px'}}>项目类别 :</span>
  379. <Select
  380. value={this.state.projectStatus || undefined}
  381. placeholder="请选择项目类别"
  382. notFoundContent="未获取到上级品类列表"
  383. style={{ width: 100,marginRight:'10px',marginBottom:'10px' }}
  384. onChange={(e) => {
  385. let infor = this.state.contactsOptionData.filter((v)=>v.id === e);
  386. this.setState({
  387. projectStatus: e,
  388. },()=>{
  389. if(infor.length && infor[0].cname === '高新' && typeof this.state.projectType !== 'number'){
  390. this.setState({
  391. columns: highTechColumns((v,screen)=>{this.openProjectSummary(v,screen)}),
  392. changeList: [],
  393. status: 1,
  394. },()=>{
  395. this.loadData();
  396. })
  397. }else if (typeof this.state.projectType !== 'number'){
  398. this.setState({
  399. columns: currency((v,screen)=>{this.openProjectSummary(v,screen)}),
  400. changeList: [],
  401. status: 0,
  402. },()=>{
  403. this.loadData();
  404. })
  405. }else{
  406. this.loadData();
  407. }
  408. })
  409. }}
  410. >
  411. {this.state.contactsOption}
  412. </Select>
  413. </span>
  414. <span style={{display:"inline-block"}}>
  415. <span style={{marginRight:'10px',marginBottom:'10px'}}>项目分类 :</span>
  416. <Select
  417. value={typeof this.state.projectType === 'number' ? this.state.projectType : undefined}
  418. placeholder="请选择项目分类"
  419. style={{ width: 100,marginRight:'10px',marginBottom:'10px' }}
  420. onChange={(e) => {
  421. this.setState({
  422. columns:
  423. e === 0 ? currency((v,screen)=>{this.openProjectSummary(v,screen)}) :
  424. e === 1 ? invention((v,screen)=>{this.openProjectSummary(v,screen)}) :
  425. e === 2 ? softWriting((v,screen)=>{this.openProjectSummary(v,screen)}) :
  426. e === 3 ? currency((v,screen)=>{this.openProjectSummary(v,screen)}) :
  427. e === 4 ? currency((v,screen)=>{this.openProjectSummary(v,screen)}):
  428. e === 5 ? highTechColumns((v,screen)=>{this.openProjectSummary(v,screen)}) :
  429. e === 6 ? otherTrademarks((v,screen)=>{this.openProjectSummary(v,screen)}) :[],
  430. changeList: [],
  431. projectType: e,
  432. status: e === 1 ? 2 : e === 2 ? 4 : e === 5 ? 1 : e === 6 ? 5 : 0, // 0通用 1高新 2发明专利 3实用新型 4软著 5商标
  433. },()=>{
  434. this.loadData();
  435. })
  436. }}
  437. >
  438. <Option value={0}>通用</Option>
  439. <Option value={1}>专利</Option>
  440. <Option value={2}>软著</Option>
  441. <Option value={3}>审计</Option>
  442. <Option value={4}>双软</Option>
  443. <Option value={5}>高新</Option>
  444. <Option value={6}>商标</Option>
  445. </Select>
  446. </span>
  447. <span style={{display: "inline-block",marginRight:'10px',marginBottom:'10px'}}>
  448. <span>派单省份:</span>
  449. <Select
  450. placeholder="请选择省份"
  451. style={{ width: 100,marginRight:'10px',marginLeft:'10px',marginBottom:'10px' }}
  452. value={getNewDiccityArr(this.state.province)}
  453. onChange={e => {
  454. this.setState({ province: e });
  455. }}
  456. >
  457. {citySelect().map(function(item) {
  458. return (
  459. <Select.Option key={item.value} value={item.value}>{item.label}</Select.Option>
  460. );
  461. })}
  462. </Select>
  463. </span>
  464. <span style={{display: "inline-block",marginRight:'10px',marginBottom:'10px'}}>
  465. <span>负责部门:</span>
  466. <Select
  467. placeholder="请选择部门"
  468. style={{ width: 200,marginRight:'10px',marginLeft:'10px',marginBottom:'10px' }}
  469. value={this.state.depId || undefined}
  470. onChange={e => {
  471. this.setState({ depId: e });
  472. }}
  473. >
  474. {
  475. this.state.departmentArr.map(function (item) {
  476. return <Select.Option key={item.id} value={item.id}>{item.name}</Select.Option>
  477. })
  478. }
  479. </Select>
  480. </span>
  481. <span style={{display:"inline-block"}}>
  482. <span style={{marginRight:'10px',marginBottom:'10px'}}>派单时间 :</span>
  483. <RangePicker
  484. style={{marginRight:'10px',marginBottom:'10px'}}
  485. value={[
  486. this.state.releaseDate[0]
  487. ? moment(this.state.releaseDate[0])
  488. : null,
  489. this.state.releaseDate[1]
  490. ? moment(this.state.releaseDate[1])
  491. : null,
  492. ]}
  493. onChange={(data, dataString) => {
  494. this.setState({ releaseDate: dataString });
  495. }}
  496. />
  497. </span>
  498. <Button type="primary" onClick={()=>{
  499. if(this.state.commodityName.length === 0){
  500. this.setState({
  501. kid: '',
  502. },()=>{
  503. this.loadData();
  504. })
  505. }else{
  506. this.loadData();
  507. }
  508. }} style={{marginRight:'10px',marginBottom:'10px'}}>搜索</Button>
  509. <Button onClick={this.resetAll} style={{marginRight:'10px',marginBottom:'10px'}}>重置</Button>
  510. </div>
  511. </TabPane>
  512. <TabPane tab="更改表格显示数据" key="2">
  513. <div style={{ marginLeft: 10 }}>
  514. <ChooseList
  515. columns={this.state.columns}
  516. changeFn={this.changeList}
  517. changeList={this.state.changeList}
  518. top={55}
  519. margin={11}
  520. />
  521. </div>
  522. </TabPane>
  523. <TabPane tab="导出EXCEL" key="3">
  524. <Button type="primary" style={{margin: '10px'}} onClick={this.exportPending}>导出</Button>
  525. </TabPane>
  526. </Tabs>
  527. <div className="patent-table">
  528. <Spin spinning={this.state.loading}>
  529. <Table
  530. bordered
  531. size="middle"
  532. scroll={{ x: 800, y: 0 }}
  533. columns={
  534. this.state.changeList.length > 0
  535. ? this.state.changeList
  536. : this.state.columns
  537. }
  538. dataSource={this.state.dataSource}
  539. pagination={this.state.pagination}
  540. />
  541. </Spin>
  542. </div>
  543. {this.state.projectSummary ? <Modal
  544. maskClosable={false}
  545. className="customeDetails"
  546. footer=""
  547. title=""
  548. width="1800px"
  549. visible={this.state.projectSummary}
  550. onOk={()=>{
  551. this.setState({
  552. projectSummary: false
  553. })
  554. }}
  555. onCancel={()=>{
  556. this.setState({
  557. projectSummary: false
  558. })
  559. }}
  560. >
  561. <HighTech
  562. searchData={{
  563. startDate: this.state.releaseDate.length > 0 ? this.state.releaseDate[0]: undefined, //开始时间
  564. endDate: this.state.releaseDate.length > 0 ? this.state.releaseDate[1]: undefined, //结束时间
  565. projectType: typeof this.state.projectType === 'number' ? this.state.projectType : undefined,//项目分类
  566. projectId: this.state.kid || undefined,
  567. province: this.state.taberProvince || undefined,
  568. projectStatus: this.state.taberProjectStatus || undefined,//项目类别
  569. thchDepId: this.state.taberdepId || undefined,
  570. status: this.state.projectType === 4 ? 2 :
  571. this.state.projectType === 2 ? 3 :
  572. this.state.projectType === 1 ? 4 :
  573. this.state.projectType === 5 ? 1 :
  574. this.state.contactsOptionData.filter((v)=>v.id === this.state.taberProjectStatus).length > 0 ?
  575. (this.state.contactsOptionData.filter((v)=>v.id === this.state.taberProjectStatus)[0].cname === '高新' ? 1 : 0) : 0,
  576. screen: this.state.screen,//筛选项 0库存 1派单 2完成 3立项 4抽查 5未通过 6受理 7完结 8授权 9驳回 10下证 11申请 12公示数
  577. }}
  578. introduce={()=>(
  579. <div className="user-search" style={{
  580. marginTop:'10px',
  581. marginLeft:'10px',
  582. marginRight:'10px'
  583. }}>
  584. {this.state.taberProvince ? <span style={{display: "inline-block",marginRight:'20px',marginBottom:'10px'}}>
  585. <span>派单省份:</span>
  586. <span style={{ width: 100,marginLeft:'10px' }}>{getNewDiccityArr(this.state.taberProvince)}</span>
  587. </span> : null}
  588. {this.state.taberProjectStatus ? <span style={{display:"inline-block",marginRight:'20px',marginBottom:'10px'}}>
  589. <span>项目类别 :</span>
  590. <span style={{ width: 100,marginLeft:'10px' }}>
  591. {
  592. this.state.contactsOptionData.filter((v)=>v.id === this.state.taberProjectStatus)[0].cname
  593. }
  594. </span>
  595. </span> : null}
  596. {this.state.taberdepId ? <span style={{display: "inline-block",marginRight:'20px',marginBottom:'10px'}}>
  597. <span>负责部门:</span>
  598. <span style={{ width: 200,marginLeft:'10px' }}>
  599. {
  600. this.state.departmentArr.filter((v)=>v.id === this.state.taberdepId)[0].name
  601. }
  602. </span>
  603. </span> : null}
  604. {this.state.taberCommodityName ? <span style={{display: "inline-block",marginRight:'20px',marginBottom:'10px'}}>
  605. <span>项目名称:</span>
  606. <span style={{ width: 100,marginLeft:'10px' }}>{this.state.taberCommodityName}</span>
  607. </span> : null}
  608. {typeof this.state.taberProjectType === 'number'?<span style={{display:"inline-block",marginRight:'20px',marginBottom:'10px'}}>
  609. <span>项目分类 :</span>
  610. <span style={{ width: 100,marginRight:'10px' }}>
  611. {
  612. this.state.taberProjectType === 0 ? '通用' :
  613. this.state.taberProjectType === 1 ? '专利' :
  614. this.state.taberProjectType === 2 ? '软著' :
  615. this.state.taberProjectType === 3 ? '审计' :
  616. this.state.taberProjectType === 4 ? '双软':
  617. this.state.taberProjectType === 5 ? '高新' :
  618. this.state.taberProjectType === 6 ? '商标' : ''
  619. }
  620. </span>
  621. </span> : null}
  622. {this.state.taberReleaseDate.length > 0 ? <span style={{display:"inline-block",marginRight:'20px',marginBottom:'10px'}}>
  623. <span>派单时间 :</span>
  624. <span style={{ width: 100,marginRight:'10px' }}>
  625. {this.state.taberReleaseDate[0]+'~'+this.state.taberReleaseDate[1]}
  626. </span>
  627. </span> : null}
  628. </div>
  629. )}
  630. />
  631. </Modal> : null}
  632. </div>
  633. )
  634. }
  635. }
  636. export default ProjecCount;