comprehensive.jsx 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. import React from 'react';
  2. import { Icon, Button, Input, Select, Spin, Table, Switch, DatePicker, message, Upload, Modal } from 'antd';
  3. import { patentTypeList, patentStateList, provinceArr } from '../../../dataDic.js';
  4. import { getTime, getPatentState, beforeUploadFile, companySearch, getSearchUrl, getPatentType } from '../../../tools.js';
  5. import ajax from 'jquery/src/ajax/xhr.js';
  6. import $ from 'jquery/src/ajax';
  7. import moment from 'moment';
  8. import './comprehensive.less';
  9. import PatentAdd from './comPatentAdd.jsx';
  10. import PatentDesc from './comPatentDesc.jsx';
  11. const Patent = React.createClass({
  12. loadData(pageNo) {
  13. this.state.data = [];
  14. this.setState({
  15. loading: true
  16. });
  17. $.ajax({
  18. method: "get",
  19. dataType: "json",
  20. crossDomain: false,
  21. url: globalConfig.context + "/api/admin/patent/patentList",
  22. data: {
  23. page: pageNo || 1,
  24. pageSize: this.state.pagination.pageSize || null,
  25. serialNumber: this.state.number || null,
  26. patentNumber: this.state.patentNumber || null,
  27. patentName: this.state.patentName || null,
  28. locationProvince: this.state.province || null,
  29. uid: this.state.unitId || null,
  30. contractId: this.state.contractId,
  31. patentCatagory: this.state.patentType || null,
  32. patentState: this.state.patentState || null,
  33. createTime: this.state.createTime || null,
  34. patentApplicationDate: this.state.acceptTime || null,
  35. authorizedDate: this.state.authTime || null,
  36. },
  37. success: function (data) {
  38. if (data.error.length || !data.data || !data.data.list) {
  39. message.warning(data.error[0].message);
  40. return;
  41. }
  42. for (let i = 0; i < data.data.list.length; i++) {
  43. let thisdata = data.data.list[i];
  44. this.state.data.push({
  45. key: i,
  46. id: thisdata.id,
  47. oid: thisdata.oid,
  48. uid: thisdata.uid,
  49. number: thisdata.serialNumber || '',
  50. patentNumber: thisdata.patentNumber || '',
  51. unitName: thisdata.unitName || '',
  52. patentName: thisdata.patentName || '',
  53. patentCatagory: thisdata.patentCatagory ? getPatentType(thisdata.patentCatagory) : '',
  54. patentState: thisdata.patentState || '0',
  55. patentField: thisdata.patentField || '0',
  56. patentDes: thisdata.patentDes || '',
  57. patentProryStatementUrl: thisdata.patentProryStatementUrl, //专利代理委托书
  58. patentWritingUrl: thisdata.patentWritingUrl, //专利稿件
  59. authorizationNoticeUrl: thisdata.authorizationNoticeUrl, //授权通知书
  60. patentCertificateUrl: thisdata.patentCertificateUrl, //专利证书
  61. lastYearTaxReportUrl: thisdata.lastYearTaxReportUrl, //上年度纳税表
  62. patentProryStatementDownloadFileName: thisdata.patentProryStatementDownloadFileName, //专利代理委托书
  63. patentWritingDownloadFileName: thisdata.patentWritingDownloadFileName, //专利稿件
  64. authorizationNoticeDownloadFileName: thisdata.authorizationNoticeDownloadFileName, //授权通知书
  65. patentCertificateDownloadFileName: thisdata.patentCertificateDownloadFileName, //专利证书
  66. lastYearTaxReportDownloadFileName: thisdata.lastYearTaxReportDownloadFileName, //上年度纳税表
  67. startTime: thisdata.patentApplicationDate,
  68. endTime: thisdata.authorizedDate,
  69. orgCode: thisdata.orgCode,
  70. province: thisdata.locationProvince,
  71. companyAddress: thisdata.locationProvince || thisdata.locationCity || thisdata.locationArea ? thisdata.locationProvince + '/' + thisdata.locationCity + '/' + thisdata.locationArea : '',
  72. companyContacts: thisdata.contacts, //联系人
  73. firstInventorName: thisdata.firstInventorName,
  74. firstInventorNationality: thisdata.firstInventorNationality, //国籍
  75. firstInventorIdNumber: thisdata.firstInventorIdNumber, //id
  76. firstInventorIsPublish: thisdata.firstInventorIsPublish, //是否公布
  77. secondInventorName: thisdata.secondInventorName,
  78. secondInventorNationality: thisdata.secondInventorNationality,
  79. secondInventorIsPublish: thisdata.secondInventorIsPublish,
  80. thirdInventorName: thisdata.thirdInventorName,
  81. thirdInventorNationality: thisdata.thirdInventorNationality,
  82. thirdInventorIsPublish: thisdata.thirdInventorIsPublish,
  83. createTime: thisdata.createTime, //派单日
  84. author: thisdata.author, //撰写人
  85. office: thisdata.office, //事务所
  86. principal: thisdata.principal, //负责人
  87. founder: thisdata.founder, //创建人
  88. techPrincipal: thisdata.techPrincipal //技术员
  89. });
  90. };
  91. this.state.pagination.current = data.data.pageNo;
  92. this.state.pagination.total = data.data.totalCount;
  93. this.setState({
  94. dataSource: this.state.data,
  95. pagination: this.state.pagination
  96. });
  97. }.bind(this),
  98. }).always(function () {
  99. this.setState({
  100. loading: false
  101. });
  102. }.bind(this));
  103. },
  104. getOptionList() {
  105. this.setState({
  106. loading: true
  107. });
  108. $.when($.ajax({
  109. method: "get",
  110. dataType: "json",
  111. crossDomain: false,
  112. url: globalConfig.context + "/api/admin/getUnitNames",
  113. data: { "pid": this.state.data.id },
  114. }), $.ajax({
  115. method: "get",
  116. dataType: "json",
  117. crossDomain: false,
  118. url: globalConfig.context + "/api/admin/patent/getPrincipal"
  119. }), $.ajax({
  120. method: "get",
  121. dataType: "json",
  122. crossDomain: false,
  123. url: globalConfig.context + "/api/admin/patent/patentStatus"
  124. })).done((data1, data2, data3) => {
  125. let _me = this;
  126. if (!data1[0].data) {
  127. if (data1[0].error.length) {
  128. message.warning(data1[0].error[0].message);
  129. };
  130. } else {
  131. for (var item in data1[0].data) {
  132. _me.state.companyOption.push(
  133. <Select.Option value={item} key={item}>{data1[0].data[item]}</Select.Option>
  134. )
  135. };
  136. };
  137. if (!data2[0].data) {
  138. if (data2[0].error.length) {
  139. message.warning(data2[0].error[0].message);
  140. };
  141. } else {
  142. _me.state.adminOption = [];
  143. for (var item in data2[0].data) {
  144. _me.state.adminOption.push(
  145. <Select.Option value={item} key={item}>{data2[0].data[item]}</Select.Option>
  146. )
  147. };
  148. };
  149. if (!data3[0].data) {
  150. if (data3[0].error && data3[0].error.length) {
  151. message.warning(data3[0].error[0].message);
  152. };
  153. } else {
  154. _me.state.patentStateOption = [];
  155. for (var item in data3[0].data) {
  156. _me.state.patentStateOption.push(
  157. <Select.Option value={item} key={item}>{data3[0].data[item]}</Select.Option>
  158. )
  159. };
  160. };
  161. }).always(function () {
  162. this.setState({
  163. loading: false
  164. });
  165. }.bind(this));
  166. },
  167. getContractList() {
  168. this.setState({
  169. loading: true
  170. });
  171. $.ajax({
  172. method: "get",
  173. dataType: "json",
  174. crossDomain: false,
  175. url: globalConfig.context + "/api/admin/contract/serialNumber",
  176. success: function (data) {
  177. if (!data.data) {
  178. if (data.error && data.error.length) {
  179. message.warning(data.error[0].message);
  180. };
  181. return;
  182. };
  183. let theArr = [];
  184. for (let i = 0; i < data.data.length; i++) {
  185. let item = data.data[i];
  186. theArr.push(
  187. <Select.Option value={item.contractId} key={item.contractId}>{item.serialNumber}</Select.Option>
  188. );
  189. };
  190. this.setState({
  191. contractListOption: theArr
  192. });
  193. }.bind(this),
  194. }).always(function () {
  195. this.setState({
  196. loading: false
  197. });
  198. }.bind(this));
  199. },
  200. getInitialState() {
  201. return {
  202. createTime: [],
  203. acceptTime: [],
  204. authTime: [],
  205. patentTypeOption: [],
  206. patentStateOption: [],
  207. companyOption: [],
  208. provinceOption: [],
  209. searchMore: true,
  210. data: [],
  211. loading: false,
  212. visible: false,
  213. selectedRowKeys: [],
  214. selectedRows: [],
  215. pagination: {
  216. defaultCurrent: 1,
  217. defaultPageSize: 10,
  218. showQuickJumper: true,
  219. pageSize: 10,
  220. onChange: function (page) {
  221. this.loadData(page);
  222. }.bind(this),
  223. showTotal: function (total) {
  224. return '共' + total + '条数据';
  225. }
  226. },
  227. columns: [
  228. {
  229. title: '编号',
  230. dataIndex: 'number',
  231. key: 'number',
  232. }, {
  233. title: '申请号/专利号',
  234. dataIndex: 'patentNumber',
  235. key: 'patentNumber',
  236. }, {
  237. title: '事务所',
  238. dataIndex: 'office',
  239. key: 'office',
  240. }, {
  241. title: '省份',
  242. dataIndex: 'province',
  243. key: 'province',
  244. }, {
  245. title: '公司名称',
  246. dataIndex: 'unitName',
  247. key: 'unitName',
  248. }, {
  249. title: '专利名称',
  250. dataIndex: 'patentName',
  251. key: 'patentName',
  252. }, {
  253. title: '专利类型',
  254. dataIndex: 'patentCatagory',
  255. key: 'patentCatagory'
  256. }, {
  257. title: '专利状态',
  258. dataIndex: 'patentState',
  259. key: 'patentState',
  260. render: text => { return getPatentState(text) },
  261. }, {
  262. title: '派单日',
  263. dataIndex: 'createTime',
  264. key: 'createTime',
  265. render: text => { return getTime(text) },
  266. }, {
  267. title: '申请日',
  268. dataIndex: 'startTime',
  269. key: 'startTime',
  270. render: text => { return getTime(text) },
  271. }, {
  272. title: '授权日',
  273. dataIndex: 'endTime',
  274. key: 'endTime',
  275. render: text => { return getTime(text) },
  276. }, {
  277. title: '创建人',
  278. dataIndex: 'founder',
  279. key: 'founder'
  280. }, {
  281. title: '技术员',
  282. dataIndex: 'techPrincipal',
  283. key: 'techPrincipal',
  284. }
  285. ],
  286. dataSource: []
  287. };
  288. },
  289. componentWillMount() {
  290. let _me = this;
  291. patentTypeList.map(function (item) {
  292. _me.state.patentTypeOption.push(
  293. <Select.Option value={item.value} key={item.key}>{item.key}</Select.Option>
  294. )
  295. });
  296. patentStateList.map(function (item) {
  297. _me.state.patentStateOption.push(
  298. <Select.Option value={item.value} key={item.key}>{item.key}</Select.Option>
  299. )
  300. });
  301. provinceArr.map(function (item) {
  302. _me.state.provinceOption.push(
  303. <Select.Option value={item} key={item}>{item}</Select.Option>
  304. )
  305. });
  306. if (window.location.search) {
  307. let theObj = getSearchUrl(window.location.search);
  308. if (theObj.rid) {
  309. theObj.id = theObj.rid;
  310. if (theObj.rid != 'null' && theObj.uid != 'null') {
  311. this.tableRowClick(theObj);
  312. };
  313. } else {
  314. if (theObj.uid) {
  315. this.state.unitName = theObj.uid;
  316. } else if (theObj.contractId) {
  317. this.state.contractId = theObj.contractId;
  318. };
  319. };
  320. };
  321. this.loadData();
  322. this.getOptionList();
  323. this.getContractList();
  324. },
  325. tableRowClick(record, index) {
  326. this.state.RowData = record;
  327. this.setState({
  328. showDesc: true
  329. });
  330. },
  331. closeDesc(e, s) {
  332. this.state.showDesc = e;
  333. if (s) {
  334. this.loadData();
  335. };
  336. },
  337. search() {
  338. this.loadData();
  339. },
  340. reset() {
  341. this.state.number = undefined;
  342. this.state.patentNumber = undefined;
  343. this.state.province = undefined;
  344. this.state.unitId = undefined;
  345. this.state.contractId = undefined;
  346. this.state.patentType = undefined;
  347. this.state.patentName = undefined;
  348. this.state.patentState = undefined;
  349. this.state.createTime = [];
  350. this.state.acceptTime = [];
  351. this.state.authTime = [];
  352. this.state.searchKey = undefined;
  353. this.state.searchValue = undefined;
  354. this.loadData();
  355. },
  356. exportComposite() {
  357. window.open(globalConfig.context + "/api/admin/patent/exportComposite" +
  358. "?" + "serialNumber" + "=" + this.state.number +
  359. "&" + "patentNumber" + "=" + this.state.patentNumber +
  360. "&" + "patentName" + "=" + this.state.patentName +
  361. "&" + "locationProvince" + "=" + this.state.locationProvince +
  362. "&" + "uid" + "=" + this.state.unitId +
  363. "&" + "uid" + "=" + this.state.contractId +
  364. "&" + "patentCatagory" + "=" + this.state.patentCatagory +
  365. "&" + "patentState" + "=" + this.state.patentState +
  366. "&" + "createTime" + "=" + this.state.createTime +
  367. "&" + "patentApplicationDate" + "=" + this.state.acceptTime +
  368. "&" + "author" + "=" + this.state.author);
  369. },
  370. searchSwitch() {
  371. this.setState({
  372. searchMore: !this.state.searchMore
  373. });
  374. },
  375. searchSelect(e) {
  376. let _me = this;
  377. this.setState({
  378. searchValue: e.target.value
  379. });
  380. switch (_me.state.searchKey) {
  381. case "patentNumber":
  382. _me.state.patentNumber = e.target.value;
  383. _me.state.number = '';
  384. _me.state.patentName = '';
  385. break;
  386. case "serialNumber":
  387. _me.state.number = e.target.value;
  388. _me.state.patentNumber = '';
  389. _me.state.patentName = '';
  390. break;
  391. case "patentName":
  392. _me.state.patentNumber = '';
  393. _me.state.number = '';
  394. _me.state.patentName = e.target.value;
  395. break;
  396. }
  397. },
  398. delectRow() {
  399. let deletedIds = [];
  400. for (let idx = 0; idx < this.state.selectedRows.length; idx++) {
  401. let rowItem = this.state.selectedRows[idx];
  402. if (rowItem.id) {
  403. deletedIds.push(rowItem.id)
  404. }
  405. }
  406. this.setState({
  407. selectedRowKeys: [],
  408. loading: deletedIds.length > 0
  409. });
  410. $.ajax({
  411. method: "POST",
  412. dataType: "json",
  413. crossDomain: false,
  414. url: globalConfig.context + "/api/admin/patent/delete",
  415. data: {
  416. ids: deletedIds
  417. }
  418. }).done(function (data) {
  419. if (!data.error.length) {
  420. message.success('删除成功!');
  421. this.setState({
  422. loading: false,
  423. });
  424. } else {
  425. message.warning(data.error[0].message);
  426. };
  427. this.loadData();
  428. }.bind(this));
  429. },
  430. circulation() {
  431. let deletedIds = [];
  432. for (let idx = 0; idx < this.state.selectedRows.length; idx++) {
  433. let rowItem = this.state.selectedRows[idx];
  434. if (rowItem.id) {
  435. deletedIds.push(rowItem.id)
  436. }
  437. }
  438. this.setState({
  439. selectedRowKeys: [],
  440. loading: deletedIds.length > 0
  441. });
  442. $.ajax({
  443. method: "POST",
  444. dataType: "json",
  445. crossDomain: false,
  446. url: globalConfig.context + "/api/admin/patent/circulation",
  447. data: {
  448. ids: deletedIds,
  449. principal: this.state.principal,
  450. state: this.state.status,
  451. comment: this.state.comment,
  452. recordTimeFormattedDate: this.state.recordTime
  453. }
  454. }).done(function (data) {
  455. if (!data.error.length) {
  456. message.success('保存成功!');
  457. this.setState({
  458. loading: false,
  459. visible: false
  460. });
  461. } else {
  462. message.warning(data.error[0].message);
  463. };
  464. this.loadData();
  465. }.bind(this));
  466. },
  467. showModal() {
  468. this.setState({
  469. visible: true,
  470. principal: undefined,
  471. status: undefined,
  472. comment: undefined,
  473. recordTime: undefined
  474. });
  475. },
  476. handleCancel() {
  477. this.setState({ visible: false });
  478. },
  479. render() {
  480. const rowSelection = {
  481. selectedRowKeys: this.state.selectedRowKeys,
  482. onChange: (selectedRowKeys, selectedRows) => {
  483. this.setState({
  484. selectedRows: selectedRows,
  485. selectedRowKeys: selectedRowKeys
  486. });
  487. }
  488. };
  489. const hasSelected = this.state.selectedRowKeys.length > 0;
  490. const { MonthPicker, RangePicker } = DatePicker;
  491. return (
  492. <div className="patent-content" >
  493. <div className="content-title">
  494. <span>专利综合管理</span>
  495. <div className="patent-addNew">
  496. <Upload style={{ float: 'right' }}
  497. name="ratepay"
  498. fileList={this.state.fileList}
  499. action={globalConfig.context + "/api/admin/patent/uploadTemplate"}
  500. data={{ 'sign': 'patent_prory_statement' }}
  501. beforeUpload={beforeUploadFile}
  502. onChange={(info) => {
  503. if (info.file.status === 'done') {
  504. if (!info.file.response.error.length) {
  505. if (!info.file.response.error.length) {
  506. message.success(`${info.file.name} 文件上传成功!`);
  507. } else {
  508. message.warning(info.file.response.error[0].message);
  509. return;
  510. };
  511. } else {
  512. message.warning(info.file.response.error[0].message);
  513. };
  514. } else if (info.file.status === 'error') {
  515. message.error(`${info.file.name} 文件上传失败。`);
  516. };
  517. this.setState({ fileList: info.fileList.slice(-1) });
  518. }}
  519. >
  520. <Button>上传专利代理委托书模板 <Icon type="upload" /></Button>
  521. </Upload>
  522. </div>
  523. </div>
  524. <div className="patent-query">
  525. <Select placeholder="请选择" value={this.state.searchKey} style={{ width: 160 }} onChange={(e) => { this.setState({ searchKey: e, searchValue: '' }); }}>
  526. <Select.Option value="patentNumber">专利号</Select.Option>
  527. <Select.Option value="serialNumber">编号</Select.Option>
  528. <Select.Option value="patentName">专利名称</Select.Option>
  529. </Select>
  530. <Input value={this.state.searchValue} style={{ width: 160 }} onChange={this.searchSelect} />
  531. <Select placeholder="选择合同编号"
  532. style={{ width: 120 }}
  533. value={this.state.contractId}
  534. showSearch
  535. filterOption={companySearch}
  536. onChange={(e) => { this.setState({ contractId: e }) }}>
  537. {this.state.contractListOption}
  538. </Select>
  539. <Select placeholder="专利状态" value={this.state.patentState} style={{ width: 160 }} onChange={(e) => { this.setState({ patentState: e }); }}>{this.state.patentStateOption}</Select>
  540. <span>更多搜索<Switch defaultChecked={false} onChange={this.searchSwitch} /></span>
  541. <Button style={{ marginLeft: '20px' }}
  542. type="primary"
  543. onClick={this.search}>搜索</Button>
  544. <Button onClick={this.reset}>重置</Button>
  545. <Button type="ghost" onClick={this.exportComposite}>导出</Button>
  546. <Button style={{ background: "#3fcf9e", border: "none", color: "#fff" }}
  547. disabled={!hasSelected}
  548. onClick={this.delectRow}>删除<Icon type="minus" /></Button>
  549. <Button disabled={!hasSelected} style={{ marginTop: '10px' }}
  550. type="ghost" onClick={this.showModal}>专利批量流转<Icon type="retweet" /></Button>
  551. <div className="search-more" style={this.state.searchMore ? { display: 'none' } : {}}>
  552. <div>
  553. <span>派单日:</span>
  554. <RangePicker style={{ width: '240px' }}
  555. allowClear={false}
  556. value={[this.state.createTime[0] ? moment(this.state.createTime[0]) : null,
  557. this.state.createTime[1] ? moment(this.state.createTime[1]) : null]}
  558. onChange={(date, dateString) => { this.setState({ createTime: dateString }) }} />
  559. <span>申请日:</span>
  560. <RangePicker style={{ width: '240px' }}
  561. allowClear={false}
  562. value={[this.state.acceptTime[0] ? moment(this.state.acceptTime[0]) : null,
  563. this.state.acceptTime[1] ? moment(this.state.acceptTime[1]) : null]}
  564. onChange={(date, dateString) => { this.setState({ acceptTime: dateString }) }} />
  565. <Select placeholder="选择省份"
  566. showSearch
  567. filterOption={companySearch}
  568. style={{ width: 100 }}
  569. value={this.state.province}
  570. onChange={(e) => { this.setState({ province: e }); }}>
  571. {this.state.provinceOption}
  572. </Select>
  573. <Select placeholder="选择公司"
  574. style={{ width: 200 }}
  575. showSearch
  576. filterOption={companySearch}
  577. value={this.state.unitId}
  578. onChange={(e) => { this.setState({ unitId: e }); }}>
  579. {this.state.companyOption}
  580. </Select>
  581. </div>
  582. </div>
  583. </div>
  584. <div className="patent-table">
  585. <Spin spinning={this.state.loading}>
  586. <Table columns={this.state.columns}
  587. rowSelection={rowSelection}
  588. dataSource={this.state.dataSource}
  589. pagination={this.state.pagination}
  590. onRowClick={this.tableRowClick} />
  591. </Spin>
  592. </div>
  593. <PatentDesc
  594. data={this.state.RowData}
  595. adminOption={this.state.adminOption}
  596. patentStateOption={this.state.patentStateOption}
  597. showDesc={this.state.showDesc}
  598. closeDesc={this.closeDesc} />
  599. <Modal title="专利批量流转" visible={this.state.visible}
  600. onCancel={this.handleCancel}
  601. width='800px'
  602. footer={[
  603. <Button key="submit" type="primary" size="large" onClick={this.circulation}>保存</Button>,
  604. <Button key="back" type="ghost" size="large" onClick={this.handleCancel}>取消</Button>,
  605. ]} className="patent-desc-content">
  606. <div className="clearfix">
  607. <div className="widthThird">
  608. <span>状态流转:</span>
  609. <Select placeholder='请选择状态'
  610. value={this.state.status}
  611. style={{ width: 150 }}
  612. onChange={(e) => { this.setState({ status: e }); }}>
  613. {this.state.patentStateOption}
  614. </Select>
  615. </div>
  616. <p className="widthThird">
  617. <span>处理时间:</span>
  618. <DatePicker
  619. value={this.state.recordTime ? moment(this.state.recordTime) : undefined}
  620. format="YYYY-MM-DD HH:mm:ss"
  621. onChange={(data, dataString) => { this.setState({ recordTime: dataString }); }} />
  622. </p>
  623. <div className="widthThird">
  624. <span>负责人:</span>
  625. <Select placeholder='请填写负责人'
  626. value={this.state.principal}
  627. style={{ width: 150 }}
  628. onChange={(e) => { this.setState({ principal: e }); }}>
  629. {this.state.adminOption}
  630. </Select>
  631. </div>
  632. </div>
  633. <div>
  634. <span>备注:</span>
  635. <Input value={this.state.comment} placeholder='请填写备注' style={{ width: 400 }} onChange={(e) => { this.setState({ comment: e.target.value }); }} />
  636. </div>
  637. </Modal>
  638. </div >
  639. );
  640. }
  641. });
  642. export default Patent;
  643. //<PatentAdd closeDesc={this.closeDesc} />