myTaskCount.jsx 73 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154
  1. import React from 'react';
  2. import {
  3. Button,
  4. Input,
  5. Spin,
  6. Table,
  7. message,
  8. DatePicker,
  9. Upload,
  10. Form,
  11. Modal,
  12. Select,
  13. Tabs,
  14. Tag, Tooltip
  15. } from "antd";
  16. import $ from 'jquery/src/ajax';
  17. import moment from 'moment';
  18. import ResolutionDetail from "@/resolutionDetail";
  19. import {
  20. getLiquidationStatus,
  21. getProcessStatus,
  22. splitUrl,
  23. getboutique,
  24. getTaskStatus,
  25. getApproval,
  26. getprovince,
  27. getProjectName,
  28. } from "@/tools.js";
  29. import { ChooseList } from "../../order/orderNew/chooseList";
  30. import PatentSchedule from './patentSchedule';
  31. import DeclarationProgress from "../../../common/declarationProgress";
  32. import ProjectDetailsReadOnly from "../../../common/projectDetailsReadOnly";
  33. import OrderItemStatus from "../../../common/orderItemStatus";
  34. import EnterpriseNameChange from "../../../common/enterpriseNameChange";
  35. const { TabPane } = Tabs
  36. const MyTaskCount = Form.create()(
  37. React.createClass({
  38. departmentList() {
  39. $.ajax({
  40. method: "get",
  41. dataType: "json",
  42. crossDomain: false,
  43. url: globalConfig.context + "/api/admin/organization/selectSuperId",
  44. data: {},
  45. success: function (data) {
  46. let thedata = data.data;
  47. let theArr = [];
  48. if (!thedata) {
  49. if (data.error && data.error.length) {
  50. message.warning(data.error[0].message);
  51. }
  52. } else {
  53. thedata.map(function (item, index) {
  54. theArr.push({
  55. key: index,
  56. name: item.name,
  57. id: item.id
  58. });
  59. });
  60. }
  61. this.setState({
  62. departmentArr: theArr
  63. });
  64. }.bind(this)
  65. }).always(
  66. function () {
  67. }.bind(this)
  68. );
  69. },
  70. loadData(pageNo) {
  71. this.setState({
  72. visitModul: false,
  73. loading: true,
  74. ispage: pageNo,
  75. modalVisible: false
  76. });
  77. let nameText = this.state.SuperArr;
  78. let superText =
  79. this.state.cid && typeof this.state.cid != "object"
  80. ? nameText[parseInt(this.state.cid)].id
  81. : "";
  82. if (superText) {
  83. $.ajax({
  84. method: "get",
  85. dataType: "json",
  86. crossDomain: false,
  87. url: globalConfig.context + "/api/admin/orderProject/taskHoursList",
  88. data: {
  89. pageNo: pageNo || 1,
  90. pageSize: this.state.pagination.pageSize,
  91. name: this.state.customerName, //名称
  92. taskId: this.state.idSearch, //订单编号
  93. orderNo: this.state.orderNoSearch,
  94. starTime: this.state.releaseDate[0], //开始时间
  95. endTime: this.state.releaseDate[1], //结束时间
  96. contractNo: this.state.contractNoSearch,
  97. cid: superText, //业务分类
  98. depId: this.state.departmenttList, //部门ID
  99. outsource: this.state.outsourceSearch
  100. },
  101. success: function (data) {
  102. let theArr = [];
  103. if (data.error.length || data.data.list == "") {
  104. if (data.error && data.error.length) {
  105. message.warning(data.error[0].message);
  106. }
  107. } else {
  108. for (let i = 0; i < data.data.list.length; i++) {
  109. let thisdata = data.data.list[i];
  110. theArr.push({
  111. key: i,
  112. id: thisdata.id, //ID
  113. orderNo: thisdata.orderNo, //订单编号
  114. taskName: thisdata.taskName, //任务名称
  115. userName: thisdata.userName, //客户名称
  116. cname: thisdata.cname, //项目品类
  117. taskStatus: thisdata.taskStatus, //任务状态
  118. receiverName: thisdata.receiverName, //负责人
  119. hours: thisdata.hours, //任务工时
  120. depName: thisdata.depName, //派单公司
  121. contractNo: thisdata.contractNo,
  122. signTime: thisdata.signTime,
  123. creteTime: thisdata.creteTime,
  124. projectStatus: thisdata.projectStatus,
  125. commodityPrice: thisdata.commodityPrice, //价格
  126. commodityQuantity: thisdata.commodityQuantity, //数量
  127. salesmanName: thisdata.salesmanName, //订单负责人
  128. taskDistributionTime: thisdata.taskDistributionTime,
  129. taskEndTime: thisdata.taskEndTime,
  130. outsource: thisdata.outsource,
  131. splitStatus: thisdata.splitStatus,
  132. splitSuper: thisdata.splitSuper,
  133. splitId: thisdata.splitId
  134. });
  135. }
  136. this.state.pagination.total = data.data.totalCount;
  137. }
  138. if (data.data && data.data.list && !data.data.list.length) {
  139. this.state.pagination.total = 0;
  140. }
  141. this.setState({
  142. dataSource: theArr,
  143. pageNo: pageNo,
  144. pagination: this.state.pagination,
  145. selectedRowKeys: []
  146. });
  147. }.bind(this)
  148. }).always(
  149. function () {
  150. this.setState({
  151. loading: false
  152. });
  153. }.bind(this)
  154. );
  155. } else {
  156. $.ajax({
  157. method: "get",
  158. dataType: "json",
  159. crossDomain: false,
  160. url: globalConfig.context + "/api/admin/orderProject/taskHoursList",
  161. data: {
  162. pageNo: pageNo || 1,
  163. pageSize: this.state.pagination.pageSize,
  164. name: this.state.customerName, //名称
  165. taskId: this.state.idSearch, //订单编号
  166. orderNo: this.state.orderNoSearch,
  167. starTime: this.state.releaseDate[0], //开始时间
  168. endTime: this.state.releaseDate[1], //结束时间
  169. contractNo: this.state.contractNoSearch,
  170. depId: this.state.departmenttList, //部门ID
  171. outsource: this.state.outsourceSearch
  172. },
  173. success: function (data) {
  174. let theArr = [];
  175. if (data.error.length || data.data.list == "") {
  176. if (data.error && data.error.length) {
  177. message.warning(data.error[0].message);
  178. }
  179. } else {
  180. for (let i = 0; i < data.data.list.length; i++) {
  181. let thisdata = data.data.list[i];
  182. thisdata.key = i;
  183. theArr.push(thisdata);
  184. }
  185. this.state.pagination.total = data.data.totalCount;
  186. }
  187. if (data.data && data.data.list && !data.data.list.length) {
  188. this.state.pagination.total = 0;
  189. }
  190. this.setState({
  191. dataSource: theArr,
  192. pageNo: pageNo,
  193. pagination: this.state.pagination,
  194. selectedRowKeys: []
  195. });
  196. }.bind(this)
  197. }).always(
  198. function () {
  199. this.setState({
  200. loading: false
  201. });
  202. }.bind(this)
  203. );
  204. }
  205. },
  206. getInitialState() {
  207. return {
  208. loading: false,
  209. page: 1,
  210. releaseDate: [],
  211. declarationBatch: 1,
  212. dataInfor: {},
  213. selectedRowKeys: [],
  214. timeRecordparse: {},
  215. orgCodeUrl: [],
  216. paginations: false,
  217. pagination: {
  218. defaultCurrent: 1,
  219. defaultPageSize: 10,
  220. showQuickJumper: true,
  221. pageSize: 10,
  222. onChange: function (page) {
  223. this.loadData(page);
  224. }.bind(this),
  225. showTotal: function (total) {
  226. return "共" + total + "条数据";
  227. }
  228. },
  229. columns: [
  230. {
  231. title: "合同编号",
  232. dataIndex: "contractNo",
  233. key: "contractNo"
  234. },
  235. {
  236. title: "订单编号",
  237. dataIndex: "orderNo",
  238. key: "orderNo"
  239. },
  240. {
  241. title: "项目编号",
  242. dataIndex: "id",
  243. key: "id",
  244. render: (text, record) => {
  245. if (record.splitStatus == 2) {
  246. return <span>{record.splitSuper + "-" + record.splitId}</span>;
  247. } else {
  248. return text;
  249. }
  250. }
  251. },
  252. {
  253. title: "客户名称",
  254. dataIndex: "userName",
  255. key: "userName",
  256. render: text => {
  257. return (
  258. <Tooltip title={text}>
  259. <div style={{
  260. maxWidth: '150px',
  261. overflow: 'hidden',
  262. textOverflow: "ellipsis",
  263. whiteSpace: 'nowrap',
  264. }}>{text}</div>
  265. </Tooltip>
  266. )
  267. }
  268. },
  269. {
  270. title: "订单部门",
  271. dataIndex: "depName",
  272. key: "depName"
  273. },
  274. {
  275. title: "订单负责人",
  276. dataIndex: "salesmanName",
  277. key: "salesmanName"
  278. },
  279. {
  280. title: "项目类别",
  281. dataIndex: "cname",
  282. key: "cname"
  283. },
  284. {
  285. title: "项目名称",
  286. dataIndex: "taskName",
  287. key: "taskName"
  288. },
  289. {
  290. title: "项目负责人",
  291. dataIndex: "receiverName",
  292. key: "receiverName"
  293. },
  294. {
  295. title: "项目价格(万元)",
  296. dataIndex: "commodityPrice",
  297. key: "commodityPrice"
  298. },
  299. {
  300. title: "实际成本(万元)",
  301. dataIndex: "costAmount",
  302. key: "costAmount"
  303. },
  304. {
  305. title: "已付成本(万元)",
  306. dataIndex: "partyAmount",
  307. key: "partyAmount"
  308. },
  309. {
  310. title: "数量(个)",
  311. dataIndex: "commodityQuantity",
  312. key: "commodityQuantity"
  313. },
  314. {
  315. title: "任务状态",
  316. dataIndex: "taskStatus",
  317. key: "taskStatus",
  318. render: text => {
  319. return getTaskStatus(text);
  320. }
  321. },
  322. {
  323. title: "项目状态",
  324. dataIndex: "projectStatus",
  325. key: "projectStatus",
  326. render: text => {
  327. return getProjectName(text);
  328. }
  329. },
  330. {
  331. title: "工时",
  332. dataIndex: "hours",
  333. key: "hours"
  334. },
  335. {
  336. title: "是否外包",
  337. dataIndex: "outsource",
  338. key: "outsource",
  339. render: text => {
  340. if (text == 0) {
  341. return "否";
  342. } else if (text == 1) {
  343. return "是";
  344. }
  345. }
  346. },
  347. {
  348. title: "签单日期",
  349. dataIndex: "signTime",
  350. key: "signTime"
  351. },
  352. {
  353. title: "派单日期",
  354. dataIndex: "creteTime",
  355. key: "creteTime"
  356. },
  357. {
  358. title: "分配时间",
  359. dataIndex: "taskDistributionTime",
  360. key: "taskDistributionTime"
  361. },
  362. {
  363. title: "完成时间",
  364. dataIndex: "taskEndTime",
  365. key: "taskEndTime"
  366. }
  367. ],
  368. data: [],
  369. dataSource: [],
  370. columnsX: [
  371. {
  372. title: "业务项目名称",
  373. dataIndex: "commodityName",
  374. key: "commodityName",
  375. render: (text, record) => {
  376. return (
  377. <span>{text}<span style={{ color: "red" }}>{record.patentTypeName}</span></span>
  378. )
  379. }
  380. },
  381. {
  382. title: "项目类别",
  383. dataIndex: "cname",
  384. key: "cname"
  385. },
  386. {
  387. title: "项目数量",
  388. dataIndex: "commodityQuantity",
  389. key: "commodityQuantity",
  390. render: (text, record) => {
  391. if (record.splitStatus == 1) {
  392. return (
  393. <span>
  394. {text}{" "}
  395. <Tag
  396. color="#108ee9"
  397. onClick={e => {
  398. e.stopPropagation();
  399. this.showRes(record);
  400. }}
  401. >
  402. 已拆
  403. </Tag>
  404. </span>
  405. );
  406. } else {
  407. return text;
  408. }
  409. }
  410. },
  411. {
  412. title: "金额(万元)",
  413. dataIndex: "commodityPrice",
  414. key: "commodityPrice"
  415. },
  416. {
  417. title: "负责人",
  418. dataIndex: "contacts",
  419. key: "contacts"
  420. },
  421. {
  422. title: "负责人电话",
  423. dataIndex: "contactsMobile",
  424. key: "contactsMobile"
  425. },
  426. {
  427. title: "主要项目",
  428. dataIndex: "main",
  429. key: "main",
  430. render: text => {
  431. return text ? "是" : "否";
  432. }
  433. },
  434. {
  435. title: "项目说明",
  436. dataIndex: "taskComment",
  437. key: "taskComment",
  438. render: text => {
  439. return text && text.length > 8 ? text.substr(0, 8) + "…" : text;
  440. }
  441. }
  442. ],
  443. columnsA: [
  444. {
  445. title: "流程",
  446. dataIndex: "content",
  447. key: "content",
  448. align: "center"
  449. },
  450. {
  451. title: "操作人",
  452. dataIndex: "aName",
  453. key: "aName",
  454. align: "center"
  455. },
  456. {
  457. title: "时间",
  458. dataIndex: "createTimes",
  459. key: "createTimes",
  460. align: "center"
  461. }
  462. ],
  463. dataSourceX: [],
  464. dataSourceA: [],
  465. ContactsLists: [
  466. {
  467. title: "批次",
  468. dataIndex: "num",
  469. key: "num"
  470. },
  471. {
  472. title: "下证时间",
  473. dataIndex: "licenceTimes",
  474. key: "licenceTimes"
  475. },
  476. {
  477. title: "下证数量",
  478. dataIndex: "alreadyNumber",
  479. key: "alreadyNumber"
  480. },
  481. {
  482. title: "未下证数量",
  483. dataIndex: "notCount",
  484. key: "notCount"
  485. }
  486. ]
  487. };
  488. },
  489. //页面加载函数
  490. componentWillMount() {
  491. this.loadData();
  492. this.selectSuperId();
  493. this.departmentList();
  494. },
  495. // //整行点击
  496. tableRowClick(record) {
  497. this.state.RowData = record;
  498. if (record.taskName.substring(0, 5) === "软件著作权") {
  499. this.setState({
  500. speVisible: true,
  501. id: record.id,
  502. splitStatus: record.splitStatus,
  503. splitSuper: record.splitSuper,
  504. splitId: record.splitId,
  505. dataArr: record,
  506. commodityQuantity: record.commodityQuantity
  507. });
  508. } else {
  509. this.setState({
  510. visible: true,
  511. splitStatus: record.splitStatus,
  512. splitSuper: record.splitSuper,
  513. splitId: record.splitId
  514. });
  515. }
  516. this.setState({
  517. isIso: record.taskName.indexOf("贯标") !== -1,
  518. })
  519. this.xiangqing(record.id, record.taskName);
  520. this.xiangqings(record.orderNo);
  521. this.xiangmu(record.orderNo);
  522. this.loaduserss(record);
  523. },
  524. //订单详情
  525. xiangqing(id) {
  526. $.ajax({
  527. method: "get",
  528. dataType: "json",
  529. crossDomain: false,
  530. url: globalConfig.context + "/api/admin/orderProject/orderTaskDetail",
  531. data: {
  532. id: id
  533. },
  534. success: function (data) {
  535. if (data.error.length || data.data.list == "") {
  536. if (data.error && data.error.length) {
  537. message.warning(data.error[0].message);
  538. }
  539. } else {
  540. let thisdata = data.data;
  541. this.setState({
  542. certificationCorporate: thisdata.certificationCorporate,//认证费公司
  543. certificationFee: thisdata.certificationFee,//认证费
  544. ifCertificationFee: thisdata.ifCertificationFee,//是否包含认证费
  545. id: thisdata.id, //ID
  546. orderNo: thisdata.orderNo, //订单编号
  547. userName: thisdata.userName, //客户名称
  548. taskName: thisdata.taskName, //任务名称
  549. cname: thisdata.cname, //项目品类
  550. contractNo: thisdata.contractNo, //合同编号
  551. projectStatus: thisdata.projectStatus, //项目状态
  552. taskStatus: thisdata.taskStatus, //任务状态
  553. taskDate: thisdata.taskDate, //分配时间
  554. taskComment: thisdata.taskComment, //说明
  555. attachmentUrl: thisdata.attachmentUrl
  556. ? splitUrl(
  557. thisdata.attachmentUrl,
  558. ",",
  559. globalConfig.avatarHost + "/upload"
  560. )
  561. : [], //图片地址
  562. salesmanName: thisdata.salesmanName, //订单负责人
  563. startDate: thisdata.startDate, //启动日期
  564. endDate: thisdata.endDate, //结束日期
  565. acceptDate: thisdata.acceptDate, //受理日期
  566. reviewDate: thisdata.reviewDate, //评审日期
  567. publicityDate: thisdata.publicityDate, //公示日期
  568. licenceDate: thisdata.licenceDate, //发证日期
  569. contacts: thisdata.contacts, //联系人
  570. contactMobile: thisdata.contactMobile, //联系人电话
  571. legalPerson: thisdata.legalPerson, //法人
  572. legalPersonTel: thisdata.legalPersonTel, //法人电话
  573. certificateNumber: thisdata.certificateNumber, //证书编号
  574. status: thisdata.status, //状态
  575. formRetrieve: thisdata.formRetrieve, //满意度表格
  576. taskRefund: thisdata.taskRefund, //退单
  577. refundContent: thisdata.refundContent, //退单信息
  578. retrieveContent: thisdata.retrieveContent, //回收信息
  579. arrivalMoney: thisdata.arrivalMoney, //是否到款
  580. setUpAmount: thisdata.setUpAmount, //立项金额
  581. declareUser: thisdata.declareUser, //账号
  582. declarePwd: thisdata.declarePwd, //密码
  583. depName: thisdata.depName, //订单部门
  584. outsourceName: thisdata.outsourceName, //外包公司名称
  585. outsourcePrice: thisdata.outsourcePrice, //外包价格
  586. declarationBatch: thisdata.declarationBatch,
  587. bpType: thisdata.bpType,//0 正常 1专利 2软著 3审计 4双软 5高新 6商标
  588. cSort: thisdata.sort,
  589. specialComment: thisdata.specialComment,
  590. urgentDay: thisdata.urgentDay, //有无材料
  591. ifMaterial: thisdata.ifMaterial, //加急情况
  592. spotCheckStatus: thisdata.spotCheckStatus,
  593. setUpStatus: thisdata.setUpStatus,
  594. setUpTime: thisdata.setUpTime,
  595. highTechStatus: thisdata.highTechStatus,
  596. acceptCount: thisdata.acceptCount, //受理数
  597. certificatesCount: thisdata.certificatesCount, //授权数
  598. rejectCount: thisdata.rejectCount, //驳回数
  599. commodityQuantity: thisdata.commodityQuantity, //派单项目数
  600. timeRecordparse: thisdata.timeRecord ? JSON.parse(thisdata.timeRecord) : {},
  601. });
  602. }
  603. }.bind(this)
  604. }).always(
  605. function () {
  606. this.setState({
  607. loading: false
  608. });
  609. }.bind(this)
  610. );
  611. },
  612. // 拆分详细
  613. showRes(record) {
  614. this.setState({
  615. resVisible: true,
  616. resRecord: record
  617. });
  618. },
  619. resCancel() {
  620. this.setState({
  621. resVisible: false
  622. });
  623. },
  624. //订单详情
  625. xiangqings(orderNos) {
  626. $.ajax({
  627. method: "get",
  628. dataType: "json",
  629. crossDomain: false,
  630. url: globalConfig.context + "/api/admin/newOrder/getOrderNewDetail",
  631. data: {
  632. orderNo: orderNos
  633. },
  634. success: function (data) {
  635. let thisdata = data.data;
  636. let ProvinceCityArr = [];
  637. let ProvinceS = thisdata.locationProvince; //省
  638. let citys = thisdata.locationCity; //市
  639. let Areas = thisdata.locationArea; //区
  640. ProvinceCityArr.push(ProvinceS, citys, Areas);
  641. if (data.error.length || data.data.list == "") {
  642. if (data.error && data.error.length) {
  643. message.warning(data.error[0].message);
  644. }
  645. } else {
  646. this.setState({
  647. orderUid: thisdata.uid,
  648. processStatus: thisdata.processStatus, //流程状态
  649. liquidationStatus: thisdata.liquidationStatus, //结算状态
  650. approval: thisdata.approval, //特批状态
  651. orderRemarks: thisdata.orderRemarks, //订单留言
  652. salesmanName: thisdata.salesmanName, //营销员名称
  653. salesmanMobile: thisdata.salesmanMobile, //营销员电话
  654. financeName: thisdata.financeName, //财务名称
  655. financeMobile: thisdata.financeMobile, //财务电话
  656. depName: thisdata.depName, //订单部门
  657. locationProvince: thisdata.locationProvince,
  658. locationCity: thisdata.locationCity,
  659. locationArea: thisdata.locationArea,
  660. ProvinceCity: ProvinceCityArr,
  661. postalAddress: thisdata.postalAddress, //详细地址
  662. outsource: thisdata.outsource,
  663. deleteSign: thisdata.deleteSign,
  664. });
  665. }
  666. }.bind(this)
  667. }).always(
  668. function () {
  669. this.setState({
  670. loading: false
  671. });
  672. }.bind(this)
  673. );
  674. },
  675. //查看下证信息
  676. loaduserss(record) {
  677. $.ajax({
  678. method: "get",
  679. dataType: "json",
  680. crossDomain: false,
  681. url:
  682. globalConfig.context + "/api/admin/orderProject/selectTaskProgress",
  683. data: {
  684. tid: record.id
  685. },
  686. success: function (data) {
  687. let theArr = [];
  688. let thisData = [];
  689. if (!thisData) {
  690. if (data.error && data.error.length) {
  691. message.warning(data.error[0].message);
  692. }
  693. thisData = {};
  694. } else {
  695. for (let i = 0; i < data.data.length; i++) {
  696. thisData = data.data[i];
  697. theArr.push({
  698. num: i + 1,
  699. key: i,
  700. id: thisData.id, //编号
  701. alreadyNumber: thisData.alreadyNumber, //下证数
  702. licenceTimes: thisData.licenceTimes, //下证时间
  703. notCount: thisData.notCount, //未下证数
  704. flag: true
  705. });
  706. }
  707. this.setState({
  708. contactList: theArr
  709. });
  710. }
  711. }.bind(this)
  712. }).always(
  713. function () {
  714. this.setState({
  715. loading: false
  716. });
  717. }.bind(this)
  718. );
  719. },
  720. caozuorizhi() {
  721. this.setState({
  722. visibleA: true
  723. });
  724. $.ajax({
  725. method: "get",
  726. dataType: "json",
  727. crossDomain: false,
  728. url: globalConfig.context + "/api/admin/orderProject/TaskLogList",
  729. data: {
  730. id: this.state.id
  731. },
  732. success: function (data) {
  733. let theArr = [];
  734. if (data.error.length || data.data.list == "") {
  735. if (data.error && data.error.length) {
  736. message.warning(data.error[0].message);
  737. }
  738. } else {
  739. for (let i = 0; i < data.data.length; i++) {
  740. let thisdata = data.data[i];
  741. theArr.push({
  742. key: i,
  743. id: thisdata.id, //日志ID
  744. content: thisdata.content, //流程
  745. taskId: thisdata.taskId, //任务ID
  746. aName: thisdata.aName, //负责人
  747. createTimes: thisdata.createTimes //时间
  748. });
  749. }
  750. }
  751. this.setState({
  752. dataSourceA: theArr
  753. });
  754. }.bind(this)
  755. }).always(
  756. function () {
  757. this.setState({
  758. loading: false
  759. });
  760. }.bind(this)
  761. );
  762. },
  763. //关闭操作工时
  764. visitCancelA() {
  765. this.setState({
  766. visibleA: false
  767. });
  768. },
  769. //项目列表
  770. xiangmu(orderNos) {
  771. $.ajax({
  772. method: "get",
  773. dataType: "json",
  774. crossDomain: false,
  775. url: globalConfig.context + "/api/admin/newOrder/getOrderTask",
  776. data: {
  777. orderNo: orderNos
  778. },
  779. success: function (data) {
  780. let theArr = [];
  781. if (data.error.length || data.data.list == "") {
  782. if (data.error && data.error.length) {
  783. message.warning(data.error[0].message);
  784. }
  785. } else {
  786. for (let i = 0; i < data.data.length; i++) {
  787. let thisdata = data.data[i];
  788. thisdata.key = i;
  789. theArr.push(thisdata);
  790. }
  791. }
  792. this.setState({
  793. dataSourceX: theArr
  794. });
  795. }.bind(this)
  796. }).always(
  797. function () {
  798. this.setState({
  799. loading: false
  800. });
  801. }.bind(this)
  802. );
  803. },
  804. //关闭输入理由框
  805. noCancel() {
  806. this.setState({
  807. noVisible: false
  808. });
  809. },
  810. //搜索
  811. search() {
  812. this.setState({
  813. //signBillVisible:false
  814. });
  815. this.loadData();
  816. },
  817. //重置
  818. reset() {
  819. this.setState({
  820. signBillVisible: false
  821. });
  822. this.state.idSearch = "";
  823. this.state.customerName = "";
  824. this.state.releaseDate[0] = undefined;
  825. this.state.releaseDate[1] = undefined;
  826. this.state.orderNoSearch = "";
  827. this.state.departmenttList = [];
  828. this.state.cid = [];
  829. this.state.contractNoSearch = "";
  830. this.state.outsourceSearch = [];
  831. this.setState({
  832. urgentDay: '', //有无材料
  833. ifMaterial: '', //加急情况
  834. specialComment: '', //特别说明
  835. spotCheckStatus: '',
  836. setUpStatus: '',
  837. setUpTime: '',
  838. highTechStatus: '',
  839. })
  840. this.loadData(this.state.page);
  841. },
  842. resets() {
  843. this.state.orderNo = "";
  844. this.state.customerName = "";
  845. this.state.releaseDate[0] = undefined;
  846. this.state.releaseDate[1] = undefined;
  847. },
  848. getOrgCodeUrl(e) {
  849. this.setState({ orgCodeUrl: e });
  850. },
  851. setColor() {
  852. $(".userName span").after(
  853. "(<span class='ruanzhu'>软著数</span>/<span class='xiazheng'>下证数</span>)"
  854. );
  855. },
  856. closeDesc(e, s) {
  857. this.state.showDesc = e;
  858. if (s) {
  859. this.loadData(this.state.page);
  860. }
  861. },
  862. closeAssign(e, s) {
  863. this.state.roleName = "";
  864. this.state.assignVisible = e;
  865. if (s) {
  866. this.loadData(this.state.page);
  867. }
  868. },
  869. nextCancel() {
  870. this.setState({
  871. addnextVisible: false
  872. });
  873. },
  874. //点击打卡项目详情
  875. tableRowClickX(record) {
  876. this.setState({
  877. jid: record.id, //项目ID
  878. kid: record.commodityId, //商品ID
  879. commodityName: record.commodityName, //金额
  880. commodityPrice: record.commodityPrice, //金额
  881. commodityQuantity: record.commodityQuantity, //数量
  882. taskComment: record.taskComment, //备注
  883. main: record.main.toString(), //是否为主要
  884. addnextVisible: true,
  885. dataInfor: record,
  886. addState: 0
  887. });
  888. },
  889. //关闭详情
  890. visitCancel() {
  891. this.setState({
  892. visible: false,
  893. speVisible: false
  894. });
  895. this.resets();
  896. },
  897. visitOk() {
  898. this.setState({
  899. visible: false
  900. });
  901. this.resets();
  902. },
  903. //关闭详情
  904. visitCancels() {
  905. this.setState({
  906. visibles: false
  907. });
  908. this.resets();
  909. },
  910. //导出
  911. exportExec() {
  912. let nameText = this.state.SuperArr;
  913. let superText =
  914. this.state.cid && typeof this.state.cid != "object"
  915. ? nameText[parseInt(this.state.cid)].id
  916. : "";
  917. if (superText) {
  918. var data = {
  919. orderNo: this.state.orderNoSearch
  920. ? this.state.orderNoSearch
  921. : undefined,
  922. name: this.state.customerName ? this.state.customerName : undefined, //订单负责人
  923. taskId: this.state.idSearch ? this.state.idSearch : undefined, //订单编号
  924. starTime: this.state.releaseDate[0]
  925. ? this.state.releaseDate[0]
  926. : undefined,
  927. endTime: this.state.releaseDate[1]
  928. ? this.state.releaseDate[1]
  929. : undefined,
  930. depId: this.state.departmenttList
  931. ? this.state.departmenttList
  932. : undefined,
  933. cid: superText
  934. };
  935. } else {
  936. var data = {
  937. orderNo: this.state.orderNoSearch
  938. ? this.state.orderNoSearch
  939. : undefined,
  940. name: this.state.customerName ? this.state.customerName : undefined, //订单负责人
  941. taskId: this.state.idSearch ? this.state.idSearch : undefined, //订单编号
  942. starTime: this.state.releaseDate[0]
  943. ? this.state.releaseDate[0]
  944. : undefined,
  945. endTime: this.state.releaseDate[1]
  946. ? this.state.releaseDate[1]
  947. : undefined,
  948. depId: this.state.departmenttList
  949. ? this.state.departmenttList
  950. : undefined
  951. };
  952. }
  953. window.location.href =
  954. globalConfig.context +
  955. "/api/admin/orderProject/exportMyTaskList?" +
  956. $.param(data);
  957. },
  958. visitOks() {
  959. this.setState({
  960. visibles: false
  961. });
  962. this.resets();
  963. },
  964. selectSuperId() {
  965. this.state.data = [];
  966. $.ajax({
  967. method: "get",
  968. dataType: "json",
  969. crossDomain: false,
  970. url: globalConfig.context + "/api/admin/ProjectSize/getAllCname",
  971. data: {
  972. flag: 0
  973. },
  974. success: function (data) {
  975. let theArr = [];
  976. let thedata = data.data;
  977. if (!thedata) {
  978. if (data.error && data.error.length) {
  979. message.warning(data.error[0].message);
  980. }
  981. thedata = {};
  982. }
  983. var contactIds = [];
  984. for (var i = 0; i < data.data.length; i++) {
  985. let theData = data.data[i];
  986. theArr.push(
  987. <Select.Option value={i.toString()} key={theData.cname}>
  988. {theData.cname}
  989. </Select.Option>
  990. );
  991. }
  992. this.setState({
  993. SuperArr: thedata,
  994. contactsOption: theArr,
  995. orderStatusOptions: data.data
  996. });
  997. }.bind(this)
  998. }).always(
  999. function () {
  1000. this.loadData(this.state.ispage);
  1001. }.bind(this)
  1002. );
  1003. },
  1004. changeList(arr) {
  1005. const newArr = [];
  1006. this.state.columns.forEach(item => {
  1007. arr.forEach(val => {
  1008. if (val === item.title) {
  1009. newArr.push(item);
  1010. }
  1011. });
  1012. });
  1013. this.setState({
  1014. changeList: newArr
  1015. });
  1016. },
  1017. render() {
  1018. const formItemLayout = {
  1019. labelCol: { span: 8 },
  1020. wrapperCol: { span: 14 }
  1021. };
  1022. const utils = {
  1023. getSatisfaction: function (num) {
  1024. switch (num) {
  1025. case 0:
  1026. return "未收回";
  1027. case 1:
  1028. return "已收回";
  1029. default:
  1030. return "其它";
  1031. }
  1032. },
  1033. getChargeback: function (num) {
  1034. switch (num) {
  1035. case 0:
  1036. return "已完成";
  1037. case 1:
  1038. return "未完成";
  1039. default:
  1040. return "其它";
  1041. }
  1042. }
  1043. };
  1044. const isWai = [
  1045. {
  1046. id: 0,
  1047. name: "非外包"
  1048. },
  1049. {
  1050. id: 1,
  1051. name: "外包"
  1052. }
  1053. ];
  1054. const FormItem = Form.Item;
  1055. const { RangePicker } = DatePicker;
  1056. const departmentArr = this.state.departmentArr || [];
  1057. return (
  1058. <div className="user-content">
  1059. {this.state.resVisible ? (
  1060. <ResolutionDetail
  1061. cancel={this.resCancel}
  1062. detail={this.state.resRecord}
  1063. visible={this.state.resVisible}
  1064. id={this.state.resRecord.orderNo}
  1065. />
  1066. ) : (
  1067. ""
  1068. )}
  1069. <div className="content-title" style={{ marginBottom: 10 }}>
  1070. <span style={{ fontWeight: 900, fontSize: 16 }}>工时数据统计</span>
  1071. </div>
  1072. <div className="user-search">
  1073. <Tabs
  1074. defaultActiveKey="1"
  1075. onChange={this.callback}
  1076. className="test"
  1077. >
  1078. <TabPane tab="搜索" key="1">
  1079. <Input
  1080. placeholder="客户名称"
  1081. style={{
  1082. width: "150px",
  1083. marginBottom: "10px",
  1084. marginLeft: 10,
  1085. marginRight: 10,
  1086. }}
  1087. value={this.state.customerName}
  1088. onChange={(e) => {
  1089. this.setState({ customerName: e.target.value });
  1090. }}
  1091. />
  1092. <Input
  1093. placeholder="任务编号"
  1094. style={{ width: "150px", marginRight: 10 }}
  1095. value={this.state.idSearch}
  1096. onChange={(e) => {
  1097. this.setState({ idSearch: e.target.value });
  1098. }}
  1099. />
  1100. <Input
  1101. placeholder="订单编号"
  1102. style={{ width: "150px", marginRight: 10 }}
  1103. value={this.state.orderNoSearch}
  1104. onChange={(e) => {
  1105. this.setState({
  1106. orderNoSearch: e.target.value,
  1107. });
  1108. }}
  1109. />
  1110. <Input
  1111. placeholder="合同编号"
  1112. style={{ width: "150px", marginRight: 10 }}
  1113. value={this.state.contractNoSearch}
  1114. onChange={(e) => {
  1115. this.setState({
  1116. contractNoSearch: e.target.value,
  1117. });
  1118. }}
  1119. />
  1120. <Select
  1121. placeholder="订单部门"
  1122. style={{ width: 200, marginRight: 10 }}
  1123. value={this.state.departmenttList}
  1124. onChange={(e) => {
  1125. this.setState({ departmenttList: e });
  1126. }}
  1127. >
  1128. {departmentArr.map(function (item) {
  1129. return (
  1130. <Select.Option key={item.id}>{item.name}</Select.Option>
  1131. );
  1132. })}
  1133. </Select>
  1134. <Select
  1135. placeholder="项目类别"
  1136. style={{ width: 120, marginRight: "10px" }}
  1137. value={this.state.cid}
  1138. onChange={(e) => {
  1139. this.setState({ cid: e });
  1140. }}
  1141. notFoundContent="未获取到上级品类列表"
  1142. >
  1143. {this.state.contactsOption}
  1144. </Select>
  1145. <Select
  1146. placeholder="是否外包"
  1147. style={{ width: 100, marginRight: "10px" }}
  1148. value={this.state.outsourceSearch}
  1149. onChange={(e) => {
  1150. this.setState({ outsourceSearch: e });
  1151. }}
  1152. >
  1153. {isWai.map(function (item) {
  1154. return (
  1155. <Select.Option key={item.id}>{item.name}</Select.Option>
  1156. );
  1157. })}
  1158. </Select>
  1159. <span style={{ marginRight: "10px" }}>合同签订时间 :</span>
  1160. <RangePicker
  1161. value={[
  1162. this.state.releaseDate[0]
  1163. ? moment(this.state.releaseDate[0])
  1164. : null,
  1165. this.state.releaseDate[1]
  1166. ? moment(this.state.releaseDate[1])
  1167. : null,
  1168. ]}
  1169. onChange={(data, dataString) => {
  1170. this.setState({ releaseDate: dataString });
  1171. }}
  1172. />
  1173. <Button
  1174. type="primary"
  1175. onClick={this.search}
  1176. style={{
  1177. marginLeft: "10px",
  1178. marginRight: 10,
  1179. marginBottom: 10,
  1180. }}
  1181. >
  1182. 搜索
  1183. </Button>
  1184. <Button onClick={this.reset}>重置</Button>
  1185. </TabPane>
  1186. <TabPane tab="导出" key="2">
  1187. <Button
  1188. type="primary"
  1189. onClick={this.exportExec}
  1190. style={{ margin: 10 }}
  1191. >
  1192. 导出工时数据
  1193. </Button>
  1194. </TabPane>
  1195. <TabPane tab="更改表格显示数据" key="3">
  1196. <div style={{ marginLeft: 10 }}>
  1197. <ChooseList
  1198. columns={this.state.columns}
  1199. changeFn={this.changeList}
  1200. changeList={this.state.changeList}
  1201. top={55}
  1202. margin={11}
  1203. />
  1204. </div>
  1205. </TabPane>
  1206. </Tabs>
  1207. <div className="patent-table">
  1208. <Spin spinning={this.state.loading}>
  1209. <Table
  1210. columns={
  1211. this.state.changeList
  1212. ? this.state.changeList
  1213. : this.state.columns
  1214. }
  1215. dataSource={this.state.dataSource}
  1216. pagination={this.state.pagination}
  1217. onRowClick={this.tableRowClick.bind(this)}
  1218. scroll={{ x: "max-content", y: 0 }}
  1219. bordered
  1220. size="small"
  1221. />
  1222. </Spin>
  1223. </div>
  1224. </div>
  1225. <Modal
  1226. className="customeDetails"
  1227. footer=""
  1228. title="项目概况"
  1229. width="900px"
  1230. visible={this.state.visible}
  1231. onOk={this.visitOk}
  1232. onCancel={this.visitCancel}
  1233. >
  1234. <Form
  1235. layout="horizontal"
  1236. onSubmit={this.handleSubmit}
  1237. id="demand-form"
  1238. style={{ paddingBottom: "00px" }}
  1239. >
  1240. <Spin spinning={this.state.loading}>
  1241. <div className="clearfix">
  1242. <div style={{ position: "absolute", top: '-52px', left: '81px', zIndex: 10000 }}>
  1243. <OrderItemStatus deleteSign={this.state.deleteSign} />
  1244. </div>
  1245. <div className="clearfix">
  1246. <FormItem
  1247. className="half-item"
  1248. {...formItemLayout}
  1249. label="项目状态"
  1250. >
  1251. <span>{getProjectName(parseInt(this.state.projectStatus))}</span>
  1252. <Button
  1253. type="primary"
  1254. size="small"
  1255. style={{ marginTop: '5px', position: 'absolute' }}
  1256. onClick={this.caozuorizhi}
  1257. >
  1258. 操作日志
  1259. </Button>
  1260. </FormItem>
  1261. <FormItem
  1262. className="half-item"
  1263. {...formItemLayout}
  1264. label="合同编号"
  1265. >
  1266. <span>{this.state.contractNo}</span>
  1267. </FormItem>
  1268. </div>
  1269. <div className="clearfix">
  1270. <FormItem
  1271. className="half-item"
  1272. {...formItemLayout}
  1273. label="是否特批"
  1274. >
  1275. <span>{getApproval(this.state.approval)}</span>
  1276. </FormItem>
  1277. <FormItem
  1278. className="half-item"
  1279. {...formItemLayout}
  1280. label="结算状态"
  1281. >
  1282. <span>
  1283. {getLiquidationStatus(this.state.liquidationStatus)}
  1284. </span>
  1285. </FormItem>
  1286. <FormItem
  1287. className="half-item"
  1288. {...formItemLayout}
  1289. label="流程状态"
  1290. >
  1291. <span>{getProcessStatus(this.state.processStatus)}</span>
  1292. </FormItem>
  1293. <FormItem
  1294. className="half-item"
  1295. {...formItemLayout}
  1296. label="订单编号"
  1297. >
  1298. <span>{this.state.orderNo}</span>
  1299. </FormItem>
  1300. </div>
  1301. <div className="clearfix">
  1302. <FormItem
  1303. className="half-item"
  1304. {...formItemLayout}
  1305. label="满意度表格"
  1306. >
  1307. <span>
  1308. {utils.getSatisfaction(this.state.formRetrieve)}
  1309. </span>
  1310. </FormItem>
  1311. {
  1312. <FormItem
  1313. className="half-item"
  1314. {...formItemLayout}
  1315. label="(满意度)备注"
  1316. >
  1317. <span>{this.state.retrieveContent}</span>
  1318. </FormItem>
  1319. }
  1320. {/*<FormItem*/}
  1321. {/* className="half-item"*/}
  1322. {/* {...formItemLayout}*/}
  1323. {/* label="退单"*/}
  1324. {/*>*/}
  1325. {/* <span>{utils.getChargeback(this.state.taskRefund)}</span>*/}
  1326. {/*</FormItem>*/}
  1327. </div>
  1328. <div className="clearfix">
  1329. <div style={{
  1330. paddingLeft: '8%',
  1331. }}>
  1332. <div style={{ color: '#000', fontWeight: 500 }}>
  1333. 特别说明
  1334. <span style={{ color: '#58a3ff', }}>(针对项目的特殊情况说明)</span>
  1335. </div>
  1336. <div style={{
  1337. display: 'flex',
  1338. }}>
  1339. <span style={{ paddingRight: '10px', whiteSpace: "nowrap" }}>备注:</span>
  1340. <span style={{
  1341. flex: 1,
  1342. wordBreak: 'break-all',
  1343. }}>{this.state.specialComment}</span>
  1344. </div>
  1345. </div>
  1346. {/*<FormItem*/}
  1347. {/* className="half-item"*/}
  1348. {/* {...formItemLayout}*/}
  1349. {/* label="(退单)备注"*/}
  1350. {/*>*/}
  1351. {/* <span>{this.state.refundContent}</span>*/}
  1352. {/*</FormItem>*/}
  1353. </div>
  1354. <div className="clearfix">
  1355. <h3 className="sub-title">任务信息</h3>
  1356. {/*0通用 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1357. {/*贯标需要显示*/}
  1358. {
  1359. this.state.isIso ?
  1360. <div>
  1361. <FormItem
  1362. className="half-item"
  1363. {...formItemLayout}
  1364. label="认证费"
  1365. >
  1366. <span>
  1367. {this.state.ifCertificationFee === 1 ? '包含' : '不包含'}
  1368. </span>
  1369. </FormItem>
  1370. {this.state.ifCertificationFee === 1 ? <FormItem
  1371. className="half-item"
  1372. {...formItemLayout}
  1373. label="认证费(万元)"
  1374. >
  1375. <span>
  1376. {this.state.certificationFee}
  1377. </span>
  1378. </FormItem> : null}
  1379. {this.state.ifCertificationFee === 1 ? <FormItem
  1380. className="half-item"
  1381. {...formItemLayout}
  1382. label=""
  1383. /> : null}
  1384. {this.state.ifCertificationFee === 1 ? <FormItem
  1385. className="half-item"
  1386. {...formItemLayout}
  1387. label="付款公司名称"
  1388. >
  1389. <span>
  1390. {this.state.certificationCorporate}
  1391. </span>
  1392. </FormItem> : null}
  1393. </div> : null
  1394. }
  1395. <FormItem
  1396. className="half-item"
  1397. {...formItemLayout}
  1398. label="任务编号"
  1399. >
  1400. <span>
  1401. {this.state.splitStatus == 2
  1402. ? this.state.splitSuper + "-" + this.state.splitId
  1403. : this.state.id}
  1404. </span>
  1405. </FormItem>
  1406. <FormItem
  1407. className="half-item"
  1408. {...formItemLayout}
  1409. label="任务名称"
  1410. >
  1411. <span>{this.state.taskName}</span>
  1412. </FormItem>
  1413. <FormItem
  1414. className="half-item"
  1415. {...formItemLayout}
  1416. label="任务状态"
  1417. >
  1418. <span>{getTaskStatus(this.state.taskStatus)}</span>
  1419. </FormItem>
  1420. <FormItem
  1421. className="half-item"
  1422. {...formItemLayout}
  1423. label="任务类别"
  1424. >
  1425. <span>{this.state.cname}</span>
  1426. </FormItem>
  1427. <FormItem
  1428. className="half-item"
  1429. {...formItemLayout}
  1430. label="证书编号"
  1431. >
  1432. <span>{this.state.certificateNumber}</span>
  1433. </FormItem>
  1434. </div>
  1435. {/*{this.state.outsource === 1 ? (*/}
  1436. {/* <div className="clearfix">*/}
  1437. {/* <h3 className="sub-title">外包信息</h3>*/}
  1438. {/* <FormItem*/}
  1439. {/* className="half-item"*/}
  1440. {/* {...formItemLayout}*/}
  1441. {/* label="外包公司"*/}
  1442. {/* >*/}
  1443. {/* <span>{this.state.outsourceName}</span>*/}
  1444. {/* </FormItem>*/}
  1445. {/* <FormItem*/}
  1446. {/* className="half-item"*/}
  1447. {/* {...formItemLayout}*/}
  1448. {/* label="外包成本(万元)"*/}
  1449. {/* >*/}
  1450. {/* <span>{this.state.outsourcePrice}</span>*/}
  1451. {/* </FormItem>*/}
  1452. {/* </div>*/}
  1453. {/*) : (*/}
  1454. {/* ""*/}
  1455. {/*)}*/}
  1456. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1457. <div className="clearfix">
  1458. <h3 className="sub-title">联系信息</h3>
  1459. <FormItem
  1460. className="half-item"
  1461. {...formItemLayout}
  1462. label="客户名称"
  1463. >
  1464. <span>{this.state.userName}</span>
  1465. <EnterpriseNameChange
  1466. type='journal'
  1467. style={{ marginLeft: 10 }}
  1468. enterpriseId={this.state.orderUid} />
  1469. </FormItem>
  1470. <FormItem
  1471. className="half-item"
  1472. {...formItemLayout}
  1473. label="企业法人"
  1474. >
  1475. <span>{this.state.legalPerson}</span>
  1476. </FormItem>
  1477. <FormItem
  1478. className="half-item"
  1479. {...formItemLayout}
  1480. label="法人电话"
  1481. >
  1482. <span>{this.state.legalPersonTel}</span>
  1483. </FormItem>
  1484. <FormItem
  1485. className="half-item"
  1486. {...formItemLayout}
  1487. label="客户联系人"
  1488. >
  1489. <span>{this.state.contacts}</span>
  1490. </FormItem>
  1491. <FormItem
  1492. className="half-item"
  1493. {...formItemLayout}
  1494. label="联系人电话"
  1495. >
  1496. <span>{this.state.contactMobile}</span>
  1497. </FormItem>
  1498. <FormItem
  1499. className="half-item"
  1500. {...formItemLayout}
  1501. label="企业地址"
  1502. >
  1503. <span>
  1504. {getprovince(this.state.locationProvince)}/
  1505. {getprovince(this.state.locationCity)}/
  1506. {getprovince(this.state.locationArea)}
  1507. </span>
  1508. </FormItem>
  1509. <FormItem
  1510. className="half-item"
  1511. {...formItemLayout}
  1512. label=""
  1513. ></FormItem>
  1514. <FormItem className="half-item" {...formItemLayout}>
  1515. <span style={{ paddingLeft: "12em" }}>
  1516. {this.state.postalAddress}
  1517. </span>
  1518. </FormItem>
  1519. </div>
  1520. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1521. <div className="clearfix">
  1522. <h3 className="sub-title">订单负责人信息</h3>
  1523. <FormItem
  1524. className="half-item"
  1525. {...formItemLayout}
  1526. label="负责人"
  1527. >
  1528. <span>
  1529. {this.state.salesmanName +
  1530. "(" +
  1531. this.state.depName +
  1532. ")"}
  1533. </span>
  1534. </FormItem>
  1535. <FormItem
  1536. className="half-item"
  1537. {...formItemLayout}
  1538. label="负责人电话"
  1539. >
  1540. <span>{this.state.salesmanMobile}</span>
  1541. </FormItem>
  1542. <FormItem
  1543. className="half-item"
  1544. {...formItemLayout}
  1545. label="财务负责人"
  1546. >
  1547. <span>{this.state.financeName}</span>
  1548. </FormItem>
  1549. <FormItem
  1550. className="half-item"
  1551. {...formItemLayout}
  1552. label="财务负责人电话"
  1553. >
  1554. <span>{this.state.financeMobile}</span>
  1555. </FormItem>
  1556. </div>
  1557. <div className="clearfix">
  1558. <h3 className="sub-title">申报系统账户信息</h3>
  1559. {/*<span style={{color:'red'}}>注:仅技术部可见</span>*/}
  1560. <FormItem
  1561. className="half-item"
  1562. {...formItemLayout}
  1563. label="用户名"
  1564. >
  1565. <span>{this.state.declareUser ? "*" : ""}</span>
  1566. </FormItem>
  1567. <FormItem
  1568. className="half-item"
  1569. {...formItemLayout}
  1570. label="密码"
  1571. >
  1572. <span>{this.state.declarePwd ? "*" : ""}</span>
  1573. </FormItem>
  1574. </div>
  1575. <div className="clearfix">
  1576. <h3 className="sub-title">项目申报进度</h3>
  1577. <DeclarationProgress
  1578. timeRecordparse={this.state.timeRecordparse}
  1579. startDate={this.state.startDate}
  1580. taskDate={this.state.taskDate}
  1581. list={[
  1582. { id: 4, name: '完成时间', value: this.state.endDate },
  1583. { id: 6, name: '受理时间', value: this.state.acceptDate },
  1584. { id: 8, name: '公示时间', value: this.state.publicityDate },
  1585. { id: 10, name: '发证时间', value: this.state.licenceDate },
  1586. { id: 15, name: '立项金额', value: this.state.setUpAmount }
  1587. ]} />
  1588. {/*专利显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1589. {
  1590. this.state.bpType === 1 || this.state.bpType === 6 ?
  1591. <div>
  1592. <FormItem
  1593. labelCol={{ span: 3 }}
  1594. wrapperCol={{ span: 16 }}
  1595. label="是否高新企业"
  1596. >
  1597. <span>
  1598. {
  1599. this.state.highTechStatus === 1 ? '是' :
  1600. this.state.highTechStatus === 0 ? '否' : ''
  1601. }
  1602. </span>
  1603. </FormItem>
  1604. <FormItem />
  1605. <PatentSchedule
  1606. readOnly
  1607. bpType={this.state.bpType}
  1608. taskId={this.state.id}
  1609. acceptCount={this.state.acceptCount}
  1610. certificatesCount={this.state.certificatesCount}
  1611. rejectCount={this.state.rejectCount}
  1612. commodityQuantity={this.state.commodityQuantity}
  1613. refresh={() => { this.xiangqing(this.state.id) }}
  1614. />
  1615. </div> :
  1616. <div>
  1617. {/*高新和科技项目显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1618. {/*cSort: 3 科技项目 6: 会员*/}
  1619. {(this.state.bpType === 5 || this.state.cSort === 3) && <FormItem
  1620. className="half-item"
  1621. {...formItemLayout}
  1622. label="申报批次"
  1623. >
  1624. <span>{this.state.declarationBatch}</span>
  1625. </FormItem>}
  1626. {/*只有科技项目才有是否到款*/}
  1627. {/*cSort: 3 科技项目 6: 会员*/}
  1628. {this.state.cSort === 3 && <FormItem
  1629. className="half-item"
  1630. {...formItemLayout}
  1631. label="是否到款"
  1632. >
  1633. <span>
  1634. {this.state.arrivalMoney ? "已到企业" : "未到企业"}
  1635. </span>
  1636. </FormItem>}
  1637. </div>}
  1638. </div>
  1639. {this.state.bpType !== 1 && this.state.bpType !== 6 ? <div className="clearfix">
  1640. <FormItem
  1641. labelCol={{ span: 3 }}
  1642. wrapperCol={{ span: 18 }}
  1643. label="附件"
  1644. >
  1645. <Upload
  1646. className="demandDetailShow-upload"
  1647. listType="picture-card"
  1648. fileList={this.state.attachmentUrl}
  1649. onPreview={(file) => {
  1650. this.setState({
  1651. previewImage: file.url || file.thumbUrl,
  1652. previewVisible: true,
  1653. });
  1654. }}
  1655. />
  1656. <Modal
  1657. maskClosable={false}
  1658. footer={null}
  1659. visible={this.state.previewVisible}
  1660. onCancel={() => {
  1661. this.setState({ previewVisible: false });
  1662. }}
  1663. >
  1664. <img
  1665. alt=""
  1666. style={{ width: "100%" }}
  1667. src={this.state.previewImage || ""}
  1668. />
  1669. </Modal>
  1670. </FormItem>
  1671. </div> : null}
  1672. {this.state.bpType !== 1 && this.state.bpType !== 6 ? <div className="clearfix">
  1673. <FormItem
  1674. labelCol={{ span: 3 }}
  1675. wrapperCol={{ span: 16 }}
  1676. label="项目说明"
  1677. >
  1678. <span>{this.state.taskComment}</span>
  1679. </FormItem>
  1680. </div> : null}
  1681. <div>
  1682. <h3 className="sub-title">项目业务</h3>
  1683. {this.state.processStatus == 0 ? (
  1684. <Button
  1685. type="primary"
  1686. onClick={this.addDetailed}
  1687. style={{
  1688. float: "right",
  1689. marginRight: "50px",
  1690. marginBottom: "15px",
  1691. }}
  1692. >
  1693. 添加项目明细
  1694. </Button>
  1695. ) : (
  1696. ""
  1697. )}
  1698. </div>
  1699. <div className="patent-table">
  1700. <Spin spinning={this.state.loading}>
  1701. <Table
  1702. columns={this.state.columnsX}
  1703. dataSource={this.state.dataSourceX}
  1704. pagination={this.state.paginations}
  1705. onRowClick={this.tableRowClickX}
  1706. bordered
  1707. size={"small"}
  1708. />
  1709. </Spin>
  1710. </div>
  1711. </div>
  1712. </Spin>
  1713. </Form>
  1714. </Modal>
  1715. <Modal
  1716. width="800px"
  1717. title="操作日志"
  1718. footer=""
  1719. className="admin-desc-content"
  1720. >
  1721. <div className="patent-table patent-table-center">
  1722. <Spin spinning={this.state.loading}>
  1723. <Table columns={this.state.columnsY} bordered size={"small"} />
  1724. </Spin>
  1725. </div>
  1726. </Modal>
  1727. <Modal
  1728. maskClosable={false}
  1729. visible={this.state.speVisible}
  1730. onOk={this.visitOk}
  1731. onCancel={this.visitCancel}
  1732. width="900px"
  1733. title="项目概况"
  1734. footer=""
  1735. className="admin-desc-content"
  1736. >
  1737. <div className="clearfix">
  1738. <FormItem
  1739. className="half-item"
  1740. {...formItemLayout}
  1741. label="项目状态"
  1742. >
  1743. <span>{getProjectName(parseInt(this.state.projectStatus))}</span>
  1744. <Button
  1745. type="primary"
  1746. size="small"
  1747. style={{ marginTop: '5px', position: 'absolute' }}
  1748. onClick={this.caozuorizhi}
  1749. >
  1750. 操作日志
  1751. </Button>
  1752. </FormItem>
  1753. <FormItem
  1754. className="half-item"
  1755. {...formItemLayout}
  1756. label="合同编号"
  1757. >
  1758. <span>{this.state.contractNo}</span>
  1759. </FormItem>
  1760. </div>
  1761. <div className="clearfix">
  1762. <FormItem
  1763. className="half-item"
  1764. {...formItemLayout}
  1765. label="是否特批"
  1766. >
  1767. <span>{getApproval(this.state.approval)}</span>
  1768. </FormItem>
  1769. <FormItem
  1770. className="half-item"
  1771. {...formItemLayout}
  1772. label="结算状态"
  1773. >
  1774. <span>
  1775. {getLiquidationStatus(this.state.liquidationStatus)}
  1776. </span>
  1777. </FormItem>
  1778. <FormItem
  1779. className="half-item"
  1780. {...formItemLayout}
  1781. label="流程状态"
  1782. >
  1783. <span>{getProcessStatus(this.state.processStatus)}</span>
  1784. </FormItem>
  1785. <FormItem
  1786. className="half-item"
  1787. {...formItemLayout}
  1788. label="订单编号"
  1789. >
  1790. <span>{this.state.orderNo}</span>
  1791. </FormItem>
  1792. </div>
  1793. <div className="clearfix">
  1794. <FormItem
  1795. className="half-item"
  1796. {...formItemLayout}
  1797. label="满意度表格"
  1798. >
  1799. <span>{utils.getSatisfaction(this.state.formRetrieve)}</span>
  1800. </FormItem>
  1801. {
  1802. <FormItem
  1803. className="half-item"
  1804. {...formItemLayout}
  1805. label="(满意度)备注"
  1806. >
  1807. <span>{this.state.retrieveContent}</span>
  1808. </FormItem>
  1809. }
  1810. {/*<FormItem className="half-item" {...formItemLayout} label="退单">*/}
  1811. {/* <span>{utils.getChargeback(this.state.taskRefund)}</span>*/}
  1812. {/*</FormItem>*/}
  1813. </div>
  1814. {/*软著显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  1815. {this.state.bpType === 2 ? <div className="clearfix">
  1816. <FormItem
  1817. className="half-item"
  1818. {...formItemLayout}
  1819. label="加急天数"
  1820. >
  1821. {
  1822. this.state.urgentDay === 1 ? '是' :
  1823. this.state.urgentDay === 0 ? '否' : ''
  1824. }
  1825. </FormItem>
  1826. <FormItem
  1827. className="half-item"
  1828. {...formItemLayout}
  1829. label="有无材料"
  1830. >
  1831. {
  1832. this.state.ifMaterial === 1 ? '是' :
  1833. this.state.ifMaterial === 0 ? '否' : ''
  1834. }
  1835. </FormItem>
  1836. </div> : null}
  1837. <div className="clearfix">
  1838. <div style={{
  1839. paddingLeft: '8%',
  1840. }}>
  1841. <div style={{ color: '#000', fontWeight: 500 }}>
  1842. 特别说明
  1843. <span style={{ color: '#58a3ff', }}>(针对项目的特殊情况说明)</span>
  1844. </div>
  1845. <div style={{
  1846. display: 'flex',
  1847. }}>
  1848. <span style={{ paddingRight: '10px', whiteSpace: "nowrap" }}>备注:</span>
  1849. <span style={{
  1850. flex: 1,
  1851. wordBreak: 'break-all',
  1852. }}>{this.state.specialComment}</span>
  1853. </div>
  1854. </div>
  1855. {
  1856. // <FormItem
  1857. // className="half-item"
  1858. // {...formItemLayout}
  1859. // label="(退单)备注"
  1860. // >
  1861. // <span>{this.state.refundContent}</span>
  1862. // </FormItem>
  1863. }
  1864. </div>
  1865. <div className="clearfix">
  1866. <h3 className="sub-title">任务信息</h3>
  1867. <FormItem
  1868. className="half-item"
  1869. {...formItemLayout}
  1870. label="任务编号"
  1871. >
  1872. <span>
  1873. {this.state.splitStatus == 2
  1874. ? this.state.splitSuper + "-" + this.state.splitId
  1875. : this.state.id}
  1876. </span>
  1877. </FormItem>
  1878. <FormItem
  1879. className="half-item"
  1880. {...formItemLayout}
  1881. label="任务名称"
  1882. >
  1883. <span>{this.state.taskName}</span>
  1884. </FormItem>
  1885. <FormItem
  1886. className="half-item"
  1887. {...formItemLayout}
  1888. label="任务状态"
  1889. >
  1890. <span>{getTaskStatus(this.state.taskStatus)}</span>
  1891. </FormItem>
  1892. <FormItem
  1893. className="half-item"
  1894. {...formItemLayout}
  1895. label="任务类别"
  1896. >
  1897. <span>{this.state.cname}</span>
  1898. </FormItem>
  1899. <FormItem
  1900. className="half-item"
  1901. {...formItemLayout}
  1902. label="证书编号"
  1903. >
  1904. <span>{this.state.certificateNumber}</span>
  1905. </FormItem>
  1906. </div>
  1907. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1908. <div className="clearfix">
  1909. <h3 className="sub-title">联系信息</h3>
  1910. <FormItem
  1911. className="half-item"
  1912. {...formItemLayout}
  1913. label="客户名称"
  1914. >
  1915. <span>{this.state.userName}</span>
  1916. <EnterpriseNameChange
  1917. type='journal'
  1918. style={{ marginLeft: 10 }}
  1919. enterpriseId={this.state.orderUid} />
  1920. </FormItem>
  1921. <FormItem
  1922. className="half-item"
  1923. {...formItemLayout}
  1924. label="企业法人"
  1925. >
  1926. <span>{this.state.legalPerson}</span>
  1927. </FormItem>
  1928. <FormItem
  1929. className="half-item"
  1930. {...formItemLayout}
  1931. label="法人电话"
  1932. >
  1933. <span>{this.state.legalPersonTel}</span>
  1934. </FormItem>
  1935. <FormItem
  1936. className="half-item"
  1937. {...formItemLayout}
  1938. label="客户联系人"
  1939. >
  1940. <span>{this.state.contacts}</span>
  1941. </FormItem>
  1942. <FormItem
  1943. className="half-item"
  1944. {...formItemLayout}
  1945. label="联系人电话"
  1946. >
  1947. <span>{this.state.contactMobile}</span>
  1948. </FormItem>
  1949. <FormItem
  1950. className="half-item"
  1951. {...formItemLayout}
  1952. label="企业地址"
  1953. >
  1954. <span>
  1955. {getprovince(this.state.locationProvince)}/
  1956. {getprovince(this.state.locationCity)}/
  1957. {getprovince(this.state.locationArea)}
  1958. </span>
  1959. </FormItem>
  1960. <FormItem
  1961. className="half-item"
  1962. {...formItemLayout}
  1963. label=""
  1964. ></FormItem>
  1965. <FormItem className="half-item" {...formItemLayout} label="">
  1966. <span style={{ paddingLeft: "12em" }}>
  1967. {this.state.postalAddress}
  1968. </span>
  1969. </FormItem>
  1970. </div>
  1971. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1972. <div className="clearfix">
  1973. <h3 className="sub-title">订单负责人信息</h3>
  1974. <FormItem
  1975. className="half-item"
  1976. {...formItemLayout}
  1977. label="负责人"
  1978. >
  1979. <span>
  1980. {this.state.salesmanName + "(" + this.state.depName + ")"}
  1981. </span>
  1982. </FormItem>
  1983. <FormItem
  1984. className="half-item"
  1985. {...formItemLayout}
  1986. label="负责人电话"
  1987. >
  1988. <span>{this.state.salesmanMobile}</span>
  1989. </FormItem>
  1990. <FormItem
  1991. className="half-item"
  1992. {...formItemLayout}
  1993. label="财务负责人"
  1994. >
  1995. <span>{this.state.financeName}</span>
  1996. </FormItem>
  1997. <FormItem
  1998. className="half-item"
  1999. {...formItemLayout}
  2000. label="财务负责人电话"
  2001. >
  2002. <span>{this.state.financeMobile}</span>
  2003. </FormItem>
  2004. </div>
  2005. <div className="clearfix" style={{ marginTop: "10px" }}>
  2006. <FormItem
  2007. labelCol={{ span: 3 }}
  2008. wrapperCol={{ span: 18 }}
  2009. label="附件"
  2010. >
  2011. <Upload
  2012. className="demandDetailShow-upload"
  2013. listType="picture-card"
  2014. fileList={this.state.attachmentUrl}
  2015. onPreview={(file) => {
  2016. this.setState({
  2017. previewImage: file.url || file.thumbUrl,
  2018. previewVisible: true,
  2019. });
  2020. }}
  2021. ></Upload>
  2022. <Modal
  2023. maskClosable={false}
  2024. footer={null}
  2025. visible={this.state.previewVisible}
  2026. onCancel={() => {
  2027. this.setState({ previewVisible: false });
  2028. }}
  2029. >
  2030. <img
  2031. alt=""
  2032. style={{ width: "100%" }}
  2033. src={this.state.previewImage || ""}
  2034. />
  2035. </Modal>
  2036. </FormItem>
  2037. </div>
  2038. <div className="clearfix">
  2039. <FormItem
  2040. labelCol={{ span: 3 }}
  2041. wrapperCol={{ span: 16 }}
  2042. label="备注"
  2043. >
  2044. <span>{this.state.taskComment}</span>
  2045. </FormItem>
  2046. </div>
  2047. <div className="clearfix">
  2048. <h3 className="sub-title">项目申报进度</h3>
  2049. <DeclarationProgress
  2050. timeRecordparse={this.state.timeRecordparse}
  2051. startDate={this.state.startDate}
  2052. taskDate={this.state.taskDate}
  2053. list={[
  2054. { id: 4, name: '完成时间', value: this.state.endDate },
  2055. { id: 6, name: '受理时间', value: this.state.acceptDate },
  2056. { id: 8, name: '公示时间', value: this.state.publicityDate },
  2057. { id: 10, name: '发证时间', value: this.state.licenceDate },
  2058. { id: 15, name: '立项金额', value: this.state.setUpAmount }
  2059. ]} />
  2060. {/*高新和科技项目显示 bpType: 0 正常 1专利 2软著 3审计 4双软 5高新 6商标*/}
  2061. {/*cSort: 3 科技项目 6: 会员*/}
  2062. {(this.state.bpType === 5 || this.state.cSort === 3) && <FormItem
  2063. className="half-item"
  2064. {...formItemLayout}
  2065. label="申报批次"
  2066. >
  2067. <span>{this.state.declarationBatch}</span>
  2068. </FormItem>}
  2069. <FormItem
  2070. className="half-item"
  2071. {...formItemLayout}
  2072. label="软著派单数量"
  2073. >
  2074. <span>{this.state.commodityQuantity}</span>
  2075. </FormItem>
  2076. <div className="patent-table patent-table-center">
  2077. <Spin spinning={this.state.loading}>
  2078. <Table
  2079. columns={this.state.ContactsLists}
  2080. dataSource={this.state.contactList}
  2081. bordered
  2082. size="small"
  2083. pagination={false}
  2084. />
  2085. </Spin>
  2086. </div>
  2087. </div>
  2088. <div className="clearfix">
  2089. <h3 className="sub-title">项目业务</h3>
  2090. <div className="patent-table">
  2091. <Spin spinning={this.state.loading}>
  2092. <Table
  2093. columns={this.state.columnsX}
  2094. dataSource={this.state.dataSourceX}
  2095. pagination={this.state.paginations}
  2096. onRowClick={this.tableRowClickX}
  2097. bordered
  2098. size="small"
  2099. />
  2100. </Spin>
  2101. </div>
  2102. </div>
  2103. </Modal>
  2104. <Modal
  2105. width="800px"
  2106. visible={this.state.visibleA}
  2107. onCancel={this.visitCancelA}
  2108. title="操作日志"
  2109. footer=""
  2110. className="admin-desc-content"
  2111. >
  2112. <div className="patent-table patent-table-center">
  2113. <Spin spinning={this.state.loading}>
  2114. <Table
  2115. columns={this.state.columnsA}
  2116. dataSource={this.state.dataSourceA}
  2117. bordered
  2118. size="small"
  2119. pagination={false}
  2120. />
  2121. </Spin>
  2122. </div>
  2123. </Modal>
  2124. {this.state.addnextVisible &&
  2125. <ProjectDetailsReadOnly
  2126. infor={this.state.dataInfor}
  2127. visible={this.state.addnextVisible}
  2128. onCancel={this.nextCancel}
  2129. />}
  2130. </div>
  2131. );
  2132. }
  2133. })
  2134. );
  2135. export default MyTaskCount;