appointment-info.js 765 B

1234567891011121314151617181920212223242526272829303132
  1. Vue.component('appointment-info', {
  2. template: '<div><div class="c-f16 c-border-b pb5">预约信息</div>\
  3. <table class="table table-no-bordered">\
  4. <tbody>\
  5. <tr>\
  6. <td class="w150">预 约 人</td>\
  7. <td>{{appointinfo.callCode ? appointinfo.userName : appointinfo.dname}}</td>\
  8. </tr>\
  9. <tr>\
  10. <td class="w150">操作时间</td>\
  11. <td>{{appointinfo.cancelerTime ? appointinfo.cancelerTime : appointinfo.czrq}}</td>\
  12. </tr>\
  13. <tr>\
  14. <td class="w150">预约状态</td>\
  15. <td>{{appointinfo.status == 0 ? "已取消" : "预约成功"}}</td>\
  16. </tr>\
  17. </tbody>\
  18. </table>\
  19. </div>',
  20. props: ["appointinfo"],
  21. data: function() {
  22. return {
  23. }
  24. },
  25. mounted: function() {
  26. },
  27. methods: {
  28. }
  29. })