activityCostList.jsx 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. import React from 'react';
  2. import { Icon, Form, Upload, Button, Input, Spin, Table, message, Select, Modal, DatePicker, InputNumber } from 'antd';
  3. import './activityCostList.less';
  4. import { beforeUploadFile, downloadFile } from '../../../../tools.js';
  5. import moment from 'moment';
  6. import ajax from 'jquery/src/ajax/xhr.js';
  7. import $ from 'jquery/src/ajax';
  8. const ActivityDescFrom = Form.create()(React.createClass({
  9. getInitialState() {
  10. return {
  11. loading: false,
  12. activityNumberOption: [],
  13. };
  14. },
  15. componentWillMount() {
  16. let _me = this;
  17. this.props.activityNumberList.map(function (item) {
  18. _me.state.activityNumberOption.push(
  19. <Select.Option value={item.aid} key={item.uid}>{item.activityNumber}</Select.Option>
  20. )
  21. });
  22. },
  23. allCostCount() {
  24. this.state.internalAllCost = this.props.form.getFieldValue('internalLaborCost') + this.props.form.getFieldValue('internalDirectCost') +
  25. this.props.form.getFieldValue('internalDepreciationCost') + this.props.form.getFieldValue('internalAmortizationCost') +
  26. this.props.form.getFieldValue('internalDesignCost') + this.props.form.getFieldValue('internalEquipmentCost') +
  27. this.props.form.getFieldValue('internalOtherCost');
  28. this.state.allCost = this.props.form.getFieldValue('internalLaborCost') + this.props.form.getFieldValue('internalDirectCost') +
  29. this.props.form.getFieldValue('internalDepreciationCost') + this.props.form.getFieldValue('internalAmortizationCost') +
  30. this.props.form.getFieldValue('internalDesignCost') + this.props.form.getFieldValue('internalEquipmentCost') +
  31. this.props.form.getFieldValue('internalOtherCost') + this.props.form.getFieldValue('externalTotalCost');
  32. },
  33. componentDidMount() {
  34. this.allCostCount();
  35. this.setState({
  36. loading: false
  37. });
  38. },
  39. componentWillReceiveProps() {
  40. this.allCostCount();
  41. },
  42. handleSubmit(e) {
  43. e.preventDefault();
  44. this.props.form.validateFields((err, values) => {
  45. if (!err) {
  46. this.props.spinState(true);
  47. $.ajax({
  48. method: "POST",
  49. dataType: "json",
  50. crossDomain: false,
  51. url: globalConfig.context + "/api/admin/activityCost",
  52. data: {
  53. id: this.props.data.id,
  54. aid: this.state.aid,
  55. uid: this.props.uid,
  56. activityNumber: this.state.activityNumber,
  57. internalLaborCost: values.internalLaborCost,
  58. internalDirectCost: values.internalDirectCost,
  59. internalDepreciationCost: values.internalDepreciationCost,
  60. internalAmortizationCost: values.internalAmortizationCost,
  61. internalDesignCost: values.internalDesignCost,
  62. internalEquipmentCost: values.internalEquipmentCost,
  63. internalOtherCost: values.internalOtherCost,
  64. externalTotalCost: values.externalTotalCost,
  65. externalAbroadCost: values.externalAbroadCost,
  66. enterpriseFiller: values.enterpriseFiller,
  67. signDateFormattedDate: values.signDate.format('YYYY-MM-DD'),
  68. sortNumber: values.sortNumber,
  69. accountUrl: this.state.accountUrl
  70. }
  71. }).done(function (data) {
  72. if (!data.error.length) {
  73. message.success('保存成功!');
  74. } else {
  75. message.warning(data.error[0].message);
  76. }
  77. }.bind(this)).always(function () {
  78. this.props.spinState(false);
  79. this.props.clickOk();
  80. this.props.form.resetFields();
  81. }.bind(this));
  82. }
  83. });
  84. },
  85. render() {
  86. const FormItem = Form.Item;
  87. const { getFieldDecorator } = this.props.form;
  88. const theData = this.props.data;
  89. const formItemLayout = {
  90. labelCol: { span: 14 },
  91. wrapperCol: { span: 8 },
  92. };
  93. const _me = this;
  94. return (
  95. <Form onSubmit={this.handleSubmit} className="activityCost-form">
  96. <p className="activityCost-title">项目编号</p>
  97. {
  98. theData.activityNumber ? <span>{theData.activityNumber}</span> :
  99. <Select placeholder="请选择项目编号" style={{ width: 200 }}
  100. onSelect={(e, n) => { this.state.aid = e; this.state.activityNumber = n.props.children }}>
  101. {this.state.activityNumberOption}
  102. </Select>
  103. }
  104. <p className="activityCost-title">内部研究开发费用(万元)</p>
  105. <div className="clearfix activityCost-box">
  106. <FormItem className="half-item"
  107. {...formItemLayout}
  108. label="共计(万元)"
  109. >
  110. {getFieldDecorator('internalAllCost')(
  111. <span className="number-box">
  112. {this.state.internalAllCost}
  113. </span>
  114. )}
  115. </FormItem>
  116. <FormItem className="half-item"
  117. {...formItemLayout}
  118. label="人员人工费用(万元)"
  119. >
  120. {getFieldDecorator('internalLaborCost', {
  121. rules: [{ type: "number", required: true, message: '此项为必填项!' }],
  122. initialValue: theData.internalLaborCost
  123. })(
  124. <InputNumber />
  125. )}
  126. </FormItem>
  127. <FormItem className="half-item"
  128. {...formItemLayout}
  129. label="直接投入费用(万元)"
  130. >
  131. {getFieldDecorator('internalDirectCost', {
  132. rules: [{ type: "number", required: true, message: '此项为必填项!' }],
  133. initialValue: theData.internalDirectCost
  134. })(
  135. <InputNumber />
  136. )}
  137. </FormItem>
  138. <FormItem className="half-item"
  139. {...formItemLayout}
  140. label="折旧费用与长期待摊费用(万元)"
  141. >
  142. {getFieldDecorator('internalDepreciationCost', {
  143. rules: [{ type: "number", required: true, message: '此项为必填项!' }],
  144. initialValue: theData.internalDepreciationCost
  145. })(
  146. <InputNumber />
  147. )}
  148. </FormItem>
  149. <FormItem className="half-item"
  150. {...formItemLayout}
  151. label="无形资产摊销费用(万元)"
  152. >
  153. {getFieldDecorator('internalAmortizationCost', {
  154. rules: [{ type: "number", required: true, message: '此项为必填项!' }],
  155. initialValue: theData.internalAmortizationCost
  156. })(
  157. <InputNumber />
  158. )}
  159. </FormItem>
  160. <FormItem className="half-item"
  161. {...formItemLayout}
  162. label="设计费用(万元)"
  163. >
  164. {getFieldDecorator('internalDesignCost', {
  165. rules: [{ type: "number", required: true, message: '此项为必填项!' }],
  166. initialValue: theData.internalDesignCost
  167. })(
  168. <InputNumber />
  169. )}
  170. </FormItem>
  171. <FormItem className="half-item"
  172. {...formItemLayout}
  173. label="装备调试费用与实验费用(万元)"
  174. >
  175. {getFieldDecorator('internalEquipmentCost', {
  176. rules: [{ type: "number", required: true, message: '此项为必填项!' }],
  177. initialValue: theData.internalEquipmentCost
  178. })(
  179. <InputNumber />
  180. )}
  181. </FormItem>
  182. <FormItem className="half-item"
  183. {...formItemLayout}
  184. label="其他费用(万元)"
  185. >
  186. {getFieldDecorator('internalOtherCost', {
  187. rules: [{ type: "number", required: true, message: '此项为必填项!' }],
  188. initialValue: theData.internalOtherCost
  189. })(
  190. <InputNumber />
  191. )}
  192. </FormItem>
  193. </div>
  194. <p className="activityCost-title">委托外部研究开发费用(万元)</p>
  195. <div className="clearfix activityCost-box">
  196. <FormItem className="half-item"
  197. {...formItemLayout}
  198. label="共计(万元)"
  199. >
  200. {getFieldDecorator('externalTotalCost', {
  201. rules: [{ type: "number", required: true, message: '此项为必填项!' }],
  202. initialValue: theData.externalTotalCost
  203. })(
  204. <InputNumber />
  205. )}
  206. </FormItem>
  207. <FormItem className="half-item"
  208. {...formItemLayout}
  209. label="境内的外部研发费用"
  210. >
  211. {getFieldDecorator('externalAbroadCost', {
  212. rules: [{ type: "number", required: true, message: '此项为必填项!' }],
  213. initialValue: theData.externalAbroadCost
  214. })(
  215. <InputNumber />
  216. )}
  217. </FormItem>
  218. </div>
  219. <p className="activityCost-title">研发开发费用(内、外部)小计(万元)</p>
  220. <div className="clearfix activityCost-box">
  221. <FormItem className="half-item"
  222. {...formItemLayout}
  223. label="共计(万元)"
  224. >
  225. {getFieldDecorator('allCost')(
  226. <span className="number-box">
  227. {this.state.allCost}
  228. </span>
  229. )}
  230. </FormItem>
  231. <FormItem className="half-item"
  232. {...formItemLayout}
  233. label="企业填报人"
  234. >
  235. {getFieldDecorator('enterpriseFiller', {
  236. rules: [{ required: true, message: '此项为必填项!' }],
  237. initialValue: theData.enterpriseFiller
  238. })(
  239. <Input />
  240. )}
  241. </FormItem>
  242. <FormItem className="half-item"
  243. {...formItemLayout}
  244. label="企业填报人签字日期"
  245. >
  246. {getFieldDecorator('signDate', {
  247. rules: [{ type: "object", required: true, message: '此项为必填项!' }],
  248. initialValue: theData.signDate ? moment(theData.signDate) : null
  249. })(
  250. <DatePicker onChange={(date, dateString) => { this.state.signDateFormattedDate = dateString }} />
  251. )}
  252. </FormItem>
  253. <FormItem className="half-item"
  254. {...formItemLayout}
  255. label="排序号"
  256. >
  257. {getFieldDecorator('sortNumber', {
  258. rules: [{ required: true, message: '此项为必填项!' }],
  259. initialValue: theData.sortNumber
  260. })(
  261. <Input />
  262. )}
  263. </FormItem>
  264. </div>
  265. <div style={{ width: '50%', marginTop: '20px' }}>
  266. <Upload
  267. name="ratepay"
  268. action={globalConfig.context + "/techservice/cognizance/upload"}
  269. data={{ 'sign': 'activity_cost_account' }}
  270. beforeUpload={beforeUploadFile}
  271. showUploadList={false}
  272. onChange={(info) => {
  273. if (info.file.status !== 'uploading') {
  274. console.log(info.file, info.fileList);
  275. }
  276. if (info.file.status === 'done') {
  277. if (!info.file.response.error.length) {
  278. message.success(`${info.file.name} 文件上传成功!`);
  279. } else {
  280. message.warning(info.file.response.error[0].message);
  281. return;
  282. };
  283. this.state.accountUrl = info.file.response.data;
  284. } else if (info.file.status === 'error') {
  285. message.error(`${info.file.name} 文件上传失败。`);
  286. }
  287. }}
  288. >
  289. <Button><Icon type="upload" /> 上传研发费用台账 </Button>
  290. </Upload>
  291. <p style={{ marginTop: '20px' }}>{theData.accountUrl ? <a onClick={downloadFile.bind(null, theData.accountUrl, theData.accountDownloadFileName)}>{theData.accountDownloadFileName}</a> : <span>未上传!</span>}</p>
  292. </div>
  293. <FormItem style={{ marginTop: '20px' }}>
  294. <Button className="set-submit" type="primary" htmlType="submit">保存</Button>
  295. <Button type="ghost" style={{ marginLeft: '20px' }} onClick={this.props.closeModal}>取消</Button>
  296. </FormItem>
  297. </Form >
  298. );
  299. },
  300. }));
  301. const ActivityDesc = React.createClass({
  302. getInitialState() {
  303. return {
  304. visible: false,
  305. loading: false
  306. };
  307. },
  308. componentWillReceiveProps(nextProps) {
  309. this.state.visible = nextProps.showDesc
  310. },
  311. showModal() {
  312. this.setState({
  313. visible: true,
  314. });
  315. },
  316. handleOk() {
  317. this.setState({
  318. visible: false,
  319. });
  320. this.props.closeDesc(false, true);
  321. },
  322. handleCancel(e) {
  323. this.setState({
  324. visible: false,
  325. });
  326. this.props.closeDesc(false);
  327. },
  328. spinChange(e) {
  329. this.setState({
  330. loading: e
  331. });
  332. },
  333. render() {
  334. return (
  335. <div className="patent-addNew">
  336. <Spin spinning={this.state.loading} className='spin-box'>
  337. <Modal title="企业研究开发费用结构明细" visible={this.state.visible}
  338. onOk={this.handleOk} onCancel={this.handleCancel}
  339. width='800px'
  340. footer=''
  341. >
  342. <ActivityDescFrom
  343. uid={this.props.uid}
  344. data={this.props.data}
  345. activityNumberList={this.props.activityNumberList}
  346. spinState={this.spinChange} closeModal={this.handleCancel} clickOk={this.handleOk} />
  347. </Modal>
  348. </Spin>
  349. </div>
  350. );
  351. },
  352. });
  353. const Activity = React.createClass({
  354. loadData(pageNo) {
  355. this.state.data = [];
  356. this.setState({
  357. loading: true
  358. });
  359. $.when($.ajax({
  360. method: "post",
  361. dataType: "json",
  362. crossDomain: false,
  363. url: globalConfig.context + "/api/admin/activityCostList",
  364. data: {
  365. pageNo: pageNo || 1,
  366. pageSize: this.state.pagination.pageSize,
  367. uid: this.props.data.uid,
  368. activityNumber: this.state.activityNumber,
  369. startDate: this.state.startDateFormattedDate,
  370. endDate: this.state.endDateFormattedDate
  371. }
  372. }), $.ajax({
  373. method: "post",
  374. dataType: "json",
  375. crossDomain: false,
  376. url: globalConfig.context + "/api/admin/activityNumber",
  377. data: {
  378. uid: this.props.data.uid
  379. }
  380. })).done((data1, data2) => {
  381. let data = data1[0];
  382. let activityNumber = data2[0];
  383. if (data.error.length || !data.data || !data.data.list) {
  384. message.warning(data.error[0].message);
  385. return;
  386. };
  387. if (activityNumber.error.length || !activityNumber.data) {
  388. message.warning(activityNumber.error[0].message);
  389. return;
  390. };
  391. for (let i = 0; i < data.data.list.length; i++) {
  392. let thisdata = data.data.list[i];
  393. this.state.data.push({
  394. key: i,
  395. id: thisdata.id,
  396. uid: thisdata.uid,
  397. aid: thisdata.aid,
  398. activityNumber: thisdata.activityNumber,
  399. startDate: thisdata.startDate,
  400. endDate: thisdata.endDate,
  401. internalAllCost:
  402. thisdata.internalLaborCost + thisdata.internalDirectCost + thisdata.internalDepreciationCost +
  403. thisdata.internalAmortizationCost + thisdata.internalAmortizationCost + thisdata.internalDesignCost +
  404. thisdata.internalEquipmentCost + thisdata.internalOtherCost,
  405. internalLaborCost: thisdata.internalLaborCost,
  406. internalDirectCost: thisdata.internalDirectCost,
  407. internalDepreciationCost: thisdata.internalDepreciationCost,
  408. internalAmortizationCost: thisdata.internalAmortizationCost,
  409. internalDesignCost: thisdata.internalDesignCost,
  410. internalEquipmentCost: thisdata.internalEquipmentCost,
  411. internalOtherCost: thisdata.internalOtherCost,
  412. externalTotalCost: thisdata.externalTotalCost,
  413. externalAbroadCost: thisdata.externalAbroadCost,
  414. allCost:
  415. thisdata.internalLaborCost + thisdata.internalDirectCost + thisdata.internalDepreciationCost +
  416. thisdata.internalAmortizationCost + thisdata.internalAmortizationCost + thisdata.internalDesignCost +
  417. thisdata.internalEquipmentCost + thisdata.internalOtherCost + thisdata.externalTotalCost,
  418. enterpriseFiller: thisdata.enterpriseFiller,
  419. signDate: thisdata.signDate,
  420. signDateFormattedDate: thisdata.signDateFormattedDate,
  421. sortNumber: thisdata.sortNumber,
  422. startDateFormattedDate: thisdata.startDateFormattedDate,
  423. endDateFormattedDate: thisdata.endDateFormattedDate,
  424. accountDownloadFileName: thisdata.accountDownloadFileName,
  425. accountUrl: thisdata.accountUrl
  426. });
  427. };
  428. this.state.activityNumberList = activityNumber.data;
  429. this.state.pagination.current = data.data.pageNo;
  430. this.state.pagination.total = data.data.totalCount;
  431. this.setState({
  432. dataSource: this.state.data,
  433. pagination: this.state.pagination
  434. });
  435. }).always(function () {
  436. this.setState({
  437. loading: false
  438. });
  439. }.bind(this));
  440. },
  441. getInitialState() {
  442. return {
  443. selectedRowKeys: [],
  444. selectedRows: [],
  445. loading: false,
  446. pagination: {
  447. defaultCurrent: 1,
  448. defaultPageSize: 10,
  449. showQuickJumper: true,
  450. pageSize: 10,
  451. onChange: function (page) {
  452. this.loadData(page);
  453. }.bind(this),
  454. showTotal: function (total) {
  455. return '共' + total + '条数据';
  456. }
  457. },
  458. columns: [
  459. {
  460. title: '研发活动编号',
  461. dataIndex: 'activityNumber',
  462. key: 'activityNumber'
  463. }, {
  464. title: '内部研究开发费用',
  465. dataIndex: 'internalAllCost',
  466. key: 'internalAllCost'
  467. }, {
  468. title: '人员人工费用',
  469. dataIndex: 'internalLaborCost',
  470. key: 'internalLaborCost'
  471. }, {
  472. title: '直接投入费用',
  473. dataIndex: 'internalDirectCost',
  474. key: 'internalDirectCost'
  475. }, {
  476. title: '折旧费用与长期待摊费用',
  477. dataIndex: 'internalDepreciationCost',
  478. key: 'internalDepreciationCost'
  479. }, {
  480. title: '设计费用',
  481. dataIndex: 'internalDesignCost',
  482. key: 'internalDesignCost'
  483. }, {
  484. title: '装备调试费用与试验费用',
  485. dataIndex: 'internalEquipmentCost',
  486. key: 'internalEquipmentCost'
  487. }, {
  488. title: '无形资产摊销费用',
  489. dataIndex: 'internalAmortizationCost',
  490. key: 'internalAmortizationCost'
  491. }, {
  492. title: '其他费用',
  493. dataIndex: 'internalOtherCost',
  494. key: 'internalOtherCost'
  495. }, {
  496. title: '委托外部研究开发费用',
  497. dataIndex: 'externalTotalCost',
  498. key: 'externalTotalCost'
  499. }, {
  500. title: '境内外部研发费用',
  501. dataIndex: 'externalAbroadCost',
  502. key: 'externalAbroadCost'
  503. }, {
  504. title: '研发费用合计',
  505. dataIndex: 'allCost',
  506. key: 'allCost'
  507. }, {
  508. title: '企业填报人',
  509. dataIndex: 'enterpriseFiller',
  510. key: 'enterpriseFiller'
  511. }, {
  512. title: '企业填报人签字日期',
  513. dataIndex: 'signDateFormattedDate',
  514. key: 'signDateFormattedDate'
  515. }, {
  516. title: '排序号',
  517. dataIndex: 'sortNumber',
  518. key: 'sortNumber'
  519. }
  520. ],
  521. dataSource: []
  522. };
  523. },
  524. componentWillMount() {
  525. this.loadData();
  526. },
  527. tableRowClick(record, index) {
  528. this.state.RowData = record;
  529. this.setState({
  530. showDesc: true
  531. });
  532. },
  533. delectRow() {
  534. let deletedIds = [];
  535. for (let idx = 0; idx < this.state.selectedRows.length; idx++) {
  536. let rowItem = this.state.selectedRows[idx];
  537. if (rowItem.id) {
  538. deletedIds.push(rowItem.id)
  539. }
  540. }
  541. this.setState({
  542. selectedRowKeys: [],
  543. loading: deletedIds.length > 0
  544. });
  545. $.ajax({
  546. method: "POST",
  547. dataType: "json",
  548. crossDomain: false,
  549. url: globalConfig.context + "/techservice/cognizance/deleteActivityCost",
  550. data: {
  551. ids: deletedIds
  552. }
  553. }).done(function (data) {
  554. if (!data.error.length) {
  555. message.success('保存成功!');
  556. this.setState({
  557. loading: false,
  558. });
  559. } else {
  560. message.warning(data.error[0].message);
  561. };
  562. this.loadData();
  563. }.bind(this));
  564. },
  565. closeDesc(e, s) {
  566. this.state.showDesc = e;
  567. if (s) {
  568. this.loadData();
  569. };
  570. },
  571. search() {
  572. this.loadData();
  573. },
  574. reset() {
  575. this.state.startDateFormattedDate = undefined;
  576. this.state.endDateFormattedDate = undefined;
  577. this.state.activityNumber = undefined;
  578. this.loadData();
  579. },
  580. render() {
  581. const rowSelection = {
  582. selectedRowKeys: this.state.selectedRowKeys,
  583. onChange: (selectedRowKeys, selectedRows) => {
  584. this.setState({
  585. selectedRows: selectedRows,
  586. selectedRowKeys: selectedRowKeys
  587. });
  588. }
  589. };
  590. const hasSelected = this.state.selectedRowKeys.length > 0;
  591. return (
  592. <div className="user-content" >
  593. <div className="content-title">
  594. <span>企业研究开发费用结构明细</span>
  595. </div>
  596. <div className="user-search">
  597. <Input placeholder="研发活动编号" value={this.state.activityNumber}
  598. onChange={(e) => { this.setState({ activityNumber: e.target.value }); }} />
  599. <span>开始日期:</span>
  600. <DatePicker
  601. value={this.state.startDateFormattedDate ? moment(this.state.startDateFormattedDate) : null}
  602. onChange={(data, dataString) => { this.setState({ startDateFormattedDate: dataString }); }} />
  603. <span>结束日期:</span>
  604. <DatePicker
  605. value={this.state.endDateFormattedDate ? moment(this.state.endDateFormattedDate) : null}
  606. onChange={(data, dataString) => { this.setState({ endDateFormattedDate: dataString }); }} />
  607. <Button type="primary" onClick={this.search}>搜索</Button>
  608. <Button onClick={this.reset}>重置</Button>
  609. <p>
  610. <Button style={{ background: "#ea0862", border: "none", color: "#fff" }}
  611. onClick={this.tableRowClick}>添加<Icon type="plus" /></Button>
  612. <Button style={{ background: "#3fcf9e", border: "none", color: "#fff" }}
  613. disabled={!hasSelected}
  614. onClick={this.delectRow}>删除<Icon type="minus" /></Button>
  615. </p>
  616. </div>
  617. <div className="patent-table">
  618. <Spin spinning={this.state.loading}>
  619. <Table columns={this.state.columns}
  620. dataSource={this.state.dataSource}
  621. pagination={this.state.pagination}
  622. rowSelection={rowSelection}
  623. onRowClick={this.tableRowClick} />
  624. </Spin>
  625. </div>
  626. <ActivityDesc
  627. uid={this.props.data.uid}
  628. data={this.state.RowData}
  629. activityNumberList={this.state.activityNumberList}
  630. showDesc={this.state.showDesc} closeDesc={this.closeDesc} />
  631. </div >
  632. );
  633. }
  634. });
  635. export default Activity;