浏览代码

Squashed commit of the following:

commit 3c4dd239cb9ba32ba0fcee82e30864c2c69dc871
Author: liucf <liucf@zjlantone.com>
Date:   Wed Jun 5 14:40:34 2019 +0800

    全科病历细节优化

commit 5294585ebded597041f65b614815aa13cb8d0a58
Author: liucf <liucf@zjlantone.com>
Date:   Tue Jun 4 17:34:59 2019 +0800

    添加时间筛选

commit 23fc91ea79b0f5f2122b19f08155784b7c8238d5
Author: liucf <liucf@zjlantone.com>
Date:   Tue Jun 4 16:14:30 2019 +0800

    合并优化分支
    Squashed commit of the following:

    commit 6de3fad484f6aa57daa6bcb00e3179c567bae2d9
    Merge: 0af6118 f90aeef
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Tue Jun 4 15:28:43 2019 +0800

        Merge remote-tracking branch 'origin/optimize' into optimize

    commit 0af61189386522a227a25e5f3ac1f1a86bd1eb10
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Tue Jun 4 15:28:30 2019 +0800

        全部量表接口对接

    commit d67b5e9cf980afbd3d9b09a84114b1196281e431
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Tue Jun 4 13:50:07 2019 +0800

        引用病例推送检查重复调用

    commit f7434ab9d3c270e9058988d18bb2a8414b4b0cbd
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Tue Jun 4 13:34:05 2019 +0800

        删除无效代码

    commit f90aeef464ab17eaa3509319a9961e10e0e62312
    Merge: 7791b5b 60b0cb5
    Author: Luolei <16657115156@163.com>
    Date:   Tue Jun 4 09:57:49 2019 +0800

        Merge branch 'optimize-ll' into optimize

    commit 60b0cb5910ae9562e8b4f1f07310c461b9ca748c
    Author: Luolei <16657115156@163.com>
    Date:   Tue Jun 4 09:56:52 2019 +0800

        1

    commit 98b2f3d0a81c2e24d61e374c54807a121f115c92
    Author: Luolei <16657115156@163.com>
    Date:   Tue Jun 4 09:54:57 2019 +0800

        添加注释

    commit 98f3939410037828e647453e5008cf6fcc14babc
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Tue Jun 4 09:30:23 2019 +0800

        双击编辑蓝底选中消除

    commit 250d2ba147aa705047879d1d2b67c34bffe89258
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Tue Jun 4 09:25:21 2019 +0800

        无返回数据loading也关闭

    commit 7791b5b679437efd590623789d473458961b2646
    Merge: b926b8c 96a6fd2
    Author: Luolei <16657115156@163.com>
    Date:   Mon Jun 3 17:25:13 2019 +0800

        Merge branch 'optimize-ll' into optimize

    commit 96a6fd268033ac6953a4f48ebc7242e2faf8ff9e
    Author: Luolei <16657115156@163.com>
    Date:   Mon Jun 3 17:23:01 2019 +0800

        console

    commit 63897f7a04aad3a207b921026656b9c8f1a0f6a4
    Author: Luolei <16657115156@163.com>
    Date:   Mon Jun 3 17:22:01 2019 +0800

        时间插件修改,区间选择组件完成

    commit dffa61771828ff0f486919a09562e24b29cdea2c
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Mon Jun 3 17:16:20 2019 +0800

        删除多余代码和推送调用

    commit e4fd3e22378e3b6dd159b400682bf21646e08378
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Mon Jun 3 16:35:48 2019 +0800

        推送参数对比函数bug修改

    commit f1c7b1934d2cca472ad44641d0247870ed9b0c1c
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Mon Jun 3 16:11:01 2019 +0800

        全部量表-接口未对

    commit b926b8c33a3535e3d5341f3e94ee853d39c91b89
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Mon Jun 3 15:52:09 2019 +0800

        加收起展开按钮

    commit a7cd00e68421464a68523d2df85caa9871af5cec
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Mon Jun 3 14:44:32 2019 +0800

        加清空按钮

    commit 4742892f6ba752689bacffe3828d00f5e29e9555
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Mon Jun 3 11:50:59 2019 +0800

        静态知识搜索

    commit 16c48a0629d0900c4e67fc5c8590f78e814f9206
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Mon Jun 3 10:53:13 2019 +0800

        指标推送收起展开效果

    commit 2442d00474a875a09671259f0052f42f46217690
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Mon Jun 3 10:32:58 2019 +0800

        指标推送收起展开bug修改

    commit d49848ce253a774838fe111e9f7f6eb91c74b941
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Mon Jun 3 10:30:18 2019 +0800

        删除多余文件

    commit da614e0d4c6119278b211f5fd769611557740acc
    Author: Luolei <16657115156@163.com>
    Date:   Mon Jun 3 10:16:34 2019 +0800

        date

    commit 5ea348245d8061aee67efdf04c7d6cbacdd2a1af
    Merge: 84a47f4 99af44b
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Fri May 31 16:45:44 2019 +0800

        Merge branch 'optimize' into optimize-zxc

    commit 84a47f400db92078a0ef92e8f5fce7e1c7e90fa1
    Merge: fd6e7ff 8f53d2e
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Fri May 31 16:38:51 2019 +0800

        Merge branch 'ChronicMag' into optimize-zxc

    commit 99af44b61c4c9c6d9680ddcccf32cb9cc10e5ab8
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Fri May 31 16:31:45 2019 +0800

        注释医学知识(未完成)

    commit a6065dc09996a65640b4a48783eb2e9ded4b8359
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Fri May 31 16:31:08 2019 +0800

        注释医学知识(医学知识未完成)

    commit fd6e7ff7f036ea48795dbee290bac393d55757eb
    Merge: 8e2d799 0755f5c
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Fri May 31 16:29:04 2019 +0800

        merge from 'origin'

    commit 8e2d79940befe9715dfd54ccf179fd710274aec9
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Fri May 31 16:27:53 2019 +0800

        医学知识

    commit 0755f5c881b2022cbaebf1a937c2bcb207417150
    Merge: 4d1f197 7113420
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Fri May 31 15:57:37 2019 +0800

        Merge remote-tracking branch 'origin/optimize' into optimize

        # Conflicts:
        #	src/store/async-actions/pushMessage.js

    commit 4d1f19780b40256265c95aecfa9a08535ce29707
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Fri May 31 14:29:53 2019 +0800

        指标推送收起展开

    commit 711342004f84e8cbdaac78c1e101363b7fa44e1d
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Fri May 31 14:16:25 2019 +0800

        静态信息修改

    commit bb7e1aa388cd1d6304942f6623b2123903341155
    Merge: bad3590 77026bb
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Fri May 31 14:03:45 2019 +0800

        Merge branch 'optimize' into optimize-zxc

    commit bad3590764a6b4b04a99ec4e6486df3d8f938eb7
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Fri May 31 11:41:33 2019 +0800

        右侧推送组件提取

    commit 930f2ad9d465b9d7bba7628e8bdd1f60638cac95
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Fri May 31 10:24:29 2019 +0800

        文本模式推送接口修改

    commit eb1b26500858b99ec3643f4f9033cc3cdf2d5ebe
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Thu May 30 17:18:59 2019 +0800

        推荐检验检查(未完成)

    commit 77026bb1c76616aca71c7d2b858e68aa83d621d0
    Author: Luolei <16657115156@163.com>
    Date:   Thu May 30 15:47:19 2019 +0800

        同时出现两个拖拽弹窗处理

    commit 75c0db17f4758393e8a7c541efd9da91a25902e5
    Merge: 7346d73 7d52d97
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Thu May 30 14:54:10 2019 +0800

        Merge branch 'optimize' into optimize-zxc

    commit 7d52d977839b208fafe011a5785df2fdd7301699
    Merge: 5b0c6c6 34ccfe1
    Author: Luolei <16657115156@163.com>
    Date:   Thu May 30 14:10:55 2019 +0800

        Merge branch 'optimize-ll' into optimize

    commit 7346d73ed52b5134b8eb90e0282cfc7327be82ec
    Merge: 0d0fabe 34ccfe1
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Thu May 30 13:53:28 2019 +0800

        Merge branch 'optimize-ll' into optimize-zxc

    commit 34ccfe17729d27aa445010dcc67f35e38bce8c63
    Author: Luolei <16657115156@163.com>
    Date:   Thu May 30 13:51:58 2019 +0800

        接口对接,弹窗代码优化

    commit 0d0fabe62cbc20225911adbd50e6456489084284
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Thu May 30 09:48:06 2019 +0800

        免责声明和版本信息

    commit 335db8568bcbccd0b0ddd0056d79d48056036f8b
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Wed May 29 17:20:12 2019 +0800

        推送接口对接

    commit cf9d835e17aef5c00181312ac7de5e0ebb6045fd
    Merge: e3ef981 50d2cce
    Author: Luolei <16657115156@163.com>
    Date:   Wed May 29 17:02:07 2019 +0800

        Merge branch 'optimize-zxc' into optimize-ll

    commit e3ef981021b94497c994430b400beb58e6173055
    Merge: 1ed52ce 719c2cc
    Author: Luolei <16657115156@163.com>
    Date:   Wed May 29 16:59:40 2019 +0800

        Merge branch 'optimize' into optimize-ll

    commit 50d2cce7bdbeaf883fb37595e7b3e1e48b00f45b
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Wed May 29 16:17:22 2019 +0800

        说明书修改

    commit 5b0c6c6324cd6fd8e2491aa5285c0205d5389a7c
    Merge: 2925167 719c2cc
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Wed May 29 15:55:22 2019 +0800

        Merge remote-tracking branch 'origin/optimize' into optimize

        # Conflicts:
        #	src/utils/tools.js

    commit 2925167e24df0bc7a1a5d788c653db63b564d020
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Wed May 29 15:54:42 2019 +0800

        管理评估,图表接口对接

    commit 1ed52ce1a6d42eaef6d6c622f3b6ae97aba9bfed
    Author: Luolei <16657115156@163.com>
    Date:   Wed May 29 15:47:58 2019 +0800

        拖拽

    commit 4ee10e346d3aacac930f594f442a41e6a1d72336
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Wed May 29 15:47:42 2019 +0800

        药品说明书

    commit 509eb82e53e69e2898d932f1f4792fdb295ebe2a
    Author: zhouna <zhouna@zjlantone.com>
    Date:   Wed May 29 13:53:29 2019 +0800

        指标推送量表加入按钮bug修改

    commit 8f53d2e8754ff1d448a517b554d53bee6d427a05
    Author: zhangxc <zhangxc@zjlantone.com>
    Date:   Tue May 28 17:20:37 2019 +0800

        修改删除诊断图标bug

    commit 4cfe762692950831638ecf4b1c611868682ea2e2
    Merge: 9bd0b47 afadf59
    Author: Luolei <16657115156@163.com>
    Date:   Mon May 27 16:58:05 2019 +0800

        Merge branch 'optimize' into optimize-ll

    commit 9bd0b4776490cd09749a4918c57a8c098d895628
    Author: Luolei <16657115156@163.com>
    Date:   Mon May 27 16:56:41 2019 +0800

        11

    # Conflicts:
    #	src/store/async-actions/diagnosticSearch.js
    #	src/store/index.js
    #	src/utils/tools.js

