hd 3 months ago
parent
commit
48550f3779

+ 4 - 1
api/jbsc-api.js

@ -137,7 +137,10 @@
    },
    getSignInfo(data){
			return httpRequest.get('doctor/specialist/rehabilitation/getSignInfo',{data:data})
		}
		},
    getSurveyMessage(data){
      return httpRequest.post('doctor/screen/getSurveyMessage',{data:data})
    }
  }
  exports.jbscAPI = jbscAPI

+ 268 - 216
app/jbsc/css/statistics.css

@ -1,182 +1,231 @@
.nav-tabs li a{background-color: #f5f5f5;color: #666;min-width: 140px;text-align: center;margin-right: 5px;border-color: #ddd #ddd rgba(0, 0, 0, 0);}
.nav-tabs li.active a,.nav-tabs li.active a:link{color: #12b7f5;}
.nav-tabs li a {
  background-color: #f5f5f5;
  color: #666;
  min-width: 140px;
  text-align: center;
  margin-right: 5px;
  border-color: #ddd #ddd rgba(0, 0, 0, 0);
}
.nav-tabs li.active a,
.nav-tabs li.active a:link {
  color: #12b7f5;
}
.jhover {
    background: #12B7F5!important;
    color: #fff;}
.re-title .name{font-size: 18px;font-weight: bold;color: #333;height: 40px;line-height: 40px;display: inline-block;padding: 0px 20px;}
.re-title .team{font-size: 14px;color: #333;display: inline-block;}
.no-select{-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select:none}
.re-title{border-bottom:solid 1px #ededed;}
  background: #12b7f5 !important;
  color: #fff;
}
.re-title .name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  height: 40px;
  line-height: 40px;
  display: inline-block;
  padding: 0px 20px;
}
.re-title .team {
  font-size: 14px;
  color: #333;
  display: inline-block;
}
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.re-title {
  border-bottom: solid 1px #ededed;
}
.w3-row:after {
	content: "";
	display: table;
	clear: both
  content: '';
  display: table;
  clear: both;
}
.btn.disabled {
  pointer-events: none;
}
.btn.disabled{pointer-events: none;}
.w3-col {
	float: left;
	width: 100%
  float: left;
  width: 100%;
}
.w3-rest {
  overflow: hidden;
}
.w3-rest{overflow:hidden}
.div-table {
	display: table;
	width: 100%;
  display: table;
  width: 100%;
}
.table-row {
	display: table-row;
  display: table-row;
}
.table-cell {
	display: table-cell;
	text-align: center;
	vertical-align: middle;	
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}
.pr20{
	padding-right: 20px;
.pr20 {
  padding-right: 20px;
}
.fr{
	float: right;
.fr {
  float: right;
}
.lheight-20{
	line-height: 20px;
.lheight-20 {
  line-height: 20px;
}
.lheight-24{
	line-height: 24px;
.lheight-24 {
  line-height: 24px;
}
.lheight-40{
	line-height: 40px;
.lheight-40 {
  line-height: 40px;
}
.lheight-60{
	line-height: 60px;
.lheight-60 {
  line-height: 60px;
}
.mt80{
	margin-top: 80px;
.mt80 {
  margin-top: 80px;
}
.w-160{
	width: 160px;
.w-160 {
  width: 160px;
}
.w-220{
	width: 220px;
.w-220 {
  width: 220px;
}
.plr80{
	padding-left: 80px;
	padding-right: 80px;
.plr80 {
  padding-left: 80px;
  padding-right: 80px;
}
.ml-2{
	margin-left: -2px;
.ml-2 {
  margin-left: -2px;
}
.mt-4{
	margin-top: -4px;
.mt-4 {
  margin-top: -4px;
}
.btn{
	color:#fff;
	/* min-width: 80px;	 */
	padding: 4px 8px;
	height: 28px;
.btn {
  color: #fff;
  /* min-width: 80px;	 */
  padding: 4px 8px;
  height: 28px;
}
select.form-control{
	padding: 0px 1px;
	height: 28px;
select.form-control {
  padding: 0px 1px;
  height: 28px;
}
.bgc-02cfb9{background-color: #02cfb9;color: #fff;}
.bgc-02cfb9.focus, .bgc-02cfb9:focus, .bgc-02cfb9:hover{color: #fff;background-color: #00bda8;}
.bgc-12B7F5,.bgc1-12B7F5{
	background-color: #12B7F5;	
.bgc-02cfb9 {
  background-color: #02cfb9;
  color: #fff;
}
.bgc-12B7F5:hover{
	background-color: #00adee;
	color: #fff;
.bgc-02cfb9.focus,
.bgc-02cfb9:focus,
.bgc-02cfb9:hover {
  color: #fff;
  background-color: #00bda8;
}
.c-12B7F5{
	color: #12B7F5;	
.bgc-17b3ec {
  background-color: #17b3ec;
  color: #fff;
}
.bgc-FF9630,.bgc1-FF9630{
	background-color: #FF9630;
.bgc-12B7F5,
.bgc1-12B7F5 {
  background-color: #12b7f5;
}
.bgc-FF9630:hover{
	background-color: #f58920;
	color: #fff;
.c-12B7F5 {
  color: #12b7f5;
}
.c-FF9630{
	color: #FF9630;
.bgc-FF9630,
.bgc1-FF9630 {
  background-color: #ff9630;
}
.c-2DBE55{
	color: #2DBE55;
.bgc-FF9630:hover {
  background-color: #f58920;
  color: #fff;
}
.bgc-2DBE55,.bgc1-2DBE55{
	background-color: #2DBE55;
.c-FF9630 {
  color: #ff9630;
}
.bgc-2DBE55:hover{
	background-color: #30a14f;
	color: #fff;
.c-2DBE55 {
  color: #2dbe55;
}
.bgc-6fd7fe{
	background-color: #6FD7FE;
.bgc-2DBE55,
.bgc1-2DBE55 {
  background-color: #2dbe55;
}
.bgc-2DBE55:hover {
  background-color: #30a14f;
  color: #fff;
}
.bgc-12b7f5.focus,
.bgc-12b7f5:focus,
.bgc-12b7f5:hover {
  color: #fff;
  background-color: #01a9bd;
}
.bgc-6fd7fe {
  background-color: #6fd7fe;
}
.border-6FD7FE{
	border:1px solid #6FD7FE;
	border-radius: 5px;
.border-6FD7FE {
  border: 1px solid #6fd7fe;
  border-radius: 5px;
}
.bgc-D7F3FE{
	background-color: #D7F3FE;
.bgc-D7F3FE {
  background-color: #d7f3fe;
}
.bgc-DCFDE6{
	background-color: #DCFDE6;
.bgc-DCFDE6 {
  background-color: #dcfde6;
}
.bgc-61D882{
	background-color: #61D882;
.bgc-61D882 {
  background-color: #61d882;
}
.border-61D882{
	border:1px solid #61D882;
	border-radius: 5px;
.border-61D882 {
  border: 1px solid #61d882;
  border-radius: 5px;
}
.bgc-FAB675{
	background-color: #FAB675;
.bgc-FAB675 {
  background-color: #fab675;
}
.border-FAB675{
	border:1px solid #FAB675;
	border-radius: 5px;
.border-FAB675 {
  border: 1px solid #fab675;
  border-radius: 5px;
}
.bgc-FEEEDF{
	background-color: #FEEEDF;
.bgc-FEEEDF {
  background-color: #feeedf;
}
.c-border-radius-blr{
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;		
	min-width:200px;
	min-height: 175px;
}
.c-border-radius-blr5{
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}
.bigbox{
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	line-height: 40px;
	color:#fff;
	font-size: 18px;
.c-border-radius-blr {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  min-width: 200px;
  min-height: 175px;
}
.c-border-radius-blr5 {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.bigbox {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  line-height: 40px;
  color: #fff;
  font-size: 18px;
}
.smallbox{
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	line-height: 40px;
	font-size: 14px;
	background: #fff;
}
.jiantou01{
	position: absolute;
    margin-left: -25px;
    margin-top: 40px;
.smallbox {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  line-height: 40px;
  font-size: 14px;
  background: #fff;
}
.jiantou01 {
  position: absolute;
  margin-left: -25px;
  margin-top: 40px;
}
/*.numcircle{
	border-radius: 50%;
@ -184,124 +233,127 @@ select.form-control{
	padding: 2px 7px 1px 6px;
    margin-right: 6px;
}*/
#sc_table{}
#sc_table tr td:nth-child(2):hover{
	color:#12B7F5;
	cursor: pointer;
}
#sc_table th,#sc_table td{
	height: 40px;
    font-size: 14px;
    padding-left:5px;
    padding-right:5px;
}
#sc_table th{
	background-color: #F5F5FA;
	text-align: center;
    color: #909090;
    font-weight: normal;
#sc_table {
}
#sc_table tr td:nth-child(2):hover {
  color: #12b7f5;
  cursor: pointer;
}
#sc_table th,
#sc_table td {
  height: 40px;
  font-size: 14px;
  padding-left: 5px;
  padding-right: 5px;
}
#sc_table th {
  background-color: #f5f5fa;
  text-align: center;
  color: #909090;
  font-weight: normal;
}
[v-cloak] {
    display: none;
  display: none;
}
.ellipsis{
	overflow: hidden;
	text-overflow:ellipsis;
	white-space: nowrap;
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dataCell {
    height: 24px;
    line-height: 24px;
    float: left;
    margin-right:10px;
  height: 24px;
  line-height: 24px;
  float: left;
  margin-right: 10px;
}
.w160{
	width:160px;
.w160 {
  width: 160px;
}
.c-vam {
    vertical-align: middle;
  vertical-align: middle;
}
.inline {
    display: inline-block!important;
    vertical-align: middle;
  display: inline-block !important;
  vertical-align: middle;
}
button.dropdown-toggle{
	width: 35px;
button.dropdown-toggle {
  width: 35px;
}
button.dropdown-toggle .caret,
button.dropdown-toggle:hover .caret {
	background: url(../images/jiantou_xia_icon.png) no-repeat;
    width: 11px;
    height: 11px;
    background-size: 100%;
    border: 0;
  background: url(../images/jiantou_xia_icon.png) no-repeat;
  width: 11px;
  height: 11px;
  background-size: 100%;
  border: 0;
}
.form-control{
	height: 28px;
	background-color: #FFFFFF !important;	
.form-control {
  height: 28px;
  background-color: #ffffff !important;
}
.up_datamodel{
	background-image: url(../images/shouqi_btn.png);
	background-repeat: no-repeat;
	
} 
.up_datamodel {
  background-image: url(../images/shouqi_btn.png);
  background-repeat: no-repeat;
}
.down_datamodel{
	background-image: url(../images/zhankai_btn.png);
	background-repeat: no-repeat;
} 
#datamodeltap{	
    position: absolute;
    right: 20px;
    margin-top: 10px;
    z-index: 1;
    cursor: pointer;
}
#sc_datamodel.boxcenter{
	width:840px;
	margin: 0 auto;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover{
	border-bottom: 1px solid #fff;
}
.right{
	float: right;
.down_datamodel {
  background-image: url(../images/zhankai_btn.png);
  background-repeat: no-repeat;
}
#datamodeltap {
  position: absolute;
  right: 20px;
  margin-top: 10px;
  z-index: 1;
  cursor: pointer;
}
#sc_datamodel.boxcenter {
  width: 840px;
  margin: 0 auto;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  border-bottom: 1px solid #fff;
}
.right {
  float: right;
}
.numcircle{
	background-repeat: no-repeat;
	background-size: 20px 20px;
.numcircle {
  background-repeat: no-repeat;
  background-size: 20px 20px;
}
.bgc1-12B7F5.numcircle{
	background-image: url(../images/1_img.png);
	background-position: 42px;	
.bgc1-12B7F5.numcircle {
  background-image: url(../images/1_img.png);
  background-position: 42px;
}
.bgc1-2DBE55.numcircle{
	background-image: url(../images/2_img.png);	
	background-position: 50px;
.bgc1-2DBE55.numcircle {
  background-image: url(../images/2_img.png);
  background-position: 50px;
}
.bgc1-FF9630.numcircle{
	background-image: url(../images/3_img.png);
	background-position: 50px;	
.bgc1-FF9630.numcircle {
  background-image: url(../images/3_img.png);
  background-position: 50px;
}
.el-dialog--center .el-dialog__body{
	text-align: center;
.el-dialog--center .el-dialog__body {
  text-align: center;
}
.el-date-editor .el-range__icon {
	line-height: 3px;
  line-height: 3px;
}
.el-date-editor .el-range-separator{
	line-height: 25px;
	width: auto;
.el-date-editor .el-range-separator {
  line-height: 25px;
  width: auto;
}
.el-input__inner{
	height: 30px;
.el-input__inner {
  height: 30px;
}
.el-input__suffix{
	display: flex;
	align-items: center;
	border-left: 1px solid #d2d2d2;
.el-input__suffix {
  display: flex;
  align-items: center;
  border-left: 1px solid #d2d2d2;
}

+ 2 - 16
app/jbsc/html/statistics.html

@ -332,7 +332,7 @@
					<div class="" v-if="docInfo.level==2&&!data.surveyStatus&&data.screenResultScore==-1&&(data.isDanger==1)&&(data.following==0&&data.isOrder==0)">
					  <span class="btn bgc-FF9630 fl ml10" @click="sqsf(data) ">纳入社区管理</span>
					  <span class="btn bgc-02cfb9 fl ml10" @click="zhuanzhen(data)">转诊</span>
					  <span class="btn bgc-02cfb9 fl ml10" @click="openMessageDialog(data)">消息提醒</span>
					  <span class="btn bgc-12b7f5 fl ml10" @click="openMessageDialog(data)">消息提醒</span>
					</div>
					<div v-else-if="data.isDanger==0">
					  <div class="btn bgc-12B7F5" style="text-align: center" @click="jkzd(data)">健康指导</div>
@ -370,21 +370,7 @@
	    </span>
	  </el-dialog>
    <el-dialog title="消息提醒" :visible.sync="messageVisible" @close="closeMessageDialog" width="540px">
      <div>
        尊敬的签约居民,您好!我是您的签约家庭医师。根据您的健康档案情况,我们对您进行了冠心病风险评估,目前评估等级是{{messInfo.screenResult}},为此提供如下建议:
      </div>
      <div>
        1、请积极联系您的家庭医师{{messInfo.doctName}},进行咨询转诊,进一步检查;
      </div>
      <div>
        2、可致电厦门市冠心病防治中心挂靠单位厦门大学附属心血管病医院,进行咨询就诊,咨询电话:0592968120;
      </div>
      <div>
        3、您也可以通过:厦门i健康或者美丽厦门、智慧健康平台进行预约就诊。
      </div>
      <div>
        您的健康是我们最大的心愿。
      </div>
      <div v-html="messTxt" ></div>
      <span slot="footer" class="dialog-footer">
	      <el-button @click="messageVisible = false">取消</el-button>
	      <el-button type="primary" @click="messageWarn">确定</el-button>

+ 0 - 5
app/jbsc/html/view_screening_results.html

@ -342,10 +342,6 @@
        background-color: #02cfb9;
        color: #fff;
      }
      .bgc-17b3ec {
        background-color: #17b3ec;
        color: #fff;
      }
      .bgc-12b7f5 {
        background-color: #12b7f5;
        color: #fff;
@ -856,7 +852,6 @@
              })
          },
          openMessageDialog() {
            var vm = this
            jbscAPI.getSignInfo({ idcard: this.userInfo.idcard }).then(function (res) {
              vm.messageVisible = true

+ 4 - 14
app/jbsc/js/statistics.js

@ -51,7 +51,7 @@ new Vue({
    newDropdownItems: [],
    selectedNewDropdown: '',
    messageVisible: false,
    messInfo: {}
    messTxt: ""
  },
  created: function () {},
  watch: {},
@ -432,19 +432,9 @@ new Vue({
    },
    openMessageDialog(data) {
      var vm = this
      vm.messInfo = {
        screenResult: data.screenResult
      }
      vm.surveyResultCode = data.code
      jbscAPI.getSignInfo({ idcard: data.idcard }).then(function (res) {
        vm.messageVisible = true
        if (res.data) {
          vm.messInfo.doctName = res.data.doctorName
        } else {
          vm.messInfo.doctName = ''
        }
        vm.$forceUpdate()
      this.surveyResultCode = data.code
      jbscAPI.getSurveyMessage({surveyResultCode: this.surveyResultCode}).then(function(res){
        vm.messTxt = res.data
      })
    },
    closeMessageDialog() {