|
@ -1,30 +1,39 @@
|
|
Vue.component('follow-list', {
|
|
Vue.component('follow-list', {
|
|
template: `<ul class="consultation-list">
|
|
template: `<ul class="consultation-list">
|
|
<li class="consultation-list-item" @click="viewDetail(1)" v-for="(list,index) in toBeReservedList">
|
|
<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>
|
|
|
|
|
|
<p class="follow-up-doctor"><span class="start-time pull-right">开始时间:{{list.czrq}}</span>随访医生:{{list.doctorName}}</p>
|
|
<div class="follow-user-info">
|
|
<div class="follow-user-info">
|
|
<p>科室/医院:{{list.followupTypeName}}{{list.followupClassName?"/"+list.followupClassName:""}}</p>
|
|
|
|
<p class="completion-time">预约时间:{{list.followupPlanDate}}</p>
|
|
|
|
|
|
<p>科室/医院:{{list.deptName}}/{{list.orgName}}</p>
|
|
|
|
<p class="completion-time">预约时间:{{list.startTime}}</p>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
</ul>`,
|
|
</ul>`,
|
|
data: function() {
|
|
data: function() {
|
|
return {
|
|
return {
|
|
toBeReservedList: "",
|
|
|
|
|
|
toBeReservedList: [{id:1,photo:'#',dname:'山东省地方',czrq:'2018-12-12 12:12:12',orgName:'xx医院',doctorName:'陈医生',deptName:'心理科室',startTime:'2018-12-12 12:12:12'}],
|
|
|
|
// toBeReservedList: "",
|
|
curPage:1
|
|
curPage:1
|
|
}
|
|
}
|
|
},
|
|
},
|
|
props:["toBeReservedData"],
|
|
props:["toBeReservedData"],
|
|
methods: {
|
|
methods: {
|
|
viewDetail: function(id) {
|
|
|
|
|
|
viewDetail:function(){
|
|
top.layer.open({
|
|
top.layer.open({
|
|
type: 2,
|
|
type: 2,
|
|
maxmin: true,
|
|
maxmin: true,
|
|
area: ['600px', '360px'],
|
|
|
|
|
|
area: ['1000px', '650px'],
|
|
shadeClose: true,
|
|
shadeClose: true,
|
|
content: 'ddd'
|
|
|
|
});
|
|
|
|
|
|
moveOut:true,
|
|
|
|
btn:'返回',
|
|
|
|
success: function(layero){
|
|
|
|
layero.find('.layui-layer-btn').css({'text-align': 'center','border-top': '1px solid #ececec','padding-top': '7.5px'});
|
|
|
|
layero.find('.layui-layer-btn').find('a').addClass("layui-btn").css({background: '#f96565',color: '#fff',width: '100px',border: 'none', height: '34px','line-height':'22px',padding: '6px 12px','font-size': '14px'});
|
|
|
|
},
|
|
|
|
content: '../html/lay_detail_reserved.html'
|
|
|
|
});
|
|
|
|
// top.layer.full(layerTop);
|
|
}
|
|
}
|
|
|
|
|
|
},
|
|
},
|
|
watch:{
|
|
watch:{
|
|
followUpData:function(val){
|
|
followUpData:function(val){
|