comprehensive.jsx 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648
  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 (var item in data.data) {
  185. theArr.push(
  186. <Select.Option value={item} key={item}>{data.data[item]}</Select.Option>
  187. );
  188. };
  189. this.setState({
  190. contractListOption: theArr
  191. });
  192. }.bind(this),
  193. }).always(function () {
  194. this.setState({
  195. loading: false
  196. });
  197. }.bind(this));
  198. },
  199. getInitialState() {
  200. return {
  201. createTime: [],
  202. acceptTime: [],
  203. authTime: [],
  204. patentTypeOption: [],
  205. patentStateOption: [],
  206. companyOption: [],
  207. provinceOption: [],
  208. searchMore: true,
  209. data: [],
  210. loading: false,
  211. visible: false,
  212. selectedRowKeys: [],
  213. selectedRows: [],
  214. pagination: {
  215. defaultCurrent: 1,
  216. defaultPageSize: 10,
  217. showQuickJumper: true,
  218. pageSize: 10,
  219. onChange: function (page) {
  220. this.loadData(page);
  221. }.bind(this),
  222. showTotal: function (total) {
  223. return '共' + total + '条数据';
  224. }
  225. },
  226. columns: [
  227. {
  228. title: '编号',
  229. dataIndex: 'number',
  230. key: 'number',
  231. }, {
  232. title: '申请号/专利号',
  233. dataIndex: 'patentNumber',
  234. key: 'patentNumber',
  235. }, {
  236. title: '事务所',
  237. dataIndex: 'office',
  238. key: 'office',
  239. }, {
  240. title: '省份',
  241. dataIndex: 'province',
  242. key: 'province',
  243. }, {
  244. title: '公司名称',
  245. dataIndex: 'unitName',
  246. key: 'unitName',
  247. }, {
  248. title: '专利名称',
  249. dataIndex: 'patentName',
  250. key: 'patentName',
  251. }, {
  252. title: '专利类型',
  253. dataIndex: 'patentCatagory',
  254. key: 'patentCatagory'
  255. }, {
  256. title: '专利状态',
  257. dataIndex: 'patentState',
  258. key: 'patentState',
  259. render: text => { return getPatentState(text) },
  260. }, {
  261. title: '派单日',
  262. dataIndex: 'createTime',
  263. key: 'createTime',
  264. render: text => { return getTime(text) },
  265. }, {
  266. title: '申请日',
  267. dataIndex: 'startTime',
  268. key: 'startTime',
  269. render: text => { return getTime(text) },
  270. }, {
  271. title: '授权日',
  272. dataIndex: 'endTime',
  273. key: 'endTime',
  274. render: text => { return getTime(text) },
  275. }, {
  276. title: '创建人',
  277. dataIndex: 'founder',
  278. key: 'founder'
  279. }, {
  280. title: '技术员',
  281. dataIndex: 'techPrincipal',
  282. key: 'techPrincipal',
  283. }
  284. ],
  285. dataSource: []
  286. };
  287. },
  288. componentWillMount() {
  289. let _me = this;
  290. patentTypeList.map(function (item) {
  291. _me.state.patentTypeOption.push(
  292. <Select.Option value={item.value} key={item.key}>{item.key}</Select.Option>
  293. )
  294. });
  295. patentStateList.map(function (item) {
  296. _me.state.patentStateOption.push(
  297. <Select.Option value={item.value} key={item.key}>{item.key}</Select.Option>
  298. )
  299. });
  300. provinceArr.map(function (item) {
  301. _me.state.provinceOption.push(
  302. <Select.Option value={item} key={item}>{item}</Select.Option>
  303. )
  304. });
  305. if (window.location.search) {
  306. let theObj = getSearchUrl(window.location.search);
  307. if (theObj.rid) {
  308. theObj.id = theObj.rid;
  309. if (theObj.rid != 'null' && theObj.uid != 'null') {
  310. this.tableRowClick(theObj);
  311. };
  312. } else {
  313. if (theObj.uid) {
  314. this.state.unitName = theObj.uid;
  315. } else if (theObj.contractId) {
  316. this.state.contractId = theObj.contractId;
  317. };
  318. };
  319. };
  320. this.loadData();
  321. this.getOptionList();
  322. this.getContractList();
  323. },
  324. tableRowClick(record, index) {
  325. this.state.RowData = record;
  326. this.setState({
  327. showDesc: true
  328. });
  329. },
  330. closeDesc(e, s) {
  331. this.state.showDesc = e;
  332. if (s) {
  333. this.loadData();
  334. };
  335. },
  336. search() {
  337. this.loadData();
  338. },
  339. reset() {
  340. this.state.number = undefined;
  341. this.state.patentNumber = undefined;
  342. this.state.province = undefined;
  343. this.state.unitId = undefined;
  344. this.state.contractId = undefined;
  345. this.state.patentType = undefined;
  346. this.state.patentName = undefined;
  347. this.state.patentState = undefined;
  348. this.state.createTime = [];
  349. this.state.acceptTime = [];
  350. this.state.authTime = [];
  351. this.state.searchKey = undefined;
  352. this.state.searchValue = undefined;
  353. this.loadData();
  354. },
  355. exportComposite() {
  356. window.open(globalConfig.context + "/api/admin/patent/exportComposite" +
  357. "?" + "serialNumber" + "=" + this.state.number +
  358. "&" + "patentNumber" + "=" + this.state.patentNumber +
  359. "&" + "patentName" + "=" + this.state.patentName +
  360. "&" + "locationProvince" + "=" + this.state.locationProvince +
  361. "&" + "uid" + "=" + this.state.unitId +
  362. "&" + "uid" + "=" + this.state.contractId +
  363. "&" + "patentCatagory" + "=" + this.state.patentCatagory +
  364. "&" + "patentState" + "=" + this.state.patentState +
  365. "&" + "createTime" + "=" + this.state.createTime +
  366. "&" + "patentApplicationDate" + "=" + this.state.acceptTime +
  367. "&" + "author" + "=" + this.state.author);
  368. },
  369. searchSwitch() {
  370. this.setState({
  371. searchMore: !this.state.searchMore
  372. });
  373. },
  374. searchSelect(e) {
  375. let _me = this;
  376. this.setState({
  377. searchValue: e.target.value
  378. });
  379. switch (_me.state.searchKey) {
  380. case "patentNumber":
  381. _me.state.patentNumber = e.target.value;
  382. _me.state.number = '';
  383. _me.state.patentName = '';
  384. break;
  385. case "serialNumber":
  386. _me.state.number = e.target.value;
  387. _me.state.patentNumber = '';
  388. _me.state.patentName = '';
  389. break;
  390. case "patentName":
  391. _me.state.patentNumber = '';
  392. _me.state.number = '';
  393. _me.state.patentName = e.target.value;
  394. break;
  395. }
  396. },
  397. delectRow() {
  398. let deletedIds = [];
  399. for (let idx = 0; idx < this.state.selectedRows.length; idx++) {
  400. let rowItem = this.state.selectedRows[idx];
  401. if (rowItem.id) {
  402. deletedIds.push(rowItem.id)
  403. }
  404. }
  405. this.setState({
  406. selectedRowKeys: [],
  407. loading: deletedIds.length > 0
  408. });
  409. $.ajax({
  410. method: "POST",
  411. dataType: "json",
  412. crossDomain: false,
  413. url: globalConfig.context + "/api/admin/patent/delete",
  414. data: {
  415. ids: deletedIds
  416. }
  417. }).done(function (data) {
  418. if (!data.error.length) {
  419. message.success('保存成功!');
  420. this.setState({
  421. loading: false,
  422. });
  423. } else {
  424. message.warning(data.error[0].message);
  425. };
  426. this.loadData();
  427. }.bind(this));
  428. },
  429. circulation() {
  430. let deletedIds = [];
  431. for (let idx = 0; idx < this.state.selectedRows.length; idx++) {
  432. let rowItem = this.state.selectedRows[idx];
  433. if (rowItem.id) {
  434. deletedIds.push(rowItem.id)
  435. }
  436. }
  437. this.setState({
  438. selectedRowKeys: [],
  439. loading: deletedIds.length > 0
  440. });
  441. $.ajax({
  442. method: "POST",
  443. dataType: "json",
  444. crossDomain: false,
  445. url: globalConfig.context + "/api/admin/patent/circulation",
  446. data: {
  447. ids: deletedIds,
  448. principal: this.state.principal,
  449. state: this.state.status,
  450. comment: this.state.comment,
  451. recordTimeFormattedDate: this.state.recordTime
  452. }
  453. }).done(function (data) {
  454. if (!data.error.length) {
  455. message.success('保存成功!');
  456. this.setState({
  457. loading: false,
  458. visible: false
  459. });
  460. } else {
  461. message.warning(data.error[0].message);
  462. };
  463. this.loadData();
  464. }.bind(this));
  465. },
  466. showModal() {
  467. this.setState({
  468. visible: true,
  469. principal: undefined,
  470. status: undefined,
  471. comment: undefined,
  472. recordTime: undefined
  473. });
  474. },
  475. handleCancel() {
  476. this.setState({ visible: false });
  477. },
  478. render() {
  479. const rowSelection = {
  480. selectedRowKeys: this.state.selectedRowKeys,
  481. onChange: (selectedRowKeys, selectedRows) => {
  482. this.setState({
  483. selectedRows: selectedRows,
  484. selectedRowKeys: selectedRowKeys
  485. });
  486. }
  487. };
  488. const hasSelected = this.state.selectedRowKeys.length > 0;
  489. const { MonthPicker, RangePicker } = DatePicker;
  490. return (
  491. <div className="patent-content" >
  492. <div className="content-title">
  493. <span>专利综合管理</span>
  494. <div className="patent-addNew">
  495. <Upload style={{ float: 'right' }}
  496. name="ratepay"
  497. fileList={this.state.fileList}
  498. action={globalConfig.context + "/api/admin/patent/uploadTemplate"}
  499. data={{ 'sign': 'patent_prory_statement' }}
  500. beforeUpload={beforeUploadFile}
  501. onChange={(info) => {
  502. if (info.file.status === 'done') {
  503. if (!info.file.response.error.length) {
  504. if (!info.file.response.error.length) {
  505. message.success(`${info.file.name} 文件上传成功!`);
  506. } else {
  507. message.warning(info.file.response.error[0].message);
  508. return;
  509. };
  510. } else {
  511. message.warning(info.file.response.error[0].message);
  512. };
  513. } else if (info.file.status === 'error') {
  514. message.error(`${info.file.name} 文件上传失败。`);
  515. };
  516. this.setState({ fileList: info.fileList.slice(-1) });
  517. }}
  518. >
  519. <Button>上传专利代理委托书模板 <Icon type="upload" /></Button>
  520. </Upload>
  521. </div>
  522. </div>
  523. <div className="patent-query">
  524. <Select placeholder="请选择" value={this.state.searchKey} style={{ width: 160 }} onChange={(e) => { this.setState({ searchKey: e, searchValue: '' }); }}>
  525. <Select.Option value="patentNumber">专利号</Select.Option>
  526. <Select.Option value="serialNumber">编号</Select.Option>
  527. <Select.Option value="patentName">专利名称</Select.Option>
  528. </Select>
  529. <Input value={this.state.searchValue} style={{ width: 160 }} onChange={this.searchSelect} />
  530. <Select placeholder="选择合同编号"
  531. style={{ width: 120 }}
  532. value={this.state.contractId}
  533. showSearch
  534. filterOption={companySearch}
  535. onChange={(e) => { this.setState({ contractId: e }) }}>
  536. {this.state.contractListOption}
  537. </Select>
  538. <Select placeholder="专利状态" value={this.state.patentState} style={{ width: 160 }} onChange={(e) => { this.setState({ patentState: e }); }}>{this.state.patentStateOption}</Select>
  539. <span>更多搜索<Switch defaultChecked={false} onChange={this.searchSwitch} /></span>
  540. <Button style={{ marginLeft: '20px' }}
  541. type="primary"
  542. onClick={this.search}>搜索</Button>
  543. <Button onClick={this.reset}>重置</Button>
  544. <Button type="ghost" onClick={this.exportComposite}>导出</Button>
  545. <Button style={{ background: "#3fcf9e", border: "none", color: "#fff" }}
  546. disabled={!hasSelected}
  547. onClick={this.delectRow}>删除<Icon type="minus" /></Button>
  548. <Button disabled={!hasSelected} style={{ marginTop: '10px' }}
  549. type="ghost" onClick={this.showModal}>专利批量流转<Icon type="retweet" /></Button>
  550. <div className="search-more" style={this.state.searchMore ? { display: 'none' } : {}}>
  551. <div>
  552. <span>派单日:</span>
  553. <RangePicker style={{ width: '240px' }}
  554. allowClear={false}
  555. value={[this.state.createTime[0] ? moment(this.state.createTime[0]) : null,
  556. this.state.createTime[1] ? moment(this.state.createTime[1]) : null]}
  557. onChange={(date, dateString) => { this.setState({ createTime: dateString }) }} />
  558. <span>申请日:</span>
  559. <RangePicker style={{ width: '240px' }}
  560. allowClear={false}
  561. value={[this.state.acceptTime[0] ? moment(this.state.acceptTime[0]) : null,
  562. this.state.acceptTime[1] ? moment(this.state.acceptTime[1]) : null]}
  563. onChange={(date, dateString) => { this.setState({ acceptTime: dateString }) }} />
  564. <Select placeholder="选择省份"
  565. showSearch
  566. filterOption={companySearch}
  567. style={{ width: 100 }}
  568. value={this.state.province}
  569. onChange={(e) => { this.setState({ province: e }); }}>
  570. {this.state.provinceOption}
  571. </Select>
  572. <Select placeholder="选择公司"
  573. style={{ width: 200 }}
  574. showSearch
  575. filterOption={companySearch}
  576. value={this.state.unitId}
  577. onChange={(e) => { this.setState({ unitId: e }); }}>
  578. {this.state.companyOption}
  579. </Select>
  580. </div>
  581. </div>
  582. </div>
  583. <div className="patent-table">
  584. <Spin spinning={this.state.loading}>
  585. <Table columns={this.state.columns}
  586. rowSelection={rowSelection}
  587. dataSource={this.state.dataSource}
  588. pagination={this.state.pagination}
  589. onRowClick={this.tableRowClick} />
  590. </Spin>
  591. </div>
  592. <PatentDesc
  593. data={this.state.RowData}
  594. adminOption={this.state.adminOption}
  595. patentStateOption={this.state.patentStateOption}
  596. showDesc={this.state.showDesc}
  597. closeDesc={this.closeDesc} />
  598. <Modal title="专利批量流转" visible={this.state.visible}
  599. onCancel={this.handleCancel}
  600. width='800px'
  601. footer={[
  602. <Button key="submit" type="primary" size="large" onClick={this.circulation}>保存</Button>,
  603. <Button key="back" type="ghost" size="large" onClick={this.handleCancel}>取消</Button>,
  604. ]} className="patent-desc-content">
  605. <div className="clearfix">
  606. <div className="widthThird">
  607. <span>状态流转:</span>
  608. <Select placeholder='请选择状态'
  609. value={this.state.status}
  610. style={{ width: 150 }}
  611. onChange={(e) => { this.setState({ status: e }); }}>
  612. {this.state.patentStateOption}
  613. </Select>
  614. </div>
  615. <p className="widthThird">
  616. <span>处理时间:</span>
  617. <DatePicker
  618. value={this.state.recordTime ? moment(this.state.recordTime) : undefined}
  619. format="YYYY-MM-DD HH:mm:ss"
  620. onChange={(data, dataString) => { this.setState({ recordTime: dataString }); }} />
  621. </p>
  622. <div className="widthThird">
  623. <span>负责人:</span>
  624. <Select placeholder='请填写负责人'
  625. value={this.state.principal}
  626. style={{ width: 150 }}
  627. onChange={(e) => { this.setState({ principal: e }); }}>
  628. {this.state.adminOption}
  629. </Select>
  630. </div>
  631. </div>
  632. <div>
  633. <span>备注:</span>
  634. <Input value={this.state.comment} placeholder='请填写备注' style={{ width: 400 }} onChange={(e) => { this.setState({ comment: e.target.value }); }} />
  635. </div>
  636. </Modal>
  637. </div >
  638. );
  639. }
  640. });
  641. export default Patent;
  642. //<PatentAdd closeDesc={this.closeDesc} />