serviceQuery.jsx 28 KB

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