ソースを参照

第三种模式

zhouna 5 年 前
コミット
cdc23d29e8

+ 3 - 1
src/common/components/index.js

@@ -25,6 +25,7 @@ import TailInlineTag from "./TailInlineTag";
 import Footer from "./Footer";
 import WrapModalContainer from "./WrapModalContainer";
 import SearchBox from "./SearchBox";
+import BlockInp from "./BlockInp"
 
 module.exports = {
     Banner,
@@ -54,5 +55,6 @@ module.exports = {
     TailInlineTag,
     Footer,
     WrapModalContainer,
-    SearchBox
+    SearchBox,
+    BlockInp
 };

+ 14 - 6
src/components/Banner/ModeChange/index.jsx

@@ -16,7 +16,7 @@ class ModeChange extends Component {
     }
     getStyle(flag){
         const {hideBtn,config0} = this.props;
-        if(flag===1&&config0===1){
+        if(flag===1&&config0!==0){
           return style['fade'];
         }
         return hideBtn?'':style['fade'];
@@ -24,7 +24,7 @@ class ModeChange extends Component {
     render(){
         const {closeConfigModal, changeType, confirmType, config0,config1,config2,config3,config4,hideBtn} = this.props;
         const domNode = document.getElementById('root');
-        const isOpen = +config0!==1;
+        const isOpen = config0===0;
         const general = +config1!==1;
         const ohis = +config2!==1;
         const fontsize = +config3!==1;
@@ -37,10 +37,18 @@ class ModeChange extends Component {
                 <div className="scroller">
                   <div className={style["oper"]}>
                     <p className={this.getStyle()}>
-                      <span>开启模板智能推送:</span>
-                      <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config0',isOpen?1:0):null}>
-                        <img src={isOpen?sopen:sclose} alt=""/>
-                        {isOpen?'开':'关'}
+                      <span>选择模式:</span>
+                      <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config0',0):null}>
+                        <img src={config0===0?radio_on:radio_off} alt=""/>
+                        智能模板推送
+                      </a>
+                      <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config0',1):null}>
+                        <img src={config0===1?radio_on:radio_off} alt=""/>
+                        非智能模板推送
+                      </a>
+                      <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config0',2):null}>
+                        <img src={config0===2?radio_on:radio_off} alt=""/>
+                        自由文本输入
                       </a>
                     </p>
                     <p className={this.getStyle(1)}>

+ 2 - 2
src/components/Banner/index.jsx

@@ -43,9 +43,9 @@ class Banner extends Component {
   }
 
   changeType(type,typeConfig){
-    if(type==='config0'&&typeConfig===1){     //智能模式关闭,一般情况和其他史默认值也关闭
+    if(type==='config0'&&typeConfig!==0){     //智能模式关闭,一般情况和其他史默认值也关闭
       this.setState({
-        config0: 1,
+        config0: typeConfig,
         config1: 0,
         config2: 0,
       });

+ 3 - 2
src/components/BodyContainer/index.jsx

@@ -1,12 +1,13 @@
 import EMRContainer from "@components/EMRContainer";
+import BlockEMRCont from "@components/BlockEMRCont";
 import PushContainer from '@components/PushContainer';
 
 import style from './index.less';
 
 const BodyContainer = (props) =>{
-  const { saveDateAll } = props;
+  const { saveDateAll,mode } = props;
   return <div className={style['container'] + ' clearfix'}>
-      <EMRContainer saveDateAll={saveDateAll}></EMRContainer>
+      {+mode!==2?<EMRContainer saveDateAll={saveDateAll}></EMRContainer>:<BlockEMRCont></BlockEMRCont>}
       <PushContainer></PushContainer>
   </div>;
 }

+ 1 - 1
src/components/Diagnosis/index.jsx

@@ -53,7 +53,7 @@ class Diagnosis extends Component {
   render() {
     return (<div id="diagnosisResult">
       <ItemBox id="diagnosis" title='诊断' boxHeight='auto' hideAllDrop={this.props.hideAllDrop} titleTop='22px' marginTop='9px' backgroundColor='#EAF7FD'>
-        <DiagnosticList refreshScroller={this.refreshScroller}></DiagnosticList>
+        <DiagnosticList refreshScroller={this.refreshScroller} hideChronic={this.props.hideChronic}></DiagnosticList>
         <div style={{ marginLeft: '10px', position: 'relative',color:'#000' }}>
           <Add showText="添加诊断结果" handleClick={this.handleshowSearch} id="addDiag" height="50px" />
           <DiagResultSearch

+ 2 - 2
src/components/DiagnosticList/index.jsx

@@ -278,7 +278,7 @@ class DiagnosticList extends Component {
       })
     }
     render(){
-        const { list, treatment, showReferRecord, showHistoryCase ,chronicMagItem,loading,refreshScroller,windowWidth} = this.props;
+        const { list, treatment, showReferRecord, showHistoryCase ,chronicMagItem,loading,refreshScroller,windowWidth,hideChronic} = this.props;
         const {visible, treatTitle, showAssess, isAssessConfirm, assessId, disName, hasOndel, hasOnIndex,hasEnterItem,hasEnterImg} = this.state;
         const chronicList = JSON.parse(localStorage.getItem('chronic')||null);
         let isChronic = false;      //是否要显示管理评估
@@ -291,7 +291,7 @@ class DiagnosticList extends Component {
                     {list && (list.length > 0) && list.map((item, index) => {
                         const hasTreat = item.treat && ((item.treat.commonTreatment&&item.treat.commonTreatment.content) || (item.treat.surgeryTreatment&&item.treat.surgeryTreatment.content) || item.treat.treatment.length>0 ||(item.adverseReactions&&item.adverseReactions.length > 0)
                            || (item.drugHistory && item.drugHistory['慢病用药内容'] &&  item.drugHistory['慢病用药内容'].length > 0) || (item.drugHistory &&item.drugHistory['普通病用药内容'] &&  item.drugHistory['普通病用药内容'].length > 0) ||item.follow)
-                        isChronic = chronicMagItem&&item.type==2&&chronicList&&chronicList.findIndex((it)=>it.conceptId==item.conceptId)!=-1;
+                        isChronic = !hideChronic&&chronicMagItem&&item.type==2&&chronicList&&chronicList.findIndex((it)=>it.conceptId==item.conceptId)!=-1;
                         return (<div draggable={true} className={`${style['diag-box']} ${setFontColorSize(2,3)} clearfix`} id="diagListBox" key={item.conceptId} >
                                     {index === 0 ? '' : <span className={style['diag-up']} onClick={() => {this.upDiagnostic(index)}}><img className={style["diag-up"]} src={diagUp}/></span>}
                                     {list.length === 1 ? '' : index !== 0 ? '' : <span onClick={() => {this.downDiagnostic(index)}} className={style['diag-down']}><img className={style["diag-down"]} src={diagDown}/></span>}

+ 4 - 4
src/components/InfoTitle/index.jsx

@@ -50,18 +50,18 @@ class InfoTitle extends Component {
         }
     }
     render() {
-        const {loading,loadingText,loadingType} = this.props;
+        const {loading,loadingText,loadingType,hideHistory} = this.props;
         const {le} = this.state;
-        return <div className={style['title-wrapper']}  style={{left:le}}>
+        return <div className={style['title-wrapper']}  style={{left:le,paddingRight:hideHistory?'0':'122px'}}>
             <PatInfoContainer />
-            <div className={style['activeWrap']}>
+          {hideHistory?"":<div className={style['activeWrap']}>
                 <div className={style["operations"]} onClick={this.showHistoryBox}>
                     <span><img src={historyCase} />&nbsp;历史病历</span>
                 </div>
                 <div className={style["health"]} >
                     <span><img src={health} />&nbsp;健康档案</span>
                 </div>
-            </div>
+            </div>}
             <HistoryCases></HistoryCases>
             <Loading show={loading} text={loadingText} type={loadingType}/>
         </div>;

+ 1 - 1
src/components/InfoTitle/index.less

@@ -11,7 +11,7 @@
   top: 50px;
   right: 468px;
   min-width: 548px;
-  padding-right: 122px;
+  /*padding-right: 122px;*/
   .activeWrap {
     position: absolute;
     right: 0;

+ 4 - 3
src/components/Operation/index.jsx

@@ -435,13 +435,14 @@ class Operation extends Component {
   render() {
     const { showPrint, closePrint, showPreview, closePreview,handleChangeIpt,newFolder,folderManage } = this;
     const { visible, preVisible,diagShow } = this.props.print;
-    const {winWidth,cancelDelTag,departLis,handleChangeValue,admin,floderListAdmin,folderModalShow,floderModal,folderOrderShow,folderOrder,adminItems,patInfo,saveOrderFolder} = this.props;
+    const {winWidth,cancelDelTag,departLis,handleChangeValue,admin,floderListAdmin,folderModalShow,
+      floderModal,folderOrderShow,folderOrder,adminItems,patInfo,saveOrderFolder,hideLabel} = this.props;
     const {zIndex,type,le,value,folder,folderListShow} = this.state;
     return <div className={style['container']} style={{left:le}}>
       <span className={style['button']} onClick={showPrint}><img src={printImg} /> 打印病历</span>
       <span className={style['preButton']} onClick={showPreview}><img src={preview} /> 预览</span>
-      <span className={style['preButton']} onClick={() => { this.saveHis(3) }}><img src={saveHistory} /> 保存病历模板</span>
-      <span className={style['preButton']} onClick={cancelDelTag}><img src={cancelTag} /> 还原标签</span>
+      {hideLabel?"":<span className={style['preButton']} onClick={() => { this.saveHis(3) }}><img src={saveHistory} /> 保存病历模板</span>}
+      {hideLabel?"":<span className={style['preButton']} onClick={cancelDelTag}><img src={cancelTag} /> 还原标签</span>}
       <span className={winWidth<=1082?`${style['saveButton']} ${style['minstyle']}`: style['saveButton']} onClick={() => { this.saveAll(1) }}>保存</span>
       <span className={winWidth<=1082?`${style['clearButton']} ${style['saveButton']} ${style['minstyle']}`:`${style['clearButton']} ${style['saveButton']}`} onClick={() => { this.clearAll(2) }}>清除</span>
       {visible?<PrintPreviewContainer visible={visible} onClose={closePrint} />:null}

+ 38 - 37
src/components/PushContainer/index.jsx

@@ -584,9 +584,10 @@ class PushContainer extends Component {
     store.dispatch(getDptLis([]))
   }
   render() {
-    const { activeId, checkItems,selectTemp,folderListContentArr, visible, showMsg,hasMore,current,floderListAdmin, items, allCheckShow,allCheckShowAdmin,adminItems,admin,checkItemsAdmin,clearSearch, templateNormsSearchList, departLis} = this.props;
+    const { activeId, checkItems,selectTemp,folderListContentArr, visible, showMsg,hasMore,current,floderListAdmin, items,
+      allCheckShow,allCheckShowAdmin,adminItems,admin,checkItemsAdmin,clearSearch, templateNormsSearchList, departLis,mode} = this.props;
     const { type,okBorderColor,okColor,oKBg,okText,message,folderListShow,value,reset } = this.state
-    const { handleChangeValue, handleChangeIpt} = this
+    const { handleChangeValue, handleChangeIpt} = this;
     return <div className={style["container"]} ref={this.$cont} >
       <Tab tabs={this.state.tabs}
         activeId={activeId}
@@ -596,39 +597,40 @@ class PushContainer extends Component {
           {/*<PushItemsContainer></PushItemsContainer>*/}
           <PushEmbed></PushEmbed>
           <CaseQuailty></CaseQuailty>
-          <TemplateItems
-            items={items}
-            clearSearch={clearSearch}
-            adminItems={adminItems}
-            admin={admin}
-            handleAllCheckboxAdmin={this.handleAllCheckboxAdmin}
-            handleMangerTemplateAdmin={this.handleMangerTemplateAdmin}
-            current={current}
-            hasMore={hasMore}
-            checkItems={checkItems}
-            checkItemsAdmin={checkItemsAdmin}
-            allCheckShow={allCheckShow}
-            allCheckShowAdmin={allCheckShowAdmin}
-            handleContentClick={this.handleContentClick}
-            handleTemplateDel={this.handleTemplateDel}
-            handleTitleChange={this.handleTitleChange}
-            handleDelList={this.handleDelList}
-            handleMangerTemplate={this.handleMangerTemplate}
-            handleAllCheckbox={this.handleAllCheckbox}
-            handleClickGetMore={this.handleClickGetMore}
-            templateSearch={this.templateSearch}
-            whichTemp={this.whichTemp}
-            selectTemp={selectTemp}
-            floderSlide={this.floderSlideToggle}
-            floderAction={this.floderActionDo}
-            floderDelete={this.floderDelete}
-            floderRename={this.floderRename}
-            folderListContentArr={folderListContentArr}
-            templateNormsSearchList={templateNormsSearchList}
-            clearTemplateSearch={this.clearTemplateSearch}
-            reset = {reset}
-            clearReset = {this.clearReset}
-          ></TemplateItems>
+            <TemplateItems
+              mode={mode}
+              items={items}
+              clearSearch={clearSearch}
+              adminItems={adminItems}
+              admin={admin}
+              handleAllCheckboxAdmin={this.handleAllCheckboxAdmin}
+              handleMangerTemplateAdmin={this.handleMangerTemplateAdmin}
+              current={current}
+              hasMore={hasMore}
+              checkItems={checkItems}
+              checkItemsAdmin={checkItemsAdmin}
+              allCheckShow={allCheckShow}
+              allCheckShowAdmin={allCheckShowAdmin}
+              handleContentClick={this.handleContentClick}
+              handleTemplateDel={this.handleTemplateDel}
+              handleTitleChange={this.handleTitleChange}
+              handleDelList={this.handleDelList}
+              handleMangerTemplate={this.handleMangerTemplate}
+              handleAllCheckbox={this.handleAllCheckbox}
+              handleClickGetMore={this.handleClickGetMore}
+              templateSearch={this.templateSearch}
+              whichTemp={this.whichTemp}
+              selectTemp={selectTemp}
+              floderSlide={this.floderSlideToggle}
+              floderAction={this.floderActionDo}
+              floderDelete={this.floderDelete}
+              floderRename={this.floderRename}
+              folderListContentArr={folderListContentArr}
+              templateNormsSearchList={templateNormsSearchList}
+              clearTemplateSearch={this.clearTemplateSearch}
+              reset = {reset}
+              clearReset = {this.clearReset}
+            ></TemplateItems>
           <MedicalInfoContainer></MedicalInfoContainer>
         </TemplateContainer>
       </Tab>
@@ -714,7 +716,6 @@ class PushContainer extends Component {
     </div>
   }
 }
-
 const mapStateToProps = (state) => {//console.log(state)
   return {
     items: state.tabTemplate.items,
@@ -728,7 +729,7 @@ const mapStateToProps = (state) => {//console.log(state)
     visible: state.tabTemplate.visible,
     showMsg: state.tabTemplate.showMsg,
     allCheckShow: state.tabTemplate.allCheckShow,
-
+    mode:state.typeConfig.typeConfig[0],
     allCheckedAdmin: state.tabTemplate.allCheckedAdmin,
     allCheckShowAdmin: state.tabTemplate.allCheckShowAdmin,
     checkItemsAdmin: state.tabTemplate.checkItemsAdmin,

+ 3 - 2
src/components/TemplateItems/TemplateItem/index.jsx

@@ -211,7 +211,8 @@ class TemplateItem extends React.Component {
     }
   }
   render() {
-    const { allCheckShow, id, name,hospitalDeptId,folderId,spell,preview,conceptDeptName, sex,admin,checkItemsAdmin,allCheckShowAdmin,adminflg,folderName,hospitalDeptName } = this.props;
+    const { allCheckShow, id, name,hospitalDeptId,folderId,spell,preview,conceptDeptName, sex,admin,
+      checkItemsAdmin,allCheckShowAdmin,adminflg,folderName,hospitalDeptName,showManager } = this.props;
     let previewJson = JSON.parse(preview);
     let sexStr = sex == 2 ? ' (女' : sex == 1 ? ' (男': ' (通用';
     if(conceptDeptName) {
@@ -241,7 +242,7 @@ class TemplateItem extends React.Component {
             onMouseLeave={() => this.handleDelIconMouseLeave()}
             onClick={(e) => this.handleTemplateDel(e,folderId)}
           />}
-          <span className={style.quote} onClick={(e) => !admin&&adminflg? this.handleContentClick(e, sex,true): this.handleContentClick(e, sex)}>引用</span>
+          {showManager?<span className={style.quote} onClick={(e) => !admin&&adminflg? this.handleContentClick(e, sex,true): this.handleContentClick(e, sex)}>引用</span>:""}
           {!admin&&adminflg?null:<img title={'修改模板标题'}
             className={style.edit}
             src={this.getEditIcon()}

+ 10 - 15
src/components/TemplateItems/index.jsx

@@ -104,7 +104,9 @@ class TemplateItems extends React.Component {
     }
     genItems(items,flg) {
         const Items = [];
-        const {admin,checkItems,allCheckShow,handleContentClick,handleTemplateDel,handleTitleChange,checkItemsAdmin,allCheckShowAdmin} = this.props;
+        const {admin,checkItems,allCheckShow,handleContentClick,handleTemplateDel,handleTitleChange,checkItemsAdmin,
+          allCheckShowAdmin,mode} = this.props;
+        const showManager = mode!==2;
         items.forEach((v,idx) => {
             Items.push(
                 <TemplateItem
@@ -116,7 +118,7 @@ class TemplateItems extends React.Component {
                     handleContentClick={handleContentClick}
                     handleTemplateDel={handleTemplateDel}
                     handleTitleChange={handleTitleChange}
-
+                    showManager={showManager}
                     admin={admin}
                     adminflg={flg}
                     checkItemsAdmin={checkItemsAdmin}
@@ -318,8 +320,10 @@ class TemplateItems extends React.Component {
         // }
     }
     render() {
-        const {selectTemp,whichTemp, checkItemsAdmin,handleAllCheckboxAdmin,handleMangerTemplateAdmin,allCheckShowAdmin,admin,adminItems,allCheckShow, handleMangerTemplate,handleClickGetMore, handleDelList, handleAllCheckbox, items,checkItems,current,hasMore,templateNormsSearchList } = this.props;
-
+        const {selectTemp,whichTemp, checkItemsAdmin,handleAllCheckboxAdmin,handleMangerTemplateAdmin,allCheckShowAdmin,admin,
+          adminItems,allCheckShow, handleMangerTemplate,handleClickGetMore, handleDelList, handleAllCheckbox, items,
+          checkItems,current,hasMore,templateNormsSearchList,mode } = this.props;
+        const showManager = mode!==2;
         const {height,showTipContent,hasSearch} = this.state
         return (
             <div className={style.wrapper} >
@@ -343,7 +347,7 @@ class TemplateItems extends React.Component {
                                 <div className={style.search} onClick={this.templateSearch}>搜索</div>
                             </div>
                             {
-                                adminItems.length > 0&&<span className={`${style['fr-element']} ${style['manger']}`} onClick={handleMangerTemplateAdmin}>管理</span>
+                              showManager&&adminItems.length > 0&&<span className={`${style['fr-element']} ${style['manger']}`} onClick={handleMangerTemplateAdmin}>管理</span>
                             }
                     </div>) : null
                 }
@@ -383,7 +387,7 @@ class TemplateItems extends React.Component {
                                             <span className={style.tip}>个人模板</span>
                                             <i></i>
                                             {
-                                                items.length > 0&&<span className={`${style['fr-element']} ${style['manger']}`} onClick={handleMangerTemplate}>管理</span>
+                                              showManager&&items.length > 0&&<span className={`${style['fr-element']} ${style['manger']}`} onClick={handleMangerTemplate}>管理</span>
                                             }
                                         </div>
                                     }
@@ -420,19 +424,10 @@ class TemplateItems extends React.Component {
                         }
                     </div>
                 }
-                {/* <div className={style.tempLists} ref={this.$cont}>
-                    {
-                        this.genItems().length > 0?this.genItems(): <Empty message={this.state.msg}></Empty>
-                    }
-                    {//注释掉的暂时没有分也功能
-                      hasMore?<p onClick={()=>handleClickGetMore(current)} className={style.loadMore}>点击查看更多</p>:null
-                    } 
-                </div> */}
             </div>
         )
     }
 }
-
 export default TemplateItems;
 
 TemplateItems.propTypes = {

+ 4 - 3
src/modules/HomePage/index.jsx

@@ -81,12 +81,12 @@ class HomePage extends Component {
     }
   }
     render() {
-        const {flag,showPre,noReferRecord,referRecord} = this.props;
+        const {flag,showPre,noReferRecord,referRecord,mode} = this.props;
         return <div className={style['home-page']}
                     onClick={this.hidePops} onmousedown={this.setElem.bind(this)} onkeyup={this.handleKeyUp.bind(this)}>
             <BannerContainer />
             {/* <InfoTitle /> */}
-            <BodyContainer></BodyContainer>
+            <BodyContainer mode={mode}></BodyContainer>
           <ConfirmModal visible={showPre} okText='是' cancelText='否' confirm={referRecord}  cancel={noReferRecord} close={noReferRecord}>
               <div className={style['confirm-info']}>是否引用预问诊信息?</div>
               <p className={style.tip}>(引用数据会清除当前内容)</p>
@@ -101,7 +101,8 @@ class HomePage extends Component {
 const mapStateToProps = function (state) {
   return {
     flag:state.homePage.loadingFlag,
-    showPre:state.homePage.showPre
+    showPre:state.homePage.showPre,
+    mode:state.typeConfig.typeConfig[0]
   }
 };
 const boxMap = {

+ 26 - 5
src/store/async-actions/patInfo.js

@@ -189,10 +189,27 @@ export async function getPatientMessage(dispatch, getState){
   let res2 = await json(api.getPatBaseInfo, params);
   /*console.log(res2);
   console.log(2);*/
-  let data1 = {},data2 = {};
+  let data1 = {},data2 = {},docMode=-1;
   if(res1.data.code=='0'){
     data1 = res1.data.data;
-    data1.doctorId&&getDoctorConfig(data1.doctorId,dispatch);
+    if(data1.doctorId){   //获取医生配置
+      let docConfigs = await json(api.getDoctorConfig,{doctorId:data1.doctorId});
+      //getDoctorConfig();
+      if(docConfigs.data.code=='0'){
+        const configs = parseDoctorCon(docConfigs.data.data);
+        docMode=configs[0];
+        if(!configs||Object.keys(configs).length===0){
+          return ;
+        }
+        dispatch({
+          type:CONFIRM_TYPE,
+          confirmType:configs
+        })
+      }else{
+        Notify.info(docConfigs.data.msg);
+      }
+    }
+    //getDoctorConfig(data1.doctorId,dispatch);
   }else{
     dispatch({type:MODI_LOADING,flag:false});
     dispatch({type:SHOW_LOADING,flag:true,text:res1.data.msg,lType:'warning'});
@@ -200,6 +217,7 @@ export async function getPatientMessage(dispatch, getState){
   }
   if(res2.data.code=='0'){
     data2 = res2.data.data;
+    dispatch({type:MODI_LOADING,flag:false});
   }else{
     dispatch({type:MODI_LOADING,flag:false});
     dispatch({type:SHOW_LOADING,flag:true,text:res2.data.msg,lType:'warning'});
@@ -219,10 +237,13 @@ export async function getPatientMessage(dispatch, getState){
     data:Object.assign(data1,data2)
   });
   localStorage.removeItem('deletedTags');
-  dispatch(getInitModules);     //确保病人信息获取以后再获取模板等数据,否则参数为空
+  if(docMode!==2){
+    dispatch(getInitModules);     //确保病人信息获取以后再获取模板等数据,否则参数为空
+    dispatch(initHistoryDetails());      //历史病历回读
+  }
+  //dispatch(getInitModules);     //确保病人信息获取以后再获取模板等数据,否则参数为空
   dispatch(getCommonList(5));     //获取常用化验标签列表
   dispatch(getCommonList(6));     //获取常用辅检标签列表if(allModules.length == 0){//模板为空才回读
-  dispatch(initHistoryDetails());      //历史病历回读
-  // initHospitalInfo(dispatch, getState) //不需要的
+  //dispatch(initHistoryDetails());      //历史病历回读
 }
 

+ 2 - 0
src/store/async-actions/pushMessage.js

@@ -5,6 +5,8 @@ import { SET_DRUG_INFO, SHOW_DRUG_INFO } from '@store/types/treat';
 import { SET_CLICK_DIAG } from '../types/diagnosticList';
 import {storageLocal,getEMRParams, getMRInfo,getAllDataStringList,isAllClear} from '@utils/tools';
 import {getBigPush} from '@utils/utils';
+import {SET_IMPORT_CHECKBODY_LABEL,PRESET} from "../types/checkBody";
+import dataLis from '@components/EmergencyProcedure/emergency';
 import  Notify from '@commonComp/Notify';
 import {pregetCheckbodyData} from '@store/async-actions/fetchModules';
 import {tabChange} from '@store/actions/tabTemplate';

+ 2 - 2
src/utils/config.js

@@ -1,8 +1,8 @@
 // const host='http://192.168.3.1:5050';//赵
 // const host='http://192.168.3.100:5050';//王峰
 // const host='http://192.168.2.121:5050';//后端接口访问地址
-const host='http://192.168.2.236:5050';//后端接口访问地址
-// const host='http://192.168.2.241:5050';//后端接口访问地址
+// const host='http://192.168.2.236:5050';//后端接口访问地址
+const host='http://192.168.2.241:5050';//后端接口访问地址
 // const host='http://192.168.3.11:5050';//王宇
 //const host='http://192.168.2.164:8080';
 // const host='http://192.168.3.117:5050'; //周铁刚