myTaskCount.jsx 77 KB

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