zyz 7 anos atrás
pai
commit
831f29f747

+ 17 - 1
api/record-api.js

@ -3,7 +3,23 @@
		//咨询
		consultList: function(data) {
			return httpRequest.post("doctor/consult/list_by_team", {data: data})
		}
		},
		//咨询
		guidanceList: function(data) {
			return httpRequest.post("doctor/health/guidance/list_by_team", {data: data})
		},
		educationList:function(data){
			return httpRequest.post("doctor/jkEdu/article/PC/fetchPatientArticlePushedList", {data: data})
		},
		followUpList:function(data){
			return httpRequest.post("doctor/followup/list_by_team", {data: data})
		},
		toBeReservedList:function(data){
			return httpRequest.post("third/guahao/GetPatientReservationList", {data: data})
		},
		getStatistics:function(data){
			return httpRequest.post("doctor/patient/service/statistics", {data: data})
		},
	}
    exports.recordAPI = recordAPI;
})(window)

+ 72 - 0
app/census/census.html

@ -0,0 +1,72 @@
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css"/>
		<link rel="stylesheet" href="../consultation/css/consultation.css" />
		<style type="text/css">
			.table-responsive{padding: 20px 20px 0;}
			.grayish-bg{background: #f5f5fa;}
			.grayish-bg>td{color: #999;}
			.family-doctor{vertical-align: middle!important;font-size: 17px;letter-spacing: 1px;color: #353535;}
			tr>td{color: #666;}
			tr>td+td{color: #22bcf6;}
		</style>
	</head>
	<body>
		<div id="app" class="table-responsive">
			<p class="text-center">医生为""提供的健康服务统计如下</p>
			<div class="table-responsive text-center">
				<table class="table table-bordered table-hover">
					<tr class="grayish-bg">
						<td colspan="2"></td>
						<td>本月</td>
						<td>年度</td>
						<td>历史</td>
					</tr>
					<tr>
						<td rowspan="6" class="family-doctor">家庭医生</br>签约医生</td>
					</tr>
					<tr>
						<td>健康咨询</td>
						<td v-text="statisticsList.consult['month']">0</td>
						<td v-text="statisticsList.consult['year']">0</td>
						<td v-text="statisticsList.consult['history']">0</td>
					</tr>
					<tr>
						<td>随访</td>
						<td v-text="statisticsList.followup['month']">0/0</td>
						<td v-text="statisticsList.followup['year']">0/0</td>
						<td v-text="statisticsList.followup['history']">0/0</td>
					</tr>
					<tr>
						<td>代预约</td>
						<td v-text="statisticsList.reservation['month']">0</td>
						<td v-text="statisticsList.reservation['year']">0</td>
						<td v-text="statisticsList.reservation['history']">0</td>
					</tr>
					<tr>
						<td>健康指导</td>
						<td v-text="statisticsList.guidance['month']">0</td>
						<td v-text="statisticsList.guidance['year']">0</td>
						<td v-text="statisticsList.guidance['history']">0</td>
					</tr>
					<tr>
						<td>健康教育</td>
						<td v-text="statisticsList.article['month']">0</td>
						<td v-text="statisticsList.article['year']">0</td>
						<td v-text="statisticsList.article['history']">0</td>
					</tr>
				</table>
			</div>
			
		</div>
		<script type="text/javascript" src="../../js/vue.js"></script>
		<script type="text/javascript" src="../../js/jquery-2.2.4.js" ></script>
		<script src="../../js/es6-promise.js"></script>
		<script src="../../api/http-request.js"></script>
		<script src="../../api/record-api.js"></script>
		<script src="./js/census.js"></script>
	</body>
</html>

+ 28 - 0
app/census/js/census.js

@ -0,0 +1,28 @@
new Vue({
  el: '#app',
  data: {
  	statisticsList:{
  		article:{month: 0, year: 0, history: 0},
		consult:{month: 0, year: 0, history: 0},
		followup:{month: "0/0", year: "0/0", history: "0/0"},
		guidance:{month: 0, year: 0, history: 0},
		reservation:{month: 0, year: 0, history: 0}
  	}
	
  },
  mounted: function() {
	var vm=this;
		var data = {patientCode:'fca8c658ffda42afa5be91e54e0268c8',
				patient:'fca8c658ffda42afa5be91e54e0268c8',
				teamCode:646,
				page:1,
				pagesize:10}
		recordAPI.getStatistics(data).then(function(res){
			if(res.status==200){ 				
				vm.statisticsList=res.data;
			}else{
				top.toastr.error(res.msg);
			}
		})
  }
})

+ 2 - 3
app/consultation/consultation.html

@ -8,15 +8,14 @@
	</head>
	<body>
		<div id="app">
			<consultation-list></consultation-list>
			<consultation-list :consulta-data="list" @init-data="msgListView"></consultation-list>
			<navigation :pages="total" :current="currentPage" @navpage="msgListView"></navigation>
		</div>
		<script type="text/javascript" src="../../js/vue.js"></script>
		<script type="text/javascript" src="../../js/jquery-2.2.4.js" ></script>
		<script src="../../js/es6-promise.js"></script>
		<!--<script src="../../plugins/layer/layer.min.js"></script>-->
		<script type="text/javascript" src="../../component/common/pagination.js" ></script>
		<script src="../../component/consultation/consultation-list.js"></script>
		<script type="text/javascript" src="../../component/common/pagination.js" ></script>
		<script src="../../api/http-request.js"></script>
		<script src="../../api/record-api.js"></script>
		<script src="js/consultation.js"></script>

+ 12 - 11
app/consultation/js/consultation.js

@ -1,33 +1,34 @@
new Vue({
  el: '#app',
  data: {
  	total:1,
  	currentPage:1,
  	list:[]
  	total:1,//总页数
  	currentPage:1,//当前页数
  	list:[]//列表集合
  },
  methods:{
  	msgListView(page){
  	msgListView: function(page){
  		var vm=this;
  		if(page){
  			vm.currentPage=page;
  			var data = {patientCode:'fca8c658ffda42afa5be91e54e0268c8',
					patient:'fca8c658ffda42afa5be91e54e0268c8',
					teamCode:646,
					page:1,
					page:page,
					pagesize:10}
  			recordAPI.consultList(data).then(function(res){
  				top.toastr.error("gaga")
  				if(res.status==200){ 
  					list=res;
						if(res.data.length){  						
  						vm.list=res.data;
  					}else{
  							top.toastr.info("啊喔!没有更多内容了");
  					}
  				}else{
  					
  					top.toastr.error(res.msg);
  				}
  			})
  		}
  		console.log("进来了")
  	}
  },
  mounted(){
  	var vm = this
  	this.msgListView(this.currentPage)
  },
})

+ 8 - 4
app/education/education.html

@ -8,12 +8,16 @@
	</head>
	<body>
		<div id="app">
			<follow-list></follow-list>
			<follow-list :edu-data="list" @init-data="msgListView"></follow-list>
			<navigation :pages="total" :current="currentPage" @navpage="msgListView"></navigation>
		</div>
		<script type="text/javascript" src="../../js/vue.js"></script>
		<!--<script type="text/javascript" src="../../js/jquery-2.2.4.js" ></script>-->
		<!--<script src="../../plugins/layer/layer.min.js"></script>-->
		<script type="text/javascript" src="../../js/jquery-2.2.4.js" ></script>
		<script src="../../js/es6-promise.js"></script>
		<script src="../../component/education/education-list.js"></script>
		<script src="../../component/education/education.js"></script>
		<script type="text/javascript" src="../../component/common/pagination.js" ></script>
		<script src="../../api/http-request.js"></script>
		<script src="../../api/record-api.js"></script>
		<script src="js/education.js"></script>
	</body>
</html>

+ 34 - 0
app/education/js/education.js

@ -0,0 +1,34 @@
new Vue({
  el: '#app',
  data: {
  	total:1,//总页数
  	currentPage:1,//当前页数
  	list:[]//列表集合
  },
  methods:{
  	msgListView: function(page){
  		var vm=this;
  		if(page){
  			vm.currentPage=page;
  			var data = {patientCode:'fca8c658ffda42afa5be91e54e0268c8',
					patient:'fca8c658ffda42afa5be91e54e0268c8',
					teamCode:646,
					page:page,
					pagesize:10}
  			recordAPI.educationList(data).then(function(res){
  				if(res.status==200){ 
					if(res.data.length){  						
  						vm.list=res.data;
  					}else{
  							top.toastr.info("啊喔!没有更多内容了");
  					}
  				}else{
  					top.toastr.error(res.msg);
  				}
  			})
  		}
  	}
  },
  mounted(){
  },
})

+ 8 - 4
app/follow-up/follow-up.html

@ -8,12 +8,16 @@
	</head>
	<body>
		<div id="app">
			<follow-list></follow-list>
			<follow-list :follow-up-data="list" @init-data="msgListView"></follow-list>
			<navigation :pages="total" :current="currentPage" @navpage="msgListView"></navigation>
		</div>
		<script type="text/javascript" src="../../js/vue.js"></script>
		<!--<script type="text/javascript" src="../../js/jquery-2.2.4.js" ></script>-->
		<!--<script src="../../plugins/layer/layer.min.js"></script>-->
		<script type="text/javascript" src="../../js/jquery-2.2.4.js" ></script>
		<script src="../../js/es6-promise.js"></script>
		<script src="../../component/follow-up/follow-up-list.js"></script>
		<script src="../../component/follow-up/follow-up.js"></script>
		<script type="text/javascript" src="../../component/common/pagination.js" ></script>
		<script src="../../api/http-request.js"></script>
		<script src="../../api/record-api.js"></script>
		<script src="js/follow-up.js"></script>
	</body>
</html>

+ 34 - 0
app/follow-up/js/follow-up.js

@ -0,0 +1,34 @@
new Vue({
  el: '#app',
  data: {
  	total:1,//总页数
  	currentPage:1,//当前页数
  	list:[]//列表集合
  },
  methods:{
  	msgListView: function(page){
  		var vm=this;
  		if(page){
  			vm.currentPage=page;
  			var data = {patientCode:'fca8c658ffda42afa5be91e54e0268c8',
					patient:'fca8c658ffda42afa5be91e54e0268c8',
					teamCode:646,
					page:page,
					pagesize:10}
  			recordAPI.followUpList(data).then(function(res){
  				if(res.status==200){ 
					if(res.data.length){  						
  						vm.list=res.data;
  					}else{
  							top.toastr.info("啊喔!没有更多内容了");
  					}
  				}else{
  					top.toastr.error(res.msg);
  				}
  			})
  		}
  	}
  },
  mounted(){
  },
})

+ 8 - 4
app/guidance/guidance.html

@ -8,12 +8,16 @@
	</head>
	<body>
		<div id="app">
			<consultation-list></consultation-list>
			<consultation-list :consulta-data="list" @init-data="msgListView"></consultation-list>
			<navigation :pages="total" :current="currentPage" @navpage="msgListView"></navigation>
		</div>
		<script type="text/javascript" src="../../js/vue.js"></script>
		<!--<script type="text/javascript" src="../../js/jquery-2.2.4.js" ></script>-->
		<!--<script src="../../plugins/layer/layer.min.js"></script>-->
		<script type="text/javascript" src="../../js/jquery-2.2.4.js" ></script>
		<script src="../../js/es6-promise.js"></script>
		<script src="../../component/guidance/guidance-list.js"></script>
		<script src="../../component/guidance/guidance.js"></script>
		<script type="text/javascript" src="../../component/common/pagination.js" ></script>
		<script src="../../api/http-request.js"></script>
		<script src="../../api/record-api.js"></script>
		<script src="./js/guidance.js"></script>
	</body>
</html>

+ 32 - 0
app/guidance/js/guidance.js

@ -0,0 +1,32 @@
new Vue({
  el: '#app',
  data: {
  	total:1,//总页数
  	currentPage:1,//当前页数
  	list:[]//列表集合
  },
  methods:{
  	msgListView: function(page){
  		var vm=this;
  		if(page){
  			vm.currentPage=page;
  			var data = {patientCode:'fca8c658ffda42afa5be91e54e0268c8',
					patient:'fca8c658ffda42afa5be91e54e0268c8',
					teamCode:646,
					page:page,
					pagesize:10}
  			recordAPI.guidanceList(data).then(function(res){
  				if(res.status==200){ 
  					if(res.data.length){  						
  						vm.list=res.data;
  					}else{
  							top.toastr.info("啊喔!没有更多内容了");
  					}
  				}else{
  					top.toastr.error(res.msg);
  				}
  			})
  		}
  	}
  }
})

+ 3 - 7
component/record/record-tabs.js

@ -27,18 +27,14 @@ new Vue({
  	isAgent: false,
    innerTabs: [{title:'咨询',href:'../consultation/consultation.html'},
    			{title:'随访',href:'../follow-up/follow-up.html'},
    			{title:'待预约',href:'../follow-up/follow-up.html?type=2'},
    			{title:'代预约',href:'../toBeReserved/toBeReserved.html'},
    			{title:'健康指导',href:'../guidance/guidance.html'},
    			{title:'健康教育',href:'../education/education.html'},
    			{title:'统计',href:''}
    			{title:'统计',href:'../census/census.html'}
    ],
    activeidx: ""
  },
  mounted: function() {
  	var vm = this
  	if(vm.isAgent) { // 如果是代理,“供货授权”信息卡
  		vm.innerTabs.push(reseverLinks("供货授权"))
  	}
  	vm.activeidx = query.tabIdex || "0"
  	this.activeidx = query.tabIdex || "0"
  }
})

+ 1 - 1
app/record/record.html

@ -17,7 +17,7 @@
		<script src="../../plugins/layer/layer.min.js"></script>
		<script src="../../plugins/toastr/toastr.min.js"></script>
		<script src="../../component/record/inner-tabs.js"></script>
		<script src="../../component/record/record-tabs.js"></script>
		<script src="js/record-tabs.js"></script>
		
	</body>
</html>

+ 34 - 0
app/toBeReserved/js/toBeReserved.js

@ -0,0 +1,34 @@
new Vue({
  el: '#app',
  data: {
  	total:1,//总页数
  	currentPage:1,//当前页数
  	list:[]//列表集合
  },
  methods:{
  	msgListView: function(page){
  		var vm=this;
  		if(page){
  			vm.currentPage=page;
  			var data = {patientCode:'fca8c658ffda42afa5be91e54e0268c8',
					patient:'fca8c658ffda42afa5be91e54e0268c8',
					teamCode:646,
					page:page,
					pagesize:10}
  			recordAPI.toBeReservedList(data).then(function(res){
  				if(res.status==200){ 
					if(res.data.length){  						
  						vm.list=res.data;
  					}else{
  							top.toastr.info("啊喔!没有更多内容了");
  					}
  				}else{
  					top.toastr.error(res.msg||"服务器出错!!!");
  				}
  			})
  		}
  	}
  },
  mounted(){
  },
})

+ 23 - 0
app/toBeReserved/toBeReserved.html

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css"/>
		<link rel="stylesheet" href="../follow-up/css/follow-up.css" />
	</head>
	<body>
		<div id="app">
			<follow-list :to-be-reserved-data="list" @init-data="msgListView"></follow-list>
			<navigation :pages="total" :current="currentPage" @navpage="msgListView"></navigation>
		</div>
		<script type="text/javascript" src="../../js/vue.js"></script>
		<script type="text/javascript" src="../../js/jquery-2.2.4.js" ></script>
		<script src="../../js/es6-promise.js"></script>
		<script src="../../component/toBeReserved/toBeReserved-list.js"></script>
		<script type="text/javascript" src="../../component/common/pagination.js" ></script>
		<script src="../../api/http-request.js"></script>
		<script src="../../api/record-api.js"></script>
		<script src="js/toBeReserved.js"></script>
	</body>
</html>

+ 0 - 9
app/创建格式/index.html

@ -1,9 +0,0 @@
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
</html>

+ 1 - 1
component/common/pagination.js

@ -5,7 +5,7 @@
 */
//分页组件
var pageComponent = Vue.extend({
    template: `<nav aria-label="Page navigation">
    template: `<nav v-if="pages>1" aria-label="Page navigation" class="text-center">
        <ul class="pagination">
            <li :class="{\'disabled\':curPage==1}">
                <a href="javascript:;" @click="goPage(curPage==1?1:curPage-1)" aria-label="Previous">

+ 19 - 14
component/consultation/consultation-list.js

@ -1,19 +1,21 @@
Vue.component('consultation-list', {
	template: '<ul class="consultation-list">\
				<li class="consultation-list-item" @click="viewDetail(1)">\
					<img class="con-avatar" src="../../images/d-default.png" alt="" />\
					<div class="con-user-info">\
						<span class="con-status" data-status="2" desc="1进行2结束"></span>\
						<p><span class="con-user-name">钱百万</span><span class="small con-time">2018-1-10 12:12:12</span></p>\
						<p class="user-problem">咨询问题:医生,今天您有值班?我这边有一些七大姑八大姨的亲戚朋友要去您那边看病</p>\
					</div>\
				</li>\
			</ul>',
	template: `<ul class="consultation-list">
				<li class="consultation-list-item" @click="viewDetail(1)" v-for="(list,index) in chatList">
					<img class="con-avatar" :src="list.patientPhoto" alt="" onerror="onerror=null;src=\'http://www.yihu.com/v3/images/default-female-doc.jpg\'" />
					<div class="con-user-info">
						<span class="con-status" :data-status="list.status" desc="1进行2结束"></span>
						<p><span class="con-user-name">{{list.patientName}}</span><span class="small con-time">{{list.czrq}}</span></p>
						<p class="user-problem">咨询问题:{{list.symptoms}}</p>
					</div>
				</li>
			</ul>`,
	data: function() {
		return {
			chatList: ""
			chatList: "",
			curPage:1
		}
	},
	props:["consultaData"],
	methods: {
		viewDetail: function(id) {
			top.layer.open({
@ -25,9 +27,12 @@ Vue.component('consultation-list', {
		    });
		}
	},
	watch:{
		consultaData:function(val){
			this.chatList=this.consultaData;
		}
	},
	mounted: function() {
		var Request = GetRequest(),
		vm = this;
		
		this.$emit('init-data', this.curPage);
	}
})

+ 25 - 17
component/education/education-list.js

@ -1,29 +1,37 @@
Vue.component('follow-list', {
	template: '<ul class="consultation-list">\
				<li class="consultation-list-item" @click="viewDetail(1)">\
					<p class="follow-up-doctor"><span class="start-time pull-right">发送时间:2018-1-10 12:12:12</span>随访医生:张三疯随访医生:张三疯随访医生:张三疯随访医生:张三疯随访医生:张三疯随访医生:张三疯随访医生:张三疯随访医生:张三疯</p>\
					<div class="follow-user-info leave-word-container">\
						<span class="follow-status" data-status="2" desc="1进行2结束"></span>\
						<p class="leave-word">医生留言:哈哈哈哈哈哈哈哈</p>\
					</div>\
				</li>\
			</ul>',
	template: `<ul class="consultation-list">
				<li class="consultation-list-item" @click="viewDetail(1)" v-for="(list,index) in eduList">
					<p class="follow-up-doctor"><span class="start-time pull-right">发送时间:{{list.fsrq}}</span>随访医生:{{list.doctor}}</p>
					<div class="follow-user-info leave-word-container">
						<span class="follow-status" :data-status="list.status" desc="1进行2结束"></span>
						<p class="leave-word">医生留言:{{list.ysly}}</p>
					</div>
				</li>
			</ul>`,
	data: function() {
		return {
			//1随访2预约
			type:1,
			chatList: ""
			eduList: "",
			curPage:1
		}
	},
	props:["eduData"],
	methods: {
		viewDetail: function(id) {
			
			top.layer.open({
		      type: 2,
		      maxmin: true,
		      area: ['600px', '360px'],
		      shadeClose: true,
		      content: 'ddd'
		    });
		}
	},
	watch:{
		consultaData:function(val){
			this.eduList=this.eduData;
		}
	},
	mounted: function() {
		var Request = GetRequest(),
		vm = this;
		vm.type=Request['type']||1;
		
		this.$emit('init-data', this.curPage);
	}
})

+ 0 - 18
component/education/education.js

@ -1,18 +0,0 @@
function GetRequest() {  
   var url = location.search; //获取url中"?"符后的字串
   var theRequest = new Object();
   if (url.indexOf("?") != -1) {
      var str = url.substr(1);
      strs = str.split("&");
      for(var i = 0; i < strs.length; i ++) {
         theRequest[strs[i].split("=")[0]]=(strs[i].split("=")[1]);
      }
   }
   return theRequest;
}
new Vue({
  el: '#app',
  data: {
  }
})

+ 26 - 18
component/follow-up/follow-up-list.js

@ -1,30 +1,38 @@
Vue.component('follow-list', {
	template: '<ul class="consultation-list">\
				<li class="consultation-list-item" @click="viewDetail(1)">\
					<p class="follow-up-doctor"><span class="start-time pull-right">{{type==1?"开始":"预约"}}时间:2018-1-10 12:12:12</span>随访医生:张三疯</p>\
					<div class="follow-user-info">\
						<span class="follow-status" data-status="2" desc="1进行2结束"></span>\
						<p>{{type==1?"方式/类型:":"科室/医院:"}}门诊/糖尿病</p>\
						<p class="completion-time">{{type==1?"完成":"就诊"}}时间:2018-1-11 12:12:12</p>\
					</div>\
				</li>\
			</ul>',
	template: `<ul class="consultation-list">
				<li class="consultation-list-item" @click="viewDetail(1)" v-for="(list,index) in followUpList">
					<p class="follow-up-doctor"><span class="start-time pull-right">开始时间:{{list.createTime}}</span>随访医生:{{list.doctorName}}</p>
					<div class="follow-user-info">
						<span class="follow-status" :data-status="list.status" desc="1进行2结束"></span>
						<p>方式/类型:{{list.followupTypeName}}{{list.followupClassName?"/"+list.followupClassName:""}}</p>
						<p class="completion-time">{{list.status==1?"计划时间:"+list.followupPlanDate:"完成时间:"+list.followupDate}}</p>
					</div>
				</li>
			</ul>`,
	data: function() {
		return {
			//1随访2预约
			type:1,
			chatList: ""
			followUpList: "",
			curPage:1
		}
	},
	props:["followUpData"],
	methods: {
		viewDetail: function(id) {
			
			top.layer.open({
		      type: 2,
		      maxmin: true,
		      area: ['600px', '360px'],
		      shadeClose: true,
		      content: 'ddd'
		    });
		}
	},
	watch:{
		followUpData:function(val){
			this.followUpList=this.followUpData;
		}
	},
	mounted: function() {
		var Request = GetRequest(),
		vm = this;
		vm.type=Request['type']||1;
		
		this.$emit('init-data', this.curPage);
	}
})

+ 0 - 18
component/follow-up/follow-up.js

@ -1,18 +0,0 @@
function GetRequest() {  
   var url = location.search; //获取url中"?"符后的字串
   var theRequest = new Object();
   if (url.indexOf("?") != -1) {
      var str = url.substr(1);
      strs = str.split("&");
      for(var i = 0; i < strs.length; i ++) {
         theRequest[strs[i].split("=")[0]]=(strs[i].split("=")[1]);
      }
   }
   return theRequest;
}
new Vue({
  el: '#app',
  data: {
  }
})

+ 18 - 13
component/guidance/guidance-list.js

@ -1,18 +1,20 @@
Vue.component('consultation-list', {
	template: '<ul class="consultation-list">\
				<li class="consultation-list-item" @click="viewDetail(1)">\
					<div class="con-user-info">\
						<span class="guidance-status" data-status="1" desc="1未读2已读"></span>\
						<p class="article-title">文章标题:哈哈哈哈</p>\
						<p class="user-problem">发送时间:2018-1-10 12:12:12</p>\
					</div>\
				</li>\
			</ul>',
	template: `<ul class="consultation-list">
				<li class="consultation-list-item" @click="viewDetail(1)" v-for="(list,index) in guidanceList">
					<div class="con-user-info">
						<span class="guidance-status" :data-status="list.status" desc="1未读2已读"></span>
						<p class="article-title">文章标题:{{list.title}}</p>
						<p class="user-problem">发送时间:{{list.fsrq}}</p>
					</div>
				</li>
			</ul>`,
	data: function() {
		return {
			chatList: ""
			guidanceList: "",
			curPage:1
		}
	},
	props:["guidanceData"],
	methods: {
		viewDetail: function(id) {
			top.layer.open({
@ -24,9 +26,12 @@ Vue.component('consultation-list', {
		    });
		}
	},
	watch:{
		consultaData:function(val){
			this.guidanceList=this.guidanceData;
		}
	},
	mounted: function() {
		var Request = GetRequest(),
		vm = this;
		
		this.$emit('init-data', this.curPage);
	}
})

+ 0 - 5
component/guidance/guidance.js

@ -1,5 +0,0 @@
new Vue({
  el: '#app',
  data: {
  }
})

+ 1 - 1
component/record/inner-tabs.js

@ -6,7 +6,7 @@ Vue.component('inner-tabs', {
			  		</li>\
				</ul>\
				<div class="inner-main" style="height: calc(100% - 40px);overflow:hidden;">\
					<iframe :src="url" width="100%" height="100%" frameborder="0" seamless style="display: inline"></iframe>\
					<iframe :src="url" width="100%" height="500" frameborder="0" seamless style="display: inline"></iframe>\
				</div>\
			</div>',
	props: ["tabs","activeidx"],

+ 37 - 0
component/toBeReserved/toBeReserved-list.js

@ -0,0 +1,37 @@
Vue.component('follow-list', {
	template: `<ul class="consultation-list">
				<li class="consultation-list-item" @click="viewDetail(1)" v-for="(list,index) in toBeReservedList">
					<p class="follow-up-doctor"><span class="start-time pull-right">开始时间:{{list.createTime}}</span>随访医生:{{list.doctorName}}</p>
					<div class="follow-user-info">
						<p>科室/医院:{{list.followupTypeName}}{{list.followupClassName?"/"+list.followupClassName:""}}</p>
						<p class="completion-time">预约时间:{{list.followupPlanDate}}</p>
					</div>
				</li>
			</ul>`,
	data: function() {
		return {
			toBeReservedList: "",
			curPage:1
		}
	},
	props:["toBeReservedData"],
	methods: {
		viewDetail: function(id) {
			top.layer.open({
		      type: 2,
		      maxmin: true,
		      area: ['600px', '360px'],
		      shadeClose: true,
		      content: 'ddd'
		    });
		}
	},
	watch:{
		followUpData:function(val){
			this.toBeReservedList=this.toBeReservedData;
		}
	},
	mounted: function() {
		this.$emit('init-data', this.curPage);
	}
})

+ 1 - 1
plugins/toastr/toastr.min.js

@ -172,7 +172,7 @@
                    },
                    iconClass: 'toast-info',
                    positionClass: 'toast-top-center',
                    timeOut: 3000, // Set timeOut and extendedTimeout to 0 to make it sticky
                    timeOut: 2000, // Set timeOut and extendedTimeout to 0 to make it sticky
                    titleClass: 'toast-title',
                    messageClass: 'toast-message',
                    target: 'body',