commit c36cc8f097eb25a397953f4b66be68788273b2e5
Author: liucf <liucf@zjlantone.com>
Date:   Tue Jun 4 15:58:53 2019 +0800

    急诊全科历史病历,还缺时间筛选

commit 561a4ac54d3cfe9f54eb3d723bc6f258977f9309
Author: liucf <liucf@zjlantone.com>
Date:   Wed May 29 17:41:57 2019 +0800

    急诊科病例列表入口

# Conflicts:
#	src/common/components/Calendar/index.less
#	src/common/components/WrapModalContainer/index.jsx
#	src/common/components/WrapModalContainer/index.less
#	src/components/AssistCheck/index.jsx
#	src/components/Emergency/HisList/index.jsx
#	src/components/Emergency/HisList/index.less
#	src/components/Emergency/index.jsx
#	src/components/Emergency/index.less
#	src/components/Inspect/index.jsx
#	src/components/Inspect/index.less
#	src/components/ScaleSearch/index.jsx
#	src/components/ScaleSearch/index.less
#	src/components/WrapModalBody/Item/index.jsx
#	src/components/WrapModalBody/WrapModalTable/index.jsx
#	src/components/WrapModalBody/WrapModalTitle/index.jsx
#	src/components/WrapModalBody/index.jsx
#	src/components/WrapModalBody/index.less
#	src/containers/Inspect.js
#	src/containers/ScaleSearchContainer.js
#	src/store/async-actions/fetchModules.js
#	src/store/types/inspect.js
#	src/utils/drag.js
#	src/utils/tools.js
liucf 6 年之前
父节点
当前提交
6a9a50766c

