highTechConfig.jsx 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156
  1. import { Tooltip } from 'antd';
  2. import React from 'react';
  3. import { getProjectName } from '@/tools';
  4. // 高新会员服务
  5. const member = [
  6. {
  7. title: "序号",
  8. dataIndex: "key",
  9. key: "key",
  10. isNoD: true,
  11. },
  12. {
  13. title: "派单时间",
  14. dataIndex: "distributionTime",
  15. key: "distributionTime",
  16. width: 80,
  17. },
  18. {
  19. title: "派单省份",
  20. dataIndex: "province",
  21. key: "province"
  22. },
  23. {
  24. title: "订单部门",
  25. dataIndex: "depName",
  26. key: "depName",
  27. isNoD: true,
  28. },
  29. {
  30. title: "营销员",
  31. dataIndex: "salesmanName",
  32. key: "salesmanName"
  33. },
  34. {
  35. title: "合同编号",
  36. dataIndex: "contractNo",
  37. key: "contractNo"
  38. },
  39. {
  40. title: "订单编号",
  41. dataIndex: "orderNo",
  42. key: "orderNo",
  43. isNoD: true,
  44. },
  45. {
  46. title: "签单客户",
  47. dataIndex: "userName",
  48. key: "userName"
  49. },
  50. {
  51. title: "项目类型",
  52. dataIndex: "cname",
  53. key: "cname"
  54. },
  55. {
  56. title: "项目名称",
  57. dataIndex: "pname",
  58. key: "pname"
  59. },
  60. {
  61. title: "数量",
  62. dataIndex: "commodityQuantity",
  63. key: "commodityQuantity"
  64. },
  65. {
  66. title: "服务类型",
  67. dataIndex: "serviceType",
  68. key: "aserviceType",
  69. width: 150,
  70. },
  71. {
  72. title: "服务项目",
  73. dataIndex: "serviceProject",
  74. key: "serviceProject",
  75. width: 200,
  76. isNoD: true,
  77. },
  78. {
  79. title: "负责部门",
  80. dataIndex: "techDepName",
  81. key: "techDepName",
  82. isNoD: true,
  83. },
  84. {
  85. title: "咨询师/咨询经理",
  86. dataIndex: "techName",
  87. key: "techName"
  88. },
  89. //0未开始 1已开始 2已暂停 3已驳回 4已完成 5未完成退单 6已完成退单
  90. {
  91. title: "项目状态",
  92. dataIndex: "projectStatus",
  93. key: "projectStatus",
  94. render: (value) => (
  95. getProjectName(value)
  96. )
  97. },
  98. {
  99. title: "项目金额",
  100. dataIndex: "commodityPrice",
  101. key: "commodityPrice"
  102. },
  103. {
  104. title: "总年限",
  105. dataIndex: "yearsum",
  106. key: "yearsum",
  107. render: (text, record) => {
  108. return (
  109. <div>{["", "一年", "二年", "三年", "四年", "五年"][text]}</div>
  110. );
  111. }
  112. },
  113. {
  114. title: "年限",
  115. dataIndex: "serviceLife",
  116. key: "serviceLife",
  117. render: (text, record) => {
  118. return (
  119. <div>{!!text && JSON.parse(text).toString()}</div>
  120. );
  121. }
  122. },
  123. {
  124. title: "本次派单",
  125. dataIndex: "serviceYear",
  126. key: "serviceYear"
  127. },
  128. {
  129. title: "合同期",
  130. dataIndex: "contractTerm",
  131. key: "contractTerm",
  132. width: 80,
  133. render: (text, record) => {
  134. let data = !!text ? JSON.parse(text) : [""]
  135. return (
  136. data.length <= 1
  137. ? data[0]
  138. : <div>
  139. <div>{data[0]}</div>
  140. <div style={{ textAlign: "center" }}>至</div>
  141. <div>{data[1]}</div>
  142. </div>
  143. );
  144. }
  145. },
  146. {
  147. title: "项目说明",
  148. dataIndex: "taskComment",
  149. key: "taskComment",
  150. width: 250,
  151. },
  152. {
  153. title: "特别说明",
  154. dataIndex: "specialComment",
  155. key: "specialComment",
  156. isNoD: true,
  157. },
  158. {
  159. title: "订单说明",
  160. dataIndex: "orderRemarks",
  161. key: "orderRemarks",
  162. isNoD: true,
  163. }
  164. ];
  165. // 高新
  166. const highTechColumns = [
  167. {
  168. title: "序号",
  169. dataIndex: "key",
  170. key: "key",
  171. isNoD: true,
  172. },
  173. {
  174. title: "派单时间",
  175. dataIndex: "distributionTime",
  176. key: "distributionTime"
  177. },
  178. {
  179. title: "派单省份",
  180. dataIndex: "province",
  181. key: "province"
  182. },
  183. {
  184. title: "订单部门",
  185. dataIndex: "depName",
  186. key: "depName",
  187. isNoD: true,
  188. },
  189. {
  190. title: "营销员",
  191. dataIndex: "salesmanName",
  192. key: "salesmanName"
  193. },
  194. {
  195. title: "合同编号",
  196. dataIndex: "contractNo",
  197. key: "contractNo"
  198. },
  199. {
  200. title: "订单编号",
  201. dataIndex: "orderNo",
  202. key: "orderNo"
  203. },
  204. {
  205. title: "签单客户",
  206. dataIndex: "userName",
  207. key: "userName"
  208. },
  209. {
  210. title: "项目类型",
  211. dataIndex: "cname",
  212. key: "cname"
  213. },
  214. {
  215. title: "项目名称",
  216. dataIndex: "pname",
  217. key: "pname"
  218. },
  219. {
  220. title: "数量",
  221. dataIndex: "commodityQuantity",
  222. key: "commodityQuantity"
  223. },
  224. {
  225. title: "服务类型",
  226. dataIndex: "serviceType",
  227. key: "aserviceType",
  228. width: 150,
  229. },
  230. {
  231. title: "服务项目",
  232. dataIndex: "serviceProject",
  233. key: "serviceProject",
  234. width: 200,
  235. isNoD: true,
  236. },
  237. {
  238. title: "负责部门",
  239. dataIndex: "techDepName",
  240. key: "techDepName",
  241. isNoD: true,
  242. },
  243. {
  244. title: "咨询师/咨询经理",
  245. dataIndex: "techName",
  246. key: "techName"
  247. },
  248. {
  249. title: "是否立项/时间",
  250. dataIndex: "setUpStatus",
  251. key: "setUpStatus",
  252. render: (value, record) => (
  253. value === 1 ? '是' + '/' + record.setUpTime : value === 0 ? '否' : ''
  254. )
  255. },
  256. {
  257. title: "是否抽查",
  258. dataIndex: "spotCheckStatus",
  259. key: "spotCheckStatus",
  260. render: (value) => (
  261. value === 1 ? '是' : value === 0 ? '否' : ''
  262. )
  263. },
  264. {
  265. title: "联系人电话",
  266. dataIndex: "contactMobile",
  267. key: "contactMobile"
  268. },
  269. {
  270. title: "法人电话",
  271. dataIndex: "legalPersonTel",
  272. key: "legalPersonTel"
  273. },
  274. {
  275. title: "证书编号",
  276. dataIndex: "certificateNumber",
  277. key: "certificateNumber"
  278. },
  279. {
  280. title: "申报年份",
  281. dataIndex: "serviceYear",
  282. key: "serviceYear"
  283. },
  284. {
  285. title: "申报批次",
  286. dataIndex: "declarationBatch",
  287. key: "declarationBatch"
  288. },
  289. {
  290. title: "项目金额",
  291. dataIndex: "commodityPrice",
  292. key: "commodityPrice"
  293. },
  294. //0未开始 1已开始 2已暂停 3已驳回 4已完成 5未完成退单 6已完成退单
  295. {
  296. title: "项目状态",
  297. dataIndex: "projectStatus",
  298. key: "projectStatus",
  299. render: (value) => (
  300. getProjectName(value)
  301. )
  302. },
  303. {
  304. title: "项目说明",
  305. dataIndex: "taskComment",
  306. key: "taskComment",
  307. width: 250,
  308. // render: (v) => (
  309. // <Tooltip placement="topRight" title={v} overlayStyle={{
  310. // wordBreak: 'break-all'
  311. // }}>
  312. // <div style={{
  313. // maxWidth: '120px',
  314. // overflow: "hidden",
  315. // textOverflow: "ellipsis",
  316. // whiteSpace: "nowrap",
  317. // }}>{v}</div>
  318. // </Tooltip>
  319. // )
  320. },
  321. {
  322. title: "特别说明",
  323. dataIndex: "specialComment",
  324. key: "specialComment",
  325. isNoD: true,
  326. },
  327. {
  328. title: "订单说明",
  329. dataIndex: "orderRemarks",
  330. key: "orderRemarks",
  331. isNoD: true,
  332. }
  333. ];
  334. // 双软
  335. const doubleSoft = [
  336. {
  337. title: "序号",
  338. dataIndex: "key",
  339. key: "key",
  340. isNoD: true,
  341. },
  342. {
  343. title: "派单时间",
  344. dataIndex: "distributionTime",
  345. key: "distributionTime"
  346. },
  347. {
  348. title: "派单省份",
  349. dataIndex: "province",
  350. key: "province"
  351. },
  352. {
  353. title: "订单部门",
  354. dataIndex: "depName",
  355. key: "depName",
  356. isNoD: true,
  357. },
  358. {
  359. title: "营销员",
  360. dataIndex: "salesmanName",
  361. key: "salesmanName"
  362. },
  363. {
  364. title: "合同编号",
  365. dataIndex: "contractNo",
  366. key: "contractNo"
  367. },
  368. {
  369. title: "订单编号",
  370. dataIndex: "orderNo",
  371. key: "orderNo"
  372. },
  373. {
  374. title: "签单客户",
  375. dataIndex: "userName",
  376. key: "userName"
  377. },
  378. {
  379. title: "项目类型",
  380. dataIndex: "cname",
  381. key: "cname"
  382. },
  383. {
  384. title: "项目名称",
  385. dataIndex: "pname",
  386. key: "pname"
  387. },
  388. {
  389. title: "数量",
  390. dataIndex: "commodityQuantity",
  391. key: "commodityQuantity"
  392. },
  393. {
  394. title: "服务类型",
  395. dataIndex: "serviceType",
  396. key: "aserviceType",
  397. width: 150,
  398. },
  399. {
  400. title: "服务项目",
  401. dataIndex: "serviceProject",
  402. key: "serviceProject",
  403. width: 200,
  404. isNoD: true,
  405. },
  406. {
  407. title: "负责部门",
  408. dataIndex: "techDepName",
  409. key: "techDepName",
  410. isNoD: true,
  411. },
  412. {
  413. title: "咨询师/咨询经理",
  414. dataIndex: "techName",
  415. key: "techName"
  416. },
  417. {
  418. title: "下证时间",
  419. dataIndex: "licenceTime",
  420. key: "licenceTime",
  421. render: (value) => (
  422. <div style={{ width: '80px' }}>{value}</div>
  423. )
  424. },
  425. {
  426. title: "项目金额",
  427. dataIndex: "commodityPrice",
  428. key: "commodityPrice"
  429. },
  430. //0未开始 1已开始 2已暂停 3已驳回 4已完成 5未完成退单 6已完成退单
  431. {
  432. title: "项目状态",
  433. dataIndex: "projectStatus",
  434. key: "projectStatus",
  435. render: (value) => (
  436. getProjectName(value)
  437. )
  438. },
  439. {
  440. title: "项目说明",
  441. dataIndex: "taskComment",
  442. key: "taskComment",
  443. width: 250,
  444. // render: (v) => (
  445. // <Tooltip placement="topRight" title={v} overlayStyle={{
  446. // wordBreak: 'break-all'
  447. // }}>
  448. // <div style={{
  449. // maxWidth: '120px',
  450. // overflow: "hidden",
  451. // textOverflow: "ellipsis",
  452. // whiteSpace: "nowrap",
  453. // }}>{v}</div>
  454. // </Tooltip>
  455. // )
  456. },
  457. {
  458. title: "特别说明",
  459. dataIndex: "specialComment",
  460. key: "specialComment",
  461. isNoD: true,
  462. },
  463. {
  464. title: "订单说明",
  465. dataIndex: "orderRemarks",
  466. key: "orderRemarks",
  467. isNoD: true,
  468. }
  469. ];
  470. // 软著
  471. const softWriting = [
  472. {
  473. title: "序号",
  474. dataIndex: "key",
  475. key: "key",
  476. isNoD: true,
  477. },
  478. {
  479. title: "派单时间",
  480. dataIndex: "distributionTime",
  481. key: "distributionTime"
  482. },
  483. {
  484. title: "派单省份",
  485. dataIndex: "province",
  486. key: "province"
  487. },
  488. {
  489. title: "订单部门",
  490. dataIndex: "depName",
  491. key: "depName",
  492. isNoD: true,
  493. },
  494. {
  495. title: "营销员",
  496. dataIndex: "salesmanName",
  497. key: "salesmanName"
  498. },
  499. {
  500. title: "合同编号",
  501. dataIndex: "contractNo",
  502. key: "contractNo"
  503. },
  504. {
  505. title: "订单编号",
  506. dataIndex: "orderNo",
  507. key: "orderNo"
  508. },
  509. {
  510. title: "签单客户",
  511. dataIndex: "userName",
  512. key: "userName"
  513. },
  514. {
  515. title: "项目类型",
  516. dataIndex: "cname",
  517. key: "cname"
  518. },
  519. {
  520. title: "项目名称",
  521. dataIndex: "pname",
  522. key: "pname"
  523. },
  524. {
  525. title: "数量",
  526. dataIndex: "commodityQuantity",
  527. key: "commodityQuantity"
  528. },
  529. {
  530. title: "服务类型",
  531. dataIndex: "serviceType",
  532. key: "aserviceType",
  533. width: 150,
  534. },
  535. {
  536. title: "服务项目",
  537. dataIndex: "serviceProject",
  538. key: "serviceProject",
  539. width: 200,
  540. isNoD: true,
  541. },
  542. {
  543. title: "负责部门",
  544. dataIndex: "techDepName",
  545. key: "techDepName",
  546. isNoD: true,
  547. },
  548. {
  549. title: "咨询师/咨询经理",
  550. dataIndex: "techName",
  551. key: "techName"
  552. },
  553. {
  554. title: "项目数量/下证数",
  555. dataIndex: "commodityQuantity",
  556. key: "commodityQuantity",
  557. render: (value, record) => (
  558. value + '/' + record.certificatesCount
  559. )
  560. },
  561. {
  562. title: "有无材料",
  563. dataIndex: "ifMaterial",
  564. key: "ifMaterial",
  565. render: (value) => (
  566. value === 1 ? '有' : value === 0 ? '无' : ''
  567. )
  568. },
  569. {
  570. title: "加急天数",
  571. dataIndex: "urgentDay",
  572. key: "urgentDay",
  573. render: (value) => (
  574. value === 1 ? '有' : value === 0 ? '无' : ''
  575. )
  576. },
  577. {
  578. title: "下证时间",
  579. dataIndex: "licenceTime",
  580. key: "licenceTime",
  581. render: (value) => (
  582. <div style={{ width: '80px' }}>{value}</div>
  583. )
  584. },
  585. {
  586. title: "证书编号",
  587. dataIndex: "certificateNumber",
  588. key: "certificateNumber"
  589. },
  590. {
  591. title: "项目金额",
  592. dataIndex: "commodityPrice",
  593. key: "commodityPrice"
  594. },
  595. {
  596. title: "成本金额",
  597. dataIndex: "costAmount",
  598. key: "costAmount"
  599. },
  600. {
  601. title: "利润金额",
  602. dataIndex: "profit",
  603. key: "profit"
  604. },
  605. //0未开始 1已开始 2已暂停 3已驳回 4已完成 5未完成退单 6已完成退单
  606. {
  607. title: "项目状态",
  608. dataIndex: "projectStatus",
  609. key: "projectStatus",
  610. render: (value) => (
  611. getProjectName(value)
  612. )
  613. },
  614. {
  615. title: "项目说明",
  616. dataIndex: "taskComment",
  617. key: "taskComment",
  618. width: 250,
  619. // render: (v) => (
  620. // <Tooltip placement="topRight" title={v} overlayStyle={{
  621. // wordBreak: 'break-all'
  622. // }}>
  623. // <div style={{
  624. // maxWidth: '120px',
  625. // overflow: "hidden",
  626. // textOverflow: "ellipsis",
  627. // whiteSpace: "nowrap",
  628. // }}>{v}</div>
  629. // </Tooltip>
  630. // )
  631. },
  632. {
  633. title: "特别说明",
  634. dataIndex: "specialComment",
  635. key: "specialComment",
  636. isNoD: true,
  637. },
  638. {
  639. title: "订单说明",
  640. dataIndex: "orderRemarks",
  641. key: "orderRemarks",
  642. isNoD: true,
  643. }
  644. ];
  645. // 专利
  646. const patent = [
  647. {
  648. title: "序号",
  649. dataIndex: "key",
  650. key: "key",
  651. isNoD: true,
  652. },
  653. {
  654. title: "派单时间",
  655. dataIndex: "distributionTime",
  656. key: "distributionTime"
  657. },
  658. {
  659. title: "派单省份",
  660. dataIndex: "province",
  661. key: "province"
  662. },
  663. {
  664. title: "订单部门",
  665. dataIndex: "depName",
  666. key: "depName",
  667. isNoD: true,
  668. },
  669. {
  670. title: "营销员",
  671. dataIndex: "salesmanName",
  672. key: "salesmanName"
  673. },
  674. {
  675. title: "合同编号",
  676. dataIndex: "contractNo",
  677. key: "contractNo"
  678. },
  679. {
  680. title: "订单编号",
  681. dataIndex: "orderNo",
  682. key: "orderNo"
  683. },
  684. {
  685. title: "签单客户",
  686. dataIndex: "userName",
  687. key: "userName"
  688. },
  689. {
  690. title: "项目类型",
  691. dataIndex: "cname",
  692. key: "cname"
  693. },
  694. {
  695. title: "项目名称",
  696. dataIndex: "pname",
  697. key: "pname"
  698. },
  699. {
  700. title: "数量",
  701. dataIndex: "commodityQuantity",
  702. key: "commodityQuantity"
  703. },
  704. {
  705. title: "服务类型",
  706. dataIndex: "serviceType",
  707. key: "aserviceType",
  708. width: 150,
  709. },
  710. {
  711. title: "服务项目",
  712. dataIndex: "serviceProject",
  713. key: "serviceProject",
  714. width: 200,
  715. isNoD: true,
  716. },
  717. {
  718. title: "负责部门",
  719. dataIndex: "techDepName",
  720. key: "techDepName",
  721. isNoD: true,
  722. },
  723. {
  724. title: "咨询师/咨询经理",
  725. dataIndex: "techName",
  726. key: "techName"
  727. },
  728. {
  729. title: "项目数量/下证数",
  730. dataIndex: "commodityQuantity",
  731. key: "commodityQuantity",
  732. render: (value, record) => (
  733. value + '/' + record.certificatesCount
  734. )
  735. },
  736. {
  737. title: "是否高新",
  738. dataIndex: "highTechstatus",
  739. key: "highTechstatus",
  740. render: (value) => (
  741. value === 1 ? '是' : value === 0 ? '否' : ''
  742. )
  743. },
  744. {
  745. title: "驳回数",
  746. dataIndex: "rejectCount",
  747. key: "rejectCount"
  748. },
  749. {
  750. title: "专利号",
  751. dataIndex: "patentNo",
  752. key: "patentNo"
  753. },
  754. {
  755. title: "专利名称",
  756. dataIndex: "patentName",
  757. key: "patentName"
  758. },
  759. {
  760. title: "受理时间",
  761. dataIndex: "acceptTime",
  762. key: "acceptTime"
  763. },
  764. // {
  765. // title: "授权时间",
  766. // dataIndex: "orderNo",
  767. // key: "orderNo"
  768. // },
  769. {
  770. title: "下证时间",
  771. dataIndex: "licenceTime",
  772. key: "licenceTime",
  773. render: (value) => (
  774. <div style={{ width: '80px' }}>{value}</div>
  775. )
  776. },
  777. {
  778. title: "项目金额",
  779. dataIndex: "commodityPrice",
  780. key: "commodityPrice"
  781. },
  782. {
  783. title: "成本金额",
  784. dataIndex: "costAmount",
  785. key: "costAmount"
  786. },
  787. {
  788. title: "利润金额",
  789. dataIndex: "profit",
  790. key: "profit"
  791. },
  792. //0未开始 1已开始 2已暂停 3已驳回 4已完成 5未完成退单 6已完成退单
  793. {
  794. title: "项目状态",
  795. dataIndex: "projectStatus",
  796. key: "projectStatus",
  797. render: (value) => (
  798. getProjectName(value)
  799. )
  800. },
  801. {
  802. title: "项目说明",
  803. dataIndex: "taskComment",
  804. key: "taskComment",
  805. width: 250,
  806. // render: (v) => (
  807. // <Tooltip placement="topRight" title={v} overlayStyle={{
  808. // wordBreak: 'break-all'
  809. // }}>
  810. // <div style={{
  811. // maxWidth: '120px',
  812. // overflow: "hidden",
  813. // textOverflow: "ellipsis",
  814. // whiteSpace: "nowrap",
  815. // }}>{v}</div>
  816. // </Tooltip>
  817. // )
  818. },
  819. {
  820. title: "特别说明",
  821. dataIndex: "specialComment",
  822. key: "specialComment",
  823. isNoD: true,
  824. },
  825. {
  826. title: "订单说明",
  827. dataIndex: "orderRemarks",
  828. key: "orderRemarks",
  829. isNoD: true,
  830. }
  831. ];
  832. // 审计
  833. const audit = [
  834. {
  835. title: "序号",
  836. dataIndex: "key",
  837. key: "key",
  838. isNoD: true,
  839. },
  840. {
  841. title: "派单时间",
  842. dataIndex: "distributionTime",
  843. key: "distributionTime",
  844. width: 80,
  845. },
  846. {
  847. title: "派单省份",
  848. dataIndex: "province",
  849. key: "province"
  850. },
  851. {
  852. title: "订单部门",
  853. dataIndex: "depName",
  854. key: "depName",
  855. isNoD: true,
  856. },
  857. {
  858. title: "营销员",
  859. dataIndex: "salesmanName",
  860. key: "salesmanName"
  861. },
  862. {
  863. title: "合同编号",
  864. dataIndex: "contractNo",
  865. key: "contractNo"
  866. },
  867. {
  868. title: "订单编号",
  869. dataIndex: "orderNo",
  870. key: "orderNo"
  871. },
  872. {
  873. title: "签单客户",
  874. dataIndex: "userName",
  875. key: "userName"
  876. },
  877. {
  878. title: "项目类型",
  879. dataIndex: "cname",
  880. key: "cname"
  881. },
  882. {
  883. title: "项目名称",
  884. dataIndex: "pname",
  885. key: "pname"
  886. },
  887. {
  888. title: "数量",
  889. dataIndex: "commodityQuantity",
  890. key: "commodityQuantity"
  891. },
  892. {
  893. title: "服务类型",
  894. dataIndex: "serviceType",
  895. key: "aserviceType",
  896. width: 150,
  897. },
  898. {
  899. title: "服务项目",
  900. dataIndex: "serviceProject",
  901. key: "serviceProject",
  902. width: 200,
  903. isNoD: true,
  904. },
  905. {
  906. title: "上年度总资产(万元)",
  907. dataIndex: "lastYearCapital",
  908. key: "lastYearCapital",
  909. width: 70,
  910. render: (value, record) => {
  911. return (
  912. <div>
  913. {value}
  914. {record.lastYear && <div>{"(" + record.lastYear + "年)"}</div>}
  915. </div>
  916. )
  917. }
  918. },
  919. {
  920. title: "上年度总收入(万元)",
  921. dataIndex: "lastYearIncome",
  922. key: "lastYearIncome",
  923. width: 70,
  924. render: (value, record) => {
  925. return (
  926. <div>
  927. {value}
  928. {record.lastYear && <div>{"(" + record.lastYear + "年)"}</div>}
  929. </div>
  930. )
  931. }
  932. },
  933. {
  934. title: "负责部门",
  935. dataIndex: "techDepName",
  936. key: "techDepName",
  937. isNoD: true,
  938. },
  939. {
  940. title: "咨询师/咨询经理",
  941. dataIndex: "techName",
  942. key: "techName"
  943. },
  944. //0未开始 1已开始 2已暂停 3已驳回 4已完成 5未完成退单 6已完成退单
  945. {
  946. title: "项目状态",
  947. dataIndex: "projectStatus",
  948. key: "projectStatus",
  949. render: (value) => (
  950. getProjectName(value)
  951. )
  952. },
  953. {
  954. title: "项目金额",
  955. dataIndex: "commodityPrice",
  956. key: "commodityPrice"
  957. },
  958. // {
  959. // title: "服务年限",
  960. // dataIndex: "serviceLife",
  961. // key: "serviceLife",
  962. // render: (text, record) => {
  963. // return (
  964. // <div>{!!text && JSON.parse(text).toString()}</div>
  965. // );
  966. // }
  967. // },
  968. {
  969. title: "项目说明",
  970. dataIndex: "taskComment",
  971. key: "taskComment",
  972. width: 250,
  973. // render: (v) => (
  974. // <Tooltip placement="topRight" title={v} overlayStyle={{
  975. // wordBreak: 'break-all'
  976. // }}>
  977. // <div style={{
  978. // maxWidth: '120px',
  979. // overflow: "hidden",
  980. // textOverflow: "ellipsis",
  981. // whiteSpace: "nowrap",
  982. // }}>{v}</div>
  983. // </Tooltip>
  984. // )
  985. },
  986. {
  987. title: "特别说明",
  988. dataIndex: "specialComment",
  989. key: "specialComment",
  990. isNoD: true,
  991. },
  992. {
  993. title: "订单说明",
  994. dataIndex: "orderRemarks",
  995. key: "orderRemarks",
  996. isNoD: true,
  997. }
  998. ];
  999. // 通用表
  1000. const currency = [
  1001. {
  1002. title: "序号",
  1003. dataIndex: "key",
  1004. key: "key",
  1005. isNoD: true,
  1006. },
  1007. {
  1008. title: "派单时间",
  1009. dataIndex: "distributionTime",
  1010. key: "distributionTime",
  1011. width: 80,
  1012. },
  1013. {
  1014. title: "派单省份",
  1015. dataIndex: "province",
  1016. key: "province"
  1017. },
  1018. {
  1019. title: "订单部门",
  1020. dataIndex: "depName",
  1021. key: "depName",
  1022. isNoD: true,
  1023. },
  1024. {
  1025. title: "营销员",
  1026. dataIndex: "salesmanName",
  1027. key: "salesmanName"
  1028. },
  1029. {
  1030. title: "合同编号",
  1031. dataIndex: "contractNo",
  1032. key: "contractNo"
  1033. },
  1034. {
  1035. title: "订单编号",
  1036. dataIndex: "orderNo",
  1037. key: "orderNo"
  1038. },
  1039. {
  1040. title: "签单客户",
  1041. dataIndex: "userName",
  1042. key: "userName"
  1043. },
  1044. {
  1045. title: "项目类型",
  1046. dataIndex: "cname",
  1047. key: "cname"
  1048. },
  1049. {
  1050. title: "项目名称",
  1051. dataIndex: "pname",
  1052. key: "pname"
  1053. },
  1054. {
  1055. title: "数量",
  1056. dataIndex: "commodityQuantity",
  1057. key: "commodityQuantity"
  1058. },
  1059. {
  1060. title: "服务类型",
  1061. dataIndex: "serviceType",
  1062. key: "aserviceType",
  1063. width: 150,
  1064. },
  1065. {
  1066. title: "服务项目",
  1067. dataIndex: "serviceProject",
  1068. key: "serviceProject",
  1069. width: 200,
  1070. isNoD: true,
  1071. },
  1072. {
  1073. title: "负责部门",
  1074. dataIndex: "techDepName",
  1075. key: "techDepName",
  1076. isNoD: true,
  1077. },
  1078. {
  1079. title: "咨询师/咨询经理",
  1080. dataIndex: "techName",
  1081. key: "techName"
  1082. },
  1083. //0未开始 1已开始 2已暂停 3已驳回 4已完成 5未完成退单 6已完成退单
  1084. {
  1085. title: "项目状态",
  1086. dataIndex: "projectStatus",
  1087. key: "projectStatus",
  1088. render: (value) => (
  1089. getProjectName(value)
  1090. )
  1091. },
  1092. {
  1093. title: "项目金额",
  1094. dataIndex: "commodityPrice",
  1095. key: "commodityPrice"
  1096. },
  1097. // {
  1098. // title: "服务年限",
  1099. // dataIndex: "serviceLife",
  1100. // key: "serviceLife",
  1101. // render: (text, record) => {
  1102. // return (
  1103. // <div>{!!text && JSON.parse(text).toString()}</div>
  1104. // );
  1105. // }
  1106. // },
  1107. {
  1108. title: "项目说明",
  1109. dataIndex: "taskComment",
  1110. key: "taskComment",
  1111. width: 250,
  1112. // render: (v) => (
  1113. // <Tooltip placement="topRight" title={v} overlayStyle={{
  1114. // wordBreak: 'break-all'
  1115. // }}>
  1116. // <div style={{
  1117. // maxWidth: '120px',
  1118. // overflow: "hidden",
  1119. // textOverflow: "ellipsis",
  1120. // whiteSpace: "nowrap",
  1121. // }}>{v}</div>
  1122. // </Tooltip>
  1123. // )
  1124. },
  1125. {
  1126. title: "特别说明",
  1127. dataIndex: "specialComment",
  1128. key: "specialComment",
  1129. isNoD: true,
  1130. },
  1131. {
  1132. title: "订单说明",
  1133. dataIndex: "orderRemarks",
  1134. key: "orderRemarks",
  1135. isNoD: true,
  1136. }
  1137. ];
  1138. export {
  1139. member,
  1140. highTechColumns,
  1141. doubleSoft,
  1142. softWriting,
  1143. patent,
  1144. audit,
  1145. currency,
  1146. }