Browse Source

查看结果添加

zyz 6 years ago
parent
commit
617258641b

+ 1 - 1
api/jbsc-api.js

@ -38,7 +38,7 @@
		},
//		获取居民健康
		getHealth: function(data){
			return httpRequest.get('/patient/health_index/last',{data:data})
			return httpRequest.get('doctor/health_index/last',{data:data})
		},
//		获取医生基础信息
		doctorBaseinfo: function(data){

+ 5 - 5
app/jbsc/html/statistics.html

@ -179,7 +179,7 @@
							</tr>
						</thead>
						<tbody>
							<tr v-if="!wujilu" v-for="(data, index) in tablelist">
							<tr v-if="!wujilu" v-for="(data, index) in tablelist" @click="view(data)">
								<td>{{data.patientName}}</td>
								<td>{{data.templateTitle}}</td>
								<td class="c-FF9630">{{data.screenResultScore}}</td>
@ -191,12 +191,12 @@
										已预约
									</div>
									<div v-else-if="data.following==0 && data.isOrder==0">
										<span class="btn bgc-FF9630 fl ml10" @click="jkgz(data)">健康跟踪</span>
										<span class="btn bgc-12B7F5 fl ml10" @click="zhuanzhen">转诊</span>
										<span class="btn bgc-FF9630 fl ml10" @click.stop="jkgz(data)">健康跟踪</span>
										<span class="btn bgc-12B7F5 fl ml10" @click.stop="zhuanzhen">转诊</span>
									</div>
									<div v-else-if="data.following==1">
										<span class="btn bgc-2DBE55 fl ml10" @click="jkjy(data)">健康教育</span>
										<span class="btn bgc-12B7F5 fl ml10" @click="shaicha(data,1)">再次筛查</span>
										<span class="btn bgc-2DBE55 fl ml10" @click.stop="jkjy(data)">健康教育</span>
										<span class="btn bgc-12B7F5 fl ml10" @click.stop="shaicha(data,1)">再次筛查</span>
									</div>
									<div v-else-if="data.isOrder==2" class="c-12B7F5">
										已接诊

+ 3 - 2
app/jbsc/html/view_screening_results.html

@ -154,7 +154,7 @@
				</div>
				
			</div>
			<div class="clear-bottom">
			<div class="clear-bottom" v-if="!isView">
				<div class="btn-group-bottom flex-box">
					<button class="btn btn-success" @click="jkjy">健康教育</button>
					<button class="btn bgc-12b7f5" v-if="userInfo.is_again" @click="reScreening">再次筛查</button>
@ -181,6 +181,7 @@
					noTiZhong:true,
					doctorInfo:{code:wlyyAgentForDoc.uid},
					resultCode:httpData['resultCode'],
					isView: httpData['isView']|| false
				},
				mounted: function(){
					this.getScreenResultDetail()
@ -204,7 +205,7 @@
						var vm=this
				  		var receiver={"code":vm.userInfo.patient_code,name:vm.userInfo.patient_name}
						sessionStorage.setItem("jbsc-jkwzreceiver",JSON.stringify(receiver))
						location.href="../../../../health-education/login.html?origin=jbsc"
						top.location.href="../../../../health-education/login.html?origin=jbsc"
				  	},
					getScreenResultDetail:function(){
						var vm=this;

+ 19 - 3
app/jbsc/js/statistics.js

@ -110,6 +110,21 @@ new Vue({
  		sessionStorage.setItem("jbsc-jkwzreceiver",JSON.stringify(receiver))
  		location.href="../../../../health-education/login.html?origin=jbsc"
  	},
  	view:function(data){
  		top.layer.open({
		  type: 2,
//				  offset: ['100px'], //右下角弹出
		  area: ['568px', '100%'],
		  shade: 0.5,
		  title: '查看筛选结果',
		  fixed: true, //不固定
		  maxmin: true,
		  closeBtn:1,
		  shift: 5,
		  shadeClose: false, //点击遮罩关闭层
		  content: 'view_screening_results.html?isView=true&resultCode='+data.code
		});
  	},
  	//筛查
  	shaicha:function(data,isNew){
  		var vm=this
@ -153,11 +168,12 @@ new Vue({
  		//跳转到筛查结果页面
		layer.open({
		  type: 2,
		  area: ['500px', '550px'],
//				  offset: ['100px'], //右下角弹出
		  area: ['568px', '100%'],
		  shade: 0.5,
		  title: '家医建议',
		  title: '查看筛选结果',
		  fixed: true, //不固定
		  maxmin: false,
		  maxmin: true,
		  closeBtn:1,
		  shift: 5,
		  shadeClose: false, //点击遮罩关闭层