+ 10 - 2
src/components/Emergency/HisList/index.jsx

@@ -73,7 +73,7 @@ class HisList extends Component {
     return '';
   }
 
-  handleSelect(e,id){console.log(e,id)
+  handleSelect(e,id){
     e.stopPropagation();
     let {select} = this.state;
     if(select.indexOf(id)==-1){
@@ -132,6 +132,14 @@ class HisList extends Component {
     handleDownload&&handleDownload(select);
   }
 
+  getExportStyle(){
+    const {select} = this.state;
+    if(select.length>0){
+      return `${style['export']} ${style['exp-select']}`
+    }
+    return style['export'];
+  }
+
   getList(){
     const { data } = this.props;
     let list = data&&data.map((v,i)=>{
@@ -172,7 +180,7 @@ class HisList extends Component {
       <div className={style['all-box']}>
         <img src={this.getAllIcon()} className={style['check-all']} onClick={this.handleAll}/>
         <span onClick={this.handleAll}>全选</span>
-        <span className={style['export']} onClick={this.handleDownload}>导出已选数据</span>
+        <span className={this.getExportStyle()} onClick={this.handleDownload}>导出已选数据</span>
       </div>
     </div>
   }

+ 2 - 2
src/components/Emergency/HisList/index.less

@@ -94,13 +94,13 @@
       margin: 0 8px 0 0;
     }
     .export{
-      color: #2A9BD5;
+      color: #E2EFF6;
       display: inline-block;
       width: 92px;
       height: 30px;
       line-height: 30px;
       text-align: center;
-      border: 1px solid #2A9BD5;
+      border: 1px solid #E2EFF6;
       border-radius: 4px;
       margin-left: 177px;
     }

+ 4 - 5
src/components/Emergency/index.jsx

@@ -73,9 +73,8 @@ class EmergencyHis extends Component{
     });
   }
   //点击搜索结果
-  handleListClick(item){console.log(333,item)
+  handleListClick(item){
     const { handleChangeValue } = this.props;
-    // this.searInp.current.innerText = '';
     this.searInp.current.value = item.name;
     handleChangeValue('');
     this.setState({
@@ -85,8 +84,8 @@ class EmergencyHis extends Component{
   }
   getBtnStyle(){
     const {valChange} = this.state;
-    if(valChange){
-      return `${style['add-btn']} ${style['gray-btn']}`
+    if(!valChange){
+      return `${style['add-btn']} ${style['comfirn-btn']}`
     }
     return style['add-btn'];
   }
@@ -194,4 +193,4 @@ class EmergencyHis extends Component{
   }
 }
 
-export default EmergencyHis;
+export default EmergencyHis;

+ 3 - 3
src/components/Emergency/index.less

@@ -87,9 +87,9 @@
         margin-left: 10px;
         cursor: pointer;
       }
-      .gray-btn{
-        color: #7C828E;
-        border-color: #7C828E;
+      .comfirn-btn{
+        color: #fff;
+        background: #2A9BD5;
       }
       .add-tip{
         font-size: 12px;

+ 6 - 6
src/components/WrapModalBody/WrapModalTable/index.jsx

@@ -11,12 +11,12 @@ class WrapModalTable extends React.Component {
       <div className={style.tablePubP}>
         <table>
           <tr className={style.head}>
-            <td className={`${style.fst} ellipsOver`}>缂栧彿</td>
-            <td className={`${style.sec} ellipsOver`}>鏍囨湰绫诲瀷</td>
-            <td className={`${style.trd} ellipsOver`}>组名称</td>
-            <td className={`${style.four} ellipsOver`}>閫佹�鍖荤敓</td>
-            <td className={`${style.fif} ellipsOver`}>閫佹�鏃堕棿</td>
-            <td className={`${style.six} ellipsOver`}>鎶ュ憡鏃堕棿</td>
+            <td className={`${style.fst} ellipsOver`}>编号</td>
+            <td className={`${style.sec} ellipsOver`}>标本类型</td>
+            <td className={`${style.trd} ellipsOver`}>组名称</td>
+            <td className={`${style.four} ellipsOver`}>送检医生</td>
+            <td className={`${style.fif} ellipsOver`}>送检时间</td>
+            <td className={`${style.six} ellipsOver`}>报告时间</td>
             <td className={`${style.sev} ellipsOver`} style={{display:hospitalInspect.length>5?'':'none'}}></td>
           </tr>
         </table>

+ 2 - 8
src/store/async-actions/fetchModules.js

@@ -399,7 +399,7 @@ export function getFilterHis(obj){
       if(obj.flag==-1){
         newParam = Object.assign(params,{current:1})
       }else{
-        newParam = Object.assign({},params,{isHasSecond:flag})
+        newParam = Object.assign({},params,{isHasSecond:obj.flag})
       }
     }
 
@@ -424,7 +424,7 @@ export function downloadData (ids){
   }
   return expJson(api.downloadURL,param);
 }
-
+// 添加二次诊断
 export function addSecondDiag(item){
   const state = store.getState();
   const {message} = state.patInfo;
@@ -434,11 +434,5 @@ export function addSecondDiag(item){
     "inquiryId": item.id
   }
   return json(api.addSecondDia,param)
-  /*.then((res)=>{
-    const result = res.data;
-    if(result.code==0){
-      Notify.info("添加成功");
-    }
-  })*/
 }