index.jsx 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608
  1. import React from 'react';
  2. import style from './index.less';
  3. import chronicPic from "../../common/images/chronic.png";
  4. import level1 from "../../common/images/级别1.png";
  5. import tableIcon from '@common/images/table.png';
  6. import allTableIcon from '@common/images/all-table.png';
  7. import checkIcon from '@common/images/check.png';
  8. import up from '@common/images/slide-up.png';
  9. import down from '@common/images/slide-down.png';
  10. import {ComplexModal,ConfirmModal,MiniToast, Radio,CheckBtn,Footer,Notify} from '@commonComp';
  11. import infoShow from '@common/images/info-show.png';
  12. import infoMove from '@common/images/info-move.png';
  13. import ScaleTable from '@containers/ScaleTable';
  14. import {deepClone} from '@utils/tools';
  15. import className from 'classnames';
  16. import $ from 'jquery';
  17. import config from '@config/index';
  18. /***
  19. 慢病右侧推送模块规则:
  20. 慢病--显示慢病名称以及管理和评估
  21. 普通病--不显示管理和评估和量表按钮
  22. 明细--量表-计算公式-核心指标
  23. controlType:0-radio 1-checkbox 2-text 3-dropdownlist
  24. **/
  25. class ChronicInfo extends React.Component{
  26. constructor(props){
  27. super(props);
  28. this.state = {
  29. show:true,
  30. showInfo:false,
  31. showOption:false,
  32. showAssess:false, //评估弹窗
  33. infoId:null, //静态知识
  34. formulaId:null, //计算公式
  35. optionId:null, //可能结果,
  36. isAssessConfirm:false, //是否点击评估弹窗确定按钮
  37. radioVal:{}, //可能结果选择内容
  38. possible:{}, //可能结果
  39. formulaParam: {}, //量表计算公式计算入参
  40. isCalculated:false, //是否刚计算过,关闭时值与结果对应
  41. calcuValues:deepClone(props.calcuValues), //计算公式填的值
  42. hasEnterImg: false, //是否移入info
  43. currentIndex: -1, //当前index
  44. comfirnFlag:false,
  45. flag:true,
  46. ff:false,
  47. timer:null,
  48. scaleParam:{}, //加入病例需要的参数
  49. };
  50. this.$result = React.createRef();
  51. this.$content = React.createRef();
  52. this.showInfo = this.showInfo.bind(this);
  53. this.closeInfo = this.closeInfo.bind(this);
  54. this.showOption = this.showOption.bind(this);
  55. this.closeOption = this.closeOption.bind(this);
  56. this.showTable = this.showTable.bind(this);//显示量表弹窗
  57. this.closeTable = this.closeTable.bind(this);//关闭量表弹窗
  58. this.showFormula = this.showFormula.bind(this); //打开计算公式
  59. this.handleAddAssessItem = this.handleAddAssessItem.bind(this); //加入病例记录
  60. this.onPrint = this.onPrint.bind(this);
  61. this.handleForRadio = this.handleForRadio.bind(this);
  62. this.handleSaveCalcu = this.handleSaveCalcu.bind(this); //保存评估修改的计算和可能结果
  63. this.slideToggle = this.slideToggle.bind(this);
  64. this.resetComfirnFlag = this.resetComfirnFlag.bind(this);
  65. this.slideToggle = this.slideToggle.bind(this);
  66. this.comfirnTable = this.comfirnTable.bind(this);
  67. this.unscroeClose = this.unscroeClose.bind(this);
  68. }
  69. onPrint() {
  70. const {showHide} = this.props;
  71. let dom = showHide&&showHide.showTable?$("#printcontent"):$("#AssistResult");
  72. dom.jqprint({
  73. debug: false,
  74. importCSS: true,
  75. printContainer: true,
  76. operaSupport: false,
  77. });
  78. }
  79. showInfo(item){
  80. // 静态知识显示在提示信息里(4-18)
  81. const {getInfomation} = this.props;
  82. const param = {
  83. id:item.id,
  84. name: item.name,
  85. // id:40738, //目前只有“肾功能不全”有数据
  86. type:22,
  87. position: 1
  88. }
  89. getInfomation&&getInfomation(param);
  90. }
  91. closeInfo(){//关闭静态知识
  92. this.setState({
  93. infoId:null
  94. })
  95. }
  96. showOption(id){
  97. this.setState({
  98. optionId:id,
  99. formulaId:null //关闭计算公式
  100. });
  101. const {patDom} = this.props;
  102. const ht = $(patDom.current).height();
  103. setTimeout(function(){
  104. $(patDom.current).scrollTop(ht+200);
  105. })
  106. }
  107. closeOption(){
  108. // 关闭-有可能结果则保持与结果一致,没有就保持最新选择的内容
  109. let {possible,radioVal} = this.state;
  110. if(JSON.stringify(possible)=='{}'){
  111. this.setState({
  112. optionId:null
  113. })
  114. }else{
  115. this.setState({
  116. radioVal:Object.assign({},radioVal,possible),
  117. optionId:null,
  118. });
  119. }
  120. }
  121. showTable(it,v,i,j){
  122. const {scaleInfo} = this.props;
  123. // 密西根糖尿病周围神经病评分(MDNS), id:40744
  124. const item = {
  125. conceptId:it.conceptId,
  126. name:it.name
  127. };
  128. // 判断:store里已经有该量表就无需重新调接口
  129. if(scaleInfo&&scaleInfo[it.conceptId]){
  130. this.props.hideList({name:'showTable',value:true},it);
  131. }else{
  132. this.props.getScaleInfo(item);
  133. }
  134. this.setState({
  135. formulaId:null, //关闭计算公式和可能结果弹窗
  136. optionId:null,
  137. scaleParam:{
  138. v,i,j
  139. }
  140. })
  141. }
  142. // 量表明细-关闭,isClose是否是点击关闭按钮
  143. closeTable(isClose){
  144. const {scaleParam} = this.state;
  145. const {showHide,chronicMagItem} = this.props;
  146. if(!showHide.isPop){
  147. //量表结果,判断需要计算并且dom中有值才能加入病例记录
  148. // innerHTML 兼容FF26
  149. const res = this.$result.current&&(this.$result.current.innerText||this.$result.current.innerHTML);
  150. if(!isClose&&(this.$result.current&&!res)){
  151. Notify.info("请先计算量表结果!");
  152. return ;
  153. }
  154. !isClose&&chronicMagItem&&this.handleAddAssessItem(scaleParam.v,scaleParam.i,scaleParam.j); //是慢病流程才能加入病例
  155. this.setState({
  156. scaleParam:{}
  157. });
  158. }
  159. this.props.hideList({name:'showTable',value:false});
  160. }
  161. // 非计分量表确定-延时关闭->量表存值
  162. unscroeClose(){
  163. let {timer} = this.state;
  164. this.setState({
  165. ff:true
  166. })
  167. clearTimeout(timer)
  168. let _timer = setTimeout(()=>{
  169. this.closeTable();
  170. },200)
  171. this.setState({
  172. timer:_timer
  173. })
  174. }
  175. // 量表明细-确定
  176. comfirnTable(){
  177. const {flag} = this.state;
  178. this.setState({
  179. comfirnFlag:true,
  180. flag:!flag //触发更新
  181. })
  182. }
  183. resetComfirnFlag(){
  184. this.setState({
  185. comfirnFlag:false,
  186. ff:false
  187. })
  188. }
  189. showFormula(id){//计算公式
  190. this.setState({
  191. formulaId:id,
  192. optionId:null //关闭可能结果
  193. });
  194. const {patDom} = this.props;
  195. const ht = $(patDom.current).height();
  196. setTimeout(function(){
  197. $(patDom.current).scrollTop(ht+200);
  198. })
  199. }
  200. closeFormula(it){
  201. const {formulaId,isCalculated} =this.state;
  202. if(!isCalculated){
  203. //没有计算结果时,保存输入的值
  204. const {calcuResult,calcuValues} = this.props;
  205. const cres = calcuResult&&calcuResult[formulaId]||it.content.result;
  206. const result = cres&&cres[1]&&cres[1].text;
  207. if(result){
  208. this.setState({
  209. calcuValues:deepClone(calcuValues)
  210. });
  211. }
  212. }
  213. this.setState({
  214. formulaId:null,
  215. });
  216. }
  217. handleAddAssessItem(v,pIndex,i){
  218. const {addAssessItem,showHide,addScaleItems,scaleInfo} = this.props;
  219. if(!v){
  220. addScaleItems(scaleInfo[showHide.conceptId],showHide.conceptId);
  221. return ;
  222. }
  223. addAssessItem(v,pIndex,i);
  224. }
  225. addFormula(it,v,pIndex,i){
  226. const {chronicMagItem} = this.props;
  227. this.closeFormula(it);
  228. chronicMagItem&&this.handleAddAssessItem(v,pIndex,i);
  229. }
  230. handleInputformula(id,calcuContent,i,e) {
  231. const {calcuValues} = this.state;
  232. let obj = deepClone(calcuValues);
  233. let values = (obj&&obj[id])||deepClone(calcuContent);
  234. const txt = e.target.value;
  235. values[i].value = txt.replace(/[\u4e00-\u9fa5]|[^\d.]/g,''); //处理中文输入法的情况
  236. obj[id] = values;
  237. if(/[\u4e00-\u9fa5]|[^\d.]/g.test(txt)){
  238. e.target.value = txt.replace(/[\u4e00-\u9fa5]|[^\d.]/g,'');
  239. }
  240. this.setState({
  241. isCalculated:false,
  242. calcuValues:obj
  243. });
  244. }
  245. handleForRadio(id,calcuContent,i,fidx){//计算公式
  246. const { calcuValues } = this.state;
  247. let obj = deepClone(calcuValues);
  248. let values = (obj&&obj[id])||deepClone(calcuContent);
  249. let details = values[i].details;
  250. for(let x=0;x<details.length;x++){
  251. if(x!=fidx){
  252. details[x].state=0;
  253. }else{
  254. details[x].state=1;
  255. }
  256. }
  257. obj[id] = values;
  258. this.setState({
  259. isCalculated:false,
  260. calcuValues:obj
  261. });
  262. }
  263. handleRadio(item,parent){//可能结果
  264. let {radioVal} = this.props;
  265. this.setState({
  266. radioVal:Object.assign({},radioVal,{[parent.conceptId]:item.detailName})
  267. })
  268. }
  269. confirmOption(parent,pIndex,i){//可能结果确定
  270. const {radioVal,possible} = this.state;
  271. const {savePossibleResult,chronicMagItem} = this.props;
  272. if(Object.keys(radioVal).length===0){ //初始状态,可能有推荐选项
  273. const defaulted = parent.details[i].content.details.filter((it)=>+it.state===1);
  274. if(defaulted.length>0){
  275. radioVal[parent.conceptId] = defaulted[0].detailName;
  276. }
  277. }
  278. this.setState({
  279. possible:Object.assign({},possible,radioVal),
  280. radioVal:Object.assign({},possible,radioVal),//不设置radioVal只有最近一次选中的值
  281. optionId:null,
  282. });
  283. savePossibleResult&&savePossibleResult({possible:Object.assign({},possible,radioVal),radioVal:Object.assign({},possible,radioVal)})
  284. chronicMagItem&&this.handleAddAssessItem(parent,pIndex,i);
  285. }
  286. handleSaveCalcu(obj){
  287. this.setState({
  288. possible:Object.assign({},obj.possible),
  289. radioVal:Object.assign({},obj.radioVal),//不设置radioVal只有最近一次选中的值
  290. })
  291. }
  292. calcuFormula(id,it) { //计算公式计算
  293. const { calcuFormula } = this.props;
  294. let item = deepClone(it);
  295. const values = this.state.calcuValues;
  296. const calcuValues = Object.keys(values).length&&values[id]?values[id]:item.content.details;
  297. let allHasInfo = true;
  298. for (let i = 0; i < calcuValues.length; i++) {
  299. if(calcuValues[i].controlType == 2) { //输入框类型的有没有填值
  300. if(!calcuValues[i].value) {
  301. allHasInfo = false;
  302. }
  303. } else if(calcuValues[i].controlType == 0) {
  304. let hasSelect = false;
  305. for( let z = 0; z <calcuValues[i].details.length; z++) {
  306. if(calcuValues[i].details[z].state == 1) {
  307. hasSelect= true;
  308. }
  309. }
  310. if(!hasSelect) {
  311. allHasInfo = false;
  312. }
  313. }
  314. }
  315. item.content.details = calcuValues;
  316. if(allHasInfo) { //所有都有值,则计算
  317. let param = {
  318. type: 2,
  319. data: item,
  320. disId: id
  321. };
  322. calcuFormula(param);
  323. this.setState({
  324. isCalculated:true
  325. });
  326. } else { //不是所有值都填过了
  327. Notify.info('请填写计算公式内容')
  328. }
  329. }
  330. handleMouseEnterDrug(index) {
  331. this.setState({
  332. currentIndex: index,
  333. })
  334. }
  335. handleMouseLeaveDrug() {
  336. this.setState({
  337. currentIndex: -1,
  338. })
  339. }
  340. handleMouseEnterImg() {
  341. this.setState({
  342. hasEnterImg: true
  343. })
  344. }
  345. handleMouseLeaveImg() {
  346. this.setState({
  347. hasEnterImg: false
  348. })
  349. }
  350. getCritical(v) {
  351. let hasCritical = false;
  352. if(v.details) {
  353. for (let i = 0; i < v.details.length; i++) {
  354. if(v.details[i].type == 4) {
  355. hasCritical = true
  356. }
  357. }
  358. }
  359. return hasCritical
  360. }
  361. getDetail(){
  362. const {data,formulaResult,calcuResult,chronicMagItem} = this.props;
  363. const {formulaId,optionId,possible,radioVal,calcuValues,currentIndex,hasEnterImg} = this.state;
  364. /*let names = [];*/
  365. let list = data&&data.map((v,i)=>{
  366. /*if(this.getCritical(v)&&names.includes(v.name)){ //重复项
  367. return '';
  368. }
  369. names.push(v.name);*/
  370. return <div className={style["list"]}>
  371. {v.name?<p>
  372. {this.getCritical(v) ? '':<span>患者可能有</span>}
  373. <span
  374. className={this.getCritical(v)?style['dis-name-no-line']: style['dis-name']}
  375. onMouseEnter={this.handleMouseEnterDrug.bind(this, i)}
  376. onMouseLeave = {this.handleMouseLeaveDrug.bind(this)}
  377. >
  378. {v.name}
  379. {this.getCritical(v)?'':<img className={style['info-img']}
  380. title='点击i图标可查看详细说明'
  381. style ={currentIndex === i ? {display: "inline-block"} : {display: "none"}}
  382. src={currentIndex === i ?(hasEnterImg ? infoMove : infoShow ): infoShow}
  383. onMouseEnter={this.handleMouseEnterImg.bind(this)}
  384. onMouseLeave = {this.handleMouseLeaveImg.bind(this)}
  385. onClick={this.showInfo.bind(this,v)}/>}
  386. </span>
  387. {/* <img src={infoShow} className={style["infoPic"]} onClick={this.showInfo.bind(this,v.id)}/> */}
  388. {this.getCritical(v)?'':':'}
  389. </p>:''}
  390. {v.details&&v.details.map((it,j)=>{
  391. if(it.type==1){
  392. return <p>
  393. <span className={style["listName"]}>
  394. <i onClick={this.showTable.bind(this,it.content,v,i,j)}>{'【'+it.content.name+'】'}</i>
  395. {formulaResult&&formulaResult[it.content.conceptId]?<i>{'结果:'}{formulaResult[it.content.conceptId].calcalculate&&formulaResult[it.content.conceptId].calcalculate.result.value +' '+ formulaResult[it.content.conceptId].calcalculate.result.text}</i>:''}
  396. </span>
  397. </p>
  398. }else if(it.type==2){
  399. const cres = calcuResult&&calcuResult[v.conceptId]||it.content.result;
  400. const result = cres&&cres[1]&&cres[1].text;
  401. const details = calcuValues&&calcuValues[v.conceptId]||it.content.details;
  402. return <div className={style["marTop"]}>
  403. <span className={style["limit"]}>
  404. 计算公式结果:
  405. <i className={style["blue"]} onClick={this.showFormula.bind(this,v.conceptId)}>{result?result:'请选择'}</i>
  406. <img src={level1} />
  407. </span>
  408. {formulaId&&formulaId==v.conceptId&&<MiniToast title={it.content.name}
  409. icon={allTableIcon}
  410. confirmText={chronicMagItem?'加入病历记录':'确定'}
  411. show={formulaId&&formulaId==v.conceptId?true:false}
  412. close={this.closeFormula.bind(this,it)}
  413. confirm={this.addFormula.bind(this,it,v,i,j)}
  414. footer={result?true:false}>
  415. <table>
  416. {details.map((item,idd)=>{
  417. if(item.controlType==0){//单选
  418. return <tr>
  419. <td>
  420. <span>{item.isShow == '0' ? item.name+':' : '请选择'+item.name+':'}</span>
  421. </td>
  422. <td>
  423. {Array.isArray(item.details)&&item.isShow == '0'&&item.details.map((ii,ind)=>{
  424. return ii.state == 1 && <div className={style["chooseItem"]}>
  425. {ii.detailName}
  426. </div>
  427. })}
  428. {Array.isArray(item.details)&&item.isShow != '0'&&item.details.map((ii,ind)=>{
  429. return <div className={style["chooseItem"]}>
  430. <Radio label={ii.detailName}
  431. isSelect={ii.state == 1}
  432. handleClick={this.handleForRadio.bind(this,v.conceptId,details,idd,ind)}>
  433. </Radio>
  434. </div>
  435. })}
  436. </td>
  437. </tr>
  438. }else if(item.controlType==2){//输入框
  439. return <tr>
  440. <td>
  441. <span>{item.isShow == '0' ? item.name+':':'请输入'+item.name+':'}</span>
  442. </td>
  443. <td>
  444. {item.isShow == '0' ? item.value + ' ' +item.uint : <input type="text" className={style['itemInp']} placeholder="请输入" value={item.value} onInput={this.handleInputformula.bind(this,v.conceptId,details,idd)}/>}
  445. </td>
  446. <td>
  447. {item.isShow != '0'&&<span>{item.uint}</span>}
  448. </td>
  449. </tr>
  450. }
  451. })}
  452. </table>
  453. <div className={style["forMulBtn"]} onClick={this.calcuFormula.bind(this,v.conceptId,it)}>计算</div>
  454. <table>
  455. {cres && Array.isArray(cres) &&cres.map((itemResult, resultIndex) => {
  456. return <tr>
  457. <td>
  458. <span>{itemResult.name+':'}</span>
  459. </td>
  460. <td>
  461. <span>{itemResult.text}</span>
  462. </td>
  463. </tr>
  464. })}
  465. </table>
  466. </MiniToast>}
  467. </div>
  468. }else if(it.type==3){
  469. return <div className={style["marTop"]}>
  470. <span className={style["limit"]}>
  471. 可能结果:
  472. <i onClick={this.showOption.bind(this,v.conceptId)} className={style["blue"]}>{possible[v.conceptId]?possible[v.conceptId]:'请选择'}</i>
  473. <img src={level1} />
  474. </span>
  475. <MiniToast title='结果选择'
  476. icon={checkIcon}
  477. confirmText={chronicMagItem?'加入病历记录':'确定'}
  478. show={optionId&&optionId==v.conceptId?true:false}
  479. close={this.closeOption}
  480. confirm={this.confirmOption.bind(this,v,i,j)}
  481. footer={true}>
  482. <div className={style["infoOption"]}>
  483. <span>{it.content.name?it.content.name+':':''}</span>
  484. {it.content.details&&it.content.details.map((lis,ind)=>{
  485. return <div className={style["chooseItem"]}>
  486. <Radio label={lis.detailName}
  487. isSelect={radioVal[v.conceptId]==lis.detailName||(Object.keys(radioVal).length===0&&lis.state==1)}
  488. handleClick={this.handleRadio.bind(this,lis,v)}>
  489. </Radio>
  490. {/*{lis.state==1?<span className={style['recomand']}>(智能推荐)</span>:''}*/}
  491. </div>
  492. })}
  493. </div>
  494. </MiniToast>
  495. </div>
  496. }
  497. })}
  498. </div>
  499. });
  500. return list;
  501. }
  502. componentWillReceiveProps(next){
  503. //计算公式可能结果弹窗关闭1916
  504. if(!next.data||next.data.length==0){
  505. this.setState({
  506. formulaId:null,
  507. optionId:null
  508. });
  509. }
  510. if(JSON.stringify(next.calcuValues)!=JSON.stringify(this.props.calcuValues)){
  511. this.setState({
  512. calcuValues:next.calcuValues
  513. })
  514. }
  515. if (JSON.stringify(next.wholeResults.possible) != JSON.stringify(this.props.possible)) {
  516. this.setState({
  517. radioVal: next.wholeResults.radioVal,
  518. possible: next.wholeResults.possible
  519. })
  520. }
  521. if(next.slideUp!=this.props.slideUp){
  522. if(next.slideUp){
  523. $(this.$content.current).slideUp(config.slideTime);
  524. }else{
  525. $(this.$content.current).slideDown(config.slideTime);
  526. }
  527. }
  528. }
  529. slideToggle(){
  530. const {toggleSlide,slideUp} = this.props;
  531. toggleSlide&&toggleSlide(!slideUp);
  532. }
  533. render(){
  534. const {comfirnFlag,flag,ff} = this.state;
  535. const {chronicMagItem,chronicDesease,data,showHide,slideUp} = this.props;
  536. const scaleFooter = <Footer print={true}
  537. footText={showHide.isPop||!chronicMagItem?"确定":"加入病历记录"}
  538. handlePrint={this.onPrint}
  539. handleConfirm={this.comfirnTable}/>;
  540. if(data&&data.length>0){
  541. return <div className={style["tips"]} style={{marginBottom:'15px'}}>
  542. <div className={className(style["tips-title"],style["chronic"],"clearfix")} onClick={this.slideToggle}>
  543. <div className={style["tips-name"]}>
  544. <img src={chronicPic} />
  545. <h2>{chronicMagItem&&chronicMagItem.name||chronicDesease&&chronicDesease.name||'病情提示'}<span className={style["redTips"]}>(根据病人病历情况进行的动态提示和评估)</span></h2>
  546. </div>
  547. <div className={style['toggle-btn']}>
  548. <img src={slideUp?down:up} alt="展开/收起"/>
  549. </div>
  550. </div>
  551. <div className={style["content"]} ref={this.$content}>
  552. {this.getDetail()}
  553. </div>
  554. {showHide&&showHide.showTable?<ComplexModal onclose={()=>this.closeTable(true)} footer={scaleFooter}
  555. title={showHide.name}
  556. icon={tableIcon}
  557. top={20}
  558. bottom={20}
  559. width={820}>
  560. <ScaleTable title={showHide.name}
  561. tableId={showHide.conceptId}
  562. comfirnFlag={comfirnFlag}
  563. flag={flag}
  564. flagT={ff}
  565. resetFlag={this.resetComfirnFlag}
  566. unscroeClose={this.unscroeClose}
  567. closeTable={this.closeTable}
  568. resRef={this.$result}
  569. ></ScaleTable>
  570. </ComplexModal>:''}
  571. </div>
  572. }
  573. //量表弹窗-无指标推送时量表弹窗要单独加载
  574. if(showHide&&showHide.showTable){
  575. return <ComplexModal onclose={()=>this.closeTable(true)} footer={scaleFooter}
  576. title={showHide.name}
  577. icon={tableIcon}
  578. top={20}
  579. bottom={20}
  580. width={820}>
  581. <ScaleTable title={showHide.name}
  582. tableId={showHide.conceptId}
  583. comfirnFlag={comfirnFlag}
  584. flag={flag}
  585. flagT={ff}
  586. resetFlag={this.resetComfirnFlag}
  587. unscroeClose={this.unscroeClose}
  588. closeTable={this.closeTable}
  589. resRef={this.$result}
  590. ></ScaleTable>
  591. </ComplexModal>;
  592. }
  593. }
  594. }
  595. export default ChronicInfo;