highTechInfo.jsx 76 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617
  1. import React from 'react';
  2. import { Icon, Button, Spin, message, Table } from 'antd';
  3. import {
  4. getSearchUrl, getScaleState, getCompanyType, getIndustryType, getCatagory, getIntellectualObtainWay,
  5. getTechnicalSource
  6. } from '../../../tools.js';
  7. import { getProvince } from '../../../NewDicProvinceList';
  8. import { getTechField } from '../../../DicTechFieldList';
  9. import ajax from 'jquery/src/ajax/xhr.js';
  10. import $ from 'jquery/src/ajax';
  11. import moment from 'moment';
  12. import './highTechFoster.less';
  13. const mathRound = function(p){
  14. if ( !isNaN(p) ) {
  15. return Math.round(p*100)/100
  16. } else {
  17. return p
  18. }
  19. }
  20. const highTechInfo = React.createClass({
  21. getIntellectualNumber(text) {
  22. let arr = [], _me = this;
  23. if (text && text.split(',').length) {
  24. text.split(',').map((item) => {
  25. arr.push(_me.state.intellectualObj[item]);
  26. });
  27. };
  28. return arr.join(',');
  29. },
  30. getInitialState() {
  31. return {
  32. loading: false,
  33. year: new Date().getFullYear() - 1,
  34. field: [],
  35. intellectualObj: {},
  36. registerType: [],
  37. netAssetRate: 0,
  38. salesRevenueRate: 0,
  39. humanColumns: [
  40. {
  41. title: '公民类型',
  42. dataIndex: 'type',
  43. key: 'type',
  44. width: '130px',
  45. render: (text, record, index) => {
  46. if (text == '0') {
  47. return '中国公民';
  48. } else if (text == '1') {
  49. return '外籍公民';
  50. };
  51. }
  52. }, {
  53. title: '姓名',
  54. dataIndex: 'name',
  55. key: 'name'
  56. }, {
  57. title: '身份证(护照)号',
  58. dataIndex: 'idNumber',
  59. key: 'idNumber'
  60. }, {
  61. title: '投资额(万元)',
  62. dataIndex: 'investment',
  63. key: 'investment'
  64. }
  65. ],
  66. legalColumns: [
  67. {
  68. title: '法人类型',
  69. dataIndex: 'type',
  70. key: 'type',
  71. width: '130px',
  72. render: (text, record, index) => {
  73. if (text == '0') {
  74. return '中国企业法人';
  75. } else if (text == '1') {
  76. return '外籍企业法人';
  77. };
  78. }
  79. }, {
  80. title: '名称',
  81. dataIndex: 'name',
  82. key: 'name'
  83. }, {
  84. title: '组织机构代码或统一社会信用代码',
  85. dataIndex: 'orgCode',
  86. key: 'orgCode'
  87. }, {
  88. title: '投资额(万元)',
  89. dataIndex: 'investment',
  90. key: 'investment'
  91. }
  92. ],
  93. moneyColumns: [
  94. {
  95. title: '',
  96. dataIndex: 'year',
  97. key: 'year',
  98. }, {
  99. title: '净资产',
  100. dataIndex: 'netAsset',
  101. key: 'netAsset',
  102. }, {
  103. title: '销售收入',
  104. dataIndex: 'salesRevenue',
  105. key: 'salesRevenue',
  106. }, {
  107. title: '利润总额',
  108. dataIndex: 'grossProfit',
  109. key: 'grossProfit',
  110. }
  111. ],
  112. intellectualColumns: [
  113. {
  114. title: '知识产权编号',
  115. dataIndex: 'intellectualPropertyNumber',
  116. key: 'intellectualPropertyNumber'
  117. }, {
  118. title: '知识产权名称',
  119. dataIndex: 'intellectualPropertyName',
  120. key: 'intellectualPropertyName',
  121. }, {
  122. title: '类型',
  123. dataIndex: 'catagory',
  124. key: 'catagory',
  125. render: (text) => {
  126. return getCatagory(text);
  127. }
  128. }, {
  129. title: '授权日期',
  130. dataIndex: 'authorizationDateFormattedDate',
  131. key: 'authorizationDateFormattedDate',
  132. }, {
  133. title: '授权号',
  134. dataIndex: 'authorizationNumber',
  135. key: 'authorizationNumber',
  136. }, {
  137. title: '获取方式',
  138. dataIndex: 'obtainWay',
  139. key: 'obtainWay',
  140. render: (text) => {
  141. return getIntellectualObtainWay(text);
  142. }
  143. }
  144. ],
  145. activityCostColumns: [
  146. {
  147. title: '研发活动编号',
  148. dataIndex: 'activityNumber',
  149. key: 'activityNumber'
  150. }, {
  151. title: '内部研究开发费用',
  152. dataIndex: 'internalAllCost',
  153. key: 'internalAllCost'
  154. }, {
  155. title: '人员人工费用',
  156. dataIndex: 'internalLaborCost',
  157. key: 'internalLaborCost'
  158. }, {
  159. title: '直接投入费用',
  160. dataIndex: 'internalDirectCost',
  161. key: 'internalDirectCost'
  162. }, {
  163. title: '折旧费用与长期待摊费用',
  164. dataIndex: 'internalDepreciationCost',
  165. key: 'internalDepreciationCost'
  166. }, {
  167. title: '设计费用',
  168. dataIndex: 'internalDesignCost',
  169. key: 'internalDesignCost'
  170. }, {
  171. title: '装备调试费用与试验费用',
  172. dataIndex: 'internalEquipmentCost',
  173. key: 'internalEquipmentCost'
  174. }, {
  175. title: '其他费用',
  176. dataIndex: 'internalOtherCost',
  177. key: 'internalOtherCost'
  178. }, {
  179. title: '委托外部研究开发费用',
  180. dataIndex: 'externalTotalCost',
  181. key: 'externalTotalCost'
  182. }, {
  183. title: '境内外部研发费用',
  184. dataIndex: 'externalAbroadCost',
  185. key: 'externalAbroadCost'
  186. }, {
  187. title: '研发费用合计',
  188. dataIndex: 'allCost',
  189. key: 'allCost'
  190. }
  191. ],
  192. standardColumns: [
  193. {
  194. title: '编号',
  195. dataIndex: 'key',
  196. key: 'key'
  197. }, {
  198. title: '标准名称',
  199. dataIndex: 'standardName',
  200. key: 'standardName'
  201. }, {
  202. title: '制定时间',
  203. dataIndex: 'year',
  204. key: 'year'
  205. }, {
  206. title: '标准级别',
  207. dataIndex: 'standardLevel',
  208. key: 'standardLevel',
  209. render: text => {
  210. switch (text) {
  211. case 0:
  212. return "国家";
  213. case 1:
  214. return "行业";
  215. };
  216. }
  217. }, {
  218. title: '标准编号',
  219. dataIndex: 'standardNumber',
  220. key: 'standardNumber'
  221. }, {
  222. title: '参与方式',
  223. dataIndex: 'participateWay',
  224. key: 'participateWay',
  225. render: text => {
  226. switch (text) {
  227. case 0:
  228. return "主持";
  229. case 1:
  230. return "参与";
  231. };
  232. }
  233. }
  234. ]
  235. };
  236. },
  237. //基础资料
  238. loadInfoData(uid) {
  239. this.setState({
  240. loading: true
  241. });
  242. $.ajax({
  243. method: "get",
  244. dataType: "json",
  245. crossDomain: false,
  246. url: globalConfig.context + "/api/admin/basic/info",
  247. data: {
  248. uid: uid
  249. }
  250. }).done(function (data) {
  251. let thisdata = data.data;
  252. if (!data.data) {
  253. if (data.error && data.error.length) {
  254. message.warning(data.error[0].message);
  255. };
  256. } else {
  257. this.setState({
  258. id: thisdata.id,
  259. uid: thisdata.uid,
  260. hid: thisdata.hid,
  261. unitName: thisdata.unitName,
  262. postalAddress: thisdata.postalAddress,
  263. postcode: thisdata.postcode,
  264. contacts: thisdata.contacts,
  265. contactMobile: thisdata.contactMobile,
  266. contactsFixedTel: thisdata.contactsFixedTel,
  267. firstContacts: thisdata.firstContacts,
  268. firstMobile: thisdata.firstMobile,
  269. contactsFax: thisdata.contactsFax,
  270. legalPersonTel: thisdata.legalPersonTel,
  271. legalPersonFax: thisdata.legalPersonFax,
  272. legalPersonEmail: thisdata.legalPersonEmail,
  273. registeredCapital: thisdata.registeredCapital,
  274. registrationTime: thisdata.registrationTime,
  275. legalPerson: thisdata.legalPerson,
  276. legalPersonIdCard: thisdata.legalPersonIdCard,
  277. orgCode: thisdata.orgCode,
  278. ratepayCode: thisdata.ratepayCode,
  279. industry: thisdata.industry,
  280. enterpriseScale: thisdata.enterpriseScale,
  281. foreignInvestment: thisdata.foreignInvestment,
  282. taxAuthority: thisdata.taxAuthority,
  283. ratepayMethod: thisdata.ratepayMethod,
  284. listed: thisdata.listed,
  285. listedDate: thisdata.listedDate,
  286. listedType: thisdata.listedType,
  287. stockCode: thisdata.stockCode,
  288. highTechZone: thisdata.highTechZone,
  289. highTechName: thisdata.highTechName,
  290. riskInvestment: thisdata.riskInvestment,
  291. businessScope: thisdata.businessScope,
  292. firmTotal: thisdata.firmTotal,
  293. techTotal: thisdata.techTotal,
  294. listedDateFormattedDate: thisdata.listedDateFormattedDate,
  295. registrationTimeFormattedDate: thisdata.registrationTimeFormattedDate,
  296. address: getProvince(thisdata.licenceProvince, thisdata.licenceCity, thisdata.licenceArea),
  297. field: thisdata.field ? thisdata.field.split(',') : [],
  298. registerType: thisdata.registerType ? thisdata.registerType.split(',') : []
  299. });
  300. };
  301. }.bind(this)).always(function () {
  302. this.setState({
  303. loading: false
  304. });
  305. this.loadHighTechList(this.state.uid);
  306. }.bind(this));
  307. },
  308. loadHumanData(uid) {
  309. this.setState({
  310. loading: true
  311. });
  312. $.ajax({
  313. method: "get",
  314. dataType: "json",
  315. crossDomain: false,
  316. url: globalConfig.context + "/api/admin/basic/listNature",
  317. data: {
  318. uid: uid
  319. }
  320. }).done(function (data) {
  321. let theTableData = [];
  322. if (!data.data) {
  323. if (data.error && data.error.length) {
  324. message.warning(data.error[0].message);
  325. };
  326. return;
  327. };
  328. data.data.map(function (item) {
  329. theTableData.push({
  330. id: item.id,
  331. uid: item.uid,
  332. type: item.type,
  333. name: item.name,
  334. idNumber: item.idNumber,
  335. investment: item.investment
  336. });
  337. });
  338. this.setState({
  339. humanTableData: theTableData
  340. });
  341. }.bind(this)).always(function () {
  342. this.setState({
  343. loading: false
  344. });
  345. }.bind(this));
  346. },
  347. loadLegalData(uid) {
  348. this.setState({
  349. loading: true
  350. });
  351. $.ajax({
  352. method: "get",
  353. dataType: "json",
  354. crossDomain: false,
  355. url: globalConfig.context + "/api/admin/basic/listLegalPerson",
  356. data: {
  357. uid: uid
  358. }
  359. }).done(function (data) {
  360. let theTableData = [];
  361. if (!data.data) {
  362. if (data.error && data.error.length) {
  363. message.warning(data.error[0].message);
  364. };
  365. return;
  366. };
  367. data.data.map(function (item) {
  368. theTableData.push({
  369. id: item.id,
  370. uid: item.uid,
  371. type: item.type,
  372. name: item.name,
  373. orgCode: item.orgCode,
  374. investment: item.investment
  375. });
  376. });
  377. this.setState({
  378. legalTableData: theTableData
  379. });
  380. }.bind(this)).always(function () {
  381. this.setState({
  382. loading: false
  383. });
  384. }.bind(this));
  385. },
  386. //申请书
  387. //第一
  388. loadHighTechList(uid) {
  389. $.ajax({
  390. method: "post",
  391. dataType: "json",
  392. crossDomain: false,
  393. url: globalConfig.context + "/api/admin/listCognizance",
  394. data: {
  395. uid: uid
  396. },
  397. success: function (data) {
  398. if (!data.data || !data.data.list) {
  399. if (data.error && data.error.length) {
  400. message.warning(data.error[0].message);
  401. };
  402. } else {
  403. let _me = this;
  404. for (let i = 0; i < data.data.list.length; i++) {
  405. let thisdata = data.data.list[i];
  406. if (thisdata.year == this.state.year) {
  407. _me.loadHighTechApply(uid, thisdata.cid, this.state.year)
  408. }
  409. };
  410. };
  411. }.bind(this),
  412. }).always(function () {
  413. this.loadIntellectualData(uid);
  414. }.bind(this));
  415. },
  416. loadHighTechApply(uid, cid, year) {
  417. $.ajax({
  418. method: "post",
  419. dataType: "json",
  420. crossDomain: false,
  421. url: globalConfig.context + "/api/admin/cognizanceDetail",
  422. data: {
  423. uid: uid,
  424. cid: cid,
  425. year: year + 1
  426. }
  427. }).done(function (data) {
  428. if (!data.data) {
  429. if (data.error && data.error.length) {
  430. message.warning(data.error[0].message);
  431. };
  432. } else {
  433. this.state.moneyTable = [
  434. {
  435. key: 1,
  436. year: '前一年',
  437. netAsset: data.data.netAsset1,
  438. salesRevenue: data.data.salesRevenue1,
  439. grossProfit: data.data.grossProfit1
  440. }, {
  441. key: 2,
  442. year: '前二年',
  443. netAsset: data.data.netAsset2,
  444. salesRevenue: data.data.salesRevenue2,
  445. grossProfit: data.data.grossProfit2
  446. }, {
  447. key: 3,
  448. year: '前三年',
  449. netAsset: data.data.netAsset3,
  450. salesRevenue: data.data.salesRevenue3,
  451. grossProfit: data.data.grossProfit3
  452. }
  453. ];
  454. if (data.data.netAsset2 == 0) {
  455. this.state.netAssetRate = 0;
  456. } else if (data.data.netAsset3 == 0) {
  457. this.state.netAssetRate = (data.data.netAsset1 / data.data.netAsset2) - 1;
  458. } else {
  459. this.state.netAssetRate = 1 / 2 * (data.data.netAsset2 / data.data.netAsset3 + data.data.netAsset1 / data.data.netAsset2) - 1;
  460. };
  461. if (this.state.netAssetRate < 0 || isNaN(this.state.netAssetRate)) {
  462. this.state.netAssetRate = 0
  463. };
  464. if (data.data.salesRevenue2 == 0) {
  465. this.state.salesRevenueRate = 0;
  466. } else if (data.data.salesRevenue3 == 0) {
  467. this.state.salesRevenueRate = (data.data.salesRevenue1 / data.data.salesRevenue2) - 1;
  468. } else {
  469. this.state.salesRevenueRate = 1 / 2 * (data.data.salesRevenue2 / data.data.salesRevenue3 + data.data.salesRevenue1 / data.data.salesRevenue2) - 1;
  470. };
  471. if (this.state.salesRevenueRate < 0 || isNaN(this.state.salesRevenueRate)) {
  472. this.state.salesRevenueRate = 0
  473. };
  474. this.setState({
  475. firstCatagory: data.data.firstCatagory,
  476. secondCatagory: data.data.secondCatagory,
  477. firmTotal: data.data.firmTotal,
  478. techTotal: data.data.techTotal,
  479. researchCost: data.data.researchCost,
  480. territory: data.data.territory,
  481. basicResearchCost: data.data.basicResearchCost,
  482. totalRevenue: data.data.totalRevenue,
  483. lastYearRevenue: data.data.lastYearRevenue,
  484. accident: data.data.accident
  485. });
  486. };
  487. }.bind(this));
  488. },
  489. //第二
  490. loadIntellectualData(uid) {
  491. $.ajax({
  492. method: "get",
  493. dataType: "json",
  494. crossDomain: false,
  495. url: globalConfig.context + "/api/admin/summary/intellectualProperty",
  496. data: {
  497. uid: uid
  498. }
  499. }).done(function (data) {
  500. let theTableData = [];
  501. if (!data.data) {
  502. if (data.error && data.error.length) {
  503. message.warning(data.error[0].message);
  504. };
  505. } else {
  506. this.setState({
  507. inventionPatent: data.data.inventionPatent, //发明专利数
  508. defensePatent: data.data.defensePatent, //国防专利数
  509. nationalCrop: data.data.nationalCrop, //国家级农作物品种数
  510. newPlantCariety: data.data.newPlantCariety, //植物新品种数
  511. nationalDrug: data.data.nationalDrug, //国家新药数
  512. chineseMedicine: data.data.chineseMedicine, //国家一级中药保护品种数
  513. utilityPatent: data.data.utilityPatent, //实用新型专利数
  514. circuitDesign: data.data.circuitDesign, //集成电路布图设计专有权数
  515. exteriorPatent: data.data.exteriorPatent, //外观设计专利数
  516. softwareWorks: data.data.softwareWorks //软件著作权数
  517. });
  518. };
  519. }.bind(this)).always(function () {
  520. this.loadIntellectualListData(uid);
  521. this.loadIntellectualObjectData(uid);
  522. }.bind(this));
  523. },
  524. loadIntellectualListData(uid) {
  525. $.ajax({
  526. method: "get",
  527. dataType: "json",
  528. crossDomain: false,
  529. url: globalConfig.context + "/api/admin/summary/intellectualPropertyList",
  530. data: {
  531. uid: uid
  532. }
  533. }).done(function (data) {
  534. let theTableData = [];
  535. if (!data.data) {
  536. if (data.error && data.error.length) {
  537. message.warning(data.error[0].message);
  538. };
  539. } else {
  540. data.data.map(function (item) {
  541. theTableData.push({
  542. id: item.id,
  543. uid: item.uid,
  544. pid: item.pid,
  545. intellectualPropertyNumber: item.intellectualPropertyNumber,
  546. intellectualPropertyName: item.intellectualPropertyName,
  547. sortNumber: item.sortNumber,
  548. catagory: item.catagory,
  549. obtainWay: item.obtainWay,
  550. authorizationNumber: item.authorizationNumber,
  551. authorizationDate: item.authorizationDate,
  552. propertyRightUrl: item.propertyRightUrl,
  553. type: item.type,
  554. authorizationDateFormattedDate: item.authorizationDateFormattedDate,
  555. propertyRightDownloadFileName: item.propertyRightDownloadFileName
  556. });
  557. });
  558. };
  559. this.setState({
  560. intellectualTableData: theTableData
  561. });
  562. }.bind(this)).always(function () {
  563. this.loadHRData(uid);
  564. }.bind(this));
  565. },
  566. loadIntellectualObjectData(uid) {
  567. $.ajax({
  568. method: "post",
  569. dataType: "json",
  570. crossDomain: false,
  571. url: globalConfig.context + "/api/admin/intellectualList",
  572. data: {
  573. uid: uid
  574. }
  575. }).done(function (data) {
  576. let theObj = {};
  577. if (data.error && data.error.length) {
  578. message.warning(data.error[0].message);
  579. } else {
  580. data.data.list.map(function (item) {
  581. theObj[item.id] = item.intellectualPropertyNumber;
  582. });
  583. };
  584. this.setState({
  585. intellectualObj: theObj
  586. });
  587. }.bind(this)).always(function () {
  588. this.loadHRData(uid);
  589. }.bind(this));
  590. },
  591. //第三
  592. loadHRData(uid) {
  593. $.ajax({
  594. method: "post",
  595. dataType: "json",
  596. crossDomain: false,
  597. url: globalConfig.context + "/api/admin/orgHumanResource",
  598. data: {
  599. uid: uid,
  600. year: this.state.year
  601. }
  602. }).done(function (data) {
  603. if (!data.data || !data.data.list) {
  604. if (data.error && data.error.length) {
  605. message.warning(data.error[0].message);
  606. };
  607. } else {
  608. let thisdata = data.data.list[0] || {};
  609. this.setState({
  610. aboveFifty: thisdata.aboveFifty,
  611. belowThirty: thisdata.belowThirty,
  612. college: thisdata.college,
  613. doctor: thisdata.doctor,
  614. firmAbroad: thisdata.firmAbroad,
  615. firmCore: thisdata.firmCore,
  616. firmForeign: thisdata.firmForeign,
  617. firmInService: thisdata.firmInService,
  618. firmPartTime: thisdata.firmPartTime,
  619. firmTemporary: thisdata.firmTemporary,
  620. firmTotal: thisdata.firmTotal,
  621. fortyoneToFifty: thisdata.fortyoneToFifty,
  622. intermediateTitle: thisdata.intermediateTitle,
  623. juniorTitle: thisdata.juniorTitle,
  624. master: thisdata.master,
  625. seniorMechanic: thisdata.seniorMechanic,
  626. seniorTitle: thisdata.seniorTitle,
  627. techAbroad: thisdata.techAbroad,
  628. techCore: thisdata.techCore,
  629. techForeign: thisdata.techForeign,
  630. techInService: thisdata.techInService,
  631. techPartTime: thisdata.techPartTime,
  632. techTemporary: thisdata.techTemporary,
  633. techTotal: thisdata.techTotal,
  634. thirtyoneToThirtyfour: thisdata.thirtyoneToThirtyfour,
  635. undergraduate: thisdata.undergraduate,
  636. });
  637. };
  638. }.bind(this)).always(function () {
  639. this.loadActivityData(uid);
  640. }.bind(this));
  641. },
  642. //第四
  643. loadActivityData(uid) {
  644. $.ajax({
  645. method: "get",
  646. dataType: "json",
  647. crossDomain: false,
  648. url: globalConfig.context + "/api/admin/summary/activity",
  649. data: {
  650. uid: uid
  651. }
  652. }).done(function (data) {
  653. let theArr = [], _me = this;
  654. if (!data.data) {
  655. if (data.error && data.error.length) {
  656. message.warning(data.error[0].message);
  657. }
  658. } else {
  659. data.data.map(function (item) {
  660. theArr.push(
  661. <li key={item.id}>
  662. <p style={{ marginBottom: '10px', fontSize: '14px' }}><span>活动编号 </span> {item.activityNumber}</p>
  663. <div className="clearfix">
  664. <div className="half-item">
  665. <span className="item-title">研发活动名称</span>
  666. <span>{item.activityName}</span>
  667. </div>
  668. <div className="half-item">
  669. <span className="item-title">起止时间</span>
  670. <span>{item.startDateFormattedDate + ' -- ' + item.endDateFormattedDate}</span>
  671. </div>
  672. </div>
  673. <div className="all-item">
  674. <span className="item-title">技术领域</span>
  675. <span>{getTechField(Number(item.technicalField1), item.technicalField2 ? Number(item.technicalField2) : null, item.technicalField3 ? Number(item.technicalField3) : null)}</span>
  676. </div>
  677. <div className="clearfix">
  678. <div className="half-item">
  679. <span className="item-title">技术来源</span>
  680. <span>{getTechnicalSource(item.technicalSource)}</span>
  681. </div>
  682. <div className="half-item">
  683. <span className="item-title">知识产权编号</span>
  684. <span>{_me.getIntellectualNumber(item.intellectualPropertyNumber)}</span>
  685. </div>
  686. <div className="half-item">
  687. <span className="item-title">研发费用总预算</span>
  688. <span>{item.budget}</span>
  689. <span>万元</span>
  690. </div>
  691. <div className="half-item">
  692. <span className="item-title">研发费用近三年总支出</span>
  693. <span>{item.firstYearExpenditure + item.secondYearExpenditure + item.thirdYearExpenditure}</span>
  694. <span>万元</span>
  695. </div>
  696. <div className="half-item">
  697. <span className="item-title">其中 第一年</span>
  698. <span>{item.firstYearExpenditure}</span>
  699. <span>万元</span>
  700. </div>
  701. <div className="half-item">
  702. <span className="item-title">第二年</span>
  703. <span>{item.secondYearExpenditure}</span>
  704. <span>万元</span>
  705. </div>
  706. <div className="half-item">
  707. <span className="item-title">第三年</span>
  708. <span>{item.thirdYearExpenditure}</span>
  709. <span>万元</span>
  710. </div>
  711. </div>
  712. <div className="all-item">
  713. <span className="item-title">目的及组织实施方式</span>
  714. <span>{item.implement}</span>
  715. </div>
  716. <div className="all-item">
  717. <span className="item-title">核心技术及创新点</span>
  718. <span>{item.technologyInnovation}</span>
  719. </div>
  720. <div className="all-item">
  721. <span className="item-title">取得的阶段性成果</span>
  722. <span>{item.achievement}</span>
  723. </div>
  724. </li>
  725. )
  726. });
  727. };
  728. this.setState({
  729. activityData: theArr
  730. });
  731. }.bind(this)).always(function () {
  732. this.loadActivityCostData(uid);
  733. }.bind(this));
  734. },
  735. //第五
  736. loadActivityCostData(uid) {
  737. $.when($.ajax({
  738. method: "post",
  739. dataType: "json",
  740. crossDomain: false,
  741. url: globalConfig.context + "/api/admin/activityCostList",
  742. data: {
  743. uid: uid,
  744. year: this.state.year - 2
  745. }
  746. }), $.ajax({
  747. method: "post",
  748. dataType: "json",
  749. crossDomain: false,
  750. url: globalConfig.context + "/api/admin/activityCostList",
  751. data: {
  752. uid: uid,
  753. year: this.state.year - 1
  754. }
  755. }), $.ajax({
  756. method: "post",
  757. dataType: "json",
  758. crossDomain: false,
  759. url: globalConfig.context + "/api/admin/activityCostList",
  760. data: {
  761. uid: uid,
  762. year: this.state.year
  763. }
  764. })).done(function (data1, data2, data3) {
  765. let firstArr = [];
  766. let secondArr = [];
  767. let thirdArr = [];
  768. if (!data1[0].data && !data1[0].data.list) {
  769. if (data1[0].error && data1[0].error.length) {
  770. message.warning(data1[0].error[0].message);
  771. };
  772. } else {
  773. data1[0].data.list.map(function (item) {
  774. firstArr.push({
  775. id: item.id,
  776. uid: item.uid,
  777. aid: item.aid,
  778. activityNumber: item.activityNumber,
  779. year: item.year,
  780. startDate: item.startDate,
  781. endDate: item.endDate,
  782. internalAllCost: mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost +
  783. item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost +
  784. item.internalEquipmentCost + item.internalOtherCost),
  785. internalLaborCost: item.internalLaborCost,
  786. internalDirectCost: item.internalDirectCost,
  787. internalDepreciationCost: item.internalDepreciationCost,
  788. internalAmortizationCost: item.internalAmortizationCost,
  789. internalDesignCost: item.internalDesignCost,
  790. internalEquipmentCost: item.internalEquipmentCost,
  791. internalOtherCost: item.internalOtherCost,
  792. externalTotalCost: item.externalTotalCost,
  793. externalAbroadCost: item.externalAbroadCost,
  794. allCost:
  795. mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost +
  796. item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost +
  797. item.internalEquipmentCost + item.internalOtherCost + item.externalTotalCost),
  798. enterpriseFiller: item.enterpriseFiller,
  799. signDate: item.signDate,
  800. signDateFormattedDate: item.signDateFormattedDate,
  801. sortNumber: item.sortNumber,
  802. startDateFormattedDate: item.startDateFormattedDate,
  803. endDateFormattedDate: item.endDateFormattedDate,
  804. accountDownloadFileName: item.accountDownloadFileName,
  805. accountUrl: item.accountUrl
  806. });
  807. });
  808. };
  809. if (!data2[0].data && !data2[0].data.list) {
  810. if (data2[0].error && data2[0].error.length) {
  811. message.warning(data2[0].error[0].message);
  812. };
  813. } else {
  814. data2[0].data.list.map(function (item) {
  815. secondArr.push({
  816. id: item.id,
  817. uid: item.uid,
  818. aid: item.aid,
  819. activityNumber: item.activityNumber,
  820. year: item.year,
  821. startDate: item.startDate,
  822. endDate: item.endDate,
  823. internalAllCost:
  824. mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost +
  825. item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost +
  826. item.internalEquipmentCost + item.internalOtherCost),
  827. internalLaborCost: item.internalLaborCost,
  828. internalDirectCost: item.internalDirectCost,
  829. internalDepreciationCost: item.internalDepreciationCost,
  830. internalAmortizationCost: item.internalAmortizationCost,
  831. internalDesignCost: item.internalDesignCost,
  832. internalEquipmentCost: item.internalEquipmentCost,
  833. internalOtherCost: item.internalOtherCost,
  834. externalTotalCost: item.externalTotalCost,
  835. externalAbroadCost: item.externalAbroadCost,
  836. allCost:
  837. mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost +
  838. item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost +
  839. item.internalEquipmentCost + item.internalOtherCost + item.externalTotalCost),
  840. enterpriseFiller: item.enterpriseFiller,
  841. signDate: item.signDate,
  842. signDateFormattedDate: item.signDateFormattedDate,
  843. sortNumber: item.sortNumber,
  844. startDateFormattedDate: item.startDateFormattedDate,
  845. endDateFormattedDate: item.endDateFormattedDate,
  846. accountDownloadFileName: item.accountDownloadFileName,
  847. accountUrl: item.accountUrl
  848. });
  849. });
  850. };
  851. if (!data3[0].data && !data3[0].data.list) {
  852. if (data3[0].error && data3[0].error.length) {
  853. message.warning(data3[0].error[0].message);
  854. };
  855. } else {
  856. data3[0].data.list.map(function (item) {
  857. thirdArr.push({
  858. id: item.id,
  859. uid: item.uid,
  860. aid: item.aid,
  861. activityNumber: item.activityNumber,
  862. year: item.year,
  863. startDate: item.startDate,
  864. endDate: item.endDate,
  865. internalAllCost:
  866. mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost +
  867. item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost +
  868. item.internalEquipmentCost + item.internalOtherCost),
  869. internalLaborCost: item.internalLaborCost,
  870. internalDirectCost: item.internalDirectCost,
  871. internalDepreciationCost: item.internalDepreciationCost,
  872. internalAmortizationCost: item.internalAmortizationCost,
  873. internalDesignCost: item.internalDesignCost,
  874. internalEquipmentCost: item.internalEquipmentCost,
  875. internalOtherCost: item.internalOtherCost,
  876. externalTotalCost: item.externalTotalCost,
  877. externalAbroadCost: item.externalAbroadCost,
  878. allCost:
  879. mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost +
  880. item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost +
  881. item.internalEquipmentCost + item.internalOtherCost + item.externalTotalCost),
  882. enterpriseFiller: item.enterpriseFiller,
  883. signDate: item.signDate,
  884. signDateFormattedDate: item.signDateFormattedDate,
  885. sortNumber: item.sortNumber,
  886. startDateFormattedDate: item.startDateFormattedDate,
  887. endDateFormattedDate: item.endDateFormattedDate,
  888. accountDownloadFileName: item.accountDownloadFileName,
  889. accountUrl: item.accountUrl
  890. });
  891. });
  892. };
  893. this.setState({
  894. firstActivityData: firstArr,
  895. secondActivityData: secondArr,
  896. thirdActivityData: thirdArr
  897. });
  898. }.bind(this)).always(function () {
  899. this.loadTechProductData(uid);
  900. }.bind(this));
  901. },
  902. //第六
  903. loadTechProductData(uid) {
  904. $.ajax({
  905. method: "post",
  906. dataType: "json",
  907. crossDomain: false,
  908. url: globalConfig.context + "/api/admin/techProductList",
  909. data: {
  910. uid: uid,
  911. year: this.state.year
  912. }
  913. }).done(function (data) {
  914. let theArr = [], _me = this;
  915. if (!data.data) {
  916. if (data.error && data.error.length) {
  917. message.warning(data.error[0].message);
  918. }
  919. } else {
  920. data.data.list.map(function (item) {
  921. theArr.push(
  922. <li key={item.id}>
  923. <p style={{ marginBottom: '10px', fontSize: '14px' }}><span>编号 </span> {item.serialNumber}</p>
  924. <div className="all-item">
  925. <span className="item-title">产品(服务)名称</span>
  926. <span>{item.productName}</span>
  927. </div>
  928. <div className="all-item">
  929. <span className="item-title">技术领域</span>
  930. <span>{getTechField(Number(item.technicalField1), item.technicalField2 ? Number(item.technicalField2) : null, item.technicalField3 ? Number(item.technicalField3) : null)}</span>
  931. </div>
  932. <div className="clearfix">
  933. <div className="half-item">
  934. <span className="item-title">技术来源</span>
  935. <span>{getTechnicalSource(item.technicalSource)}</span>
  936. </div>
  937. <div className="half-item">
  938. <span className="item-title">上年度销售收入</span>
  939. <span>{item.lastYearRevenue}</span>
  940. <span>万元</span>
  941. </div>
  942. <div className="half-item">
  943. <span className="item-title">是否主要产品(服务)</span>
  944. <span>{item.mainProduct == 1 ? '是' : '否'}</span>
  945. </div>
  946. <div className="half-item">
  947. <span className="item-title">知识产权编号</span>
  948. <span>{_me.getIntellectualNumber(item.intellectualPropertyNumber)}</span>
  949. </div>
  950. </div>
  951. <div className="all-item">
  952. <span className="item-title">关键技术及主要技术指标</span>
  953. <span>{item.keyTechnology}</span>
  954. </div>
  955. <div className="all-item">
  956. <span className="item-title">与同类产品(服务)的竞争优势</span>
  957. <span>{item.competitiveEdge}</span>
  958. </div>
  959. <div className="all-item">
  960. <span className="item-title">知识产权获得情况及其对产品(服务)在技术上发挥的支持作用</span>
  961. <span>{item.conditionEffect}</span>
  962. </div>
  963. </li>
  964. )
  965. });
  966. };
  967. this.setState({
  968. techProductData: theArr
  969. });
  970. }.bind(this)).always(function () {
  971. this.loadAbilityData(uid);
  972. }.bind(this));
  973. },
  974. //第七
  975. loadAbilityData(uid) {
  976. $.ajax({
  977. method: "post",
  978. dataType: "json",
  979. url: globalConfig.context + "/api/admin/able",
  980. data: {
  981. uid: uid
  982. },
  983. success: function (data) {
  984. if (data.data) {
  985. this.setState({
  986. intellectRight: data.data.intellectRight,
  987. scienceAchievement: data.data.scienceAchievement,
  988. researchInnovation: data.data.researchInnovation,
  989. personnel: data.data.personnel
  990. });
  991. } else if (data.error && data.error.length) {
  992. message.warning(data.error[0].message);
  993. };
  994. }.bind(this),
  995. }).always(function () {
  996. this.loadStandardData(uid);
  997. }.bind(this));
  998. },
  999. //第八
  1000. loadStandardData(uid) {
  1001. $.ajax({
  1002. method: "post",
  1003. dataType: "json",
  1004. crossDomain: false,
  1005. url: globalConfig.context + "/api/admin/standard",
  1006. data: {
  1007. uid: uid,
  1008. year: this.state.year
  1009. },
  1010. success: function (data) {
  1011. let theArr = [];
  1012. if (!data.data || !data.data.list) {
  1013. if (data.error && data.error.length) {
  1014. message.warning(data.error[0].message);
  1015. }
  1016. } else {
  1017. for (let i = 0; i < data.data.list.length; i++) {
  1018. let thisdata = data.data.list[i];
  1019. theArr.push({
  1020. key: i + 1,
  1021. id: thisdata.id,
  1022. uid: thisdata.uid,
  1023. standardName: thisdata.standardName,
  1024. standardNumber: thisdata.standardNumber,
  1025. year: thisdata.year,
  1026. enclosureUrl: thisdata.enclosureUrl,
  1027. standardLevel: thisdata.standardLevel,
  1028. participateWay: thisdata.participateWay,
  1029. createTime: thisdata.createTime,
  1030. createTimeFormattedDate: thisdata.createTimeFormattedDate
  1031. });
  1032. };
  1033. };
  1034. this.setState({
  1035. standardTableData: theArr,
  1036. });
  1037. }.bind(this),
  1038. });
  1039. },
  1040. componentWillMount() {
  1041. if (window.location.search) {
  1042. let theObj = getSearchUrl(window.location.search);
  1043. this.loadInfoData(theObj.uid);
  1044. this.loadHumanData(theObj.uid);
  1045. this.loadLegalData(theObj.uid);
  1046. };
  1047. },
  1048. render() {
  1049. const theData = this.state;
  1050. return (
  1051. <Spin spinning={theData.loading}>
  1052. <div id="Info-box">
  1053. <div className="Info-title">
  1054. {theData.unitName}高企认定材料
  1055. </div>
  1056. <div className="Info-content" >
  1057. <div className="clearfix">
  1058. <div className="half-item">
  1059. <span className="item-title">年份</span>
  1060. <span>{theData.year + 1}</span>
  1061. </div>
  1062. <div className="half-item">
  1063. <span className="item-title">公司名字</span>
  1064. <span>{theData.unitName}</span>
  1065. </div>
  1066. <div className="half-item">
  1067. <span className="item-title">通讯地址</span>
  1068. <span>{theData.postalAddress}</span>
  1069. </div>
  1070. <div className="half-item">
  1071. <span className="item-title">法定代表人</span>
  1072. <span>{theData.legalPerson}</span>
  1073. </div>
  1074. </div>
  1075. <div className="content-title">
  1076. <span>企业注册登记表</span>
  1077. </div>
  1078. <p>法定代表人</p>
  1079. <div className="clearfix">
  1080. <div className="half-item">
  1081. <span className="item-title">电话</span>
  1082. <span>{theData.legalPersonTel}</span>
  1083. </div>
  1084. <div className="half-item">
  1085. <span className="item-title">传真</span>
  1086. <span>{theData.legalPersonFax}</span>
  1087. </div>
  1088. <div className="half-item">
  1089. <span className="item-title">E-mail</span>
  1090. <span>{theData.legalPersonEmail}</span>
  1091. </div>
  1092. </div>
  1093. <p>联系人</p>
  1094. <div className="clearfix">
  1095. <div className="half-item">
  1096. <span className="item-title">姓名</span>
  1097. <span>{theData.firstContacts}</span>
  1098. </div>
  1099. <div className="half-item">
  1100. <span className="item-title">手机</span>
  1101. <span>{theData.firstMobile}</span>
  1102. </div>
  1103. <div className="half-item">
  1104. <span className="item-title">电话</span>
  1105. <span>{theData.contactsFixedTel}</span>
  1106. </div>
  1107. <div className="half-item">
  1108. <span className="item-title">传真</span>
  1109. <span>{theData.contactsFax}</span>
  1110. </div>
  1111. </div>
  1112. <div className="clearfix">
  1113. <div className="half-item">
  1114. <span className="item-title">通讯地址</span>
  1115. <span>{theData.postalAddress}</span>
  1116. </div>
  1117. <div className="half-item">
  1118. <span className="item-title">邮政编码</span>
  1119. <span>{theData.postcode}</span>
  1120. </div>
  1121. </div>
  1122. <div className="all-item">
  1123. <span className="item-title">企业名称</span>
  1124. <span>{theData.unitName}</span>
  1125. </div>
  1126. <div className="clearfix">
  1127. <div className="half-item">
  1128. <span className="item-title">法定代表人</span>
  1129. <span>{theData.legalPerson}</span>
  1130. </div>
  1131. <div className="half-item">
  1132. <span className="item-title">身份证号/护照号</span>
  1133. <span>{theData.legalPersonIdCard}</span>
  1134. </div>
  1135. <div className="half-item">
  1136. <span className="item-title">注册时间</span>
  1137. <span>{theData.registrationTimeFormattedDate}</span>
  1138. </div>
  1139. <div className="half-item">
  1140. <span className="item-title">企业规模</span>
  1141. <span>{getScaleState(theData.enterpriseScale)}</span>
  1142. </div>
  1143. <div className="half-item">
  1144. <span className="item-title">注册类型</span>
  1145. <span>{getCompanyType(Number(theData.registerType[0]), theData.registerType[1] ? Number(theData.registerType[1]) : null)}</span>
  1146. </div>
  1147. <div className="half-item">
  1148. <span className="item-title">外资来源地</span>
  1149. <span>{theData.foreignInvestment}</span>
  1150. </div>
  1151. </div>
  1152. <div className="all-item">
  1153. <span className="item-title">技术领域</span>
  1154. <span>{getTechField(theData.field[0], theData.field[1], theData.field[2])}</span>
  1155. </div>
  1156. <div className="clearfix">
  1157. <div className="half-item">
  1158. <span className="item-title">组织机构代码/统一社会信用代码</span>
  1159. <span>{theData.orgCode}</span>
  1160. </div>
  1161. <div className="half-item">
  1162. <span className="item-title">税务登记号/统一社会信用代码</span>
  1163. <span>{theData.ratepayCode}</span>
  1164. </div>
  1165. </div>
  1166. <div className="clearfix">
  1167. <div className="half-item">
  1168. <span className="item-title">主管税务机关</span>
  1169. <span>{
  1170. (() => {
  1171. if (theData.taxAuthority == '0') {
  1172. return '国税';
  1173. } else if (theData.taxAuthority == '1') {
  1174. return '地税';
  1175. };
  1176. })()
  1177. }</span>
  1178. </div>
  1179. <div className="half-item">
  1180. <span className="item-title">所得税征收方式</span>
  1181. <span>{
  1182. (() => {
  1183. if (theData.ratepayMethod == '0') {
  1184. return '查账征收';
  1185. } else if (theData.ratepayMethod == '1') {
  1186. return '核定征收';
  1187. };
  1188. })()
  1189. }</span>
  1190. </div>
  1191. <div className="half-item">
  1192. <span className="item-title">行政区域</span>
  1193. <span>{theData.address}</span>
  1194. </div>
  1195. <div className="half-item">
  1196. <span className="item-title">注册资金</span>
  1197. <span>{theData.registeredCapital}</span>
  1198. <span>万元</span>
  1199. </div>
  1200. <div className="half-item">
  1201. <span className="item-title">是否高新区</span>
  1202. <span>{
  1203. (() => {
  1204. if (theData.highTechZone == '0') {
  1205. return '否';
  1206. } else if (theData.highTechZone == '1') {
  1207. return '是';
  1208. };
  1209. })()
  1210. }</span>
  1211. </div>
  1212. <div className="half-item">
  1213. <span className="item-title">高新区名称</span>
  1214. <span>{theData.highTechName}</span>
  1215. </div>
  1216. <div className="half-item">
  1217. <span className="item-title">是否上市</span>
  1218. <span>{
  1219. (() => {
  1220. if (theData.listed == '0') {
  1221. return '否';
  1222. } else if (theData.listed == '1') {
  1223. return '是';
  1224. };
  1225. })()
  1226. }</span>
  1227. </div>
  1228. <div className="half-item">
  1229. <span className="item-title">上市类型</span>
  1230. <span>{
  1231. (() => {
  1232. if (theData.listedType == '0') {
  1233. return '股票型上市公司';
  1234. } else if (theData.listedType == '1') {
  1235. return '债券型上市公司';
  1236. };
  1237. })()
  1238. }</span>
  1239. </div>
  1240. <div className="half-item">
  1241. <span className="item-title">上市时间</span>
  1242. <span>{theData.listedDateFormattedDate}</span>
  1243. </div>
  1244. <div className="half-item">
  1245. <span className="item-title">股票代码</span>
  1246. <span>{theData.stockCode}</span>
  1247. </div>
  1248. <div className="half-item">
  1249. <span className="item-title">所属行业</span>
  1250. <span>{getIndustryType(theData.industry)}</span>
  1251. </div>
  1252. <div className="half-item">
  1253. <span className="item-title">是否引入风投</span>
  1254. <span>{
  1255. (() => {
  1256. if (theData.riskInvestment == '0') {
  1257. return '否';
  1258. } else if (theData.riskInvestment == '1') {
  1259. return '是';
  1260. };
  1261. })()
  1262. }</span>
  1263. </div>
  1264. <p>自然人股权</p>
  1265. <Table className="company-table" style={{ padding: '10px 20px' }}
  1266. columns={this.state.humanColumns}
  1267. dataSource={this.state.humanTableData}
  1268. pagination={false} />
  1269. <p>法人股权</p>
  1270. <Table className="company-table" style={{ padding: '10px 20px' }}
  1271. columns={this.state.legalColumns}
  1272. dataSource={this.state.legalTableData}
  1273. pagination={false} />
  1274. </div>
  1275. <div className="content-title">
  1276. <span>高新企业认定申请</span>
  1277. <span>(主要情况)</span>
  1278. </div>
  1279. <div className="all-item">
  1280. <span className="item-title">技术领域</span>
  1281. <span>{getTechField(Number(theData.field[0]), theData.field[1] ? Number(theData.field[1]) : null, theData.field[2] ? Number(theData.field[2]) : null)}</span>
  1282. </div>
  1283. <p>获得知识产权数量(件)</p>
  1284. <div className="clearfix">
  1285. <div className="half-item">
  1286. <span className="item-title">Ⅰ 类</span>
  1287. <span>{theData.firstCatagory}</span>
  1288. </div>
  1289. <div className="half-item">
  1290. <span className="item-title">Ⅱ 类</span>
  1291. <span>{theData.secondCatagory}</span>
  1292. </div>
  1293. </div>
  1294. <p>人力资源情况(人)</p>
  1295. <div className="clearfix">
  1296. <div className="half-item">
  1297. <span className="item-title">职工总数</span>
  1298. <span>{theData.firmTotal}</span>
  1299. </div>
  1300. <div className="half-item">
  1301. <span className="item-title">科技人员数</span>
  1302. <span>{theData.techTotal}</span>
  1303. </div>
  1304. </div>
  1305. <p>近三年经营状况(万元)</p>
  1306. <Table
  1307. pagination={false}
  1308. dataSource={this.state.moneyTable}
  1309. columns={this.state.moneyColumns} />
  1310. <div className="clearfix">
  1311. <div className="half-item">
  1312. <span className="item-title">净资产增长率</span>
  1313. <span>{(this.state.netAssetRate * 100).toFixed(2) + '%'}</span>
  1314. </div>
  1315. <div className="half-item">
  1316. <span className="item-title">销售收入增长率</span>
  1317. <span>{(this.state.salesRevenueRate * 100).toFixed(2) + '%'}</span>
  1318. </div>
  1319. </div>
  1320. <div className="clearfix">
  1321. <div className="half-item">
  1322. <span className="item-title">近三年研究开发费用总额</span>
  1323. <span>{theData.researchCost || 0}</span>
  1324. <span> 万元</span>
  1325. </div>
  1326. <div className="half-item">
  1327. <span className="item-title">在中国境内研发费用总和</span>
  1328. <span>{theData.territory || 0}</span>
  1329. <span> 万元</span>
  1330. </div>
  1331. <div className="half-item">
  1332. <span className="item-title">基础研究投入费用总额</span>
  1333. <span>{theData.basicResearchCost || 0}</span>
  1334. <span> 万元</span>
  1335. </div>
  1336. <div className="half-item">
  1337. <span className="item-title">近一年企业总收入</span>
  1338. <span>{theData.totalRevenue || 0}</span>
  1339. <span> 万元</span>
  1340. </div>
  1341. <div className="half-item">
  1342. <span className="item-title">近一年高新技术产品收入</span>
  1343. <span>{theData.lastYearRevenue || 0}</span>
  1344. <span> 万元</span>
  1345. </div>
  1346. <div className="half-item">
  1347. <span className="item-title" style={{ width: 400 }}>申请认定前一年内是否发生过重大安全、重大质量或严重环境违法行为</span>
  1348. <span>{(() => {
  1349. if (theData.accident == 0) {
  1350. return '否';
  1351. } else if (theData.accident == 1) {
  1352. return '是';
  1353. };
  1354. })()}</span>
  1355. </div>
  1356. </div>
  1357. <div className="content-title">
  1358. <span>高新企业认定申请</span>
  1359. <span>(知识产权汇总)</span>
  1360. </div>
  1361. <p>获得知识产权数量(件)(Ⅰ 类)</p>
  1362. <div className="clearfix">
  1363. <div className="half-item">
  1364. <span className="item-title">发明专利</span>
  1365. <span>{theData.inventionPatent}</span>
  1366. </div>
  1367. <div className="half-item">
  1368. <span className="item-title">国防专利</span>
  1369. <span>{theData.defensePatent}</span>
  1370. </div>
  1371. <div className="half-item">
  1372. <span className="item-title">植物新品种</span>
  1373. <span>{theData.newPlantCariety}</span>
  1374. </div>
  1375. <div className="half-item">
  1376. <span className="item-title">国家级农作物品种</span>
  1377. <span>{theData.nationalCrop}</span>
  1378. </div>
  1379. <div className="half-item">
  1380. <span className="item-title">国家新药</span>
  1381. <span>{theData.nationalDrug}</span>
  1382. </div>
  1383. <div className="half-item">
  1384. <span className="item-title">国家一级中药保护品种</span>
  1385. <span>{theData.chineseMedicine}</span>
  1386. </div>
  1387. <div className="half-item">
  1388. <span className="item-title">集成电路布图</span>
  1389. <span>{theData.circuitDesign}</span>
  1390. </div>
  1391. </div>
  1392. <p>获得知识产权数量(件)(Ⅱ 类)</p>
  1393. <div className="clearfix">
  1394. <div className="half-item">
  1395. <span className="item-title">实用新型</span>
  1396. <span>{theData.utilityPatent}</span>
  1397. </div>
  1398. <div className="half-item">
  1399. <span className="item-title">软著</span>
  1400. <span>{theData.softwareWorks}</span>
  1401. </div>
  1402. <div className="half-item">
  1403. <span className="item-title">外观设计</span>
  1404. <span>{theData.exteriorPatent}</span>
  1405. </div>
  1406. </div>
  1407. <Table
  1408. pagination={false}
  1409. dataSource={this.state.intellectualTableData}
  1410. columns={this.state.intellectualColumns} />
  1411. <div className="content-title">
  1412. <span>人力资源情况表</span>
  1413. </div>
  1414. <p>总体情况</p>
  1415. <div className="clearfix">
  1416. <div className="half-item">
  1417. <span className="item-title" style={{ marginLeft: 150 }}>企业职工</span>
  1418. </div>
  1419. <div className="half-item">
  1420. <span className="item-title" style={{ marginLeft: 150 }}>科技人员</span>
  1421. </div>
  1422. <div className="half-item">
  1423. <span className="item-title">总数</span>
  1424. <span>{theData.firmTotal}</span>
  1425. </div>
  1426. <div className="half-item">
  1427. <span className="item-title"></span>
  1428. <span>{theData.techTotal}</span>
  1429. </div>
  1430. <div className="half-item">
  1431. <span className="item-title">在职人员</span>
  1432. <span>{theData.firmInService}</span>
  1433. </div>
  1434. <div className="half-item">
  1435. <span className="item-title"></span>
  1436. <span>{theData.techInService}</span>
  1437. </div>
  1438. <div className="half-item">
  1439. <span className="item-title">兼职人员</span>
  1440. <span>{theData.firmPartTime}</span>
  1441. </div>
  1442. <div className="half-item">
  1443. <span className="item-title"></span>
  1444. <span>{theData.techPartTime}</span>
  1445. </div>
  1446. <div className="half-item">
  1447. <span className="item-title">临时聘用人员</span>
  1448. <span>{theData.firmTemporary}</span>
  1449. </div>
  1450. <div className="half-item">
  1451. <span className="item-title"></span>
  1452. <span>{theData.techTemporary}</span>
  1453. </div>
  1454. <div className="half-item">
  1455. <span className="item-title">外籍人员</span>
  1456. <span>{theData.firmForeign}</span>
  1457. </div>
  1458. <div className="half-item">
  1459. <span className="item-title"></span>
  1460. <span>{theData.techForeign}</span>
  1461. </div>
  1462. <div className="half-item">
  1463. <span className="item-title">留学归国人员</span>
  1464. <span>{theData.firmAbroad}</span>
  1465. </div>
  1466. <div className="half-item">
  1467. <span className="item-title"></span>
  1468. <span>{theData.techAbroad}</span>
  1469. </div>
  1470. <div className="half-item">
  1471. <span className="item-title">千人计划</span>
  1472. <span>{theData.firmCore}</span>
  1473. </div>
  1474. <div className="half-item">
  1475. <span className="item-title"></span>
  1476. <span>{theData.techCore}</span>
  1477. </div>
  1478. </div>
  1479. <p>全体人员结构</p>
  1480. <p>学历</p>
  1481. <div className="clearfix">
  1482. <div className="half-item">
  1483. <span className="item-title">博士</span>
  1484. <span>{theData.doctor}</span>
  1485. </div>
  1486. <div className="half-item">
  1487. <span className="item-title">硕士</span>
  1488. <span>{theData.master}</span>
  1489. </div>
  1490. <div className="half-item">
  1491. <span className="item-title">本科</span>
  1492. <span>{theData.undergraduate}</span>
  1493. </div>
  1494. <div className="half-item">
  1495. <span className="item-title">大专及以下</span>
  1496. <span>{theData.college}</span>
  1497. </div>
  1498. </div>
  1499. <p>职称</p>
  1500. <div className="clearfix">
  1501. <div className="half-item">
  1502. <span className="item-title">高级职称</span>
  1503. <span>{theData.seniorTitle}</span>
  1504. </div>
  1505. <div className="half-item">
  1506. <span className="item-title">中级职称</span>
  1507. <span>{theData.intermediateTitle}</span>
  1508. </div>
  1509. <div className="half-item">
  1510. <span className="item-title">初级职称</span>
  1511. <span>{theData.juniorTitle}</span>
  1512. </div>
  1513. <div className="half-item">
  1514. <span className="item-title">高级技工</span>
  1515. <span>{theData.seniorMechanic}</span>
  1516. </div>
  1517. </div>
  1518. <p>年龄</p>
  1519. <div className="clearfix">
  1520. <div className="half-item">
  1521. <span className="item-title">30及以下</span>
  1522. <span>{theData.belowThirty}</span>
  1523. </div>
  1524. <div className="half-item">
  1525. <span className="item-title">31-40</span>
  1526. <span>{theData.thirtyoneToThirtyfour}</span>
  1527. </div>
  1528. <div className="half-item">
  1529. <span className="item-title">41-50</span>
  1530. <span>{theData.fortyoneToFifty}</span>
  1531. </div>
  1532. <div className="half-item">
  1533. <span className="item-title">51及以上</span>
  1534. <span>{theData.aboveFifty}</span>
  1535. </div>
  1536. </div>
  1537. <div className="content-title">
  1538. <span>企业研究开发活动情况表</span>
  1539. </div>
  1540. <ul>{this.state.activityData}</ul>
  1541. <div className="content-title">
  1542. <span>企业年度研发费用结构明细表</span>
  1543. </div>
  1544. <p style={{ marginBottom: '10px', fontSize: '14px' }}>{this.state.year - 2} 年度 单位:万元</p>
  1545. <Table columns={this.state.activityCostColumns}
  1546. dataSource={this.state.firstActivityData}
  1547. pagination={false} />
  1548. <p style={{ marginBottom: '10px', fontSize: '14px' }}>{this.state.year - 1} 年度 单位:万元</p>
  1549. <Table columns={this.state.activityCostColumns}
  1550. dataSource={this.state.secondActivityData}
  1551. pagination={false} />
  1552. <p style={{ marginBottom: '10px', fontSize: '14px' }}>{this.state.year} 年度 单位:万元</p>
  1553. <Table columns={this.state.activityCostColumns}
  1554. dataSource={this.state.thirdActivityData}
  1555. pagination={false} />
  1556. <div className="content-title">
  1557. <span>上年度高新技术产品(服务)情况表</span>
  1558. </div>
  1559. <ul>{this.state.techProductData}</ul>
  1560. <div className="content-title">
  1561. <span>创业创新能力</span>
  1562. </div>
  1563. <div className="clearfix">
  1564. <div className="all-item">
  1565. <span className="item-title">知识产权对企业竞争力的作用</span>
  1566. <span>{theData.intellectRight}</span>
  1567. </div>
  1568. <div className="all-item">
  1569. <span className="item-title">科技成果转化情况</span>
  1570. <span>{theData.scienceAchievement}</span>
  1571. </div>
  1572. <div className="all-item">
  1573. <span className="item-title">研究开发与技术创新组织管理情况</span>
  1574. <span>{theData.researchInnovation}</span>
  1575. </div>
  1576. <div className="all-item">
  1577. <span className="item-title">管理与科技人员情况</span>
  1578. <span>{theData.personnel}</span>
  1579. </div>
  1580. </div>
  1581. <div className="content-title">
  1582. <span>企业参与国家标准或行业制定情况汇总表</span>
  1583. </div>
  1584. <Table columns={this.state.standardColumns}
  1585. dataSource={this.state.standardTableData}
  1586. pagination={false} />
  1587. </div>
  1588. </div>
  1589. </Spin>
  1590. );
  1591. }
  1592. });
  1593. export default highTechInfo;