myTaskCount.jsx 75 KB

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