myTaskCount.jsx 75 KB

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