projectvip.jsx 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851
  1. import React from "react";
  2. import $ from "jquery/src/ajax";
  3. import "./public.less";
  4. import "./shouKuan.less";
  5. import { AutoComplete, Button, Input, Spin, Table, Select, message, Tabs, Tag, Tooltip, Modal } from "antd";
  6. import OrderDesc from "../orderDetail/orderDesc";
  7. import ResolutionDetail from "@/resolutionDetail";
  8. import { ChooseList } from "../../order/orderNew/chooseList"
  9. import ReactToPrint from "react-to-print";
  10. import OrderItemStatus from "../../../common/orderItemStatus";
  11. import ShowModalDiv from "@/showModal.jsx";
  12. import VipLogs from "../../../common/logPopup/viplogs";//会员日志
  13. const { TabPane } = Tabs;
  14. //财务专员会员项目审核
  15. const ProjectVip = React.createClass({
  16. //
  17. getInitialState() {
  18. return {
  19. dvisible: false,
  20. pageNo: 1,
  21. totalPage: 0,
  22. searchValues: {
  23. status: "1"
  24. },//查询条件
  25. loading: false,
  26. changeList: undefined,// 子组件改变的表格title数组
  27. pagination: {
  28. defaultCurrent: 1,
  29. defaultPageSize: 10,
  30. showQuickJumper: true,
  31. pageSize: 10,
  32. onChange: function (page) {
  33. this.setState({
  34. pageNo: page,
  35. });
  36. this.loadData(page);
  37. }.bind(this),
  38. showTotal: function (total) {
  39. return "共" + total + "条数据";
  40. },
  41. },
  42. columns: [
  43. // {
  44. // title: "销售类型",
  45. // dataIndex: "salesType",
  46. // key: "salesType",
  47. // render: (text, record) => {
  48. // return (
  49. // <Tooltip
  50. // title={salesList[text] + ((text == 3 || text == 4 || text == 5) ? (!record.other ? "" : "," + record.other) : "")}
  51. // >
  52. // <span>
  53. // {salesList[text]}
  54. // </span>
  55. // </Tooltip>
  56. // );
  57. // },
  58. // },
  59. {
  60. title: "合同编号",
  61. dataIndex: "contractNo",
  62. key: "contractNo",
  63. width: 160,
  64. render: (text, record) => {
  65. return (
  66. <Tooltip
  67. title={
  68. <Button
  69. type="primary"
  70. onClick={(e) => {
  71. e.stopPropagation();
  72. let input = document.getElementById("copyText");
  73. input.value = text;
  74. input.select();
  75. document.execCommand("copy");
  76. message.success("复制成功");
  77. }}
  78. >
  79. 复制
  80. </Button>
  81. }
  82. >
  83. <div>
  84. {text}
  85. <div style={{ display: "flex" }}>
  86. {/* <OrderItemStatus deleteSign={record.deleteSign} /> */}
  87. {
  88. record.approval == 1
  89. ? <Tag color="#faa755">特批待审</Tag> :
  90. record.approval == 2 && <Tag color="#ff0000">特批通过</Tag>
  91. }
  92. </div>
  93. </div>
  94. </Tooltip>
  95. );
  96. },
  97. },
  98. {
  99. title: "客户名称",
  100. dataIndex: "userName",
  101. key: "userName",
  102. width: 200,
  103. render: text => {
  104. return (
  105. <Tooltip title={text}>
  106. <div>{text}</div>
  107. </Tooltip>
  108. )
  109. }
  110. },
  111. {
  112. title: "订单编号",
  113. dataIndex: "orderNo",
  114. key: "orderNo",
  115. width: 140,
  116. render: (text, record) => {
  117. return (
  118. <Tooltip
  119. title={
  120. <Button
  121. type="primary"
  122. onClick={(e) => {
  123. e.stopPropagation();
  124. let input = document.getElementById("copyText");
  125. input.value = text;
  126. input.select();
  127. document.execCommand("copy");
  128. message.success("复制成功");
  129. }}
  130. >
  131. 复制
  132. </Button>
  133. }
  134. >
  135. <div>
  136. {text}
  137. <div>
  138. {record.signTotalAmount >= 10 && <Tag color="#ef7207">大客户</Tag>}
  139. {record.projectType == 1 && <Tag color="rgb(22, 155, 213)">会员</Tag>}
  140. </div>
  141. </div>
  142. </Tooltip>
  143. );
  144. },
  145. },
  146. {
  147. title: "订单部门",
  148. dataIndex: "depName",
  149. key: "depName",
  150. className: "title-table",
  151. },
  152. {
  153. title: "订单负责人",
  154. dataIndex: "salesmanName",
  155. key: "salesmanName",
  156. className: "title-table",
  157. },
  158. {
  159. title: "财务负责人",
  160. dataIndex: "financeName",
  161. key: "financeName",
  162. className: "title-table",
  163. },
  164. {
  165. title: "会员项目",
  166. dataIndex: "projectName",
  167. key: "projectName",
  168. className: "title-table",
  169. render: (text, record) => {
  170. return (
  171. <div>
  172. {text}
  173. {(record.memberType == 1 || record.memberType == 2) && <Tag color="#ff0000">特批项目</Tag>}
  174. </div>
  175. )
  176. }
  177. },
  178. {
  179. title: "项目说明",
  180. dataIndex: "taskComment",
  181. key: "taskComment",
  182. className: "title-table",
  183. width: 300,
  184. },
  185. {
  186. title: "状态",
  187. dataIndex: "status",
  188. key: "status",
  189. className: "title-table",
  190. width: 80,
  191. render: (text) => {
  192. return (
  193. <div>
  194. {["", "财务审核", "特批审核", "通过", "驳回"][text]}
  195. </div>
  196. );
  197. }
  198. },
  199. {
  200. title: "操作",
  201. dataIndex: "caozuo",
  202. key: "caouzo",
  203. className: "title-table",
  204. render: (text, recard) => {
  205. return (
  206. <div>
  207. {
  208. recard.status == 1 &&
  209. <Button
  210. type="primary"
  211. onClick={(e) => {
  212. e.stopPropagation(),
  213. this.checkRemark(recard, 1);
  214. }}
  215. >
  216. 通过
  217. </Button>
  218. }
  219. {
  220. recard.status == 1 &&
  221. <Button
  222. type="danger"
  223. style={{ marginLeft: 10, }}
  224. onClick={(e) => {
  225. e.stopPropagation(),
  226. this.checkRemark(recard, 0);
  227. }}
  228. >
  229. 驳回
  230. </Button>
  231. }
  232. <VipLogs id={recard.id} />
  233. </div>
  234. );
  235. },
  236. },
  237. ],
  238. dataSource: [],
  239. fjlist: [],// 营销员列表
  240. checkOrderNo: "",//操作订单编号
  241. checkData: "",//操作描述
  242. checkVisible: "",//审核弹窗开关
  243. checkId: "",//会员项目编号
  244. result: -1,//1同意 0驳回
  245. };
  246. },
  247. componentWillMount() {
  248. this.loadData();
  249. this.departmentList();
  250. },
  251. // 获取订单部门
  252. departmentList() {
  253. $.ajax({
  254. method: "get",
  255. dataType: "json",
  256. crossDomain: false,
  257. url: globalConfig.context + "/api/admin/organization/selectSuperId",
  258. data: {},
  259. success: function (data) {
  260. let thedata = data.data;
  261. let theArr = [];
  262. if (!thedata) {
  263. if (data.error && data.error.length) {
  264. message.warning(data.error[0].message);
  265. }
  266. } else {
  267. thedata.map(function (item, index) {
  268. theArr.push({
  269. key: index,
  270. name: item.name,
  271. id: item.id,
  272. });
  273. });
  274. }
  275. this.setState({
  276. departmentArr: theArr,
  277. });
  278. }.bind(this),
  279. }).always(
  280. function () {
  281. }.bind(this)
  282. );
  283. },
  284. // 列表数据
  285. loadData(pageNo, pageSize) {
  286. const { searchValues, pagination } = this.state
  287. this.setState({
  288. loading: true,
  289. });
  290. let datas = Object.assign(searchValues, {
  291. pageNo: pageNo || 1,
  292. pageSize: pageSize || 10,
  293. shiroType: 2, //财务审核
  294. });
  295. $.ajax({
  296. method: "get",
  297. dataType: "json",
  298. crossDomain: false,
  299. url: globalConfig.context + "/api/admin/orderProject/memberList",
  300. data: datas,
  301. success: function (data) {
  302. this.setState({
  303. loading: false,
  304. });
  305. if (data.error && data.error.length === 0) {
  306. if (data.data.list) {
  307. pagination.current = data.data.pageNo;
  308. pagination.total = data.data.totalCount;
  309. if (data.data && data.data.list && !data.data.list.length) {
  310. pagination.current = 0;
  311. pagination.total = 0;
  312. }
  313. this.setState({
  314. dataSource: data.data.list,
  315. pagination: this.state.pagination,
  316. pageNo: data.data.pageNo,
  317. totalPage: data.data.totalPage,
  318. });
  319. } else {
  320. this.setState({
  321. dataSource: data.data,
  322. pagination: false,
  323. });
  324. }
  325. } else {
  326. message.warning(data.error[0].message);
  327. }
  328. }.bind(this),
  329. }).always(
  330. function () {
  331. this.setState({
  332. loading: false,
  333. });
  334. }.bind(this)
  335. );
  336. },
  337. // 点击行
  338. tableRowClick(record) {
  339. this.state.RowData = record;
  340. this.setState({
  341. showDesc: true,
  342. });
  343. },
  344. // 关闭
  345. closeDesc(e, s) {
  346. this.state.showDesc = e;
  347. if (s) {
  348. this.loadData(this.state.page);
  349. }
  350. },
  351. // 搜索
  352. search() {
  353. this.setState({
  354. selectedRowKeys: []
  355. })
  356. this.loadData();
  357. },
  358. // 重置
  359. reset() {
  360. this.setState({
  361. searchValues: JSON.parse(JSON.stringify({})),
  362. }, () => {
  363. this.loadData();
  364. })
  365. },
  366. // 点击审核
  367. checkRemark(record, nmb) {
  368. this.setState({
  369. checkVisible: true,
  370. checkId: record.id,
  371. result: nmb
  372. });
  373. },
  374. // 审核
  375. toExamine() {
  376. if (!this.state.checkData) {
  377. message.warning("请填写审核说明~");
  378. return;
  379. }
  380. this.setState({
  381. loading: true,
  382. });
  383. $.ajax({
  384. method: "POST",
  385. dataType: "json",
  386. crossDomain: false,
  387. url: globalConfig.context + "/api/admin/orderProject/examineMemberProject",
  388. data: {
  389. id: this.state.checkId,
  390. remarks: this.state.checkData,
  391. result: this.state.result, //1同意 0驳回
  392. type: 0, //0财务审核 1特批审核
  393. },
  394. }).done(
  395. function (data) {
  396. if (!data.error.length) {
  397. message.success("审核成功!");
  398. this.setState({
  399. loading: false,
  400. checkVisible: false,
  401. checkData: '',
  402. });
  403. this.loadData()
  404. } else {
  405. message.warning(data.error[0].message);
  406. }
  407. }.bind(this)
  408. );
  409. },
  410. // 更改表格显示数据
  411. changeList(arr) {
  412. const newArr = [];
  413. this.state.columns.forEach((item) => {
  414. arr.forEach((val) => {
  415. if (val === item.title) {
  416. newArr.push(item);
  417. }
  418. });
  419. });
  420. this.setState({
  421. changeList: newArr,
  422. });
  423. },
  424. // 导出当前列表
  425. exportAll() {
  426. message.config({
  427. duration: 20,
  428. });
  429. let loading = message.loading("下载中...");
  430. this.setState({
  431. exportPendingLoading: true,
  432. });
  433. let data = {
  434. shiroType: 2, //财务审核
  435. };
  436. let obj1 = JSON.parse(JSON.stringify(this.state.searchValues));
  437. data = Object.assign(data, obj1);
  438. $.ajax({
  439. method: "get",
  440. dataType: "json",
  441. crossDomain: false,
  442. url: "/api/admin/orderProject/memberList/export",
  443. data,
  444. success: function (data) {
  445. if (data.error.length === 0) {
  446. this.download(data.data);
  447. } else {
  448. message.warning(data.error[0].message);
  449. }
  450. }.bind(this),
  451. }).always(
  452. function () {
  453. loading();
  454. this.setState({
  455. exportPendingLoading: false,
  456. });
  457. }.bind(this)
  458. );
  459. },
  460. // 打印
  461. printAll() {
  462. this.setState({
  463. dvisible: true,
  464. });
  465. this.loadData(1, 9999999);
  466. },
  467. // 下载
  468. download(fileName) {
  469. window.location.href =
  470. globalConfig.context + "/open/download?fileName=" + fileName;
  471. },
  472. // 查询订单负责人列表
  473. followUp(e) {
  474. const { searchValues } = this.state;
  475. this.setState({
  476. searchValues: Object.assign(searchValues, {
  477. aname: e,
  478. }),
  479. });
  480. $.ajax({
  481. method: "get",
  482. dataType: "json",
  483. crossDomain: false,
  484. url: globalConfig.context + "/api/admin/customer/listAdminByName",
  485. data: {
  486. adminName: e,
  487. },
  488. success: function (data) {
  489. let thedata = data.data;
  490. if (!thedata) {
  491. if (data.error && data.error.length) {
  492. message.warning(data.error[0].message);
  493. }
  494. thedata = {};
  495. }
  496. this.setState({
  497. fjlist: thedata,
  498. });
  499. }.bind(this),
  500. }).always(
  501. function () {
  502. this.setState({
  503. loading: false,
  504. });
  505. }.bind(this)
  506. );
  507. },
  508. // 选中订单负责人
  509. selectF(value) {
  510. const { searchValues, fjlist } = this.state;
  511. const newdataSources = JSON.stringify(fjlist) == "{}" ? [] : fjlist;
  512. this.setState({
  513. searchValues: Object.assign(searchValues, {
  514. salesmanId: newdataSources.find((item) => item.name == value).id,
  515. }),
  516. });
  517. },
  518. // 失去焦点
  519. blurChange(e) {
  520. let theType = "";
  521. let contactLists = this.state.customerArr || [];
  522. if (e) {
  523. contactLists.map(function (item) {
  524. if (item.name == e.toString()) {
  525. theType = item.id;
  526. }
  527. });
  528. }
  529. this.setState({
  530. theTypes: theType,
  531. });
  532. },
  533. // 删除数组最后一项(删除操作列)
  534. truncate(arr) {
  535. return arr.filter(function (v, i, ar) {
  536. return i !== ar.length - 1
  537. })
  538. },
  539. render() {
  540. const { TextArea } = Input
  541. const { searchValues, departmentArr = [] } = this.state
  542. const dataSources = this.state.fjlist || [];
  543. const options = dataSources.map((group) => (
  544. <Select.Option key={group.id} value={group.name}>
  545. {group.name}
  546. </Select.Option>
  547. ));
  548. return (
  549. <div className="user-content">
  550. <ShowModalDiv ShowModal={this.state.showModal} />
  551. <div className="content-title" style={{ marginBottom: 10 }}>
  552. <span style={{ fontWeight: 900, fontSize: 16 }}>会员项目审核</span>
  553. </div>
  554. <Tabs defaultActiveKey="2" onChange={this.callback} className="test">
  555. <TabPane tab="更改表格显示数据" key="1">
  556. <div style={{ marginLeft: 10 }}>
  557. <ChooseList
  558. columns={this.state.columns}
  559. changeFn={this.changeList}
  560. changeList={this.state.changeList}
  561. top={55}
  562. margin={11}
  563. />
  564. </div>
  565. </TabPane>
  566. <TabPane tab="搜索" key="2">
  567. <div className="user-search" style={{ marginLeft: 10 }}>
  568. <Input
  569. placeholder="订单编号"
  570. value={searchValues["orderNo"]
  571. ? searchValues["orderNo"]
  572. : ""}
  573. onChange={(e) => {
  574. searchValues["orderNo"] = e.target.value;
  575. this.setState({
  576. searchValues: searchValues,
  577. });
  578. }}
  579. />
  580. <Input
  581. placeholder="客户名称"
  582. value={searchValues["userName"]
  583. ? searchValues["userName"]
  584. : ""}
  585. onChange={(e) => {
  586. searchValues["userName"] = e.target.value;
  587. this.setState({
  588. searchValues: searchValues,
  589. });
  590. }}
  591. />
  592. <Select
  593. placeholder="订单部门"
  594. style={{ width: 190, marginRight: 10 }}
  595. value={searchValues["depId"]
  596. ? searchValues["depId"]
  597. : undefined}
  598. onChange={(e) => {
  599. searchValues["depId"] = e;
  600. this.setState({
  601. searchValues: searchValues,
  602. });
  603. }}
  604. >
  605. {departmentArr.map(function (item) {
  606. return (
  607. <Select.Option key={item.id}>{item.name}</Select.Option>
  608. );
  609. })}
  610. </Select>
  611. <Input
  612. placeholder="合同编号"
  613. value={searchValues["contractNo"]
  614. ? searchValues["contractNo"]
  615. : ""}
  616. onChange={(e) => {
  617. searchValues["contractNo"] = e.target.value;
  618. this.setState({
  619. searchValues: searchValues,
  620. });
  621. }}
  622. />
  623. <AutoComplete
  624. className="certain-category-search"
  625. dropdownClassName="certain-category-search-dropdown"
  626. dropdownMatchSelectWidth={false}
  627. style={{ width: "120px" }}
  628. dataSource={options}
  629. placeholder="订单负责人"
  630. value={searchValues.aname || undefined}
  631. onChange={this.followUp.bind(this)}
  632. filterOption={true}
  633. onSelect={this.selectF.bind(this)}
  634. >
  635. <Input />
  636. </AutoComplete>
  637. <Input
  638. placeholder="项目名称"
  639. value={searchValues["projectName"]
  640. ? searchValues["projectName"]
  641. : ""}
  642. onChange={(e) => {
  643. searchValues["projectName"] = e.target.value;
  644. this.setState({
  645. searchValues: searchValues,
  646. });
  647. }}
  648. />
  649. <Select
  650. style={{ width: 120 }}
  651. placeholder="签单金额"
  652. value={searchValues["amountStatus"]
  653. ? searchValues["amountStatus"]
  654. : undefined}
  655. onChange={(e) => {
  656. searchValues["amountStatus"] = e;
  657. this.setState({
  658. searchValues: searchValues,
  659. });
  660. }}
  661. >
  662. <Option value="0">10万元以下</Option>
  663. <Option value="1">10~20万元</Option>
  664. <Option value="2">20~30万元</Option>
  665. <Option value="3">30~40万元</Option>
  666. <Option value="4">40万元以上</Option>
  667. </Select>
  668. <Select
  669. style={{ width: 120 }}
  670. placeholder="特批状态"
  671. value={searchValues["approval"]
  672. ? searchValues["approval"]
  673. : undefined}
  674. onChange={(e) => {
  675. searchValues["approval"] = e;
  676. this.setState({
  677. searchValues: searchValues,
  678. });
  679. }}
  680. >
  681. <Option value="0">非特批</Option>
  682. <Option value="1">特批待审</Option>
  683. <Option value="2">特批通过</Option>
  684. <Option value="4">全部特批</Option>
  685. </Select>
  686. <Select
  687. style={{ width: 120 }}
  688. placeholder="审核状态"
  689. value={searchValues["status"]
  690. ? searchValues["status"]
  691. : undefined}
  692. onChange={(e) => {
  693. searchValues["status"] = e;
  694. this.setState({
  695. searchValues: searchValues,
  696. });
  697. }}
  698. >
  699. <Option value="1">财务审核</Option>
  700. <Option value="2">特批审核</Option>
  701. <Option value="3">通过</Option>
  702. <Option value="5">全部</Option>
  703. </Select>
  704. <Button
  705. type="primary"
  706. onClick={this.search}
  707. style={{ marginLeft: 10 }}
  708. disabled={this.state.loading ? true : false}
  709. >
  710. 搜索
  711. </Button>
  712. <Button onClick={this.reset}>重置</Button>
  713. </div>
  714. </TabPane>
  715. <TabPane tab="打印" key="3">
  716. <Button
  717. type="primary"
  718. style={{ margin: "11px 0px 10px 10px" }}
  719. onClick={this.printAll}
  720. >
  721. 打印当前列表
  722. </Button>
  723. </TabPane>
  724. <TabPane tab="导出Excel" key="4">
  725. <Button
  726. type="primary"
  727. style={{ margin: "11px 0px 10px 10px" }}
  728. onClick={this.exportAll}
  729. >
  730. 导出当前列表
  731. </Button>
  732. </TabPane>
  733. </Tabs>
  734. <div className="patent-table">
  735. <Spin spinning={this.state.loading}>
  736. <Table
  737. bordered
  738. columns={
  739. this.state.changeList == undefined
  740. ? this.state.columns
  741. : this.state.changeList
  742. }
  743. dataSource={this.state.dataSource}
  744. pagination={this.state.pagination}
  745. onRowDoubleClick={this.tableRowClick.bind(this)}
  746. size="small"
  747. />
  748. </Spin>
  749. </div>
  750. <textarea id="copyText" style={{ opacity: 0 }} />
  751. {/* 订单详情 */}
  752. <OrderDesc
  753. data={this.state.RowData}
  754. showDesc={this.state.showDesc}
  755. closeDesc={this.closeDesc.bind(this)}
  756. />
  757. {
  758. //打印预览
  759. this.state.dvisible &&
  760. <Modal
  761. visible={this.state.dvisible}
  762. footer=""
  763. title="所有列表信息"
  764. className="admin-desc-content"
  765. width="1300px"
  766. onCancel={() => {
  767. this.loadData();
  768. this.setState({
  769. dvisible: false,
  770. });
  771. }}
  772. >
  773. <Spin spinning={this.state.loading}>
  774. <div
  775. className="patent-table"
  776. style={{
  777. padding: "25px 0 30px 30px",
  778. }}
  779. ref={(e) => {
  780. this.refs.all = e;
  781. }}
  782. >
  783. <Table
  784. columns={this.truncate(this.state.columns)}
  785. dataSource={this.state.dataSource}
  786. pagination={false}
  787. bordered
  788. size="small"
  789. />
  790. </div>
  791. </Spin>
  792. <ReactToPrint
  793. trigger={() => (
  794. <Button
  795. type="primary"
  796. style={{
  797. float: "right",
  798. marginTop: 10,
  799. position: "absolute",
  800. top: 0,
  801. right: 30,
  802. }}
  803. >
  804. 打印
  805. </Button>
  806. )}
  807. content={() => this.refs.all}
  808. />
  809. </Modal>
  810. }
  811. {
  812. //审核弹窗
  813. this.state.checkVisible &&
  814. <Modal
  815. maskClosable={false}
  816. title="审核订单"
  817. confirmLoading={this.state.loading}
  818. visible={this.state.checkVisible}
  819. onOk={this.toExamine}
  820. okText={this.state.result == 1 ? "通过" : this.state.result == 0 && "驳回"}
  821. onCancel={() => {
  822. this.loadData()
  823. this.setState({
  824. checkVisible: false,
  825. checkData: '',
  826. })
  827. }}
  828. >
  829. <TextArea
  830. value={this.state.checkData}
  831. onChange={(e) => {
  832. this.setState({
  833. checkData: e.target.value,
  834. })
  835. }}
  836. placeholder="请填写审核内容"
  837. />
  838. </Modal>
  839. }
  840. </div>
  841. );
  842. },
  843. });
  844. export default ProjectVip;