|
@ -1,6 +1,6 @@
|
|
|
Vue.component('follow-list', {
|
|
|
template: `<ul class="followup-list">
|
|
|
<li v-for="(list,index) in followUpList" class="consultation-list-item" @click="viewDetail(list.id)">
|
|
|
<li v-for="(list,index) in followUpList" class="consultation-list-item" @click="viewDetail(list)">
|
|
|
<p class="follow-up-doctor"><span class="start-time pull-right">开始时间:{{list.createTime}}</span>随访医生:{{list.doctorName}}<span v-if="list.prescriptionCode" class="fu-tag">长处方</span></p>
|
|
|
<div class="follow-user-info">
|
|
|
<span class="follow-status" :data-status="list.status" desc="3进行2计划中1完成"></span>
|
|
@ -18,15 +18,19 @@ Vue.component('follow-list', {
|
|
|
},
|
|
|
props:["followUpData"],
|
|
|
methods: {
|
|
|
viewDetail: function(id) {
|
|
|
top.layer.open({
|
|
|
type: 2,
|
|
|
maxmin: true,
|
|
|
title:"随访详情",
|
|
|
area: ['800px', '600px'],
|
|
|
shadeClose: false,
|
|
|
content: '../html/lay_followUp_detail.html?id='+id
|
|
|
});
|
|
|
viewDetail: function(list) {
|
|
|
if(list.status == 1){
|
|
|
top.layer.open({
|
|
|
type: 2,
|
|
|
maxmin: true,
|
|
|
title:"随访详情",
|
|
|
area: ['800px', '600px'],
|
|
|
shadeClose: false,
|
|
|
content: '../html/lay_followUp_detail.html?id='+list.id
|
|
|
});
|
|
|
}else{
|
|
|
top.toastr.warning("请在手机上完成随访才能查看详情")
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
watch:{
|