|
@@ -34,52 +34,53 @@ class ModeChange extends Component {
|
|
|
<div className={style['shade']} onClick={closeConfigModal}></div>
|
|
|
<div className={style['content']}>
|
|
|
<div className={style['close']}>设置<img src={close} onClick={closeConfigModal} /></div>
|
|
|
- <div className={style["oper"]}>
|
|
|
+ <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?'开':'关'}
|
|
|
- </a>
|
|
|
+ </a>
|
|
|
</p>
|
|
|
- <p className={this.getStyle(1)}>
|
|
|
- <span>开启一般情况默认值:</span>
|
|
|
- <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn&&isOpen?()=>changeType('config1',general?1:0):null}>
|
|
|
- <img src={general?sclose:sopen} alt=""/>
|
|
|
- {general?'关':'开'}
|
|
|
- </a>
|
|
|
- </p>
|
|
|
- <p className={this.getStyle(1)+" "+style['big-marb']}>
|
|
|
- <span>开启其他史默认值:</span>
|
|
|
- <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn&&isOpen?()=>changeType('config2',ohis?1:0):null}>
|
|
|
- <img src={ohis?sclose:sopen} alt=""/>
|
|
|
- {ohis?'关':'开'}
|
|
|
- </a>
|
|
|
- </p>
|
|
|
- <p className={this.getStyle()}>
|
|
|
- <span>默认字体大小:</span>
|
|
|
- <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config3',0):null}>
|
|
|
- <img src={fontsize?radio_on:radio_off} alt=""/>
|
|
|
- 标准
|
|
|
- </a>
|
|
|
- <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config3',1):null}>
|
|
|
- <img src={fontsize?radio_off:radio_on} alt=""/>
|
|
|
- 增大
|
|
|
- </a>
|
|
|
- </p>
|
|
|
- <p className={this.getStyle()}>
|
|
|
- <span>默认字体颜色:</span>
|
|
|
- <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config4',0):null}>
|
|
|
- <img src={color?radio_on:radio_off} alt=""/>
|
|
|
- 标准
|
|
|
- </a>
|
|
|
- <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config4',1):null}>
|
|
|
- <img src={color?radio_off:radio_on} alt=""/>
|
|
|
- 增黑
|
|
|
- </a>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- <div className={style["explain"]}>
|
|
|
+ <p className={this.getStyle(1)}>
|
|
|
+ <span>开启一般情况默认值:</span>
|
|
|
+ <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn&&isOpen?()=>changeType('config1',general?1:0):null}>
|
|
|
+ <img src={general?sclose:sopen} alt=""/>
|
|
|
+ {general?'关':'开'}
|
|
|
+ </a>
|
|
|
+ </p>
|
|
|
+ <p className={this.getStyle(1)+" "+style['big-marb']}>
|
|
|
+ <span>开启其他史默认值:</span>
|
|
|
+ <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn&&isOpen?()=>changeType('config2',ohis?1:0):null}>
|
|
|
+ <img src={ohis?sclose:sopen} alt=""/>
|
|
|
+ {ohis?'关':'开'}
|
|
|
+ </a>
|
|
|
+ </p>
|
|
|
+ <p className={this.getStyle()}>
|
|
|
+ <span>默认字体大小:</span>
|
|
|
+ <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config3',0):null}>
|
|
|
+ <img src={fontsize?radio_on:radio_off} alt=""/>
|
|
|
+ 标准
|
|
|
+ </a>
|
|
|
+ <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config3',1):null}>
|
|
|
+ <img src={fontsize?radio_off:radio_on} alt=""/>
|
|
|
+ 增大
|
|
|
+ </a>
|
|
|
+ </p>
|
|
|
+ <p className={this.getStyle()}>
|
|
|
+ <span>默认字体颜色:</span>
|
|
|
+ <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config4',0):null}>
|
|
|
+ <img src={color?radio_on:radio_off} alt=""/>
|
|
|
+ 标准
|
|
|
+ </a>
|
|
|
+ <a className={style['switch']} href="javascript:void(0)" onClick={hideBtn?()=>changeType('config4',1):null}>
|
|
|
+ <img src={color?radio_off:radio_on} alt=""/>
|
|
|
+ 增黑
|
|
|
+ </a>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div className={style["explain"]}>
|
|
|
<p>说明:</p>
|
|
|
<p>1、智能推送模式只针对问诊模块中的“主诉”、“现病史”、“其他史”展示科室模版功能;</p>
|
|
|
<p>2、慢病模式下,该模版智能推送的设置功能不可用;</p>
|
|
@@ -87,6 +88,7 @@ class ModeChange extends Component {
|
|
|
<p>4、其他史默认值:既往史无殊、过敏史无殊、个人史无殊;</p>
|
|
|
<p>5、病历书写模块,字体大小标准为14px,增大为18px;</p>
|
|
|
<p>6、病历书写模块,字体颜色标准为灰黑色,增黑为全黑色;</p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
{hideBtn?<div className={style['btn']} onClick={confirmType}><button>保存修改</button></div>:<div className={style['btn']} onClick={closeConfigModal}><button> 关闭 </button></div>}
|
|
|
</div>
|