highTechConfig.jsx 23 KB

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