(function() { Vue.component('record', { template: `
预约时间{{record.time}}
{{record.doctor}} {{record.zhiwu}} {{record.keshi}}
{{record.yiyuan}}
{{record.othertime}}
{{record.othertime1}}
{{record.bingren}}
取消预约
查看详情
预约时间{{record.time}}
{{record.doctor}} {{record.zhiwu}} {{record.keshi}}
{{record.yiyuan}}
{{record.othertime}}
{{record.othertime1}}
{{record.bingren}}
查看详情
`, 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') } }, }) })()