Browse Source

医生端:首页对接完成

zyz 7 years ago
parent
commit
e537d527b5
4 changed files with 37 additions and 44 deletions
  1. 12 1
      common/css/ss-doctor.css
  2. 9 29
      html/home/html/home2.html
  3. 12 10
      html/home/js/home2.js
  4. 4 4
      js/common_http.js

+ 12 - 1
common/css/ss-doctor.css

@ -636,7 +636,6 @@ body {
}
.mod-juming .mod-bd {
	height: 9rem;
	font-size: .65rem;
}
@ -708,6 +707,18 @@ body {
	box-sizing: border-box;
}
.zxgzrs {
	background: #D1F8ED url("../../images/doc-ico-new5.png") no-repeat 87% 65%;
	background-size: 4.5rem 4.35rem;
	color: #05afcd;
	width: 100%;
	height: 6rem;
	padding: .5rem;
	box-sizing: border-box;
	position: relative;
}
.zxgzrs>p{width: 60%;left: 0;top: 2rem;position: absolute;text-align: center;}
.zxgzrs>p+p{top: 2.8rem;font-size: 1rem;}
.list-fuwu {
	display: -webkit-box;
	display: box;

+ 9 - 29
html/home/html/home2.html

@ -29,15 +29,15 @@
            		</div>
            		<ul class="nav-list" id="sign_amount">
            			<li class="one" data-type='0'>
            				<div class="num" id="waitNum"></div>
            				<div class="name">待审核数</div>
            				<div class="num" id="waitNum">0</div>
            				<div class="name">关注人数</div>
            			</li>
            			<li class="one" data-type='2'>
            				<div class="num" id="signNum"></div> 
            				<div class="name">签约总数</div>
            				<div class="num" id="signNum">0</div> 
            				<div class="name">咨询量</div>
            			</li>
            			<li class="one" data-type='5'>
            				<div class="num" id="fullNum"></div>
            				<div class="num" id="fullNum">0</div>
            				<div class="name">我的评价</div>
            			</li>
            		</ul>
@ -57,30 +57,10 @@
					<div class="mod-hd">
						<span class="circle-22 bgc-4bb7be"><i class="iconfont icon-wodejumin"></i></span> 我的居民
					</div>
					<div class="mod-bd clearfix">
						<div class="left fl">
							<div class="top patient-type" data-type="3"> 
								<p class="title">老年人</p>
								<p id="old_amount">(0人)</p>
							</div> 
							<div class="middle patient-type" data-type="4"> 
								<p class="title">高血压</p>
								<p id="hypertension_amount">(0人)</p>
							</div>
							<div class="bottom patient-type" data-type="5">
								<p class="title">糖尿病</p>
								<p id="diabetes_amount">(0人)</p>
							</div>
						</div>
						<div class="right fr">
							<div class="top patient-type" data-type="1">
								<p>普通人群</p>
								<p id="normal_amount">(0人)</p>
							</div>
							<div class="bottom patient-type" data-type="14">
								<p>其他</p>
								<p id="other_amount">(0人)</p>
							</div>
					<div class="mod-bd">
						<div class="zxgzrs patient-type" data-type="14">
							<p>最新人数</p>
							<p id="last_amount">(0)</p>
						</div>
					</div>
				</div>

+ 12 - 10
html/home/js/home2.js

@ -92,14 +92,14 @@
//		updateBadgeNumber(); //刷新应用角标数字
//		getGroupMsgCount(); // 获取讨论组总数
		sendPost("doctor/baseinfo", null, function(res){
			mui.toast(res.msg);
		}, function(res){
			if(res.status==200){
				var data = res.data;				
				$('#fullNum').html(res.data.evaluateScore?res.data.evaluateScore:'<span style="font-size:0.58rem">暂无评分</span>')
			}
		},'POST','',true);
//		sendPost("doctor/baseinfo", null, function(res){
//			mui.toast(res.msg);
//		}, function(res){
//			if(res.status==200){
//				var data = res.data;				
//				$('#fullNum').html(res.data.evaluateScore?res.data.evaluateScore:'<span style="font-size:0.58rem">暂无评分</span>')
//			}
//		},'POST','',true);
	}
	
	/*
@ -145,8 +145,10 @@
	function getSignCount() {
		sendPost("doctor/baseinfoCount", {doctorType: docType}, null, function(res) {
			if(res.status == 200) {
				$('#waitNum').html(res.data.unsign_amount);
				$('#signNum').html(res.data.signed_amount);
				$('#waitNum').html(res.data.concernCount||0);
				$('#last_amount').html(res.data.concernCount||0);
				$('#signNum').html(res.data.doctoConsult||0);
				$('#fullNum').html(res.data.doctorScore?res.data.doctorScore:'<span style="font-size:0.58rem">暂无评分</span>')
			} else {
				console.error(res.msg);
			}

+ 4 - 4
js/common_http.js

@ -1,6 +1,6 @@
//切换发布版本 true:正式版,连接生产环境;false:测试版,连接测试环境。
var publish_version = true;
//var publish_version = false;
//var publish_version = true;
var publish_version = false;
var curr_app_version = 5; //app当前内定版本号
//是否是在公司总部的演示环境
@ -67,11 +67,11 @@ else {
 //  server = "http%3a%2f%2f192.168.131.6%3a8080%2fwlyy%2f"; 
//   server = "http://weixin.xmtyw.cn/wlyy-dev/";//公司内部服务器的地址 
//	server = "http://172.19.103.87:9092/wlyy/";
	 server = "http://172.19.103.88:9092/wlyy/";
//	 server = "http://172.19.103.88:9092/wlyy/";
	 
//server = "http://192.168.131.24:8080/";//仕杰
//server = "http://192.168.131.113:8080/";//俊杰
//	server = "http://192.168.131.102:8080/";//伟达
	server = "http://192.168.131.102:8080/";//伟达
//server = "http://192.168.131.133:8080/";//文杰
//server = "http://192.168.131.131:8080/";//文彬
//	 server = "http://192.168.131.127:8060/";//逸祥