projectvipall.jsx 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  1. import React from "react";
  2. import $ from "jquery/src/ajax";
  3. import { AutoComplete, Button, Input, Spin, Table, Select, message, Tabs, Tag, Tooltip, Modal } from "antd";
  4. import OrderDesc from "../orderDetail/orderDesc";
  5. import ResolutionDetail from "@/resolutionDetail";
  6. import { ChooseList } from "../../order/orderNew/chooseList"
  7. import ReactToPrint from "react-to-print";
  8. import OrderItemStatus from "../../../common/orderItemStatus";
  9. import { salesList } from "@/dataDic.js";
  10. import ShowModalDiv from "@/showModal.jsx";
  11. import VipLogs from "../../../common/logPopup/viplogs";
  12. import { splitUrl } from "@/tools";
  13. import ImgList from "../../../common/imgList";
  14. import Cascaders from "../../../common/cascaders";
  15. const { TabPane } = Tabs;
  16. //财务总监会员项目查看
  17. const ProjectVipAll = React.createClass({
  18. //
  19. getInitialState() {
  20. return {
  21. dvisible: false,
  22. pageNo: 1,
  23. totalPage: 0,
  24. searchValues: {
  25. status: "5"
  26. },//查询条件
  27. loading: false,
  28. changeList: undefined,// 子组件改变的表格title数组
  29. pagination: {
  30. defaultCurrent: 1,
  31. defaultPageSize: 10,
  32. showQuickJumper: true,
  33. pageSize: 10,
  34. onChange: function (page) {
  35. this.setState({
  36. pageNo: page,
  37. });
  38. this.loadData(page);
  39. }.bind(this),
  40. showTotal: function (total) {
  41. return "共" + total + "条数据";
  42. },
  43. },
  44. columns: [
  45. {
  46. title: "销售类型",
  47. dataIndex: "salesType",
  48. key: "salesType",
  49. render: (text, record) => {
  50. return (
  51. <Tooltip
  52. title={salesList[text] + ((text == 3 || text == 4 || text == 5) ? (!record.other ? "" : "," + record.other) : "")}
  53. >
  54. <span>
  55. {salesList[text]}
  56. </span>
  57. </Tooltip>
  58. );
  59. },
  60. },
  61. {
  62. title: "合同编号",
  63. dataIndex: "contractNo",
  64. key: "contractNo",
  65. width: 160,
  66. render: (text, record) => {
  67. return (
  68. <Tooltip
  69. title={
  70. <Button
  71. type="primary"
  72. onClick={(e) => {
  73. e.stopPropagation();
  74. let input = document.getElementById("copyText");
  75. input.value = text;
  76. input.select();
  77. document.execCommand("copy");
  78. message.success("复制成功");
  79. }}
  80. >
  81. 复制
  82. </Button>
  83. }
  84. >
  85. <div>
  86. {text}
  87. <div style={{ display: "flex" }}>
  88. <OrderItemStatus deleteSign={record.deleteSign} />
  89. {
  90. record.approval == 1
  91. ? <Tag color="#faa755">特批待审</Tag> :
  92. record.approval == 2 && <Tag color="#ff0000">特批通过</Tag>
  93. }
  94. </div>
  95. </div>
  96. </Tooltip>
  97. );
  98. },
  99. },
  100. {
  101. title: "客户名称",
  102. dataIndex: "userName",
  103. key: "userName",
  104. width: 160,
  105. render: text => {
  106. return (
  107. <Tooltip title={text}>
  108. <div>{text}</div>
  109. </Tooltip>
  110. )
  111. }
  112. },
  113. {
  114. title: "订单编号",
  115. dataIndex: "orderNo",
  116. key: "orderNo",
  117. width: 140,
  118. render: (text, record) => {
  119. return (
  120. <Tooltip
  121. title={
  122. <Button
  123. type="primary"
  124. onClick={(e) => {
  125. e.stopPropagation();
  126. let input = document.getElementById("copyText");
  127. input.value = text;
  128. input.select();
  129. document.execCommand("copy");
  130. message.success("复制成功");
  131. }}
  132. >
  133. 复制
  134. </Button>
  135. }
  136. >
  137. <div>
  138. {text}
  139. <div>
  140. {record.totalAmount >= 10 && <Tag color="#ef7207">大客户</Tag>}
  141. {record.projectType == 1 && <Tag color="rgb(22, 155, 213)">会员</Tag>}
  142. </div>
  143. </div>
  144. </Tooltip>
  145. );
  146. },
  147. },
  148. {
  149. title: "订单部门",
  150. dataIndex: "depName",
  151. key: "depName",
  152. },
  153. {
  154. title: "订单负责人",
  155. dataIndex: "salesmanName",
  156. key: "salesmanName",
  157. },
  158. {
  159. title: "财务负责人",
  160. dataIndex: "financeName",
  161. key: "financeName",
  162. },
  163. {
  164. title: "会员项目",
  165. dataIndex: "projectName",
  166. key: "projectName",
  167. render: (text, record) => {
  168. return (
  169. <div>
  170. {text}
  171. {(record.memberType == 1 || record.memberType == 2) && <Tag color="#ff0000">特批项目</Tag>}
  172. </div>
  173. )
  174. }
  175. },
  176. {
  177. title: "数量",
  178. dataIndex: "commodityQuantity",
  179. key: "commodityQuantity",
  180. },
  181. {
  182. title: "总年限",
  183. dataIndex: "yearSum",
  184. key: "yearSum",
  185. render: (text, record) => {
  186. return (
  187. <div>{["", "一年", "二年", "三年", "四年", "五年"][text]}</div>
  188. );
  189. }
  190. },
  191. {
  192. title: "年限",
  193. dataIndex: "serviceLife",
  194. key: "serviceLife",
  195. render: (text, record) => {
  196. return (
  197. !!text && JSON.parse(text).map(item =>
  198. <div>{item}</div>
  199. )
  200. );
  201. }
  202. },
  203. {
  204. title: "本次派单",
  205. dataIndex: "serviceYear",
  206. key: "serviceYear",
  207. render: (text, record) => {
  208. return (
  209. <div>{!text ? "" : text}</div>
  210. );
  211. }
  212. },
  213. {
  214. title: "项目说明",
  215. dataIndex: "taskComment",
  216. key: "taskComment",
  217. render: (text, record) => {
  218. return (
  219. <div style={{ maxWidth: 220 }}>{text}</div>
  220. );
  221. }
  222. },
  223. {
  224. title: "状态",
  225. dataIndex: "status",
  226. key: "status",
  227. render: (text) => {
  228. return (
  229. <div>
  230. {["", "财务审核", "特批审核", "通过", "驳回"][text]}
  231. </div>
  232. );
  233. }
  234. },
  235. {
  236. title: "操作",
  237. dataIndex: "pictureUrl",
  238. key: "pictureUrl",
  239. width: 110,
  240. render: (text, recard) => {
  241. return (
  242. <div>
  243. <Button
  244. type="primary"
  245. style={{ margin: 5 }}
  246. onClick={(e) => {
  247. e.stopPropagation();
  248. let arr = text || [];
  249. this.setState({
  250. pictureUrlArr: splitUrl(arr, ",", globalConfig.avatarHost + "/upload"),
  251. }, () => {
  252. this.setState({
  253. imgListVisible: true,
  254. })
  255. })
  256. }}
  257. >
  258. 查看附件
  259. </Button>
  260. <VipLogs id={recard.id} />
  261. </div>
  262. );
  263. },
  264. },
  265. ],
  266. dataSource: [],
  267. fjlist: [],// 营销员列表
  268. checkOrderNo: "",//操作订单编号
  269. checkData: "",//操作描述
  270. checkVisible: "",//审核弹窗开关
  271. checkId: "",//会员项目编号
  272. result: -1,//1同意 0驳回
  273. imgListVisible: false,//附件弹窗
  274. pictureUrlArr: [],//附件
  275. };
  276. },
  277. componentWillMount() {
  278. this.loadData();
  279. // this.departmentList();
  280. },
  281. // 获取订单部门
  282. departmentList() {
  283. $.ajax({
  284. method: "get",
  285. dataType: "json",
  286. crossDomain: false,
  287. url: globalConfig.context + "/api/admin/organization/selectSuperId",
  288. data: {},
  289. success: function (data) {
  290. let thedata = data.data;
  291. let theArr = [];
  292. if (!thedata) {
  293. if (data.error && data.error.length) {
  294. message.warning(data.error[0].message);
  295. }
  296. } else {
  297. thedata.map(function (item, index) {
  298. theArr.push({
  299. key: index,
  300. name: item.name,
  301. id: item.id,
  302. });
  303. });
  304. }
  305. this.setState({
  306. departmentArr: theArr,
  307. });
  308. }.bind(this),
  309. }).always(
  310. function () {
  311. }.bind(this)
  312. );
  313. },
  314. // 列表数据
  315. loadData(pageNo, pageSize) {
  316. const { searchValues, pagination } = this.state
  317. this.setState({
  318. loading: true,
  319. });
  320. let datas = Object.assign(searchValues, {
  321. pageNo: pageNo || 1,
  322. pageSize: pageSize || 10,
  323. shiroType: 0, //所有
  324. });
  325. $.ajax({
  326. method: "get",
  327. dataType: "json",
  328. crossDomain: false,
  329. url: globalConfig.context + "/api/admin/orderProject/memberList",
  330. data: datas,
  331. success: function (data) {
  332. this.setState({
  333. loading: false,
  334. });
  335. if (data.error && data.error.length === 0) {
  336. if (data.data.list) {
  337. pagination.current = data.data.pageNo;
  338. pagination.total = data.data.totalCount;
  339. if (data.data && data.data.list && !data.data.list.length) {
  340. pagination.current = 0;
  341. pagination.total = 0;
  342. }
  343. this.setState({
  344. dataSource: data.data.list,
  345. pagination: this.state.pagination,
  346. pageNo: data.data.pageNo,
  347. totalPage: data.data.totalPage,
  348. });
  349. } else {
  350. this.setState({
  351. dataSource: data.data,
  352. pagination: false,
  353. });
  354. }
  355. } else {
  356. message.warning(data.error[0].message);
  357. }
  358. }.bind(this),
  359. }).always(
  360. function () {
  361. this.setState({
  362. loading: false,
  363. });
  364. }.bind(this)
  365. );
  366. },
  367. // 点击行
  368. tableRowClick(record) {
  369. this.state.RowData = record;
  370. this.setState({
  371. showDesc: true,
  372. });
  373. },
  374. // 关闭
  375. closeDesc(e, s) {
  376. this.state.showDesc = e;
  377. if (s) {
  378. this.loadData(this.state.pageNo);
  379. }
  380. },
  381. // 搜索
  382. search() {
  383. this.setState({
  384. selectedRowKeys: []
  385. })
  386. this.loadData();
  387. },
  388. // 重置
  389. reset() {
  390. this.setState({
  391. searchValues: JSON.parse(JSON.stringify({})),
  392. }, () => {
  393. this.Cascaders.empty();
  394. this.loadData();
  395. })
  396. },
  397. // 更改表格显示数据
  398. changeList(arr) {
  399. const newArr = [];
  400. this.state.columns.forEach((item) => {
  401. arr.forEach((val) => {
  402. if (val === item.title) {
  403. newArr.push(item);
  404. }
  405. });
  406. });
  407. this.setState({
  408. changeList: newArr,
  409. });
  410. },
  411. // 导出当前列表
  412. exportAll() {
  413. message.config({
  414. duration: 20,
  415. });
  416. let loading = message.loading("下载中...");
  417. this.setState({
  418. exportPendingLoading: true,
  419. });
  420. let data = {
  421. shiroType: 0, //所有
  422. };
  423. let obj1 = JSON.parse(JSON.stringify(this.state.searchValues));
  424. data = Object.assign(data, obj1);
  425. $.ajax({
  426. method: "get",
  427. dataType: "json",
  428. crossDomain: false,
  429. url: "/api/admin/orderProject/memberList/export",
  430. data,
  431. success: function (data) {
  432. if (data.error.length === 0) {
  433. this.download(data.data);
  434. } else {
  435. message.warning(data.error[0].message);
  436. }
  437. }.bind(this),
  438. }).always(
  439. function () {
  440. loading();
  441. this.setState({
  442. exportPendingLoading: false,
  443. });
  444. }.bind(this)
  445. );
  446. },
  447. // 打印
  448. printAll() {
  449. this.setState({
  450. dvisible: true,
  451. });
  452. this.loadData(1, 9999999);
  453. },
  454. // 下载
  455. download(fileName) {
  456. window.location.href =
  457. globalConfig.context + "/open/download?fileName=" + fileName;
  458. },
  459. // 查询订单负责人列表
  460. followUp(e) {
  461. const { searchValues } = this.state;
  462. this.setState({
  463. searchValues: Object.assign(searchValues, {
  464. aname: e,
  465. }),
  466. });
  467. $.ajax({
  468. method: "get",
  469. dataType: "json",
  470. crossDomain: false,
  471. url: globalConfig.context + "/api/admin/customer/listAdminByName",
  472. data: {
  473. adminName: e,
  474. },
  475. success: function (data) {
  476. let thedata = data.data;
  477. if (!thedata) {
  478. if (data.error && data.error.length) {
  479. message.warning(data.error[0].message);
  480. }
  481. thedata = {};
  482. }
  483. this.setState({
  484. fjlist: thedata,
  485. });
  486. }.bind(this),
  487. }).always(
  488. function () {
  489. this.setState({
  490. loading: false,
  491. });
  492. }.bind(this)
  493. );
  494. },
  495. // 选中订单负责人
  496. selectF(value) {
  497. const { searchValues, fjlist } = this.state;
  498. const newdataSources = JSON.stringify(fjlist) == "{}" ? [] : fjlist;
  499. this.setState({
  500. searchValues: Object.assign(searchValues, {
  501. salesmanId: newdataSources.find((item) => item.name == value).id,
  502. }),
  503. });
  504. },
  505. // 失去焦点
  506. blurChange(e) {
  507. let theType = "";
  508. let contactLists = this.state.customerArr || [];
  509. if (e) {
  510. contactLists.map(function (item) {
  511. if (item.name == e.toString()) {
  512. theType = item.id;
  513. }
  514. });
  515. }
  516. this.setState({
  517. theTypes: theType,
  518. });
  519. },
  520. // 删除数组最后一项(删除操作列)
  521. truncate(arr) {
  522. return arr.filter(function (v, i, ar) {
  523. return i !== ar.length - 1
  524. })
  525. },
  526. render() {
  527. const { TextArea } = Input
  528. const { searchValues, departmentArr = [] } = this.state
  529. const dataSources = this.state.fjlist || [];
  530. const options = dataSources.map((group) => (
  531. <Select.Option key={group.id} value={group.name}>
  532. {group.name}
  533. </Select.Option>
  534. ));
  535. return (
  536. <div className="user-content">
  537. <ShowModalDiv ShowModal={this.state.showModal} />
  538. <div className="content-title" style={{ marginBottom: 10 }}>
  539. <span style={{ fontWeight: 900, fontSize: 16 }}>会员项目(all)</span>
  540. </div>
  541. <Tabs defaultActiveKey="2" onChange={this.callback} className="test">
  542. <TabPane tab="更改表格显示数据" key="1">
  543. <div style={{ marginLeft: 10 }}>
  544. <ChooseList
  545. columns={this.state.columns}
  546. changeFn={this.changeList}
  547. changeList={this.state.changeList}
  548. top={55}
  549. margin={11}
  550. />
  551. </div>
  552. </TabPane>
  553. <TabPane tab="搜索" key="2">
  554. <div className="user-search" style={{ marginLeft: 10 }}>
  555. <Input
  556. placeholder="订单编号"
  557. value={searchValues["orderNo"]
  558. ? searchValues["orderNo"]
  559. : ""}
  560. onChange={(e) => {
  561. searchValues["orderNo"] = e.target.value;
  562. this.setState({
  563. searchValues: searchValues,
  564. });
  565. }}
  566. />
  567. <Input
  568. placeholder="客户名称"
  569. value={searchValues["userName"]
  570. ? searchValues["userName"]
  571. : ""}
  572. onChange={(e) => {
  573. searchValues["userName"] = e.target.value;
  574. this.setState({
  575. searchValues: searchValues,
  576. });
  577. }}
  578. />
  579. <Cascaders
  580. ref={node => this.Cascaders = node}
  581. placeholder="订单部门"
  582. id="id"
  583. name="name"
  584. children="list"
  585. height={28}
  586. onSel={(e) => {
  587. searchValues["deps"] = JSON.stringify(e);
  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.imgListVisible &&
  815. <Modal
  816. maskClosable={false}
  817. visible={this.state.imgListVisible}
  818. onOk={() => {
  819. this.setState({
  820. imgListVisible: false,
  821. });
  822. }}
  823. onCancel={() => {
  824. this.setState({
  825. imgListVisible: false,
  826. });
  827. }}
  828. width="600px"
  829. title="附件"
  830. footer=""
  831. >
  832. <div>
  833. <ImgList
  834. fileList={this.state.pictureUrlArr}
  835. domId="publicStatistics"
  836. />
  837. </div>
  838. </Modal>
  839. }
  840. </div>
  841. );
  842. },
  843. });
  844. export default ProjectVipAll;