myTaskCount.jsx 75 KB

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