project.jsx 49 KB

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