(function() {
Vue.component('record', {
template: `
{{record.doctor}}
{{record.zhiwu}}
{{record.keshi}}
{{record.yiyuan}}
{{record.othertime}}
{{record.othertime1}}
{{record.bingren}}
{{record.doctor}}
{{record.zhiwu}}
{{record.keshi}}
{{record.yiyuan}}
{{record.othertime}}
{{record.othertime1}}
{{record.bingren}}
预约信息
退号截止时间
2018-04-04 23:59:00
就诊人信息
`,
props: [],
data: function() {
return {
code: "record",
records: [{
time: "2017年11月11日 13:13:13",
photo: "../image/touxiang.jpg",
doctor: "张三",
zhiwu: "主任医生",
keshi: "骨科",
yiyuan: "上饶医院",
othertime: "2018-04-04上午",
othertime1: "第2号,07:50",
bingren: "李花花",
id: "1",
}, {
time: "2017年11月11日 13:13:13",
photo: "../image/touxiang.jpg",
doctor: "张三",
zhiwu: "主任医生",
keshi: "骨科",
yiyuan: "上饶医院",
othertime: "2018-04-04上午",
othertime1: "第2号,07:50",
bingren: "李花花",
id: "1",
}, ]
}
},
mounted: function() {
},
methods: {
cancelbtn: function(id) {
personalDialogForm.cancelAppointment(id).then(function(layerid) {
top.layer.close(layerid)
})
},
hideModel:function(){
$('#appointmentinfo').modal('hide')
}
},
})
})()