evaluate.js 699 B

1234567891011121314151617181920212223242526
  1. new Vue({
  2. el: '#app',
  3. data: {
  4. type:'',
  5. HYP_COMPLICATION_DETAIL:'',
  6. DIA_COMPLICATION_DETAIL:'',
  7. HYP_FOLLOWUP_TYPE_CODE:'',
  8. DIA_FOLLOWUP_TYPE_CODE:'',
  9. readonly:true
  10. },
  11. mounted: function() {
  12. var vm = this
  13. var Request = GetRequest();
  14. var follow = JSON.parse(window.localStorage.getItem('serveFollowupDate'))
  15. vm.type = follow.followupClass;
  16. recordAPI.getFollowupProjectData({id:Request["id"],followupProject:5}).then(function(res){
  17. if(res.status==200){
  18. var data = res.data;
  19. delete data["create_time"];delete data["followup_id"];delete data["followup_project"];delete data["id"];
  20. for(var key in data){
  21. vm[key] = data[key]
  22. }
  23. }
  24. })
  25. }
  26. })