serviceQuery.jsx 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703
  1. import React from 'react';
  2. import { Radio,Icon, Popconfirm,Button, AutoComplete ,Input,Select,Spin,Table, Switch, message, DatePicker, Modal,Form ,Row,Col,TimePicker} from 'antd';
  3. import ajax from 'jquery/src/ajax/xhr.js';
  4. import $ from 'jquery/src/ajax';
  5. import moment from 'moment';
  6. const Option = AutoComplete.Option;
  7. const OptGroup = AutoComplete.OptGroup;
  8. import './myClient.less';
  9. import { areaSelect} from '../../../NewDicProvinceList';
  10. const { Column, ColumnGroup } = Table;
  11. import {socialAttribute,newFollow,lvl, customerStatus,intentionalService} from '../../../dataDic.js';
  12. import {getcustomerStatue,getprovince,getStatusFollow,getCompanyIntention,getfllowSituation,getContactType } from '../../../tools.js';
  13. const ServiceQuery= Form.create()(React.createClass({
  14. loadData(pageNo, apiUrl) {
  15. this.state.data = [];
  16. this.setState({
  17. loading: true
  18. });
  19. $.ajax({
  20. method: "post",
  21. dataType: "json",
  22. crossDomain: false,
  23. url:globalConfig.context + '/api/admin/customer/listBusiness',
  24. data: {
  25. pageNo: pageNo || 1,
  26. pageSize: this.state.pagination.pageSize,
  27. businessGlossoryId: this.state.businessIdS, //业务意向
  28. identifyName:this.state.identifyNameS,
  29. followSituation:this.state.followSituationS,
  30. customerStatus:this.state.customerStatusS,
  31. adminName: this.state.adminNameS,
  32. startDate: this.state.releaseDate[0],
  33. endDate: this.state.releaseDate[1],
  34. },
  35. success: function (data) {
  36. let theArr = [];
  37. if (data.error.length || data.data.list=="") {
  38. if (data.error && data.error.length) {
  39. message.warning(data.error[0].message);
  40. };
  41. } else {
  42. for (let i = 0; i < data.data.list.length; i++) {
  43. let thisdata = data.data.list[i];
  44. theArr.push({
  45. key: i,
  46. id: thisdata.id,
  47. businessId:thisdata.businessId,
  48. businessName:thisdata.businessName,
  49. identifyName:thisdata.identifyName,
  50. followSituation:thisdata.followSituation,
  51. customerStatus:thisdata.customerStatus,
  52. adminName:thisdata.adminName,
  53. createTime:thisdata.createTime
  54. });
  55. };
  56. this.state.pagination.current = data.data.pageNo;
  57. this.state.pagination.total = data.data.totalCount;
  58. };
  59. this.setState({
  60. dataSource: theArr,
  61. pagination: this.state.pagination
  62. });
  63. }.bind(this),
  64. }).always(function () {
  65. this.setState({
  66. loading: false
  67. });
  68. }.bind(this));
  69. },
  70. getInitialState() {
  71. return {
  72. dataSources:[],
  73. customerName:[],
  74. orgCodeUrl:[],
  75. companyLogoUrl:[],
  76. visible: false ,
  77. searchMore: true,
  78. releaseDate: [],
  79. releaseDate: [],
  80. selectedRowKeys: [],
  81. selectedRowKey: [],
  82. selectedRows: [],
  83. loading: false,
  84. pagination: {
  85. defaultCurrent: 1,
  86. defaultPageSize: 10,
  87. showQuickJumper: true,
  88. pageSize: 10,
  89. onChange: function (page) {
  90. this.loadData(page);
  91. }.bind(this),
  92. showTotal: function (total) {
  93. return '共' + total + '条数据';
  94. }
  95. },
  96. paginations: {
  97. defaultCurrent: 1,
  98. defaultPageSize: 10,
  99. showQuickJumper: true,
  100. pageSize: 10,
  101. onChange: function (page) {
  102. this.loadVisit(page);
  103. }.bind(this),
  104. showTotal: function (total) {
  105. return '共' + total + '条数据';
  106. }
  107. },
  108. businessFollowList: [
  109. {
  110. title: '跟进时间',
  111. dataIndex: 'followTime',
  112. key: 'followTime',
  113. }, {
  114. title: '营销员',
  115. dataIndex: 'adminName',
  116. key: 'adminName',
  117. }, {
  118. title: '意向进度',
  119. dataIndex: 'followSituation',
  120. key: 'followSituation',
  121. render:text=>{return getfllowSituation(text)}
  122. }, {
  123. title: '客户状态',
  124. dataIndex: 'customerStatus',
  125. key: 'customerStatus',
  126. render:text=>{return getcustomerStatue(text)}
  127. },
  128. {
  129. title: '拜访方式',
  130. dataIndex: 'contactType',
  131. key:'contactType',
  132. render:text=>{return getContactType(text)}
  133. }, {
  134. title: '联系人',
  135. dataIndex: 'contacts',
  136. key: 'contacts',
  137. },
  138. {
  139. title: '联系电话',
  140. dataIndex: 'contactMobile',
  141. key:'contactMobile',
  142. },
  143. ],
  144. columns: [
  145. {
  146. title: '业务名称',
  147. dataIndex: 'businessName',
  148. key: 'businessName',
  149. }, {
  150. title: '意向时间',
  151. dataIndex: 'createTime',
  152. key: 'createTime',
  153. }, {
  154. title: '客户名称',
  155. dataIndex: 'identifyName',
  156. key: 'identifyName',
  157. }, {
  158. title: '营销员',
  159. dataIndex: 'adminName',
  160. key: 'adminName',
  161. },
  162. {
  163. title: '意向进度',
  164. dataIndex: 'followSituation',
  165. key:'followSituation',
  166. render: text => { return getfllowSituation(text) }
  167. },
  168. {
  169. title: '客户状态',
  170. dataIndex: 'customerStatus',
  171. key: 'customerStatus',
  172. render: text => { return getcustomerStatue(text) }
  173. },
  174. ],
  175. dataSource: [],
  176. searchTime: [,]
  177. };
  178. },
  179. componentWillMount() {
  180. //意向服务
  181. let intentionalArr = [];
  182. newFollow.map(function (item) {
  183. intentionalArr.push(
  184. <Select.Option value={item.value} key={item.key}>{item.key}</Select.Option>
  185. )
  186. });
  187. //客户状态
  188. let customerStatusArr = [];
  189. customerStatus.map(function (item) {
  190. customerStatusArr.push(
  191. <Select.Option value={item.value} key={item.key}>{item.key}</Select.Option>
  192. )
  193. });
  194. this.state.intentionalOption = intentionalArr;
  195. this.state.customerStatusArrOption = customerStatusArr;
  196. this.loadData();
  197. },
  198. search() {
  199. this.loadData();
  200. },
  201. reset() {
  202. this.state.businessIdS=undefined; //名称1
  203. this.state.identifyNameS='';
  204. this.state.followSituationS=undefined;
  205. this.state.customerStatusS=undefined;
  206. this.state.adminNameS='';
  207. this.state.releaseDate[0]=undefined;
  208. this.state.releaseDate[1]=undefined;
  209. this.loadData();
  210. },
  211. searchSwitch() {
  212. this.setState({
  213. searchMore: !this.state.searchMore
  214. });
  215. },
  216. //查看基本详情基本信息
  217. loadInformation(record){
  218. $.ajax({
  219. method: "get",
  220. dataType: "json",
  221. crossDomain: false,
  222. url: globalConfig.context + '/api/admin/customer/toUpdateBusiness',
  223. data: {
  224. businessId: record
  225. },
  226. success: function (data) {
  227. let thisData = data.data;
  228. if (!thisData) {
  229. if (data.error && data.error.length) {
  230. message.warning(data.error[0].message);
  231. };
  232. thisData = {};
  233. };
  234. this.setState({
  235. uids:thisData.uid,
  236. dataInformation:thisData,
  237. followSituation:thisData.followSituation,
  238. businessGlossoryId:thisData.businessGlossoryId,
  239. customerStatus:thisData.customerStatus,
  240. remarks:thisData.remarks,
  241. });
  242. }.bind(this),
  243. }).always(function () {
  244. this.loadVisit();
  245. this.setState({
  246. loading: false
  247. });
  248. }.bind(this));
  249. },
  250. detailsModalOk(e) {
  251. this.setState({ modal5Visible:true });//需要一个请求数据
  252. this.loadInformation(e.businessId)
  253. },
  254. //点击消失函数
  255. detailsModal(e) {
  256. this.setState({
  257. modal5Visible:false
  258. });
  259. },
  260. businessFollowOk(){
  261. this.setState({
  262. businessFollowModul:false
  263. });
  264. },
  265. businessFollowCancel(){
  266. this.setState({
  267. businessFollowModul:false
  268. });
  269. },
  270. //进入修改时
  271. listFollowUp(e){
  272. $.ajax({
  273. method: "get",
  274. dataType: "json",
  275. crossDomain: false,
  276. url: globalConfig.context + "/api/admin/customer/toUpdateFollowOneBusiness",
  277. data:{
  278. ufbId:e.ufbId
  279. },
  280. success: function (data) {
  281. let thedata=data.data;
  282. if (!thedata) {
  283. if (data.error && data.error.length) {
  284. message.warning(data.error[0].message);
  285. };
  286. thedata = {};
  287. };
  288. this.setState({
  289. businessGlossoryId:thedata.businessGlossoryId,
  290. followSituation:thedata.followSituation,
  291. customerStatus:thedata.customerStatus,
  292. followTime:thedata.followTime,
  293. createTime:thedata.createTime,
  294. identifyName:thedata.identifyName,
  295. contactType:parseInt(thedata.contactType),
  296. result:thedata.result,
  297. remarks:thedata.remarks,
  298. adminName:thedata.adminName,
  299. contacts:thedata.contacts,
  300. contactMobile:thedata.contactMobile,
  301. ufbId:thedata.ufbId,
  302. followId:thedata.followId,
  303. });
  304. }.bind(this),
  305. }).always(function () {
  306. this.setState({
  307. ufbIds:e.ufbId,
  308. loading: false
  309. });
  310. }.bind(this));
  311. },
  312. //新建HTTP获取数据
  313. addTime(){
  314. $.ajax({
  315. method: "get",
  316. dataType: "json",
  317. crossDomain: false,
  318. url: globalConfig.context + "/api/admin/customer/toAddBusinessAndFollow",
  319. data:{
  320. },
  321. success: function (data) {
  322. let theArr = [];
  323. let thedata=data.data;
  324. if (!thedata) {
  325. if (data.error && data.error.length) {
  326. message.warning(data.error[0].message);
  327. };
  328. thedata = {};
  329. };
  330. let creatMent=thedata.createTime.substr(10,9);
  331. let createYear=thedata.createTime.substr(0,10);
  332. this.setState({
  333. createTime:thedata.createTime,
  334. creatMent:creatMent,
  335. createYear:createYear,
  336. followTime:thedata.followTime,
  337. adminName: thedata.adminName,
  338. });
  339. }.bind(this),
  340. }).always(function () {
  341. this.setState({
  342. loading: false
  343. });
  344. }.bind(this));
  345. },
  346. //获取拜访详情ajax
  347. loadVisit(pageNo) {
  348. this.setState({
  349. loading: true
  350. });
  351. $.ajax({
  352. method: "get",
  353. dataType: "json",
  354. crossDomain: false,
  355. url:globalConfig.context + '/api/admin/customer/listFollowHistory',
  356. data: {
  357. pageNo: pageNo || 1,
  358. pageSize: this.state.paginations.pageSize,
  359. uid: this.state.uids, //名称1
  360. businessGlossoryId:this.state.businessGlossoryId,
  361. },
  362. success: function (data) {
  363. let theArr = [];
  364. if (data.error.length || data.data.list=="") {
  365. if (data.error && data.error.length) {
  366. message.warning(data.error[0].message);
  367. };
  368. } else {
  369. for (let i = 0; i < data.data.list.length; i++) {
  370. let thisdata = data.data.list[i];
  371. theArr.push({
  372. followId:thisdata.followId,
  373. followTime:thisdata.followTime,
  374. identityName:thisdata.identityName,
  375. contacts:thisdata.contacts,
  376. contactMobile:thisdata.contactMobile,
  377. result:thisdata.result,
  378. ufbId:thisdata.ufbId,
  379. adminName:thisdata.adminName,
  380. followSituation:thisdata.followSituation,
  381. customerStatus:thisdata.customerStatus,
  382. contactType:thisdata.contactType
  383. });
  384. };
  385. this.state.paginations.current = data.data.pageNo;
  386. this.state.paginations.total = data.data.totalCount;
  387. };
  388. this.setState({
  389. visitArrList: theArr,
  390. paginations: this.state.paginations
  391. });
  392. }.bind(this),
  393. }).always(function () {
  394. this.setState({
  395. loading: false
  396. });
  397. }.bind(this));
  398. },
  399. componentWillReceiveProps(nextProps) {
  400. if (!this.props.visible && nextProps.visible) {
  401. if (nextProps.data && nextProps.data.id) {
  402. this.loadData(nextProps.data.id, nextProps.detailApiUrl);
  403. };
  404. this.state.data = {};
  405. this.state.companyLogoUrl = [];
  406. this.state.orgCodeUrl = [];
  407. };
  408. },
  409. tableRowClick(record, index) {
  410. this.state.RowData = record;
  411. this.detailsModalOk(record);
  412. this.setState({
  413. selectedRowKeys:[],
  414. rowId:record.businessId,
  415. })
  416. },
  417. followRowClick(record, index) {
  418. console.log(record)
  419. this.state.RowData = record;
  420. this.listFollowUp(record);
  421. this.setState({
  422. businessFollowModul: true,
  423. selectedRowKeys:[],
  424. });
  425. },
  426. render() {
  427. const FormItem = Form.Item
  428. const rowSelection = {
  429. selectedRowKeys: this.state.selectedRowKeys,
  430. onChange: (selectedRowKeys, selectedRows) => {
  431. this.setState({
  432. selectedRows: selectedRows.slice(-1),
  433. selectedRowKeys: selectedRowKeys.slice(-1)
  434. });
  435. },
  436. onSelect: (recordt, selected, selectedRows) => {
  437. this.setState({
  438. recordt:recordt.id
  439. })
  440. },
  441. };
  442. const rowSelections = {
  443. selectedRowKeys: this.state.selectedRowKey,
  444. onChange: (selectedRowKey, selectedRow) => {
  445. this.setState({
  446. selectedRow: selectedRow.slice(-1),
  447. selectedRowKey: selectedRowKey.slice(-1)
  448. });
  449. },
  450. onSelect: (records, selected, selectedRow) => {
  451. this.setState({
  452. selectedRow: selectedRow.slice(-1),
  453. records:records.id,
  454. })
  455. },
  456. };
  457. const hasSelected = this.state.selectedRowKeys.length > 0;
  458. const { RangePicker } = DatePicker;
  459. const { getFieldDecorator } = this.props.form;
  460. const formItemLayout = {
  461. labelCol: { span: 8 },
  462. wrapperCol: { span: 14 },
  463. };
  464. const theInformation=this.state.dataInformation || {}
  465. const contactsOption="";
  466. const formItemLayput = {
  467. labelCol: { span: 10 },
  468. wrapperCol: { span: 14 },
  469. };
  470. const businessIds=this.state.businessId||'';
  471. const dataSources=this.state.customerArr || [];
  472. const options = dataSources.map((group) =>
  473. <Option key={group.id} value={group.name}>{group.name}</Option>
  474. )
  475. return (
  476. <div className="user-content" >
  477. <div className="content-title">
  478. <span>我的业务</span>
  479. </div>
  480. <div className="user-search">
  481. <Input placeholder="客户名称"
  482. value={this.state.identifyNameS}
  483. onChange={(e) => { this.setState({ identifyNameS: e.target.value }); }} />
  484. <Select placeholder="服务意向" value={this.state.businessIdS} onChange={(e) => {
  485. this.setState({businessIdS:e})}} style={{width:'150px'}}>
  486. {
  487. intentionalService.map(function (item) {
  488. return <Select.Option key={item.value} >{item.key}</Select.Option>
  489. })
  490. }
  491. </Select>
  492. <Button type="primary" onClick={this.search}>搜索</Button>
  493. <Button onClick={this.reset}>重置</Button>
  494. <span style={{marginLeft:'10px',marginRight:'20px'}}>更多搜索<Switch defaultChecked={false} onChange={this.searchSwitch} /></span>
  495. <div className='clearfix' style={{marginTop:'5px'}}>
  496. <div className="search-more" style={this.state.searchMore ? { display: 'none' } : {}}>
  497. <RangePicker
  498. value={[this.state.releaseDate[0] ? moment(this.state.releaseDate[0]) : null,
  499. this.state.releaseDate[1] ? moment(this.state.releaseDate[1]) : null]}
  500. onChange={(data, dataString) => { this.setState({ releaseDate: dataString }); }} />
  501. <Select placeholder="客户状态"
  502. style={{ width: 150 }}
  503. value={this.state.customerStatusS}
  504. onChange={(e) => { this.setState({ customerStatusS: e }) }}>
  505. {this.state.customerStatusArrOption}
  506. </Select>
  507. <Select placeholder="业务进度"
  508. style={{ width: 150 }}
  509. value={this.state.followSituationS}
  510. onChange={(e) => { this.setState({ followSituationS: e }) }}>
  511. {this.state.intentionalOption}
  512. </Select>
  513. <Input placeholder="营销员" style={{width:'150px'}}
  514. value={this.state.adminNameS}
  515. onChange={(e) => { this.setState({ adminNameS: e.target.value }); }} />
  516. </div>
  517. </div>
  518. </div>
  519. <div className="patent-table">
  520. <Spin spinning={this.state.loading}>
  521. <Table columns={this.state.columns}
  522. dataSource={this.state.dataSource}
  523. rowSelection={rowSelection}
  524. pagination={this.state.pagination}
  525. onRowClick={this.tableRowClick}
  526. />
  527. </Spin>
  528. </div>
  529. <Modal
  530. className="customeDetails"
  531. title="我的业务意向详情"
  532. width='1000px'
  533. visible={this.state.modal5Visible}
  534. onOk={this.detailsModal}
  535. onCancel={this.detailsModal}
  536. footer=''
  537. >
  538. <Form horizontal onSubmit={this.newSubmit} id="demand-form">
  539. <Spin spinning={this.state.loading}>
  540. <div className="clearfix">
  541. <FormItem className="half-item"
  542. {...formItemLayout}
  543. label="意向名称"
  544. >
  545. <span>{getCompanyIntention(theInformation.businessGlossoryId)}</span>
  546. </FormItem>
  547. <FormItem className="half-item"
  548. {...formItemLayout}
  549. label="意向时间"
  550. >
  551. <span>{theInformation.createTime}</span>
  552. </FormItem>
  553. <FormItem className="half-item"
  554. {...formItemLayout}
  555. label="客户名称"
  556. >
  557. <span>{theInformation.identifyName}</span>
  558. </FormItem>
  559. <FormItem className="half-item"
  560. {...formItemLayout}
  561. label="营销员"
  562. >
  563. <span>{theInformation.adminName}</span>
  564. </FormItem>
  565. <FormItem className="half-item"
  566. {...formItemLayout}
  567. label="意向进度"
  568. >
  569. <span>{getfllowSituation(theInformation.followSituation)}</span>
  570. </FormItem>
  571. <FormItem className="half-item"
  572. {...formItemLayout}
  573. label="客户状态"
  574. >
  575. <span>{getcustomerStatue(theInformation.customerStatus)}</span>
  576. </FormItem>
  577. <div className="clearfix">
  578. <FormItem
  579. labelCol={{ span: 4 }}
  580. wrapperCol={{ span: 16 }}
  581. label="意向说明" >
  582. <span>{this.state.remarks}</span>
  583. </FormItem>
  584. </div>
  585. </div>
  586. <div className="clearfix">
  587. <div style={{fontSize:'18px',marginLeft:'40px',marginBottom:'20px'}}>业务跟进</div>
  588. <div className="clearfix" style={{paddingLeft:'40px',paddingRight:'40px'}}>
  589. <Spin spinning={this.state.loading}>
  590. <Table
  591. pagination={this.state.paginations}
  592. columns={this.state.businessFollowList}
  593. dataSource={this.state.visitArrList}
  594. onRowClick={this.followRowClick}
  595. />
  596. </Spin>
  597. </div>
  598. </div>
  599. </Spin>
  600. </Form>
  601. </Modal>
  602. <Modal
  603. footer=''
  604. title="业务跟进详情"
  605. width='1000px'
  606. visible={this.state.businessFollowModul}
  607. onOk={this.businessFollowOk}
  608. onCancel={this.businessFollowCancel}
  609. >
  610. <div className="clearfix">
  611. <Form horizontal id="demand-form" >
  612. <Spin spinning={this.state.loading}>
  613. <div className="clearfix">
  614. <FormItem className="half-item"
  615. {...formItemLayout}
  616. label="意向名称"
  617. >
  618. <span>{getCompanyIntention(this.state.businessGlossoryId)}</span>
  619. </FormItem>
  620. <FormItem className="half-item"
  621. {...formItemLayout}
  622. label="意向时间"
  623. >
  624. <span>{this.state.createTime}</span>
  625. </FormItem>
  626. <FormItem className="half-item"
  627. {...formItemLayout}
  628. label="客户名称"
  629. >
  630. <span>{this.state.identifyName}</span>
  631. </FormItem>
  632. <FormItem className="half-item"
  633. {...formItemLayout}
  634. label="营销员"
  635. >
  636. <span>{this.state.adminName}</span>
  637. </FormItem>
  638. <FormItem className="half-item"
  639. {...formItemLayout}
  640. label="意向进度"
  641. >
  642. <span>{getfllowSituation(this.state.followSituation)}</span>
  643. </FormItem>
  644. <FormItem className="half-item"
  645. {...formItemLayout}
  646. label="客户状态"
  647. >
  648. <span>{getcustomerStatue(this.state.customerStatus)}</span>
  649. </FormItem>
  650. <div className="clearfix">
  651. <FormItem
  652. labelCol={{ span: 4 }}
  653. wrapperCol={{ span: 16 }}
  654. label="意向说明" >
  655. <span>{this.state.remarks}</span>
  656. </FormItem>
  657. </div>
  658. <div style={{fontSize:'18px',marginLeft:'30px'}}>拜访情况</div>
  659. <FormItem className="half-item"
  660. labelCol={{ span: 8 }}
  661. wrapperCol={{ span: 16 }}
  662. label="拜访方式" >
  663. <span>{getContactType(parseInt(this.state.contactType))}</span>
  664. </FormItem>
  665. <FormItem className="half-item"
  666. {...formItemLayout}
  667. label="当前联系人"
  668. >
  669. <span>{this.state.contacts}</span>
  670. </FormItem>
  671. <FormItem className="half-item"
  672. {...formItemLayout}
  673. label="拜访人"
  674. >
  675. <span>{this.state.adminName}</span>
  676. </FormItem>
  677. <FormItem className="half-item"
  678. {...formItemLayout}
  679. label="拜访时间" >
  680. <span>{this.state.followTime}</span>
  681. </FormItem>
  682. <FormItem
  683. labelCol={{ span: 4 }}
  684. wrapperCol={{ span: 16 }}
  685. label="拜访备注" >
  686. <span>{this.state.result}</span>
  687. </FormItem>
  688. </div>
  689. </Spin>
  690. </Form>
  691. </div>
  692. </Modal>
  693. </div >
  694. );
  695. }
  696. }));
  697. export default ServiceQuery;