projectvip.jsx 24 KB

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