Kaynağa Gözat

newICSS上传

“wangdsYun 10 ay önce
ebeveyn
işleme
ddb028fea9

+ 0 - 9
newICSS.iml

@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="WEB_MODULE" version="4">
-  <component name="NewModuleRootManager" inherit-compiler-output="true">
-    <exclude-output />
-    <content url="file://$MODULE_DIR$" />
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-  </component>
-</module>

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

@@ -80,7 +80,7 @@ class CopyRight extends Component {
           <a lassName={style["copy-number"]} href="javascript:;" onClick={showCopyModal}>
             {number}
           </a>{" "}
-          {hasNewVersion && <span>new</span>}<b> &copy;朗通医疗</b>
+          {hasNewVersion && <span>new</span>}<b> &copy;云巅上</b>
           <div className={style['disclaimer']} onClick={showDisclatmerModal}>免责声明</div>
         </div>
         {/* {copyVisible && <div

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

@@ -139,7 +139,7 @@ class MainSuit extends Component{
   handleChange(e){
     const ev = e || window.event;
     const data = ev.target.innerText || ev.target.innerHTML.replace(/&nbsp;/g,' ');
-    const {getSearchData,searchData,datas,pushMessage,reTotalHide,saveText,clearSearch,CommonSymptoms,getCommonSymptoms} = this.props;
+    const {getSearchData,datas,pushMessage,reTotalHide,clearSearch,CommonSymptoms,getCommonSymptoms} = this.props;
     const {overFlag,inpText} = this.state;
     reTotalHide && reTotalHide();//重置homePage中的控制项
     const that = this;

+ 3 - 3
src/components/PushData/index.jsx

@@ -43,12 +43,12 @@ class PushData extends Component{
         const url =`${pushPage2}?mrId=${mrId.indexOf("reStart") > - 1?"":mrId}&isTcm=${isTcm}&planCode=${planCode}&hospitalId=${hospitalId}${mrId.indexOf("reStart") > - 1 ? '&reStart='+Math.random():""}`+(hideLg?`&hideLg=1`:``);
         return <div >
             {!showPushData&&<div className={style['slideButton']} style={{right:pushBoxPos+'px'}} onClick={this.showPushData}>
-                {hideLg?'智能提醒':'朗通智能提醒'}
+                {hideLg?'智能提醒':'云巅上智能提醒'}
                 <img class={style['arrowIcon']} src={arrowIcon} alt=""/>
             </div>}
             {showPushData&&<div id="dragModalWrap" className={style['pushWrapper']} style={{right:pushBoxPos+'px'}} onWheel={this.handleScroll.bind(this)}>
-                {/* <div id="dragModalTitle"  className={style['pushDataTitle']}>朗通智能提醒 <span className={style['pushDataHide']} onClick={this.hidePushData}>收起</span></div> */}
-                <div className={style['pushDataTitle']}>{hideLg?'智能提醒':'朗通智能提醒'} <span className={style['pushDataHide']} onClick={this.hidePushData}>    <img class={style['hideConfirm']} src={hideConfirm} alt=""/></span></div>
+                {/* <div id="dragModalTitle"  className={style['pushDataTitle']}>云巅上智能提醒 <span className={style['pushDataHide']} onClick={this.hidePushData}>收起</span></div> */}
+                <div className={style['pushDataTitle']}>{hideLg?'智能提醒':'云巅上智能提醒'} <span className={style['pushDataHide']} onClick={this.hidePushData}>    <img class={style['hideConfirm']} src={hideConfirm} alt=""/></span></div>
                 {hospitalId&&<iframe id='embedPage'  src={url} frameborder="0" width="400" height="557" onWheel={this.handleScroll.bind(this)}></iframe>}
                 {!hospitalId&&<div className={style['pushEmpty']}>
                         <div className={style['pushEmptyBox']}>

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

@@ -1,7 +1,7 @@
 @import "~@less/variables.less";
 .slideButton{
     position: fixed;
-    width:158px;
+    width:170px;
     height:40px;
     padding: 0 0 0 15px;
     line-height: 40px;

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

@@ -399,7 +399,7 @@ class TemplateItems extends React.Component {
                                             {
                                                 showTipContent&&<div className={style.tempTipContent}>
                                                     <img src={tempTrd} alt=""/>
-                                                    <p>1. 标准模板中的科室,对应的是经朗通医疗团队整理的,符合临床医学意义的科室;</p>
+                                                    <p>1. 标准模板中的科室,对应的是经云巅上团队整理的,符合临床医学意义的科室;</p>
                                                     <p>2.只有特定的“管理员”账号,可对“标准模板”进行修改,普通账号仅可进行“引用”。</p>
                                                 </div>  
                                             }  

+ 7 - 43
src/utils/config.js

@@ -1,50 +1,14 @@
-// const host='http://192.168.3.1:5050';//赵
-// const host='http://192.168.3.100:5050';//王峰
 
 const { func } = require("prop-types");
 
-// const host='http://192.168.2.121:5050';//后端接口访问地址
-// const host='http://192.168.2.236:5050';//后端接口访问地址
-// const host='http://223.93.170.82:23650';//后端接口访问地址外网
-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'; //周铁刚
-// const newIcssVisitUrl = '223.93.170.82:13000';    //icss服务访问地址(跳转目的地),不能加http://
-const imageUrlPrefix = 'http://192.168.2.241:82';
+
+const host='http://'+window.location.hostname+':5050';//后端接口访问地址
+
+const imageUrlPrefix = 'http://173.18.12.191:82';
 function geturl(){
-    if(window.location.href.indexOf('localhost')>-1){
-        return {
-            gourl:'http://localhost:8082/cdss.html',
-            // gourl:'http://192.168.2.236:5654/cdss.html',
-            imgurl:host.replace('6060','22')
-        }
-    }else if(window.location.href.indexOf('192.168.2.236')>-1){
-        return {
-            gourl:'http://192.168.2.236:5654/cdss.html',
-            imgurl:'http://192.168.2.236:82'
-        }
-    }else if(window.location.href.indexOf('192.168.2.241')>-1){
-        return {
-            gourl:'http://192.168.2.241:5654/cdss.html',
-            imgurl:'http://192.168.2.241:82'
-        }
-    }else if(window.location.href.indexOf('192.168.2.121')>-1){
-        return {
-            gourl:'http://192.168.2.121:5654/cdss.html',
-            imgurl:'http://192.168.2.121:82'
-        }
-    }else if(window.location.href.indexOf('192.168.2.122')>-1){
-        return {
-            gourl:'http://192.168.2.122:5654/cdss.html',
-            imgurl:'http://192.168.2.122:82'
-        }
-    }else{
-        return {
-            // gourl:'http://192.168.2.122:5654/cdss.html',
-            gourl:'http://223.93.170.82:12254/cdss.html',
-            imgurl:'http://223.93.170.82:12282'
-        }
+    return {
+        gourl:'http://'+window.location.hostname+':5654/cdss.html',
+        imgurl:'http://'+window.location.hostname+':82'
     }
 }
 let urlSelect = geturl()