ExpertInquiryView.js 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. import React from 'react';
  2. import DefaultAvatar from '../../assets/img-defaultAvatar.png';
  3. import Logo from '../../assets/img-logo.png';
  4. import Circle from '../../assets/bg_circle.png';
  5. import Line from '../../assets/bg_line.png';
  6. import {Media, OverlayTrigger, Popover, Col, Image, FormGroup,InputGroup, FormControl, Glyphicon, Button, Table, ControlLabel, Modal} from 'react-bootstrap';
  7. import FieldGroup from '../../components/FieldGroup/FieldGroup';
  8. import MyTab from '../../components/MyTab/MyTab';
  9. import './ExpertInquiryView.css';
  10. import Chat from '../../components/Chat/Chat';
  11. const popoverBottom = (
  12. <Popover id="popover-positioned-scrolling-bottom">
  13. <Button bsSize="xsmall" href="#/" style={{border:0,background:'#fff',width:'120px'}}><Glyphicon glyph="off" />退 出</Button>
  14. </Popover>
  15. );
  16. class App extends React.Component{
  17. constructor(props){
  18. super(props);
  19. this.state = {
  20. appointmentModal: false,//邀约弹窗
  21. appConfirmModal: false,//确认邀约弹窗
  22. appWaitedModal: false,//等待支付弹窗
  23. addPatientModal: false,//添加患者弹窗显示状态
  24. btnSatus: 0,//获取验证码按钮状态
  25. btnText: '获取动态密码',//按钮text
  26. intervalTime: 9,//时间
  27. errorText: '',//错误提示
  28. errorType: true,//是否错误
  29. patientCaptcha: false,//患者验证码
  30. patientForm: {
  31. name: '',//姓名
  32. sex: '',//性别
  33. age: '',//年龄
  34. phone: '',//电话
  35. captcha: '',//验证码
  36. },
  37. patientFormInit: {
  38. name: '',//姓名
  39. sex: '',//性别
  40. age: '',//年龄
  41. phone: '',//电话
  42. captcha: '',//验证码
  43. },
  44. patientList: [
  45. {id: 1,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  46. {id: 2,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  47. {id: 3,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  48. {id: 4,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  49. {id: 5,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  50. {id: 6,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  51. {id: 7,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  52. {id: 8,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  53. {id: 9,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  54. {id: 10,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  55. {id: 11,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  56. {id: 12,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  57. {id: 13,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  58. {id: 14,name: '王帆',sex: 'men',age: '26',phone: '18904032521'},
  59. {id: 15,name: '王帆',sex: 'men',age: '26',phone: '18904032521'}
  60. ],
  61. doctorList: [
  62. {id: 1,name: '王瀚哲1',title: '主任医师',hospital: '南方医院',department: '口腔科',speciality: '牙体牙髓疾病、前牙美……'},
  63. {id: 2,name: '王瀚哲2',title: '主任医师',hospital: '南方医院',department: '口腔科',speciality: '牙体牙髓疾病、前牙美……'},
  64. {id: 3,name: '王瀚哲3',title: '主任医师',hospital: '南方医院',department: '口腔科',speciality: '牙体牙髓疾病、前牙美……'},
  65. {id: 4,name: '王瀚哲4',title: '主任医师',hospital: '南方医院',department: '口腔科',speciality: '牙体牙髓疾病、前牙美……'},
  66. {id: 5,name: '王瀚哲5',title: '主任医师',hospital: '南方医院',department: '口腔科',speciality: '牙体牙髓疾病、前牙美……'},
  67. {id: 6,name: '王瀚哲6',title: '主任医师',hospital: '南方医院',department: '口腔科',speciality: '牙体牙髓疾病、前牙美……'},
  68. ],
  69. orderList:[
  70. {id: 1,associateDoctor: '王瀚哲',transferStatus: '转出', date: '2017/09/24 10:00', orderStatus: '已经结束'},
  71. {id: 2,associateDoctor: '王瀚哲',transferStatus: '转出', date: '2017/09/24 10:00', orderStatus: '进入会话'},
  72. {id: 3,associateDoctor: '王瀚哲',transferStatus: '转出', date: '2017/09/24 10:00', orderStatus: '已经结束'},
  73. {id: 4,associateDoctor: '王瀚哲',transferStatus: '转出', date: '2017/09/24 10:00', orderStatus: '进入会话'},
  74. {id: 5,associateDoctor: '王瀚哲',transferStatus: '转出', date: '2017/09/24 10:00', orderStatus: '进入会话'},
  75. {id: 6,associateDoctor: '王瀚哲',transferStatus: '转出', date: '2017/09/24 10:00', orderStatus: '进入会话'},
  76. {id: 7,associateDoctor: '王瀚哲',transferStatus: '转出', date: '2017/09/24 10:00', orderStatus: '已经结束'},
  77. {id: 8,associateDoctor: '王瀚哲',transferStatus: '转出', date: '2017/09/24 10:00', orderStatus: '进入会话'},
  78. {id: 9,associateDoctor: '王瀚哲',transferStatus: '转出', date: '2017/09/24 10:00', orderStatus: '已经结束'},
  79. {id: 10,associateDoctor: '王瀚哲',transferStatus: '转出', date: '2017/09/24 10:00', orderStatus: '已经结束'},
  80. {id: 11,associateDoctor: '王瀚哲',transferStatus: '转出', date: '2017/09/24 10:00', orderStatus: '已经结束'}
  81. ]
  82. };
  83. this.openAddPatientModal = this.openAddPatientModal.bind(this);
  84. this.closeAddPatientModal = this.closeAddPatientModal.bind(this);
  85. this.submitPatient = this.submitPatient.bind(this);
  86. this.handleInputChange = this.handleInputChange.bind(this);
  87. this.intervalMethod = this.intervalMethod.bind(this);
  88. this.showAppointmentModal = this.showAppointmentModal.bind(this);
  89. this.hideAppointmentModal = this.hideAppointmentModal.bind(this);
  90. this.showAppConfirmModalModal = this.showAppConfirmModalModal.bind(this);
  91. this.hideAppConfirmModalModal = this.hideAppConfirmModalModal.bind(this);
  92. this.showAppWaitedModalModal = this.showAppWaitedModalModal.bind(this);
  93. this.hideAppWaitedModalModal = this.hideAppWaitedModalModal.bind(this);
  94. }
  95. //邀约弹窗
  96. showAppointmentModal() {
  97. this.setState({
  98. appointmentModal: true
  99. });
  100. }
  101. hideAppointmentModal() {
  102. this.setState({
  103. appointmentModal: false
  104. });
  105. }
  106. //确认邀约弹窗
  107. showAppConfirmModalModal() {
  108. this.setState({
  109. appointmentModal: false,
  110. appConfirmModal: true
  111. });
  112. }
  113. hideAppConfirmModalModal() {
  114. this.setState({
  115. appConfirmModal: false
  116. });
  117. }
  118. //等待支付弹窗
  119. showAppWaitedModalModal() {
  120. this.setState({
  121. appConfirmModal: false,
  122. appWaitedModal: true
  123. });
  124. }
  125. hideAppWaitedModalModal() {
  126. this.setState({
  127. appWaitedModal: false
  128. });
  129. }
  130. //控件输入
  131. handleInputChange(e){
  132. const target = e.target;
  133. const value = target.type === 'checkbox' ? target.checked : target.value;
  134. const name = target.name;
  135. const form = this.state.patientForm;
  136. form[name] = value;
  137. this.setState({
  138. patientForm: form
  139. });
  140. }
  141. //轮询改变文字方法
  142. intervalMethod(e) {
  143. e.preventDefault();
  144. if(this.state.btnSatus === 0){
  145. //interval 和 timeout 都需要 bind 一下当前的this,不然指向window
  146. this.timer = setInterval(function () {
  147. //跳出
  148. if(this.state.intervalTime <=0){
  149. clearInterval(this.timer);
  150. this.setState({
  151. intervalTime: 9,
  152. btnSatus: 0,
  153. btnText: '获取动态密码'
  154. });
  155. return;
  156. }
  157. //执行状态更新 可能是异步
  158. this.setState((prevState, props) => (
  159. {
  160. btnSatus: 1,
  161. btnText: '重新获取('+prevState.intervalTime+'s)',
  162. intervalTime: prevState.intervalTime - 1,
  163. patientCaptcha: '1234'
  164. }
  165. ));
  166. }.bind(this),1000);
  167. }
  168. }
  169. //显示病人弹窗
  170. openAddPatientModal() {
  171. this.setState({
  172. addPatientModal: true
  173. });
  174. }
  175. //关闭病人弹窗
  176. closeAddPatientModal() {
  177. this.setState({
  178. addPatientModal: false
  179. });
  180. }
  181. //提交病人数据 插入到 patientList 里
  182. submitPatient(e) {
  183. // e.preventDefault();
  184. if(this.state.patientCaptcha !== this.state.patientForm.captcha){
  185. this.setState({
  186. errorType: false,
  187. errorText: this.state.patientCaptcha === false ? '请点击获取动态密码' : '您输入的动态密码有误'
  188. });
  189. return;
  190. }
  191. const list = this.state.patientList;
  192. list.push(this.state.patientForm);
  193. this.setState({
  194. patientList: list,
  195. addPatientModal: false,
  196. patientForm: this.state.patientFormInit//清空表单
  197. });
  198. }
  199. render() {
  200. return (
  201. <div>
  202. <div className="homeTop clearfix">
  203. <div className="left">
  204. <Image src={Logo} responsive></Image>
  205. </div>
  206. <div className="right">
  207. 南方医务通医生工作台
  208. </div>
  209. </div>
  210. <div className="homeBody clearfix">
  211. <div className="left">
  212. <div className="avatarbox">
  213. <OverlayTrigger container={this} trigger="click" placement="bottom" overlay={popoverBottom}>
  214. <Button style={{border: 0,background: '#fff'}}>
  215. <Image className="avatar" src={DefaultAvatar} rounded responsive/>
  216. </Button>
  217. </OverlayTrigger>
  218. <div className="name">李秋豪</div>
  219. </div>
  220. <div className="col-lg-12 list">
  221. <ul className="parent">
  222. <li><a href="#/userMessage"><span className="icon icon-message"></span><span className="text-message">消息&nbsp;&nbsp;2</span></a></li>
  223. <li><a href="#/home"><span className="icon icon-home"></span><span>首页</span></a></li>
  224. <ul className="childList">
  225. <li className="active"><a href="#">专家询诊</a></li>
  226. <li><a href="#">双向转诊</a></li>
  227. <li><a href="#">名医主诊</a></li>
  228. <li><a href="#">名医主诊</a></li>
  229. </ul>
  230. <li><a href="#"><span className="icon icon-patient"></span><span>我的患者</span></a></li>
  231. <li><a href="#"><span className="icon icon-doctor"></span><span>我的关联医生</span></a></li>
  232. <li><a href="#"><span className="icon icon-expert"></span><span>平台所有医生</span></a></li>
  233. </ul>
  234. </div>
  235. </div>
  236. <div className="right" style={{overflow: 'auto'}}>
  237. <div className="body">
  238. <div className="head">
  239. <div className="my_tab_container">
  240. <MyTab>
  241. <div titleName = "找患者">
  242. <div className="clearfix">
  243. <div style={{position: 'relative'}}>
  244. <FormGroup style={{width: '300px',margin: '0 auto'}}>
  245. <InputGroup>
  246. <InputGroup.Addon style={{
  247. border: 0,
  248. background: '#fff',
  249. borderTopLeftRadius: '20px',
  250. borderBottomLeftRadius: '20px'
  251. }}><Glyphicon glyph="search" /></InputGroup.Addon>
  252. <FormControl type="text" style={{border: 0,boxShadow: 'none'}}/>
  253. <InputGroup.Button>
  254. <Button bsStyle="link" style={{background: '#fff',borderTopRightRadius: '20px',borderBottomRightRadius: '20px'}}>搜索</Button>
  255. </InputGroup.Button>
  256. </InputGroup>
  257. </FormGroup>
  258. <Button bsStyle="danger" onClick={this.openAddPatientModal} style={{
  259. position: 'absolute',
  260. right: 10,
  261. top: 1,
  262. borderRadius: 50
  263. }}>添加患者</Button>
  264. </div>
  265. <div className="tableBox">
  266. <Table striped hover >
  267. <thead>
  268. <tr>
  269. <th>患者姓名</th>
  270. <th>性别</th>
  271. <th>年龄(Y)</th>
  272. <th>手机号</th>
  273. <th>操作</th>
  274. </tr>
  275. </thead>
  276. <tbody>
  277. {
  278. this.state.patientList.map((patient) =>
  279. <tr key={patient.id}>
  280. <td>{patient.name}</td>
  281. <td>{patient.sex === 'men'?'男':'女'}</td>
  282. <td>{patient.age}</td>
  283. <td>{patient.phone}</td>
  284. <td>
  285. <Button bsSize="small" bsStyle="link" onClick={this.showAppointmentModal}>帮他/她预约</Button>
  286. </td>
  287. </tr>
  288. )
  289. }
  290. </tbody>
  291. </Table>
  292. <div className="clearfix myPagination">
  293. <div className="addheigh">3/60页</div>
  294. <div className="addheigh">
  295. <Button bsStyle="link">上一页</Button>
  296. </div>
  297. <div className="addheigh">
  298. <Button bsStyle="link">下一页</Button>
  299. </div>
  300. <div className="">
  301. 跳转到至第
  302. <input style={{width: '30px'}} type="text"/>
  303. <Button style={{background: '#4f80f6',marginLeft: '10px'}} bsStyle="primary" bsSize="xsmall">确定</Button>
  304. </div>
  305. </div>
  306. </div>
  307. </div>
  308. </div>
  309. <div titleName = "我的订单">
  310. <Chat test="aaa" orderType={0} doctorType={1}>
  311. </Chat>
  312. </div>
  313. <div titleName = "询诊流程" style={{padding: 60}}>
  314. <Media>
  315. <Media.Left style={{position: 'relative'}}>
  316. <img width={60} height={60} src={Circle} alt=""/>
  317. <div style={{position: 'absolute',fontSize: 18,top: 18,left: 21,color: '#fff'}}>诊</div>
  318. </Media.Left>
  319. <Media.Right align="middle">
  320. <span style={{color: '#808a9c'}}>患者到门诊医生处就诊;</span>
  321. </Media.Right>
  322. </Media>
  323. <Media style={{marginTop: 3}}>
  324. <Media.Left>
  325. <img width={60} height={40} src={Line} alt=""/>
  326. </Media.Left>
  327. </Media>
  328. <Media style={{marginTop: 0}}>
  329. <Media.Left style={{position: 'relative'}}>
  330. <img width={60} height={60} src={Circle} alt=""/>
  331. <div style={{position: 'absolute',fontSize: 18,top: 18,left: 21,color: '#fff'}}>邀</div>
  332. </Media.Left>
  333. <Media.Right align="middle">
  334. <span style={{color: '#808a9c'}}>门诊医生根据患者病情,邀约关联医生询诊(邀约前患者需支付询诊费用);</span>
  335. </Media.Right>
  336. </Media>
  337. <Media style={{marginTop: 3}}>
  338. <Media.Left>
  339. <img width={60} height={40} src={Line} alt=""/>
  340. </Media.Left>
  341. </Media>
  342. <Media style={{marginTop: 0}}>
  343. <Media.Left style={{position: 'relative'}}>
  344. <img width={60} height={60} src={Circle} alt=""/>
  345. <div style={{position: 'absolute',fontSize: 18,top: 18,left: 21,color: '#fff'}}>论</div>
  346. </Media.Left>
  347. <Media.Right align="middle">
  348. <span style={{color: '#808a9c'}}>门诊医生与关联医生在平台上留言(图文),讨论患者情况,门诊医生整理会话记录并总结建议;</span>
  349. </Media.Right>
  350. </Media>
  351. <Media style={{marginTop: 3}}>
  352. <Media.Left>
  353. <img width={60} height={40} src={Line} alt=""/>
  354. </Media.Left>
  355. </Media>
  356. <Media style={{marginTop: 0}}>
  357. <Media.Left style={{position: 'relative'}}>
  358. <img width={60} height={60} src={Circle} alt=""/>
  359. <div style={{position: 'absolute',fontSize: 18,top: 18,left: 21,color: '#fff'}}>录</div>
  360. </Media.Left>
  361. <Media.Right align="middle">
  362. <span style={{color: '#808a9c'}}>将整理的会话记录与建议发送给患者。</span>
  363. </Media.Right>
  364. </Media>
  365. </div>
  366. </MyTab>
  367. </div>
  368. </div>
  369. </div>
  370. </div>
  371. </div>
  372. {/*添加患者*/}
  373. <Modal show={this.state.addPatientModal} onHide={this.closeAddPatientModal}>
  374. <Modal.Header closeButton>
  375. <Modal.Title> </Modal.Title>
  376. </Modal.Header>
  377. <Modal.Body>
  378. <form>
  379. <FieldGroup
  380. id="formControlsText"
  381. type="text"
  382. label="姓名"
  383. placeholder="请输入患者姓名"
  384. value={this.state.patientForm.name}
  385. name="name"
  386. onChange={this.handleInputChange}
  387. />
  388. <FormGroup controlId="formControlsSelect">
  389. <ControlLabel style={{color: '#808a9c'}}>性别</ControlLabel>
  390. <FormControl name="sex" onChange={this.handleInputChange} componentClass="select"
  391. placeholder="select" value={this.state.patientForm.sex} style={{
  392. background: '#f0f1f7',borderRadius: 0,MozBorderRadius: 0,border: '#e8eaf1'}}>
  393. <option value="">请选择</option>
  394. <option value="men">男</option>
  395. <option value="women">女</option>
  396. </FormControl>
  397. </FormGroup>
  398. <FieldGroup
  399. id="formControlsText"
  400. type="text"
  401. label="年龄"
  402. placeholder="请输入患者年龄"
  403. value={this.state.patientForm.age}
  404. onChange={this.handleInputChange}
  405. name="age"
  406. />
  407. <FieldGroup
  408. id="formControlsText"
  409. type="text"
  410. label="手机号"
  411. placeholder="请输入手机号"
  412. name="phone"
  413. value={this.state.patientForm.phone}
  414. onChange={this.handleInputChange}
  415. />
  416. <div>
  417. {this.state.errorType == false ?
  418. (<div style={{color: '#ff6f56',visibility: 'visible'}}>{this.state.errorText}</div>):
  419. (<div style={{color: '#ff6f56',visibility: 'hidden'}}>{this.state.errorText}</div>)
  420. }
  421. </div>
  422. <div className="clearfix">
  423. <Col lg={7} md={7} xs={7} style={{paddingLeft: 0}}>
  424. <FieldGroup
  425. id="formControlsText"
  426. type="text"
  427. label="验证码"
  428. placeholder="请输入患者提供的验证码"
  429. name="captcha"
  430. onChange={this.handleInputChange}
  431. value={this.state.patientForm.captcha}
  432. />
  433. </Col>
  434. <Col lg={5} md={5} xs={5} style={{paddingTop: 24}}>
  435. <Button bsStyle="primary" onClick={this.intervalMethod}
  436. style={{
  437. border: '1px #4f80f6 solid',
  438. background: '#4f80f6',
  439. color: '#fff'}}>{this.state.btnText}</Button>
  440. </Col>
  441. </div>
  442. <div className="text-center">
  443. <Button bsStyle="primary" onClick={this.submitPatient} style={{width: 120, height: 40,border: '1px #4f80f6 solid', background: '#4f80f6',color: '#fff', borderRadius: 50,MozBorderRadius: 50}}>确定</Button>
  444. </div>
  445. </form>
  446. </Modal.Body>
  447. </Modal>
  448. {/* 预约 */}
  449. <Modal show={this.state.appointmentModal} onHide={this.hideAppointmentModal}>
  450. <Modal.Header closeButton>
  451. <Modal.Title className="text-center" style={{color: '#4f80f6',fontSize: 18}}>邀约关联医生</Modal.Title>
  452. </Modal.Header>
  453. <Modal.Body style={{background: '#f6f7fa',padding: 0}}>
  454. <div className="clearfix" style={{paddingTop: '15px'}}>
  455. <Col lg={4} md={4} xs={4}>
  456. <FormGroup controlId="formControlsSelect">
  457. <FormControl componentClass="select" placeholder="select">
  458. <option value="1">南方医院</option>
  459. <option value="2">广医三院</option>
  460. </FormControl>
  461. </FormGroup>
  462. </Col>
  463. <Col lg={4} md={4} xs={4}>
  464. <FormGroup controlId="formControlsSelect">
  465. <FormControl componentClass="select" placeholder="select">
  466. <option value="1">口腔科</option>
  467. <option value="2">内科</option>
  468. <option value="3">中医科</option>
  469. </FormControl>
  470. </FormGroup>
  471. </Col>
  472. <Col lg={4} md={4} xs={4}>
  473. <FormGroup style={{width: '100%',margin: '0 auto'}}>
  474. <InputGroup>
  475. <InputGroup.Addon style={{
  476. border: 0,
  477. background: '#fff',
  478. borderTopLeftRadius: '20px',
  479. borderBottomLeftRadius: '20px'
  480. }}><Glyphicon glyph="search" /></InputGroup.Addon>
  481. <FormControl type="text" style={{border: 0,boxShadow: 'none'}}/>
  482. <InputGroup.Button>
  483. <Button bsStyle="link" style={{background: '#fff',borderTopRightRadius: '20px',borderBottomRightRadius: '20px'}}>搜索</Button>
  484. </InputGroup.Button>
  485. </InputGroup>
  486. </FormGroup>
  487. </Col>
  488. </div>
  489. <div className="tableBox">
  490. <Table striped hover >
  491. <thead>
  492. <tr>
  493. <th>医生姓名</th>
  494. <th>职称</th>
  495. <th>医院</th>
  496. <th>科室</th>
  497. <th>擅长</th>
  498. <th>操作</th>
  499. </tr>
  500. </thead>
  501. <tbody>
  502. {
  503. this.state.doctorList.map((doctor) =>
  504. <tr key={doctor.id}>
  505. <td>{doctor.name}</td>
  506. <td>{doctor.title}</td>
  507. <td>{doctor.hospital}</td>
  508. <td>{doctor.department}</td>
  509. <td>{doctor.speciality}</td>
  510. <td>
  511. <Button bsSize="small" bsStyle="link" onClick={this.showAppConfirmModalModal}>邀约</Button>
  512. </td>
  513. </tr>
  514. )
  515. }
  516. </tbody>
  517. </Table>
  518. <div className="clearfix myPagination" style={{paddingBottom: '15px'}}>
  519. <div className="addheigh">3/60页</div>
  520. <div className="addheigh">
  521. <Button bsStyle="link">上一页</Button>
  522. </div>
  523. <div className="addheigh">
  524. <Button bsStyle="link">下一页</Button>
  525. </div>
  526. <div className="">
  527. 跳转到至第
  528. <input style={{width: '30px'}} type="text"/>
  529. <Button style={{background: '#4f80f6',marginLeft: '10px'}} bsStyle="primary" bsSize="xsmall">确定</Button>
  530. </div>
  531. </div>
  532. </div>
  533. </Modal.Body>
  534. </Modal>
  535. {/* 确认 */}
  536. <Modal show={this.state.appConfirmModal} bsSize="small" onHide={this.hideAppConfirmModalModal}>
  537. <Modal.Body className="text-center" style={{paddingTop: 45,fontSize: 18}}>
  538. <p>专家询诊订单将发送给患者王帆</p>
  539. <p>(手机号:18904032521)支付</p>
  540. <Button onClick={this.hideAppConfirmModalModal} className="btn-end btn-cancle">取消</Button>
  541. <Button onClick={this.showAppWaitedModalModal} className="btn-end btn-confirm">确定</Button>
  542. </Modal.Body>
  543. </Modal>
  544. {/* 确认结果 */}
  545. <Modal show={this.state.appWaitedModal} bsSize="small" onHide={this.hideAppWaitedModalModal}>
  546. <Modal.Body className="text-center" style={{paddingTop: 45,fontSize: 18}}>
  547. <p>专家询诊订单已发送给患者王帆</p>
  548. <p>(手机号:18904032521),</p>
  549. <p>请等待患者支付</p>
  550. <Button onClick={this.hideAppWaitedModalModal} className="btn-end btn-confirm">确定</Button>
  551. </Modal.Body>
  552. </Modal>
  553. </div>
  554. );
  555. }
  556. }
  557. export default App;
  558. // export default CSSModules(App,classes);