myTaskCount.jsx 75 KB

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