businessProject.jsx 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  1. import React from 'react';
  2. import $ from 'jquery/src/ajax';
  3. import 'react-quill/dist/quill.bubble.css';
  4. import {
  5. Form,
  6. Icon,
  7. Button,
  8. Input,
  9. Select,
  10. Spin,
  11. Table,
  12. message,
  13. DatePicker,
  14. Modal,
  15. Upload,
  16. Popconfirm,
  17. Cascader,
  18. InputNumber,
  19. Radio
  20. } from 'antd';
  21. import { getGameState, splitUrl, getprovince } from '@/tools.js';
  22. //图片组件
  23. const PicturesWall = React.createClass({
  24. getInitialState() {
  25. return {
  26. previewVisible: false,
  27. previewImage: '',
  28. fileList: []
  29. };
  30. },
  31. handleCancel() {
  32. this.setState({ previewVisible: false });
  33. },
  34. handlePreview(file) {
  35. this.setState({
  36. previewImage: file.url || file.thumbUrl,
  37. previewVisible: true
  38. });
  39. },
  40. handleChange(info) {
  41. let fileList = info.fileList;
  42. this.setState({ fileList });
  43. this.props.fileList(fileList);
  44. },
  45. componentWillReceiveProps(nextProps) {
  46. this.state.fileList = nextProps.pictureUrl;
  47. },
  48. render() {
  49. const { previewVisible, previewImage, fileList } = this.state;
  50. const uploadButton = (
  51. <div>
  52. <Icon type="plus" />
  53. <div className="ant-upload-text">点击上传</div>
  54. </div>
  55. );
  56. return (
  57. <div style={{ display: 'inline-block' }}>
  58. <Upload
  59. action={globalConfig.context + '/api/admin/jtBusiness/project/uploadPicture'}
  60. data={{ sign: 'jt_project_picture' }}
  61. listType="picture-card"
  62. fileList={fileList}
  63. onPreview={this.handlePreview}
  64. onChange={this.handleChange}
  65. >
  66. {fileList.length >= 1 ? null : uploadButton}
  67. </Upload>
  68. <Modal maskClosable={false} visible={previewVisible} footer={null} onCancel={this.handleCancel}>
  69. <img alt="example" style={{ width: '100%' }} src={previewImage} />
  70. </Modal>
  71. </div>
  72. );
  73. }
  74. });
  75. //主体
  76. const BusinessProject = Form.create()(
  77. React.createClass({
  78. loadData(pageNo) {
  79. this.state.data = [];
  80. this.setState({
  81. loading: true,
  82. page: pageNo
  83. });
  84. $.ajax({
  85. method: 'get',
  86. dataType: 'json',
  87. crossDomain: false,
  88. url: globalConfig.context + '/portal/service/jtProject/list',
  89. data: {
  90. pageNo: pageNo || 1,
  91. pageSize: this.state.pagination.pageSize,
  92. topId: this.state.typeSearch? this.state.typeSearch[0]:'',
  93. secondId:this.state.typeSearch?this.state.typeSearch[1]:'',
  94. name: this.state.nameSearch,
  95. privateProject: 1,
  96. auditStatus:1
  97. },
  98. success: function(data) {
  99. let theArr = [];
  100. if (!data.data || !data.data.list) {
  101. if (data.error && data.error.length) {
  102. message.warning(data.error[0].message);
  103. }
  104. } else {
  105. for (let i = 0; i < data.data.list.length; i++) {
  106. let thisdata = data.data.list[i],
  107. ProvinceCityArr = [],
  108. cname = '',
  109. superName = '',
  110. ProvinceS = thisdata.province, //getprovince
  111. citys = thisdata.city,
  112. Areas = thisdata.area;
  113. ProvinceCityArr.push(ProvinceS, citys, Areas);
  114. this.state.categoryList.map((item) => {
  115. if (thisdata.categoryId == item.id) {
  116. cname = item.name;
  117. superName = item.superName;
  118. }
  119. });
  120. theArr.push({
  121. key: i,
  122. id: thisdata.id, //业务名称
  123. name: thisdata.name, //业务名称
  124. categoryId: thisdata.categoryId, //业务品类
  125. number: thisdata.number,
  126. price: thisdata.price, //市场价
  127. superName: superName,
  128. cname: cname,
  129. city: thisdata.city,
  130. activityPrice: thisdata.activityPrice ? thisdata.activityPrice : '', //最低折扣
  131. memberPrice: thisdata.memberPrice ? thisdata.memberPrice : '', //会员价
  132. offset: thisdata.offset ? thisdata.offset : '',
  133. activityPrice: thisdata.activityPrice ? thisdata.activityPrice : '', //活动价
  134. activityFlag: thisdata.activityFlag, //活动生效标识
  135. status: thisdata.status, //项目状态
  136. province: thisdata.province,
  137. introduce: thisdata.introduce,
  138. createTime: thisdata.createTime ? new Date(thisdata.createTime).toLocaleString() : '',
  139. value: thisdata.value,
  140. applyConditions: thisdata.applyConditions
  141. });
  142. }
  143. this.state.pagination.current = data.data.pageNo;
  144. this.state.pagination.total = data.data.totalCount;
  145. }
  146. this.setState({
  147. dataSource: theArr,
  148. pagination: this.state.pagination
  149. });
  150. }.bind(this)
  151. }).always(
  152. function() {
  153. this.setState({
  154. loading: false
  155. });
  156. }.bind(this)
  157. );
  158. },
  159. getInitialState() {
  160. return {
  161. searchMore: true,
  162. selectedRowKeys: [],
  163. selectedRows: [],
  164. loading: false,
  165. orgCodeUrl: [],
  166. typeSearch:[],
  167. companyLogoUrl: [],
  168. pagination: {
  169. defaultCurrent: 1,
  170. defaultPageSize: 10,
  171. showQuickJumper: true,
  172. pageSize: 10,
  173. onChange: function(page) {
  174. this.loadData(page);
  175. this.setState({
  176. selectedRowKeys: []
  177. });
  178. }.bind(this),
  179. showTotal: function(total) {
  180. return '共' + total + '条数据';
  181. }
  182. },
  183. columns: [
  184. {
  185. title: '项目名称',
  186. dataIndex: 'name',
  187. key: 'bname'
  188. },
  189. {
  190. title: '品类名称',
  191. dataIndex: 'cname',
  192. key: 'cname',
  193. render:(text,recard)=>{
  194. let ids =recard.categoryId,categoryList =this.state.categoryList,txt='' ;
  195. categoryList.map(item=>{
  196. if(item.children){
  197. (item.children).map(atem=>{
  198. if(atem.value==ids){
  199. txt= atem.label
  200. }
  201. })
  202. }
  203. })
  204. return txt;
  205. }
  206. },
  207. {
  208. title: '上级品类',
  209. dataIndex: 'superName',
  210. key: 'superName',
  211. render:(text,recard)=>{
  212. let ids =recard.categoryId,categoryList =this.state.categoryList,txt='' ;
  213. categoryList.map(item=>{
  214. if(item.children){
  215. (item.children).map(atem=>{
  216. if(atem.value==ids){
  217. txt= item.label
  218. }
  219. })
  220. }
  221. })
  222. return txt;
  223. }
  224. },
  225. {
  226. title: '业务地区',
  227. dataIndex: 'area',
  228. key: 'area',
  229. render: (text, rocard) => {
  230. return (
  231. <div>
  232. {rocard.province != 0 ? (
  233. <span>{getprovince(rocard.province) + '-' + getprovince(rocard.city)}</span>
  234. ) : (
  235. '全国'
  236. )}
  237. </div>
  238. );
  239. }
  240. },
  241. {
  242. title: '市场价',
  243. dataIndex: 'price',
  244. key: 'price'
  245. },
  246. {
  247. title: '最低折扣',
  248. dataIndex: 'offset',
  249. key: 'offset'
  250. },
  251. {
  252. title: '会员价',
  253. dataIndex: 'memberPrice',
  254. key: 'memberPrice'
  255. },
  256. {
  257. title: '活动价',
  258. dataIndex: 'activityPrice',
  259. key: 'activityPrice'
  260. },
  261. {
  262. title: '活动生效标识',
  263. dataIndex: 'activityFlag',
  264. key: 'activityFlag',
  265. render: (text) => {
  266. return getGameState(text);
  267. }
  268. },
  269. {
  270. title: '审核',
  271. dataIndex: 'caozuo',
  272. key: 'caozuo',
  273. render: (text, recard) => {
  274. return (
  275. <div className="btnRight">
  276. <Button
  277. type="primary"
  278. onClick={(e) => {
  279. e.stopPropagation();
  280. this.tableRowClick(recard);
  281. }}
  282. >
  283. 审核
  284. </Button>
  285. </div>
  286. );
  287. }
  288. }
  289. ],
  290. dataSource: []
  291. };
  292. },
  293. //业务品类列表获取
  294. topLevel() {
  295. $.ajax({
  296. method: 'get',
  297. dataType: 'json',
  298. crossDomain: false,
  299. url: globalConfig.context + '/portal/service/jtBusiness/getCategoryList',
  300. data: {
  301. },
  302. success: function(data) {
  303. let theArr = [],thisdata=data.data;
  304. if (!data.data) {
  305. if (data.error && data.error.length) {
  306. message.warning(data.error[0].message);
  307. }
  308. } else {
  309. thisdata.map((item,index) => {
  310. theArr.push({
  311. 'value':item.topLevelId,
  312. 'label':item.topLevel,
  313. 'children':[]
  314. })
  315. if (item.children) {
  316. item.children.map(atem => {
  317. (theArr[index].children).push({
  318. 'value':atem.id,
  319. 'label':atem.name
  320. })
  321. })
  322. }
  323. })
  324. }
  325. this.setState({
  326. categoryList: theArr,
  327. });
  328. this.loadData();
  329. }.bind(this)
  330. }).always(
  331. function() {
  332. this.setState({
  333. loading: false
  334. });
  335. }.bind(this)
  336. );
  337. },
  338. componentWillMount() {
  339. this.topLevel();
  340. },
  341. detailes(recard) {
  342. this.setState({
  343. loading:true
  344. });
  345. $.ajax({
  346. method: 'get',
  347. dataType: 'json',
  348. crossDomain: false,
  349. url: globalConfig.context + '/api/user/jtBusiness/project/detail',
  350. data: {
  351. id: recard.id
  352. },
  353. success: function(data) {
  354. let thisData = data.data;
  355. if (!thisData) {
  356. if (data.error && data.error.length) {
  357. message.warning(data.error[0].message);
  358. }
  359. thisData = {};
  360. }
  361. let categoryList = this.state.categoryList,name='';
  362. categoryList.map(item=>{
  363. if((item.children).length){
  364. (item.children).map(atem=>{
  365. if(atem.value==thisData.categoryId){
  366. name=item.label+'/'+atem.label;
  367. return;
  368. }
  369. })
  370. }
  371. });
  372. document.querySelector('.txt').innerHTML='';
  373. let eleDiv = document.createElement('div');
  374. eleDiv.innerHTML=thisData.introduce;
  375. document.querySelector('.txt').append(eleDiv);
  376. this.setState({
  377. id: thisData.id,
  378. data: thisData,
  379. name: name,
  380. createTime: thisData.createTime ? new Date(thisData.createTime).toLocaleString() : '',
  381. auditStatus: thisData.auditStatus,
  382. orgCodeUrl: thisData.minImgUrl
  383. ? splitUrl(thisData.minImgUrl, ',', globalConfig.avatarHost + '/upload')
  384. : [],
  385. companyLogoUrl: thisData.maxImgUrl
  386. ? splitUrl(thisData.maxImgUrl, ',', globalConfig.avatarHost + '/upload')
  387. : []
  388. });
  389. }.bind(this)
  390. }).always(
  391. function() {
  392. this.setState({
  393. loading: false
  394. });
  395. }.bind(this)
  396. );
  397. },
  398. //项目列表整行点击
  399. tableRowClick(record, index) {
  400. this.state.RowData = record;
  401. this.setState({
  402. editvisible: true
  403. });
  404. this.detailes(record);
  405. },
  406. edithandleCancel(e) {
  407. this.setState({
  408. editvisible: false
  409. });
  410. },
  411. //审核通过/拒绝
  412. updateFun(index){
  413. this.setState({
  414. loading:true
  415. })
  416. $.ajax({
  417. method: "post",
  418. dataType: "JSON",
  419. crossDomain: false,
  420. url: globalConfig.context + '/api/admin/jtBusiness/project/audit',
  421. data: {
  422. id: this.state.id,
  423. auditResult:index,
  424. auditInfo:this.state.refuseValue
  425. }
  426. }).done(function (data) {
  427. if (!data.error.length) {
  428. message.success('操作成功!');
  429. this.setState({
  430. loading: false,
  431. editvisible:false
  432. });
  433. if(this.state.pagination.total%10==1){
  434. this.loadData((this.state.page)-1);
  435. }else{
  436. this.loadData(this.state.page);
  437. }
  438. } else {
  439. message.warning(data.error[0].message);
  440. };
  441. }.bind(this));
  442. },
  443. //审核拒绝
  444. refuse(){
  445. this.setState({
  446. refuseValue:'',
  447. refuseVisible:true
  448. })
  449. },
  450. refuseOk(){
  451. if(!this.state.refuseValue){
  452. message.warning('请填写拒绝原因。')
  453. return;
  454. }
  455. this.setState({
  456. refuseVisible:false
  457. })
  458. this.updateFun(1)
  459. },
  460. refuseCancel(){
  461. this.setState({
  462. refuseValue:'',
  463. refuseVisible:false
  464. })
  465. },
  466. search() {
  467. this.loadData();
  468. },
  469. //搜索部分的清零
  470. reset() {
  471. this.state.nameSearch = ''; //项目名称清零
  472. this.state.typeSearch = undefined; //品类名称清零
  473. this.state.ressSearch = undefined; //省市区清零
  474. this.state.activityFlag = undefined; //活动生效清零
  475. this.state.status = undefined; //项目状态清零
  476. this.loadData();
  477. },
  478. //更多搜索的显示与否
  479. searchSwitch() {
  480. this.setState({
  481. searchMore: !this.state.searchMore
  482. });
  483. },
  484. render() {
  485. const FormItem = Form.Item;
  486. const rowSelection = {
  487. selectedRowKeys: this.state.selectedRowKeys,
  488. onChange: (selectedRowKeys, selectedRows) => {
  489. this.setState({
  490. selectedRows: selectedRows.slice(-1),
  491. selectedRowKeys: selectedRowKeys.slice(-1)
  492. });
  493. }
  494. };
  495. const theData = this.state.data || {};
  496. return (
  497. <div className="user-content">
  498. <div className="content-title">
  499. <span>项目业务审核</span>
  500. <div className="user-search">
  501. <Input
  502. placeholder="业务项目名称"
  503. style={{ width: '150px', marginRight: '10px', marginBottom: '10px' }}
  504. value={this.state.nameSearch}
  505. onChange={(e) => {
  506. this.setState({ nameSearch: e.target.value });
  507. }}
  508. />
  509. <Cascader placeholder='业务项目品类'
  510. options={this.state.categoryList}
  511. style={{width:200,marginRight:10}}
  512. value={this.state.typeSearch} onChange={(e)=>{this.setState({typeSearch:e})}}/>
  513. <Button type="primary" onClick={this.search} style={{ marginRight: '10px' }}>
  514. 搜索
  515. </Button>
  516. <Button onClick={this.reset} style={{ marginRight: '10px' }}>
  517. 重置
  518. </Button>
  519. </div>
  520. <div className="patent-table">
  521. <Spin spinning={this.state.loading}>
  522. <Table
  523. columns={this.state.columns}
  524. dataSource={this.state.dataSource}
  525. rowSelection={rowSelection}
  526. pagination={this.state.pagination}
  527. />
  528. </Spin>
  529. </div>
  530. <div className="patent-desc">
  531. <Modal
  532. className="customeDetails"
  533. title="业务项目"
  534. width="1000px"
  535. visible={this.state.editvisible}
  536. onOk={this.edithandleCancel}
  537. onCancel={this.edithandleCancel}
  538. footer=""
  539. >
  540. <Form layout="horizontal" onSubmit={this.edithandleSubmit} id="demand-form">
  541. <Spin spinning={this.state.loading}>
  542. <div className="clearfix">
  543. <FormItem
  544. className="half-item"
  545. labelCol={{ span: 8 }}
  546. wrapperCol={{ span: 12 }}
  547. label="项目名称"
  548. >
  549. <span>{theData.name}</span>
  550. </FormItem>
  551. <FormItem
  552. className="half-item"
  553. labelCol={{ span: 8 }}
  554. wrapperCol={{ span: 12 }}
  555. label="业务品类"
  556. >
  557. <span>{this.state.name}</span>
  558. </FormItem>
  559. </div>
  560. <div className="clearfix">
  561. <FormItem
  562. className="half-item"
  563. labelCol={{ span: 8 }}
  564. wrapperCol={{ span: 12 }}
  565. label="省份"
  566. >
  567. <span>
  568. {theData.province != '0' ? getprovince(theData.province) : '全国'}
  569. </span>
  570. </FormItem>
  571. <FormItem
  572. className="half-item"
  573. labelCol={{ span: 8 }}
  574. wrapperCol={{ span: 12 }}
  575. label="热点"
  576. >
  577. <span>{theData.isHot=='1' ? '是' :theData.isHot=='0'?'否':''}</span>
  578. </FormItem>
  579. </div>
  580. <div className="clearfix">
  581. <FormItem
  582. className="half-item"
  583. labelCol={{ span: 8 }}
  584. wrapperCol={{ span: 12 }}
  585. label="市场价"
  586. >
  587. <span>{theData.price} 万元</span>
  588. </FormItem>
  589. <FormItem
  590. className="half-item"
  591. labelCol={{ span: 8 }}
  592. wrapperCol={{ span: 12 }}
  593. label="活动价"
  594. >
  595. <span>{theData.activityPrice} 万元</span>
  596. </FormItem>
  597. <FormItem
  598. className="half-item"
  599. labelCol={{ span: 8 }}
  600. wrapperCol={{ span: 12 }}
  601. label="最低折扣"
  602. >
  603. <span>{theData.offset} 万元</span>
  604. </FormItem>
  605. <FormItem
  606. className="half-item"
  607. labelCol={{ span: 8 }}
  608. wrapperCol={{ span: 12 }}
  609. label="会员价"
  610. >
  611. <span>{theData.memberPrice} 万元</span>
  612. </FormItem>
  613. <FormItem
  614. className="half-item"
  615. labelCol={{ span: 8 }}
  616. wrapperCol={{ span: 12 }}
  617. label="活动生效"
  618. >
  619. <span>{theData.activityFlag =='1'? '有效' : theData.activityFlag =='0'?'无效':''}</span>
  620. </FormItem>
  621. <FormItem
  622. className="half-item"
  623. labelCol={{ span: 8 }}
  624. wrapperCol={{ span: 12 }}
  625. label="创建时间"
  626. >
  627. <span>{this.state.createTime}</span>
  628. </FormItem>
  629. </div>
  630. <div className="clearfix">
  631. <FormItem labelCol={{ span: 4 }} wrapperCol={{ span: 12 }} label="项目营销说明">
  632. <span>{theData.advertisement}</span>
  633. </FormItem>
  634. </div>
  635. <div className="clearfix">
  636. <FormItem
  637. labelCol={{ span: 4 }}
  638. wrapperCol={{ span: 12 }}
  639. label="业务项目价值及作用"
  640. >
  641. <span>{theData.value}</span>
  642. </FormItem>
  643. </div>
  644. <div className="clearfix">
  645. <FormItem
  646. labelCol={{ span: 4 }}
  647. wrapperCol={{ span: 12 }}
  648. label="业务项目客户基本条件"
  649. >
  650. <span>{theData.applyConditions}</span>
  651. </FormItem>
  652. </div>
  653. <div className="clearfix">
  654. <FormItem labelCol={{ span: 4 }} wrapperCol={{ span: 18 }} label="业务项目服务内容">
  655. <div className="ql-editor">
  656. <div className="txt"></div>
  657. </div>
  658. </FormItem>
  659. </div>
  660. <div className="clearfix pictures">
  661. <FormItem
  662. className="half-item"
  663. labelCol={{ span: 8 }}
  664. wrapperCol={{ span: 10 }}
  665. label="业务项目图标(小)"
  666. >
  667. <Upload
  668. className="demandDetailShow-upload"
  669. listType="picture-card"
  670. fileList={this.state.orgCodeUrl}
  671. onPreview={(file) => {
  672. this.setState({
  673. previewImage: file.url || file.thumbUrl,
  674. previewVisible: true
  675. });
  676. }}
  677. />
  678. <Modal
  679. maskClosable={false}
  680. footer={null}
  681. visible={this.state.previewVisible}
  682. onCancel={() => {
  683. this.setState({ previewVisible: false });
  684. }}
  685. >
  686. <img
  687. alt=""
  688. style={{ width: '100%' }}
  689. src={this.state.previewImage || ''}
  690. />
  691. </Modal>
  692. </FormItem>
  693. <FormItem
  694. className="half-item"
  695. labelCol={{ span: 8 }}
  696. wrapperCol={{ span: 12 }}
  697. label="业务项目图标(大)"
  698. >
  699. <Upload
  700. className="demandDetailShow-upload"
  701. listType="picture-card"
  702. fileList={this.state.companyLogoUrl}
  703. onPreview={(file) => {
  704. this.setState({
  705. previewImage: file.url || file.thumbUrl,
  706. previewVisible: true
  707. });
  708. }}
  709. />
  710. <Modal
  711. maskClosable={false}
  712. footer={null}
  713. visible={this.state.previewVisible}
  714. onCancel={() => {
  715. this.setState({ previewVisible: false });
  716. }}
  717. >
  718. <img
  719. alt=""
  720. style={{ width: '100%' }}
  721. src={this.state.previewImage || ''}
  722. />
  723. </Modal>
  724. </FormItem>
  725. <div className="clearfix">
  726. <FormItem wrapperCol={{ span: 12, offset: 3 }}>
  727. <Button
  728. className="set-submit"
  729. type="primary"
  730. onClick={(e) => {
  731. this.updateFun(0);
  732. }}
  733. >
  734. 审核通过
  735. </Button>
  736. <Button
  737. type="danger"
  738. style={{ marginRight: 20 }}
  739. onClick={(e) => {
  740. this.refuse();
  741. }}
  742. >
  743. 审核拒绝
  744. </Button>
  745. <Button
  746. className="set-submit"
  747. type="ghost"
  748. onClick={this.edithandleCancel}
  749. >
  750. 取消
  751. </Button>
  752. </FormItem>
  753. </div>
  754. </div>
  755. </Spin>
  756. </Form>
  757. </Modal>
  758. </div>
  759. </div>
  760. <Modal
  761. title="审核拒绝"
  762. visible={this.state.refuseVisible}
  763. onOk={this.refuseOk}
  764. onCancel={this.refuseCancel}
  765. >
  766. <div>
  767. <FormItem labelCol={{ span: 3 }} wrapperCol={{ span: 18 }} label="拒绝原因">
  768. <Input type="textarea" rows={4} value={this.state.refuseValue} placeholder="输入拒绝原因" onChange={(e)=>{this.setState({refuseValue:e.target.value})}}/>
  769. </FormItem>
  770. </div>
  771. </Modal>
  772. </div>
  773. );
  774. }
  775. })
  776. );
  777. export default BusinessProject;