select-time.js 652 B

1234567891011121314151617181920212223242526
  1. var request = GetRequest(),
  2. doctorSn = Base64.decode(request.doctorSn),
  3. arrangeID = request.arrangeID,
  4. registerDate = request.registerDate;
  5. new Vue({
  6. el: "#main",
  7. data: {
  8. doctorSn: doctorSn,
  9. docInfo: {},
  10. arrangeID: arrangeID,
  11. registerDate: registerDate
  12. },
  13. mounted: function(){
  14. EventBus.$emit("jump-step",{step:3});//step:跳转的步数
  15. //设置监听获取医生信息
  16. var vm = this;
  17. EventBus.$on("get-doctor-info", function(arg){
  18. vm.docInfo = arg.docInfo;
  19. });
  20. // getDoctorInfo(this);
  21. },
  22. methods: {
  23. }
  24. })