import React from 'react'; import { Icon, Button, Spin, message, Table } from 'antd'; import { getSearchUrl, getScaleState, getCompanyType, getIndustryType, getCatagory, getIntellectualObtainWay, getTechnicalSource } from '../../../tools.js'; import { getProvince } from '../../../NewDicProvinceList'; import { getTechField } from '../../../DicTechFieldList'; import ajax from 'jquery/src/ajax/xhr.js'; import $ from 'jquery/src/ajax'; import moment from 'moment'; import './highTechFoster.less'; const mathRound = function(p){ if ( !isNaN(p) ) { return Math.round(p*100)/100 } else { return p } } const highTechInfo = React.createClass({ getIntellectualNumber(text) { let arr = [], _me = this; if (text && text.split(',').length) { text.split(',').map((item) => { arr.push(_me.state.intellectualObj[item]); }); }; return arr.join(','); }, getInitialState() { return { loading: false, year: new Date().getFullYear() - 1, field: [], intellectualObj: {}, registerType: [], netAssetRate: 0, salesRevenueRate: 0, humanColumns: [ { title: '公民类型', dataIndex: 'type', key: 'type', width: '130px', render: (text, record, index) => { if (text == '0') { return '中国公民'; } else if (text == '1') { return '外籍公民'; }; } }, { title: '姓名', dataIndex: 'name', key: 'name' }, { title: '身份证(护照)号', dataIndex: 'idNumber', key: 'idNumber' }, { title: '投资额(万元)', dataIndex: 'investment', key: 'investment' } ], legalColumns: [ { title: '法人类型', dataIndex: 'type', key: 'type', width: '130px', render: (text, record, index) => { if (text == '0') { return '中国企业法人'; } else if (text == '1') { return '外籍企业法人'; }; } }, { title: '名称', dataIndex: 'name', key: 'name' }, { title: '组织机构代码或统一社会信用代码', dataIndex: 'orgCode', key: 'orgCode' }, { title: '投资额(万元)', dataIndex: 'investment', key: 'investment' } ], moneyColumns: [ { title: '', dataIndex: 'year', key: 'year', }, { title: '净资产', dataIndex: 'netAsset', key: 'netAsset', }, { title: '销售收入', dataIndex: 'salesRevenue', key: 'salesRevenue', }, { title: '利润总额', dataIndex: 'grossProfit', key: 'grossProfit', } ], intellectualColumns: [ { title: '知识产权编号', dataIndex: 'intellectualPropertyNumber', key: 'intellectualPropertyNumber' }, { title: '知识产权名称', dataIndex: 'intellectualPropertyName', key: 'intellectualPropertyName', }, { title: '类型', dataIndex: 'catagory', key: 'catagory', render: (text) => { return getCatagory(text); } }, { title: '授权日期', dataIndex: 'authorizationDateFormattedDate', key: 'authorizationDateFormattedDate', }, { title: '授权号', dataIndex: 'authorizationNumber', key: 'authorizationNumber', }, { title: '获取方式', dataIndex: 'obtainWay', key: 'obtainWay', render: (text) => { return getIntellectualObtainWay(text); } } ], activityCostColumns: [ { title: '研发活动编号', dataIndex: 'activityNumber', key: 'activityNumber' }, { title: '内部研究开发费用', dataIndex: 'internalAllCost', key: 'internalAllCost' }, { title: '人员人工费用', dataIndex: 'internalLaborCost', key: 'internalLaborCost' }, { title: '直接投入费用', dataIndex: 'internalDirectCost', key: 'internalDirectCost' }, { title: '折旧费用与长期待摊费用', dataIndex: 'internalDepreciationCost', key: 'internalDepreciationCost' }, { title: '设计费用', dataIndex: 'internalDesignCost', key: 'internalDesignCost' }, { title: '装备调试费用与试验费用', dataIndex: 'internalEquipmentCost', key: 'internalEquipmentCost' }, { title: '其他费用', dataIndex: 'internalOtherCost', key: 'internalOtherCost' }, { title: '委托外部研究开发费用', dataIndex: 'externalTotalCost', key: 'externalTotalCost' }, { title: '境内外部研发费用', dataIndex: 'externalAbroadCost', key: 'externalAbroadCost' }, { title: '研发费用合计', dataIndex: 'allCost', key: 'allCost' } ], standardColumns: [ { title: '编号', dataIndex: 'key', key: 'key' }, { title: '标准名称', dataIndex: 'standardName', key: 'standardName' }, { title: '制定时间', dataIndex: 'year', key: 'year' }, { title: '标准级别', dataIndex: 'standardLevel', key: 'standardLevel', render: text => { switch (text) { case 0: return "国家"; case 1: return "行业"; }; } }, { title: '标准编号', dataIndex: 'standardNumber', key: 'standardNumber' }, { title: '参与方式', dataIndex: 'participateWay', key: 'participateWay', render: text => { switch (text) { case 0: return "主持"; case 1: return "参与"; }; } } ] }; }, //基础资料 loadInfoData(uid) { this.setState({ loading: true }); $.ajax({ method: "get", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/basic/info", data: { uid: uid } }).done(function (data) { let thisdata = data.data; if (!data.data) { if (data.error && data.error.length) { message.warning(data.error[0].message); }; } else { this.setState({ id: thisdata.id, uid: thisdata.uid, hid: thisdata.hid, unitName: thisdata.unitName, postalAddress: thisdata.postalAddress, postcode: thisdata.postcode, contacts: thisdata.contacts, contactMobile: thisdata.contactMobile, contactsFixedTel: thisdata.contactsFixedTel, firstContacts: thisdata.firstContacts, firstMobile: thisdata.firstMobile, contactsFax: thisdata.contactsFax, legalPersonTel: thisdata.legalPersonTel, legalPersonFax: thisdata.legalPersonFax, legalPersonEmail: thisdata.legalPersonEmail, registeredCapital: thisdata.registeredCapital, registrationTime: thisdata.registrationTime, legalPerson: thisdata.legalPerson, legalPersonIdCard: thisdata.legalPersonIdCard, orgCode: thisdata.orgCode, ratepayCode: thisdata.ratepayCode, industry: thisdata.industry, enterpriseScale: thisdata.enterpriseScale, foreignInvestment: thisdata.foreignInvestment, taxAuthority: thisdata.taxAuthority, ratepayMethod: thisdata.ratepayMethod, listed: thisdata.listed, listedDate: thisdata.listedDate, listedType: thisdata.listedType, stockCode: thisdata.stockCode, highTechZone: thisdata.highTechZone, highTechName: thisdata.highTechName, riskInvestment: thisdata.riskInvestment, businessScope: thisdata.businessScope, firmTotal: thisdata.firmTotal, techTotal: thisdata.techTotal, listedDateFormattedDate: thisdata.listedDateFormattedDate, registrationTimeFormattedDate: thisdata.registrationTimeFormattedDate, address: getProvince(thisdata.licenceProvince, thisdata.licenceCity, thisdata.licenceArea), field: thisdata.field ? thisdata.field.split(',') : [], registerType: thisdata.registerType ? thisdata.registerType.split(',') : [] }); }; }.bind(this)).always(function () { this.setState({ loading: false }); this.loadHighTechList(this.state.uid); }.bind(this)); }, loadHumanData(uid) { this.setState({ loading: true }); $.ajax({ method: "get", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/basic/listNature", data: { uid: uid } }).done(function (data) { let theTableData = []; if (!data.data) { if (data.error && data.error.length) { message.warning(data.error[0].message); }; return; }; data.data.map(function (item) { theTableData.push({ id: item.id, uid: item.uid, type: item.type, name: item.name, idNumber: item.idNumber, investment: item.investment }); }); this.setState({ humanTableData: theTableData }); }.bind(this)).always(function () { this.setState({ loading: false }); }.bind(this)); }, loadLegalData(uid) { this.setState({ loading: true }); $.ajax({ method: "get", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/basic/listLegalPerson", data: { uid: uid } }).done(function (data) { let theTableData = []; if (!data.data) { if (data.error && data.error.length) { message.warning(data.error[0].message); }; return; }; data.data.map(function (item) { theTableData.push({ id: item.id, uid: item.uid, type: item.type, name: item.name, orgCode: item.orgCode, investment: item.investment }); }); this.setState({ legalTableData: theTableData }); }.bind(this)).always(function () { this.setState({ loading: false }); }.bind(this)); }, //申请书 //第一 loadHighTechList(uid) { $.ajax({ method: "post", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/listCognizance", data: { uid: uid }, success: function (data) { if (!data.data || !data.data.list) { if (data.error && data.error.length) { message.warning(data.error[0].message); }; } else { let _me = this; for (let i = 0; i < data.data.list.length; i++) { let thisdata = data.data.list[i]; if (thisdata.year == this.state.year) { _me.loadHighTechApply(uid, thisdata.cid, this.state.year) } }; }; }.bind(this), }).always(function () { this.loadIntellectualData(uid); }.bind(this)); }, loadHighTechApply(uid, cid, year) { $.ajax({ method: "post", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/cognizanceDetail", data: { uid: uid, cid: cid, year: year + 1 } }).done(function (data) { if (!data.data) { if (data.error && data.error.length) { message.warning(data.error[0].message); }; } else { this.state.moneyTable = [ { key: 1, year: '前一年', netAsset: data.data.netAsset1, salesRevenue: data.data.salesRevenue1, grossProfit: data.data.grossProfit1 }, { key: 2, year: '前二年', netAsset: data.data.netAsset2, salesRevenue: data.data.salesRevenue2, grossProfit: data.data.grossProfit2 }, { key: 3, year: '前三年', netAsset: data.data.netAsset3, salesRevenue: data.data.salesRevenue3, grossProfit: data.data.grossProfit3 } ]; if (data.data.netAsset2 == 0) { this.state.netAssetRate = 0; } else if (data.data.netAsset3 == 0) { this.state.netAssetRate = (data.data.netAsset1 / data.data.netAsset2) - 1; } else { this.state.netAssetRate = 1 / 2 * (data.data.netAsset2 / data.data.netAsset3 + data.data.netAsset1 / data.data.netAsset2) - 1; }; if (this.state.netAssetRate < 0 || isNaN(this.state.netAssetRate)) { this.state.netAssetRate = 0 }; if (data.data.salesRevenue2 == 0) { this.state.salesRevenueRate = 0; } else if (data.data.salesRevenue3 == 0) { this.state.salesRevenueRate = (data.data.salesRevenue1 / data.data.salesRevenue2) - 1; } else { this.state.salesRevenueRate = 1 / 2 * (data.data.salesRevenue2 / data.data.salesRevenue3 + data.data.salesRevenue1 / data.data.salesRevenue2) - 1; }; if (this.state.salesRevenueRate < 0 || isNaN(this.state.salesRevenueRate)) { this.state.salesRevenueRate = 0 }; this.setState({ firstCatagory: data.data.firstCatagory, secondCatagory: data.data.secondCatagory, firmTotal: data.data.firmTotal, techTotal: data.data.techTotal, researchCost: data.data.researchCost, territory: data.data.territory, basicResearchCost: data.data.basicResearchCost, totalRevenue: data.data.totalRevenue, lastYearRevenue: data.data.lastYearRevenue, accident: data.data.accident }); }; }.bind(this)); }, //第二 loadIntellectualData(uid) { $.ajax({ method: "get", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/summary/intellectualProperty", data: { uid: uid } }).done(function (data) { let theTableData = []; if (!data.data) { if (data.error && data.error.length) { message.warning(data.error[0].message); }; } else { this.setState({ inventionPatent: data.data.inventionPatent, //发明专利数 defensePatent: data.data.defensePatent, //国防专利数 nationalCrop: data.data.nationalCrop, //国家级农作物品种数 newPlantCariety: data.data.newPlantCariety, //植物新品种数 nationalDrug: data.data.nationalDrug, //国家新药数 chineseMedicine: data.data.chineseMedicine, //国家一级中药保护品种数 utilityPatent: data.data.utilityPatent, //实用新型专利数 circuitDesign: data.data.circuitDesign, //集成电路布图设计专有权数 exteriorPatent: data.data.exteriorPatent, //外观设计专利数 softwareWorks: data.data.softwareWorks //软件著作权数 }); }; }.bind(this)).always(function () { this.loadIntellectualListData(uid); this.loadIntellectualObjectData(uid); }.bind(this)); }, loadIntellectualListData(uid) { $.ajax({ method: "get", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/summary/intellectualPropertyList", data: { uid: uid } }).done(function (data) { let theTableData = []; if (!data.data) { if (data.error && data.error.length) { message.warning(data.error[0].message); }; } else { data.data.map(function (item) { theTableData.push({ id: item.id, uid: item.uid, pid: item.pid, intellectualPropertyNumber: item.intellectualPropertyNumber, intellectualPropertyName: item.intellectualPropertyName, sortNumber: item.sortNumber, catagory: item.catagory, obtainWay: item.obtainWay, authorizationNumber: item.authorizationNumber, authorizationDate: item.authorizationDate, propertyRightUrl: item.propertyRightUrl, type: item.type, authorizationDateFormattedDate: item.authorizationDateFormattedDate, propertyRightDownloadFileName: item.propertyRightDownloadFileName }); }); }; this.setState({ intellectualTableData: theTableData }); }.bind(this)).always(function () { this.loadHRData(uid); }.bind(this)); }, loadIntellectualObjectData(uid) { $.ajax({ method: "post", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/intellectualList", data: { uid: uid } }).done(function (data) { let theObj = {}; if (data.error && data.error.length) { message.warning(data.error[0].message); } else { data.data.list.map(function (item) { theObj[item.id] = item.intellectualPropertyNumber; }); }; this.setState({ intellectualObj: theObj }); }.bind(this)).always(function () { this.loadHRData(uid); }.bind(this)); }, //第三 loadHRData(uid) { $.ajax({ method: "post", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/orgHumanResource", data: { uid: uid, year: this.state.year } }).done(function (data) { if (!data.data || !data.data.list) { if (data.error && data.error.length) { message.warning(data.error[0].message); }; } else { let thisdata = data.data.list[0] || {}; this.setState({ aboveFifty: thisdata.aboveFifty, belowThirty: thisdata.belowThirty, college: thisdata.college, doctor: thisdata.doctor, firmAbroad: thisdata.firmAbroad, firmCore: thisdata.firmCore, firmForeign: thisdata.firmForeign, firmInService: thisdata.firmInService, firmPartTime: thisdata.firmPartTime, firmTemporary: thisdata.firmTemporary, firmTotal: thisdata.firmTotal, fortyoneToFifty: thisdata.fortyoneToFifty, intermediateTitle: thisdata.intermediateTitle, juniorTitle: thisdata.juniorTitle, master: thisdata.master, seniorMechanic: thisdata.seniorMechanic, seniorTitle: thisdata.seniorTitle, techAbroad: thisdata.techAbroad, techCore: thisdata.techCore, techForeign: thisdata.techForeign, techInService: thisdata.techInService, techPartTime: thisdata.techPartTime, techTemporary: thisdata.techTemporary, techTotal: thisdata.techTotal, thirtyoneToThirtyfour: thisdata.thirtyoneToThirtyfour, undergraduate: thisdata.undergraduate, }); }; }.bind(this)).always(function () { this.loadActivityData(uid); }.bind(this)); }, //第四 loadActivityData(uid) { $.ajax({ method: "get", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/summary/activity", data: { uid: uid } }).done(function (data) { let theArr = [], _me = this; if (!data.data) { if (data.error && data.error.length) { message.warning(data.error[0].message); } } else { data.data.map(function (item) { theArr.push(
  • 活动编号 {item.activityNumber}

    研发活动名称 {item.activityName}
    起止时间 {item.startDateFormattedDate + ' -- ' + item.endDateFormattedDate}
    技术领域 {getTechField(Number(item.technicalField1), item.technicalField2 ? Number(item.technicalField2) : null, item.technicalField3 ? Number(item.technicalField3) : null)}
    技术来源 {getTechnicalSource(item.technicalSource)}
    知识产权编号 {_me.getIntellectualNumber(item.intellectualPropertyNumber)}
    研发费用总预算 {item.budget} 万元
    研发费用近三年总支出 {item.firstYearExpenditure + item.secondYearExpenditure + item.thirdYearExpenditure} 万元
    其中 第一年 {item.firstYearExpenditure} 万元
    第二年 {item.secondYearExpenditure} 万元
    第三年 {item.thirdYearExpenditure} 万元
    目的及组织实施方式 {item.implement}
    核心技术及创新点 {item.technologyInnovation}
    取得的阶段性成果 {item.achievement}
  • ) }); }; this.setState({ activityData: theArr }); }.bind(this)).always(function () { this.loadActivityCostData(uid); }.bind(this)); }, //第五 loadActivityCostData(uid) { $.when($.ajax({ method: "post", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/activityCostList", data: { uid: uid, year: this.state.year - 2 } }), $.ajax({ method: "post", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/activityCostList", data: { uid: uid, year: this.state.year - 1 } }), $.ajax({ method: "post", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/activityCostList", data: { uid: uid, year: this.state.year } })).done(function (data1, data2, data3) { let firstArr = []; let secondArr = []; let thirdArr = []; if (!data1[0].data && !data1[0].data.list) { if (data1[0].error && data1[0].error.length) { message.warning(data1[0].error[0].message); }; } else { data1[0].data.list.map(function (item) { firstArr.push({ id: item.id, uid: item.uid, aid: item.aid, activityNumber: item.activityNumber, year: item.year, startDate: item.startDate, endDate: item.endDate, internalAllCost: mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost + item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost + item.internalEquipmentCost + item.internalOtherCost), internalLaborCost: item.internalLaborCost, internalDirectCost: item.internalDirectCost, internalDepreciationCost: item.internalDepreciationCost, internalAmortizationCost: item.internalAmortizationCost, internalDesignCost: item.internalDesignCost, internalEquipmentCost: item.internalEquipmentCost, internalOtherCost: item.internalOtherCost, externalTotalCost: item.externalTotalCost, externalAbroadCost: item.externalAbroadCost, allCost: mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost + item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost + item.internalEquipmentCost + item.internalOtherCost + item.externalTotalCost), enterpriseFiller: item.enterpriseFiller, signDate: item.signDate, signDateFormattedDate: item.signDateFormattedDate, sortNumber: item.sortNumber, startDateFormattedDate: item.startDateFormattedDate, endDateFormattedDate: item.endDateFormattedDate, accountDownloadFileName: item.accountDownloadFileName, accountUrl: item.accountUrl }); }); }; if (!data2[0].data && !data2[0].data.list) { if (data2[0].error && data2[0].error.length) { message.warning(data2[0].error[0].message); }; } else { data2[0].data.list.map(function (item) { secondArr.push({ id: item.id, uid: item.uid, aid: item.aid, activityNumber: item.activityNumber, year: item.year, startDate: item.startDate, endDate: item.endDate, internalAllCost: mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost + item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost + item.internalEquipmentCost + item.internalOtherCost), internalLaborCost: item.internalLaborCost, internalDirectCost: item.internalDirectCost, internalDepreciationCost: item.internalDepreciationCost, internalAmortizationCost: item.internalAmortizationCost, internalDesignCost: item.internalDesignCost, internalEquipmentCost: item.internalEquipmentCost, internalOtherCost: item.internalOtherCost, externalTotalCost: item.externalTotalCost, externalAbroadCost: item.externalAbroadCost, allCost: mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost + item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost + item.internalEquipmentCost + item.internalOtherCost + item.externalTotalCost), enterpriseFiller: item.enterpriseFiller, signDate: item.signDate, signDateFormattedDate: item.signDateFormattedDate, sortNumber: item.sortNumber, startDateFormattedDate: item.startDateFormattedDate, endDateFormattedDate: item.endDateFormattedDate, accountDownloadFileName: item.accountDownloadFileName, accountUrl: item.accountUrl }); }); }; if (!data3[0].data && !data3[0].data.list) { if (data3[0].error && data3[0].error.length) { message.warning(data3[0].error[0].message); }; } else { data3[0].data.list.map(function (item) { thirdArr.push({ id: item.id, uid: item.uid, aid: item.aid, activityNumber: item.activityNumber, year: item.year, startDate: item.startDate, endDate: item.endDate, internalAllCost: mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost + item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost + item.internalEquipmentCost + item.internalOtherCost), internalLaborCost: item.internalLaborCost, internalDirectCost: item.internalDirectCost, internalDepreciationCost: item.internalDepreciationCost, internalAmortizationCost: item.internalAmortizationCost, internalDesignCost: item.internalDesignCost, internalEquipmentCost: item.internalEquipmentCost, internalOtherCost: item.internalOtherCost, externalTotalCost: item.externalTotalCost, externalAbroadCost: item.externalAbroadCost, allCost: mathRound(item.internalLaborCost + item.internalDirectCost + item.internalDepreciationCost + item.internalAmortizationCost + item.internalAmortizationCost + item.internalDesignCost + item.internalEquipmentCost + item.internalOtherCost + item.externalTotalCost), enterpriseFiller: item.enterpriseFiller, signDate: item.signDate, signDateFormattedDate: item.signDateFormattedDate, sortNumber: item.sortNumber, startDateFormattedDate: item.startDateFormattedDate, endDateFormattedDate: item.endDateFormattedDate, accountDownloadFileName: item.accountDownloadFileName, accountUrl: item.accountUrl }); }); }; this.setState({ firstActivityData: firstArr, secondActivityData: secondArr, thirdActivityData: thirdArr }); }.bind(this)).always(function () { this.loadTechProductData(uid); }.bind(this)); }, //第六 loadTechProductData(uid) { $.ajax({ method: "post", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/techProductList", data: { uid: uid, year: this.state.year } }).done(function (data) { let theArr = [], _me = this; if (!data.data) { if (data.error && data.error.length) { message.warning(data.error[0].message); } } else { data.data.list.map(function (item) { theArr.push(
  • 编号 {item.serialNumber}

    产品(服务)名称 {item.productName}
    技术领域 {getTechField(Number(item.technicalField1), item.technicalField2 ? Number(item.technicalField2) : null, item.technicalField3 ? Number(item.technicalField3) : null)}
    技术来源 {getTechnicalSource(item.technicalSource)}
    上年度销售收入 {item.lastYearRevenue} 万元
    是否主要产品(服务) {item.mainProduct == 1 ? '是' : '否'}
    知识产权编号 {_me.getIntellectualNumber(item.intellectualPropertyNumber)}
    关键技术及主要技术指标 {item.keyTechnology}
    与同类产品(服务)的竞争优势 {item.competitiveEdge}
    知识产权获得情况及其对产品(服务)在技术上发挥的支持作用 {item.conditionEffect}
  • ) }); }; this.setState({ techProductData: theArr }); }.bind(this)).always(function () { this.loadAbilityData(uid); }.bind(this)); }, //第七 loadAbilityData(uid) { $.ajax({ method: "post", dataType: "json", url: globalConfig.context + "/api/admin/able", data: { uid: uid }, success: function (data) { if (data.data) { this.setState({ intellectRight: data.data.intellectRight, scienceAchievement: data.data.scienceAchievement, researchInnovation: data.data.researchInnovation, personnel: data.data.personnel }); } else if (data.error && data.error.length) { message.warning(data.error[0].message); }; }.bind(this), }).always(function () { this.loadStandardData(uid); }.bind(this)); }, //第八 loadStandardData(uid) { $.ajax({ method: "post", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/standard", data: { uid: uid, year: this.state.year }, success: function (data) { let theArr = []; if (!data.data || !data.data.list) { if (data.error && data.error.length) { message.warning(data.error[0].message); } } else { for (let i = 0; i < data.data.list.length; i++) { let thisdata = data.data.list[i]; theArr.push({ key: i + 1, id: thisdata.id, uid: thisdata.uid, standardName: thisdata.standardName, standardNumber: thisdata.standardNumber, year: thisdata.year, enclosureUrl: thisdata.enclosureUrl, standardLevel: thisdata.standardLevel, participateWay: thisdata.participateWay, createTime: thisdata.createTime, createTimeFormattedDate: thisdata.createTimeFormattedDate }); }; }; this.setState({ standardTableData: theArr, }); }.bind(this), }); }, componentWillMount() { if (window.location.search) { let theObj = getSearchUrl(window.location.search); this.loadInfoData(theObj.uid); this.loadHumanData(theObj.uid); this.loadLegalData(theObj.uid); }; }, render() { const theData = this.state; return (
    {theData.unitName}高企认定材料
    年份 {theData.year + 1}
    公司名字 {theData.unitName}
    通讯地址 {theData.postalAddress}
    法定代表人 {theData.legalPerson}
    企业注册登记表

    法定代表人

    电话 {theData.legalPersonTel}
    传真 {theData.legalPersonFax}
    E-mail {theData.legalPersonEmail}

    联系人

    姓名 {theData.firstContacts}
    手机 {theData.firstMobile}
    电话 {theData.contactsFixedTel}
    传真 {theData.contactsFax}
    通讯地址 {theData.postalAddress}
    邮政编码 {theData.postcode}
    企业名称 {theData.unitName}
    法定代表人 {theData.legalPerson}
    身份证号/护照号 {theData.legalPersonIdCard}
    注册时间 {theData.registrationTimeFormattedDate}
    企业规模 {getScaleState(theData.enterpriseScale)}
    注册类型 {getCompanyType(Number(theData.registerType[0]), theData.registerType[1] ? Number(theData.registerType[1]) : null)}
    外资来源地 {theData.foreignInvestment}
    技术领域 {getTechField(theData.field[0], theData.field[1], theData.field[2])}
    组织机构代码/统一社会信用代码 {theData.orgCode}
    税务登记号/统一社会信用代码 {theData.ratepayCode}
    主管税务机关 { (() => { if (theData.taxAuthority == '0') { return '国税'; } else if (theData.taxAuthority == '1') { return '地税'; }; })() }
    所得税征收方式 { (() => { if (theData.ratepayMethod == '0') { return '查账征收'; } else if (theData.ratepayMethod == '1') { return '核定征收'; }; })() }
    行政区域 {theData.address}
    注册资金 {theData.registeredCapital} 万元
    是否高新区 { (() => { if (theData.highTechZone == '0') { return '否'; } else if (theData.highTechZone == '1') { return '是'; }; })() }
    高新区名称 {theData.highTechName}
    是否上市 { (() => { if (theData.listed == '0') { return '否'; } else if (theData.listed == '1') { return '是'; }; })() }
    上市类型 { (() => { if (theData.listedType == '0') { return '股票型上市公司'; } else if (theData.listedType == '1') { return '债券型上市公司'; }; })() }
    上市时间 {theData.listedDateFormattedDate}
    股票代码 {theData.stockCode}
    所属行业 {getIndustryType(theData.industry)}
    是否引入风投 { (() => { if (theData.riskInvestment == '0') { return '否'; } else if (theData.riskInvestment == '1') { return '是'; }; })() }

    自然人股权

    法人股权

    高新企业认定申请 (主要情况)
    技术领域 {getTechField(Number(theData.field[0]), theData.field[1] ? Number(theData.field[1]) : null, theData.field[2] ? Number(theData.field[2]) : null)}

    获得知识产权数量(件)

    Ⅰ 类 {theData.firstCatagory}
    Ⅱ 类 {theData.secondCatagory}

    人力资源情况(人)

    职工总数 {theData.firmTotal}
    科技人员数 {theData.techTotal}

    近三年经营状况(万元)

    净资产增长率 {(this.state.netAssetRate * 100).toFixed(2) + '%'}
    销售收入增长率 {(this.state.salesRevenueRate * 100).toFixed(2) + '%'}
    近三年研究开发费用总额 {theData.researchCost || 0} 万元
    在中国境内研发费用总和 {theData.territory || 0} 万元
    基础研究投入费用总额 {theData.basicResearchCost || 0} 万元
    近一年企业总收入 {theData.totalRevenue || 0} 万元
    近一年高新技术产品收入 {theData.lastYearRevenue || 0} 万元
    申请认定前一年内是否发生过重大安全、重大质量或严重环境违法行为 {(() => { if (theData.accident == 0) { return '否'; } else if (theData.accident == 1) { return '是'; }; })()}
    高新企业认定申请 (知识产权汇总)

    获得知识产权数量(件)(Ⅰ 类)

    发明专利 {theData.inventionPatent}
    国防专利 {theData.defensePatent}
    植物新品种 {theData.newPlantCariety}
    国家级农作物品种 {theData.nationalCrop}
    国家新药 {theData.nationalDrug}
    国家一级中药保护品种 {theData.chineseMedicine}
    集成电路布图 {theData.circuitDesign}

    获得知识产权数量(件)(Ⅱ 类)

    实用新型 {theData.utilityPatent}
    软著 {theData.softwareWorks}
    外观设计 {theData.exteriorPatent}
    人力资源情况表

    总体情况

    企业职工
    科技人员
    总数 {theData.firmTotal}
    {theData.techTotal}
    在职人员 {theData.firmInService}
    {theData.techInService}
    兼职人员 {theData.firmPartTime}
    {theData.techPartTime}
    临时聘用人员 {theData.firmTemporary}
    {theData.techTemporary}
    外籍人员 {theData.firmForeign}
    {theData.techForeign}
    留学归国人员 {theData.firmAbroad}
    {theData.techAbroad}
    千人计划 {theData.firmCore}
    {theData.techCore}

    全体人员结构

    学历

    博士 {theData.doctor}
    硕士 {theData.master}
    本科 {theData.undergraduate}
    大专及以下 {theData.college}

    职称

    高级职称 {theData.seniorTitle}
    中级职称 {theData.intermediateTitle}
    初级职称 {theData.juniorTitle}
    高级技工 {theData.seniorMechanic}

    年龄

    30及以下 {theData.belowThirty}
    31-40 {theData.thirtyoneToThirtyfour}
    41-50 {theData.fortyoneToFifty}
    51及以上 {theData.aboveFifty}
    企业研究开发活动情况表
      {this.state.activityData}
    企业年度研发费用结构明细表

    {this.state.year - 2} 年度 单位:万元

    {this.state.year - 1} 年度 单位:万元

    {this.state.year} 年度 单位:万元

    上年度高新技术产品(服务)情况表
      {this.state.techProductData}
    创业创新能力
    知识产权对企业竞争力的作用 {theData.intellectRight}
    科技成果转化情况 {theData.scienceAchievement}
    研究开发与技术创新组织管理情况 {theData.researchInnovation}
    管理与科技人员情况 {theData.personnel}
    企业参与国家标准或行业制定情况汇总表
    ); } }); export default highTechInfo;