project.jsx 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456
  1. import React from 'react'
  2. import $ from 'jquery'
  3. import {
  4. Spin,
  5. Button,
  6. Tabs,
  7. Table,
  8. message,
  9. Modal,
  10. Form,
  11. Upload,
  12. Tag,
  13. } from 'antd'
  14. import {
  15. getProcessStatus,
  16. getApproval,
  17. getTaskStatus,
  18. getLiquidationStatus,
  19. splitUrl,
  20. getProjectStatus,
  21. getboutique,
  22. getprovince,
  23. ShowModal,
  24. getRefundStatus,
  25. } from '@/tools'
  26. const FormItem = Form.Item
  27. import ResolutionDetail from '@/resolutionDetail'
  28. import ImgList from "./common/imgList";
  29. import CheckProject from "./manageCenter/components/checkProject";
  30. import { cuiJieDian } from '@/dataDic.js'
  31. const { TabPane } = Tabs
  32. const project = React.createClass({
  33. getInitialState() {
  34. return {
  35. oldInfor:{},
  36. patentNameType: -1,
  37. patentType: -1,
  38. paySubject: [],
  39. visible: false,
  40. record: this.props.record,
  41. paginations: false,
  42. tabsKey: "1",
  43. columnsX: [
  44. {
  45. title: '业务项目名称',
  46. dataIndex: 'commodityName',
  47. key: 'commodityName',
  48. },
  49. {
  50. title: '项目类别',
  51. dataIndex: 'cname',
  52. key: 'cname',
  53. },
  54. {
  55. title: '项目数量',
  56. dataIndex: 'commodityQuantity',
  57. key: 'commodityQuantity',
  58. render: (text, record) => {
  59. if (record.splitStatus == 1) {
  60. return (
  61. <span>
  62. {text}{' '}
  63. <Tag
  64. color="#108ee9"
  65. onClick={(e) => {
  66. e.stopPropagation()
  67. this.showRes(record)
  68. }}
  69. >
  70. 已拆
  71. </Tag>
  72. </span>
  73. )
  74. } else {
  75. return text
  76. }
  77. },
  78. },
  79. {
  80. title: '金额(万元)',
  81. dataIndex: 'commodityPrice',
  82. key: 'commodityPrice',
  83. },
  84. {
  85. title: '负责人',
  86. dataIndex: 'contacts',
  87. key: 'contacts',
  88. },
  89. {
  90. title: '负责人电话',
  91. dataIndex: 'contactsMobile',
  92. key: 'contactsMobile',
  93. },
  94. {
  95. title: '主要项目',
  96. dataIndex: 'main',
  97. key: 'main',
  98. render: (text) => {
  99. return text ? '是' : '否'
  100. },
  101. },
  102. {
  103. title: '项目说明',
  104. dataIndex: 'taskComment',
  105. key: 'taskComment',
  106. render: (text) => {
  107. return text && text.length > 8 ? text.substr(0, 8) + '…' : text
  108. },
  109. },
  110. ],
  111. columnsA: [
  112. {
  113. title: '流程',
  114. dataIndex: 'content',
  115. key: 'content',
  116. align: 'center',
  117. },
  118. {
  119. title: '操作人',
  120. dataIndex: 'aName',
  121. key: 'aName',
  122. align: 'center',
  123. },
  124. {
  125. title: '时间',
  126. dataIndex: 'createTimes',
  127. key: 'createTimes',
  128. align: 'center',
  129. },
  130. ],
  131. resVisible: false,
  132. companyColumns: [
  133. {
  134. title: '公司',
  135. dataIndex: 'name',
  136. key: 'name',
  137. //fixed:'left',
  138. width: 160,
  139. },
  140. {
  141. title: '联系人',
  142. dataIndex: 'contacts',
  143. key: 'contacts',
  144. },
  145. {
  146. title: '联系人电话',
  147. dataIndex: 'contactsMobile',
  148. key: 'contactsMobile',
  149. },
  150. {
  151. title: '地址',
  152. dataIndex: 'companyProvinceArr',
  153. key: 'companyProvinceArr',
  154. width: 140,
  155. render: (test) => {
  156. return test[0] === null
  157. ? ''
  158. : getprovince(test[0]) +
  159. '/' +
  160. getprovince(test[1]) +
  161. '/' +
  162. getprovince(test[2])
  163. },
  164. },
  165. {
  166. title: '详细地址',
  167. dataIndex: 'address',
  168. key: 'address',
  169. },
  170. ],
  171. }
  172. },
  173. componentWillReceiveProps(nextProps) {
  174. this.setState({
  175. visible: nextProps.visible,
  176. record: nextProps.record,
  177. })
  178. if (nextProps.record) {
  179. this.xiangqing(nextProps.record.id)
  180. this.xiangqings(nextProps.record.orderNo)
  181. this.xiangmu(nextProps.record.orderNo)
  182. this.loaduserss(nextProps.record)
  183. }
  184. },
  185. // handleOk() {
  186. // this.setState({
  187. // newVisible: false
  188. // });
  189. // // window.setTimeout( () => {
  190. // // this.setState({
  191. // // newVisible: true
  192. // // });
  193. // // },)
  194. // },
  195. // 拆分详细
  196. showRes(record) {
  197. this.setState({
  198. resVisible: true,
  199. resRecord: record,
  200. })
  201. },
  202. resCancel() {
  203. this.setState({
  204. resVisible: false,
  205. })
  206. },
  207. componentDidMount() {},
  208. xiangqing(id) {
  209. this.setState({
  210. loading: true,
  211. })
  212. $.ajax({
  213. method: 'get',
  214. dataType: 'json',
  215. crossDomain: false,
  216. url: globalConfig.context + '/api/admin/orderProject/orderTaskDetail',
  217. data: {
  218. id: id,
  219. },
  220. success: function (data) {
  221. if (data.error.length || data.data.list == '') {
  222. if (data.error && data.error.length) {
  223. message.warning(data.error[0].message)
  224. }
  225. } else {
  226. let thisdata = data.data
  227. this.setState({
  228. id: thisdata.id, //ID
  229. orderNo: thisdata.orderNo, //订单编号
  230. userName: thisdata.userName, //客户名称
  231. taskName: thisdata.taskName, //任务名称
  232. cname: thisdata.cname, //项目品类
  233. contractNo: thisdata.contractNo, //合同编号
  234. projectStatus: thisdata.projectStatus, //项目状态
  235. taskStatus: thisdata.taskStatus, //任务状态
  236. taskDate: thisdata.taskDate, //分配时间
  237. taskComment: thisdata.taskComment, //说明
  238. attachmentUrl: thisdata.attachmentUrl
  239. ? splitUrl(
  240. thisdata.attachmentUrl,
  241. ',',
  242. globalConfig.avatarHost + '/upload'
  243. )
  244. : [], //图片地址
  245. salesmanName: thisdata.salesmanName, //订单负责人
  246. startDate: thisdata.startDate, //启动日期
  247. endDate: thisdata.endDate, //结束日期
  248. acceptDate: thisdata.acceptDate, //受理日期
  249. reviewDate: thisdata.reviewDate, //评审日期
  250. publicityDate: thisdata.publicityDate, //公示日期
  251. licenceDate: thisdata.licenceDate, //发证日期
  252. contacts: thisdata.contacts, //联系人
  253. contactMobile: thisdata.contactMobile, //联系人电话
  254. legalPerson: thisdata.legalPerson, //法人
  255. legalPersonTel: thisdata.legalPersonTel, //法人电话
  256. certificateNumber: thisdata.certificateNumber, //证书编号
  257. status: thisdata.status, //状态
  258. formRetrieve: thisdata.formRetrieve, //满意度表格
  259. taskRefund: thisdata.taskRefund, //退单
  260. refundContent: thisdata.refundContent, //退单信息
  261. retrieveContent: thisdata.retrieveContent, //回收信息
  262. arrivalMoney: thisdata.arrivalMoney, //是否到款
  263. setUpAmount: thisdata.setUpAmount, //立项金额
  264. declareUser: thisdata.declareUser, //账号
  265. declarePwd: thisdata.declarePwd, //密码
  266. depName: thisdata.depName, //订单部门
  267. outsourceName: thisdata.outsourceName, //外包公司名称
  268. outsourcePrice: thisdata.outsourcePrice, //外包价格
  269. declarationBatch: thisdata.declarationBatch, //外包价格
  270. projectType: thisdata.bpType,//项目类型
  271. })
  272. }
  273. }.bind(this),
  274. }).always(
  275. function () {
  276. this.setState({
  277. loading: false,
  278. })
  279. }.bind(this)
  280. )
  281. },
  282. // 获取csort下的数据
  283. getCsortData(cSort) {
  284. cuiJieDian.map((item) => {
  285. if (item.value == cSort) {
  286. this.setState({
  287. paySubject: item.children,
  288. })
  289. }
  290. })
  291. },
  292. //订单详情
  293. xiangqings(orderNos) {
  294. this.setState({
  295. loading: true,
  296. })
  297. $.ajax({
  298. method: 'get',
  299. dataType: 'json',
  300. crossDomain: false,
  301. url: globalConfig.context + '/api/admin/newOrder/getOrderNewDetail',
  302. data: {
  303. orderNo: orderNos,
  304. },
  305. success: function (data) {
  306. let thisdata = data.data
  307. let ProvinceCityArr = []
  308. let ProvinceS = thisdata.locationProvince //省
  309. let citys = thisdata.locationCity //市
  310. let Areas = thisdata.locationArea //区
  311. ProvinceCityArr.push(ProvinceS, citys, Areas)
  312. if (data.error.length || data.data.list == '') {
  313. if (data.error && data.error.length) {
  314. message.warning(data.error[0].message)
  315. }
  316. } else {
  317. this.setState({
  318. processStatus: thisdata.processStatus, //流程状态
  319. liquidationStatus: thisdata.liquidationStatus, //结算状态
  320. approval: thisdata.approval, //特批状态
  321. orderRemarks: thisdata.orderRemarks, //订单留言
  322. salesmanName: thisdata.salesmanName, //营销员名称
  323. salesmanMobile: thisdata.salesmanMobile, //营销员电话
  324. oldSalesmanName: thisdata.oldSalesmanName, //营销员名称
  325. oldSalesmanMobile: thisdata.oldSalesmanMobile, //营销员电话
  326. financeName: thisdata.financeName, //财务名称
  327. financeMobile: thisdata.financeMobile, //财务电话
  328. nowFinance: thisdata.nowFinance, //财务名称
  329. nowFinanceMobile: thisdata.nowFinanceMobile, //财务电话
  330. depName: thisdata.depName, //订单部门
  331. locationProvince: thisdata.locationProvince,
  332. locationCity: thisdata.locationCity,
  333. locationArea: thisdata.locationArea,
  334. ProvinceCity: ProvinceCityArr,
  335. postalAddress: thisdata.postalAddress, //详细地址
  336. outsource: thisdata.outsource,
  337. })
  338. }
  339. }.bind(this),
  340. }).always(
  341. function () {
  342. this.setState({
  343. loading: false,
  344. })
  345. }.bind(this)
  346. )
  347. },
  348. //查看下证信息
  349. loaduserss(record) {
  350. this.setState({
  351. loading: true,
  352. })
  353. $.ajax({
  354. method: 'get',
  355. dataType: 'json',
  356. crossDomain: false,
  357. url: globalConfig.context + '/api/admin/orderProject/selectTaskProgress',
  358. data: {
  359. tid: record.id,
  360. },
  361. success: function (data) {
  362. let theArr = []
  363. let thisData = []
  364. if (!thisData) {
  365. if (data.error && data.error.length) {
  366. message.warning(data.error[0].message)
  367. }
  368. thisData = {}
  369. } else {
  370. for (let i = 0; i < data.data.length; i++) {
  371. thisData = data.data[i]
  372. theArr.push({
  373. num: i + 1,
  374. key: i,
  375. id: thisData.id, //编号
  376. alreadyNumber: thisData.alreadyNumber, //下证数
  377. licenceTimes: thisData.licenceTimes, //下证时间
  378. notCount: thisData.notCount, //未下证数
  379. flag: true,
  380. })
  381. }
  382. this.setState({
  383. contactList: theArr,
  384. })
  385. }
  386. }.bind(this),
  387. }).always(
  388. function () {
  389. this.setState({
  390. loading: false,
  391. })
  392. }.bind(this)
  393. )
  394. },
  395. //项目列表
  396. xiangmu(orderNos) {
  397. this.setState({
  398. loading: true,
  399. })
  400. $.ajax({
  401. method: 'get',
  402. dataType: 'json',
  403. crossDomain: false,
  404. url: globalConfig.context + '/api/admin/newOrder/getOrderTask',
  405. data: {
  406. orderNo: orderNos,
  407. },
  408. success: function (data) {
  409. let theArr = []
  410. if (data.error.length || data.data.list == '') {
  411. if (data.error && data.error.length) {
  412. message.warning(data.error[0].message)
  413. }
  414. } else {
  415. for (let i = 0; i < data.data.length; i++) {
  416. let thisdata = data.data[i]
  417. theArr.push({
  418. key: i,
  419. id: thisdata.id,
  420. orderNo: thisdata.orderNo, //订单编号
  421. commodityId: thisdata.commodityId, //项目ID
  422. commodityName: thisdata.commodityName, //项目名称
  423. cname: thisdata.cname, //项目类别
  424. commodityPrice: thisdata.commodityPrice, //项目价格
  425. commodityQuantity: thisdata.commodityQuantity, //项目数量
  426. main: thisdata.main, //是否为主要任务
  427. taskComment: thisdata.taskComment, //任务说明
  428. contacts: thisdata.contacts, //联系人
  429. contactsMobile: thisdata.contactsMobile, //联系人电话
  430. taskStatus: thisdata.taskStatus, //是否分配
  431. splitStatus: thisdata.splitStatus,
  432. sort: thisdata.cSort,
  433. })
  434. }
  435. }
  436. this.setState({
  437. dataSourceX: theArr,
  438. })
  439. }.bind(this),
  440. }).always(
  441. function () {
  442. this.setState({
  443. loading: false,
  444. })
  445. }.bind(this)
  446. )
  447. },
  448. tableRowClickX(record) {
  449. this.setState({
  450. jid: record.id, //项目ID
  451. kid: record.commodityId, //商品ID
  452. commodityName: record.commodityName, //金额
  453. commodityPrice: record.commodityPrice, //金额
  454. commodityQuantity: record.commodityQuantity, //数量
  455. taskComment: record.taskComment, //备注
  456. main: record.main.toString(), //是否为主要
  457. addnextVisible: true,
  458. addState: 0,
  459. })
  460. },
  461. caozuorizhi() {
  462. this.setState({
  463. loading: true,
  464. })
  465. this.setState({
  466. visibleA: true,
  467. })
  468. $.ajax({
  469. method: 'get',
  470. dataType: 'json',
  471. crossDomain: false,
  472. url: globalConfig.context + '/api/admin/orderProject/TaskLogList',
  473. data: {
  474. id: this.state.id,
  475. },
  476. success: function (data) {
  477. let theArr = []
  478. if (data.error.length || data.data.list == '') {
  479. if (data.error && data.error.length) {
  480. message.warning(data.error[0].message)
  481. }
  482. } else {
  483. for (let i = 0; i < data.data.length; i++) {
  484. let thisdata = data.data[i]
  485. theArr.push({
  486. key: i,
  487. id: thisdata.id, //日志ID
  488. content: thisdata.content, //流程
  489. taskId: thisdata.taskId, //任务ID
  490. aName: thisdata.aName, //负责人
  491. createTimes: thisdata.createTimes, //时间
  492. })
  493. }
  494. }
  495. this.setState({
  496. dataSourceA: theArr,
  497. })
  498. }.bind(this),
  499. }).always(
  500. function () {
  501. this.setState({
  502. loading: false,
  503. })
  504. }.bind(this)
  505. )
  506. }, //关闭操作工时
  507. visitCancelA() {
  508. this.setState({
  509. visibleA: false,
  510. })
  511. },
  512. waiDetail() {
  513. let url = window.location.href.substring(7)
  514. this.setState({
  515. loading: true,
  516. })
  517. $.ajax({
  518. method: 'get',
  519. dataType: 'json',
  520. crossDomain: false,
  521. url:
  522. globalConfig.context + '/api/admin/outsourceOrg/orderOutsourceDtails',
  523. data: {
  524. tid: this.props.record.id,
  525. orderNo: this.props.record.orderNo,
  526. },
  527. }).done(
  528. function (data) {
  529. this.setState({
  530. loading: false,
  531. })
  532. if (!data.error.length && data.data) {
  533. if(!isNaN(parseFloat(data.data.unitNumber))){
  534. this.setState({
  535. oldInfor: {
  536. companyName:data.data.companyName,
  537. unitPrice:data.data.unitPrice,
  538. unitNumber:data.data.unitNumber,
  539. amount:data.data.amount,
  540. outsourceRemarks:data.data.outsourceRemarks,
  541. refundStatus: data.data.refundStatus,
  542. pictureUrl: data.data.pictureUrl
  543. ? splitUrl(
  544. data.data.pictureUrl,
  545. ',',
  546. globalConfig.avatarHost + '/upload',
  547. url
  548. )
  549. : [], //图片地址
  550. },
  551. })
  552. }else{
  553. this.setState({
  554. oldInfor: {},
  555. })
  556. }
  557. this.setState({
  558. startType: data.data.startType, //类型
  559. patentType: data.data.patentType, //专利类型
  560. patentNameType: data.data.patentNameType, //专利名称类型
  561. patentName: data.data.patentName, //专利名称
  562. outsourceRemarks: data.data.outsourceRemarks,
  563. remarks: data.data.remarks,
  564. companyName: data.data.companyName,
  565. amount: data.data.amount,
  566. mid: data.data.id,
  567. unitPrice: data.data.unitPrice,
  568. refundStatus: data.data.refundStatus,
  569. unitNumber: data.data.unitNumber,
  570. pictureUrl: data.data.pictureUrl
  571. ? splitUrl(
  572. data.data.pictureUrl,
  573. ',',
  574. globalConfig.avatarHost + '/upload',
  575. url
  576. )
  577. : [], //图片地址
  578. createTimes: data.data.createTimes,
  579. auditTimes: data.data.auditTimes,
  580. })
  581. } else if (data.error && data.error.length) {
  582. message.warning(data.error[0].message)
  583. } else if (!data.data) {
  584. this.setState({
  585. refundStatus: undefined,
  586. })
  587. }
  588. }.bind(this)
  589. )
  590. },
  591. //加载外包
  592. loadCompany() {
  593. this.setState({
  594. loading: true,
  595. })
  596. $.ajax({
  597. method: 'get',
  598. dataType: 'json',
  599. crossDomain: false,
  600. url: globalConfig.context + '/api/admin/outsourceOrg/selectOutsourceOrg',
  601. data: {
  602. tid: this.props.record.id,
  603. orderNo: this.props.record.orderNo,
  604. },
  605. success: function (data) {
  606. let theArr = []
  607. if (data.error.length || data.data.list == '') {
  608. if (data.error && data.error.length) {
  609. message.warning(data.error[0].message)
  610. }
  611. } else {
  612. for (let i = 0; i < data.data.length; i++) {
  613. let thisdata = data.data[i]
  614. let ProvinceCityArr = []
  615. let ProvinceS = thisdata.province //省
  616. let citys = thisdata.city //市
  617. let Areas = thisdata.area //区
  618. ProvinceCityArr.push(ProvinceS, citys, Areas)
  619. theArr.push({
  620. key: i,
  621. id: thisdata.id, //外包Id
  622. name: thisdata.name, //名称
  623. contacts: thisdata.contacts, //联系人
  624. contactsMobile: thisdata.contactsMobile, //联系人电话
  625. companyProvinceArr: ProvinceCityArr,
  626. address: thisdata.address,
  627. remarks: thisdata.remarks,
  628. })
  629. }
  630. }
  631. this.setState({
  632. companys: theArr,
  633. })
  634. }.bind(this),
  635. }).always(
  636. function () {
  637. this.setState({
  638. loading: false,
  639. })
  640. }.bind(this)
  641. )
  642. },
  643. tabChange(e) {
  644. this.setState({
  645. tabsKey:e
  646. })
  647. if (e == 2) {
  648. this.waiDetail();
  649. this.payNodeTable();
  650. this.thirdTable();
  651. this.getCsortData();
  652. } else if (e == 3) {
  653. this.loadCompany()
  654. }
  655. },
  656. //查看第三方信息表格
  657. thirdTable() {
  658. this.setState({
  659. thirdInfoLoading: true,
  660. })
  661. let ajaxObj = $.ajax({
  662. method: 'get',
  663. dataType: 'json',
  664. crossDomain: false,
  665. url: globalConfig.context + '/api/admin/company/selectCompany',
  666. data: {
  667. tid: this.props.record.id,
  668. },
  669. success: function (data) {
  670. if (data.error && data.error.length) {
  671. message.warning(data.error[0].message)
  672. } else {
  673. let companyNameArr = [];
  674. let theArr = [];
  675. let thisData = [];
  676. let arr = data.data || [];
  677. let allTotalAmount = 0;
  678. let type = 0;
  679. let startType = 0;
  680. let patentNameType = 0;
  681. for (let i = 0; i < arr.length; i++) {
  682. thisData = arr[i]
  683. allTotalAmount =
  684. (allTotalAmount * 10000 + thisData.totalAmount * 10000) / 10000
  685. companyNameArr.push(thisData.companyName);
  686. thisData.key = i;
  687. type=thisData.patentType;
  688. thisData.patentType = thisData.type;
  689. theArr.push(thisData);
  690. startType=thisData.startType;
  691. patentNameType= thisData.patentNameType
  692. }
  693. if (!allTotalAmount) {
  694. allTotalAmount = 0
  695. }
  696. for(let d=0;d<theArr.length;d++){
  697. theArr[d].companyName = theArr[d].companyName+ '-' + theArr[d].id;
  698. companyNameArr[d] = {
  699. companyName: theArr[d].companyName,
  700. id: theArr[d].id,
  701. }
  702. }
  703. if(type === 0 || type === 1){
  704. this.setState({
  705. patentType: type === 0 ? 0 : 1, //0专利申请 1专利买卖
  706. patentNameType: patentNameType, //0实用新型 1发明专利 2外观专利 3 其他
  707. })
  708. }
  709. //设置项目类型
  710. if(arr.length >0){
  711. this.setState({
  712. startType: startType
  713. })
  714. }
  715. this.setState({
  716. thirdInfoList: theArr,
  717. })
  718. }
  719. }.bind(this),
  720. }).always(
  721. function () {
  722. this.setState({
  723. thirdInfoLoading: false,
  724. })
  725. }.bind(this)
  726. )
  727. this.setState({
  728. selectCompanyAjaxObj:ajaxObj
  729. })
  730. },
  731. payNodeTable() {
  732. this.setState({
  733. payNodeLoading: true,
  734. })
  735. let ajaxObj = $.ajax({
  736. method: 'get',
  737. dataType: 'json',
  738. crossDomain: false,
  739. url: globalConfig.context + '/api/admin/company/selectPaymentNode',
  740. data: {
  741. tid: this.props.record.id,
  742. },
  743. success: function (data) {
  744. if (data.error && data.error.length) {
  745. message.warning(data.error[0].message)
  746. } else {
  747. let payNodeArr = []
  748. let thisData = []
  749. let arr = data.data || []
  750. //对#5283自定义的补充展示
  751. this.state.paySubject.push({ key: '自定义', value: '0' })
  752. for (let i = 0; i < arr.length; i++) {
  753. thisData = arr[i]
  754. //遍历paySubject,获取当前dunType对应的key
  755. this.state.paySubject.map((item) => {
  756. if (item.value == thisData.dunType) {
  757. thisData.dunType = item.key
  758. }
  759. })
  760. payNodeArr.push({
  761. key: i,
  762. id: thisData.id, //付款节点Id
  763. nodeId: thisData.id, //付款节点Id
  764. tid: thisData.tid,
  765. companyName: thisData.companyName, //供应商名称
  766. projectType: thisData.projectType, //项目分类
  767. dunType: thisData.dunType, //催款分类
  768. unitPrice: thisData.unitPrice, //单价
  769. quantity: thisData.quantity, //数量
  770. totalAmount: thisData.totalAmount, //总价
  771. partyAmount: thisData.partyAmount, //付款
  772. partyTimes: thisData.partyTimes, //付款时间
  773. cid: thisData.cid, //机构id
  774. status: thisData.status, //催款状态 0-未支付 1-待全款 ,2已全款 status=2的时候已经全款,申请付款按钮可以去掉了
  775. })
  776. }
  777. for(let d=0;d<payNodeArr.length;d++){
  778. payNodeArr[d].companyName = payNodeArr[d].companyName+ '-' + payNodeArr[d].cid;
  779. }
  780. this.setState({
  781. payNodeList: payNodeArr,
  782. })
  783. }
  784. }.bind(this),
  785. }).always(
  786. function () {
  787. this.setState({
  788. payNodeLoading: false,
  789. })
  790. }.bind(this)
  791. )
  792. this.setState({
  793. selectPaymentNodeAjaxObj: ajaxObj
  794. })
  795. },
  796. render() {
  797. const formItemLayout = {
  798. labelCol: { span: 8 },
  799. wrapperCol: { span: 14 },
  800. }
  801. const utils = {
  802. getSatisfaction: function (num) {
  803. switch (num) {
  804. case 0:
  805. return '未收回'
  806. case 1:
  807. return '已收回'
  808. default:
  809. return '其它'
  810. }
  811. },
  812. getChargeback: function (num) {
  813. switch (num) {
  814. case 0:
  815. return '已完成'
  816. case 1:
  817. return '未完成'
  818. default:
  819. return '其它'
  820. }
  821. },
  822. }
  823. return (
  824. this.state.visible ? <Modal
  825. className="customeDetails"
  826. footer=""
  827. title=""
  828. width="900px"
  829. visible={this.state.visible}
  830. // onOk={this.visitOk}
  831. onCancel={(e) => {
  832. this.setState({
  833. tabsKey: "1"
  834. })
  835. this.props.cancel()
  836. }}
  837. >
  838. {this.state.resVisible ? (
  839. <ResolutionDetail
  840. cancel={this.resCancel}
  841. detail={this.state.resRecord}
  842. visible={this.state.resVisible}
  843. id={this.state.resRecord.orderNo}
  844. />
  845. ) : (
  846. ''
  847. )}
  848. <Tabs defaultActiveKey="1" activeKey={this.state.tabsKey} onChange={this.tabChange}>
  849. <TabPane tab="项目概况" key="1">
  850. {this.state.tabsKey === "1" ? <Form
  851. layout="horizontal"
  852. onSubmit={this.handleSubmit}
  853. id="demand-form"
  854. style={{ paddingBottom: '0px' }}
  855. >
  856. <Spin spinning={this.state.loading}>
  857. <div className="clearfix">
  858. <div className="clearfix">
  859. <FormItem
  860. className="half-item"
  861. {...formItemLayout}
  862. label="当前项目情况"
  863. >
  864. <span>{this.state.status ? '暂停' : '开启'}</span>
  865. <Button
  866. type="primary"
  867. size="small"
  868. style={{ marginTop: '5px', position: 'absolute' }}
  869. onClick={this.caozuorizhi}
  870. >
  871. 操作日志
  872. </Button>
  873. </FormItem>
  874. <FormItem
  875. className="half-item"
  876. {...formItemLayout}
  877. label="合同编号"
  878. >
  879. <span>{this.state.contractNo}</span>
  880. </FormItem>
  881. </div>
  882. <div className="clearfix">
  883. <FormItem
  884. className="half-item"
  885. {...formItemLayout}
  886. label="项目状态"
  887. >
  888. {/* <span>{getProcessStatus(this.state.projectStatus)}</span> */}
  889. <span>{getProjectStatus(this.state.projectStatus)}</span>
  890. </FormItem>
  891. <FormItem
  892. className="half-item"
  893. {...formItemLayout}
  894. label="是否特批"
  895. >
  896. <span>{getApproval(this.state.approval)}</span>
  897. </FormItem>
  898. <FormItem
  899. className="half-item"
  900. {...formItemLayout}
  901. label="结算状态"
  902. >
  903. <span>
  904. {getLiquidationStatus(this.state.liquidationStatus)}
  905. </span>
  906. </FormItem>
  907. <FormItem
  908. className="half-item"
  909. {...formItemLayout}
  910. label="流程状态"
  911. >
  912. <span>{getProcessStatus(this.state.processStatus)}</span>
  913. </FormItem>
  914. <FormItem
  915. className="half-item"
  916. {...formItemLayout}
  917. label="订单编号"
  918. >
  919. <span>{this.state.orderNo}</span>
  920. </FormItem>
  921. <FormItem
  922. className="half-item"
  923. {...formItemLayout}
  924. label="是否外包"
  925. >
  926. <span>{this.state.outsource == 0 ? '否' : '是'}</span>
  927. </FormItem>
  928. </div>
  929. <div className="clearfix">
  930. <FormItem
  931. className="half-item"
  932. {...formItemLayout}
  933. label="满意度表格"
  934. >
  935. <span>
  936. {utils.getSatisfaction(this.state.formRetrieve)}
  937. </span>
  938. </FormItem>
  939. <FormItem
  940. className="half-item"
  941. {...formItemLayout}
  942. label="退单"
  943. >
  944. <span>{utils.getChargeback(this.state.taskRefund)}</span>
  945. </FormItem>
  946. </div>
  947. <div className="clearfix">
  948. {
  949. <FormItem
  950. className="half-item"
  951. {...formItemLayout}
  952. label="(满意度)备注"
  953. >
  954. <span>{this.state.retrieveContent}</span>
  955. </FormItem>
  956. }
  957. {
  958. <FormItem
  959. className="half-item"
  960. {...formItemLayout}
  961. label="(退单)备注"
  962. >
  963. <span>{this.state.refundContent}</span>
  964. </FormItem>
  965. }
  966. </div>
  967. <div className="clearfix">
  968. <h3 className="sub-title">任务信息</h3>
  969. <FormItem
  970. className="half-item"
  971. {...formItemLayout}
  972. label="任务编号"
  973. >
  974. <span>{this.state.id}</span>
  975. </FormItem>
  976. <FormItem
  977. className="half-item"
  978. {...formItemLayout}
  979. label="任务名称"
  980. >
  981. <span>{this.state.taskName}</span>
  982. </FormItem>
  983. <FormItem
  984. className="half-item"
  985. {...formItemLayout}
  986. label="任务状态"
  987. >
  988. <span>{getTaskStatus(this.state.taskStatus)}</span>
  989. </FormItem>
  990. <FormItem
  991. className="half-item"
  992. {...formItemLayout}
  993. label="任务类别"
  994. >
  995. <span>{this.state.cname}</span>
  996. </FormItem>
  997. <FormItem
  998. className="half-item"
  999. {...formItemLayout}
  1000. label="证书编号"
  1001. >
  1002. <span>{this.state.certificateNumber}</span>
  1003. </FormItem>
  1004. </div>
  1005. {/*{this.state.outsource === 1 ? (*/}
  1006. {/* <div className="clearfix">*/}
  1007. {/* <h3 className="sub-title">外包信息</h3>*/}
  1008. {/* <FormItem*/}
  1009. {/* className="half-item"*/}
  1010. {/* {...formItemLayout}*/}
  1011. {/* label="外包公司"*/}
  1012. {/* >*/}
  1013. {/* <span>{this.state.outsourceName}</span>*/}
  1014. {/* </FormItem>*/}
  1015. {/* <FormItem*/}
  1016. {/* className="half-item"*/}
  1017. {/* {...formItemLayout}*/}
  1018. {/* label="外包成本(万元)"*/}
  1019. {/* >*/}
  1020. {/* <span>{this.state.outsourcePrice}</span>*/}
  1021. {/* </FormItem>*/}
  1022. {/* </div>*/}
  1023. {/*) : (*/}
  1024. {/* ''*/}
  1025. {/*)}*/}
  1026. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1027. <div className="clearfix">
  1028. <h3 className="sub-title">联系信息</h3>
  1029. <FormItem
  1030. className="half-item"
  1031. {...formItemLayout}
  1032. label="客户名称"
  1033. >
  1034. <span>{this.state.userName}</span>
  1035. </FormItem>
  1036. <FormItem
  1037. className="half-item"
  1038. {...formItemLayout}
  1039. label="企业法人"
  1040. >
  1041. <span>{this.state.legalPerson}</span>
  1042. </FormItem>
  1043. <FormItem
  1044. className="half-item"
  1045. {...formItemLayout}
  1046. label="法人电话"
  1047. >
  1048. <span>{this.state.legalPersonTel}</span>
  1049. </FormItem>
  1050. <FormItem
  1051. className="half-item"
  1052. {...formItemLayout}
  1053. label="客户联系人"
  1054. >
  1055. <span>{this.state.contacts}</span>
  1056. </FormItem>
  1057. <FormItem
  1058. className="half-item"
  1059. {...formItemLayout}
  1060. label="联系人电话"
  1061. >
  1062. <span>{this.state.contactMobile}</span>
  1063. </FormItem>
  1064. <FormItem
  1065. className="half-item"
  1066. {...formItemLayout}
  1067. label="企业地址"
  1068. >
  1069. <span>
  1070. {getprovince(this.state.locationProvince)}/
  1071. {getprovince(this.state.locationCity)}/
  1072. {getprovince(this.state.locationArea)}
  1073. </span>
  1074. </FormItem>
  1075. <FormItem
  1076. className="half-item"
  1077. {...formItemLayout}
  1078. label=""
  1079. />
  1080. <FormItem className="half-item" {...formItemLayout}>
  1081. <span style={{ paddingLeft: '12em' }}>
  1082. {this.state.postalAddress}
  1083. </span>
  1084. </FormItem>
  1085. </div>
  1086. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1087. <div className="clearfix">
  1088. <h3 className="sub-title">订单负责人信息</h3>
  1089. <FormItem
  1090. className="half-item"
  1091. {...formItemLayout}
  1092. label="负责人"
  1093. >
  1094. <span>
  1095. {this.state.salesmanName +
  1096. '(' +
  1097. this.state.depName +
  1098. ')'}
  1099. </span>
  1100. </FormItem>
  1101. <FormItem
  1102. className="half-item"
  1103. {...formItemLayout}
  1104. label="负责人电话"
  1105. >
  1106. <span>{this.state.salesmanMobile}</span>
  1107. </FormItem>
  1108. <FormItem
  1109. className="half-item"
  1110. {...formItemLayout}
  1111. label="当前财务负责人"
  1112. >
  1113. <span>{this.state.nowFinance}</span>
  1114. </FormItem>
  1115. <FormItem
  1116. className="half-item"
  1117. {...formItemLayout}
  1118. label="当前财务负责人电话"
  1119. >
  1120. <span>{this.state.nowFinanceMobile}</span>
  1121. </FormItem>
  1122. <FormItem
  1123. className="half-item"
  1124. {...formItemLayout}
  1125. style={{ opacity: '.5' }}
  1126. label="原负责人"
  1127. >
  1128. <span>{this.state.oldSalesmanName}</span>
  1129. </FormItem>
  1130. <FormItem
  1131. className="half-item"
  1132. {...formItemLayout}
  1133. style={{ opacity: '.5' }}
  1134. label="原负责人电话"
  1135. >
  1136. <span>{this.state.oldSalesmanMobile}</span>
  1137. </FormItem>
  1138. <FormItem
  1139. className="half-item"
  1140. {...formItemLayout}
  1141. style={{ opacity: '.5' }}
  1142. label="实际财务操作人"
  1143. >
  1144. <span>{this.state.financeName}</span>
  1145. </FormItem>
  1146. <FormItem
  1147. className="half-item"
  1148. {...formItemLayout}
  1149. style={{ opacity: '.5' }}
  1150. label="实际财务操作人电话"
  1151. >
  1152. <span>{this.state.financeMobile}</span>
  1153. </FormItem>
  1154. </div>
  1155. <div className="clearfix">
  1156. <h3 className="sub-title">申报系统账户信息</h3>
  1157. {/*<span style={{color:'red'}}>注:仅技术部可见</span>*/}
  1158. <FormItem
  1159. className="half-item"
  1160. {...formItemLayout}
  1161. label="用户名"
  1162. >
  1163. <span>{this.state.declareUser ? '****' : ''}</span>
  1164. </FormItem>
  1165. <FormItem
  1166. className="half-item"
  1167. {...formItemLayout}
  1168. label="密码"
  1169. >
  1170. <span>{this.state.declarePwd ? '****' : ''}</span>
  1171. </FormItem>
  1172. </div>
  1173. <div className="clearfix">
  1174. <h3 className="sub-title">项目申报进度</h3>
  1175. <FormItem
  1176. className="half-item"
  1177. {...formItemLayout}
  1178. label="申报批次"
  1179. >
  1180. <span>{this.state.declarationBatch}</span>
  1181. </FormItem>
  1182. <FormItem
  1183. className="half-item"
  1184. {...formItemLayout}
  1185. label="启动时间"
  1186. >
  1187. <span>{this.state.startDate}</span>
  1188. </FormItem>
  1189. <FormItem
  1190. className="half-item"
  1191. {...formItemLayout}
  1192. label="完成时间"
  1193. >
  1194. <span>{this.state.endDate}</span>
  1195. </FormItem>
  1196. <FormItem
  1197. className="half-item"
  1198. {...formItemLayout}
  1199. label="受理时间"
  1200. >
  1201. <span>{this.state.acceptDate}</span>
  1202. </FormItem>
  1203. <FormItem
  1204. className="half-item"
  1205. {...formItemLayout}
  1206. label="评审时间"
  1207. >
  1208. <span>{this.state.reviewDate}</span>
  1209. </FormItem>
  1210. <FormItem
  1211. className="half-item"
  1212. {...formItemLayout}
  1213. label="公示时间"
  1214. >
  1215. <span>{this.state.publicityDate}</span>
  1216. </FormItem>
  1217. <FormItem
  1218. className="half-item"
  1219. {...formItemLayout}
  1220. label="发证时间"
  1221. >
  1222. <span>{this.state.licenceDate}</span>
  1223. </FormItem>
  1224. <FormItem
  1225. className="half-item"
  1226. {...formItemLayout}
  1227. label="立项金额(万元)"
  1228. >
  1229. <span>{this.state.setUpAmount}</span>
  1230. </FormItem>
  1231. <FormItem
  1232. className="half-item"
  1233. {...formItemLayout}
  1234. label="是否到款"
  1235. >
  1236. <span>
  1237. {this.state.arrivalMoney ? '已到企业' : '未到企业'}
  1238. </span>
  1239. </FormItem>
  1240. </div>
  1241. <div className="clearfix">
  1242. <FormItem
  1243. labelCol={{ span: 3 }}
  1244. wrapperCol={{ span: 18 }}
  1245. label="附件"
  1246. >
  1247. {/*<Upload*/}
  1248. {/* className="demandDetailShow-upload"*/}
  1249. {/* listType="picture-card"*/}
  1250. {/* fileList={this.state.attachmentUrl}*/}
  1251. {/* onPreview={(file) => {*/}
  1252. {/* this.setState({*/}
  1253. {/* previewImage: file.url || file.thumbUrl,*/}
  1254. {/* previewVisible: true,*/}
  1255. {/* })*/}
  1256. {/* }}*/}
  1257. {/*/>*/}
  1258. {this.state.attachmentUrl && this.state.visible && this.state.tabsKey === "1" ? <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
  1259. <ImgList fileList={this.state.attachmentUrl} ItemWidth={'96px'}/>
  1260. </div> : <div/>}
  1261. <Modal
  1262. maskClosable={false}
  1263. footer={null}
  1264. visible={this.state.previewVisible}
  1265. onCancel={() => {
  1266. this.setState({ previewVisible: false })
  1267. }}
  1268. >
  1269. <img
  1270. alt=""
  1271. style={{ width: '100%' }}
  1272. src={this.state.previewImage || ''}
  1273. />
  1274. </Modal>
  1275. </FormItem>
  1276. </div>
  1277. <div className="clearfix">
  1278. <FormItem
  1279. labelCol={{ span: 3 }}
  1280. wrapperCol={{ span: 16 }}
  1281. label="备注"
  1282. >
  1283. <span>{this.state.taskComment}</span>
  1284. </FormItem>
  1285. </div>
  1286. <div>
  1287. <h3 className="sub-title">项目业务</h3>
  1288. {/* {this.state.processStatus == 0 ? (
  1289. <Button
  1290. type="primary"
  1291. onClick={this.addDetailed}
  1292. style={{
  1293. float: "right",
  1294. marginRight: "50px",
  1295. marginBottom: "15px"
  1296. }}
  1297. >
  1298. 添加项目明细
  1299. </Button>
  1300. ) : (
  1301. ""
  1302. )} */}
  1303. </div>
  1304. <div className="patent-table">
  1305. <Spin spinning={this.state.loading}>
  1306. <Table
  1307. columns={this.state.columnsX}
  1308. dataSource={this.state.dataSourceX}
  1309. pagination={this.state.paginations}
  1310. onRowClick={this.tableRowClickX}
  1311. bordered
  1312. size="small"
  1313. />
  1314. </Spin>
  1315. </div>
  1316. </div>
  1317. </Spin>
  1318. </Form> : <div/>}
  1319. </TabPane>
  1320. {this.props.record && this.props.record.outsource == 1 ? (
  1321. <TabPane tab="外包审核信息" key="2">
  1322. {this.state.tabsKey === "2" ? <Spin spinning={this.state.loading}>
  1323. <div>
  1324. {
  1325. this.state.visible && this.state.tabsKey === '2' ?
  1326. <CheckProject
  1327. {...this.props}
  1328. tid={this.props.record.id}
  1329. oldInfor={this.state.oldInfor}
  1330. projectType={this.state.projectType} //0正常 1专利 2软著 3审计
  1331. patentNameType={this.state.patentNameType}
  1332. isAuditPayment={this.props.isAuditPayment} //是否为财务
  1333. isAuditPaymentGLY={this.props.isAuditPaymentGLY} //是否为财务经理或者为财务管理员
  1334. patentName={this.state.patentName}
  1335. patentType={this.state.patentType}
  1336. status={this.state.refundStatus}
  1337. thirdInfoList={this.state.thirdInfoList}
  1338. dataSource={this.state.payNodeList}
  1339. outsourceRemarks={this.state.outsourceRemarks}
  1340. fileList={this.state.pictureUrl}
  1341. startType={this.state.startType}
  1342. projectStatus={this.state.projectStatus}
  1343. onRefresh={()=>{
  1344. this.waiDetail();
  1345. this.thirdTable();
  1346. this.payNodeTable()
  1347. }}
  1348. /> : <div/>
  1349. }
  1350. </div>
  1351. <div className="clearfix">
  1352. <hr className="division" />
  1353. <div
  1354. className="clearfix"
  1355. style={{
  1356. display: this.state.refundStatus == 0 ? 'none' : 'block',
  1357. }}
  1358. >
  1359. <FormItem
  1360. className="half-item"
  1361. {...formItemLayout}
  1362. label="审核意见"
  1363. >
  1364. <span>{this.state.remarks}</span>
  1365. </FormItem>
  1366. </div>
  1367. {!(this.state.oldInfor && Object.keys(this.state.oldInfor).length > 0) ? <div className="clearfix">
  1368. <FormItem
  1369. className="half-item"
  1370. {...formItemLayout}
  1371. label="审核结果"
  1372. >
  1373. <span>{getRefundStatus(this.state.refundStatus)}</span>
  1374. </FormItem>
  1375. </div> : <div/>}
  1376. <div
  1377. className="clearfix"
  1378. style={{
  1379. display: this.state.refundStatus == 0 ? 'none' : 'block',
  1380. }}
  1381. >
  1382. <FormItem
  1383. className="half-item"
  1384. {...formItemLayout}
  1385. label="审核时间"
  1386. >
  1387. <span>{this.state.auditTimes}</span>
  1388. </FormItem>
  1389. </div>
  1390. </div>
  1391. </Spin> : <div/>}
  1392. </TabPane>
  1393. ) : (
  1394. ''
  1395. )}
  1396. {/*{this.props.record && this.props.record.outsource == 1 ? (*/}
  1397. {/* <TabPane tab="外包公司信息" key="3">*/}
  1398. {/* <div className="patent-table" style={{ marginTop: '10px' }}>*/}
  1399. {/* <Spin spinning={this.state.loading}>*/}
  1400. {/* <Table*/}
  1401. {/* columns={this.state.companyColumns}*/}
  1402. {/* dataSource={this.state.companys}*/}
  1403. {/* scroll={{ x: 300, y: 0 }}*/}
  1404. {/* bordered*/}
  1405. {/* size="small"*/}
  1406. {/* expandedRowRender={(record) => {*/}
  1407. {/* return <p>{record.remarks}</p>*/}
  1408. {/* }}*/}
  1409. {/* pagination={false}*/}
  1410. {/* />*/}
  1411. {/* </Spin>*/}
  1412. {/* </div>*/}
  1413. {/* </TabPane>*/}
  1414. {/*) : (*/}
  1415. {/* ''*/}
  1416. {/*)}*/}
  1417. </Tabs>
  1418. <Modal
  1419. width="800px"
  1420. visible={this.state.visibleA}
  1421. onCancel={this.visitCancelA}
  1422. title="操作日志"
  1423. footer=""
  1424. className="admin-desc-content"
  1425. >
  1426. <div className="patent-table patent-table-center">
  1427. <Spin spinning={this.state.loading}>
  1428. <Table
  1429. columns={this.state.columnsA}
  1430. dataSource={this.state.dataSourceA}
  1431. pagination={false}
  1432. bordered
  1433. size="small"
  1434. />
  1435. </Spin>
  1436. </div>
  1437. </Modal>
  1438. </Modal> : <div/>
  1439. )
  1440. },
  1441. })
  1442. export default project