project.jsx 49 KB

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