target.js 762 B

12345678910111213141516171819202122232425262728293031
  1. new Vue({
  2. el: '#app',
  3. data: {
  4. CONTROL_DATE:'',
  5. CONTROL_CONSTITUTOR:'',
  6. CONTROL_BP_D:'',
  7. CONTROL_BP_U:'',
  8. CONTROL_BS_FPG:'',
  9. CONTROL_NO_BS_FPG:'',
  10. CONTROL_WEIGHT:'',
  11. CONTROL_GHB:'',
  12. CONTROL_TRIGLYCERIDE:'',
  13. CONTROL_TOTAL_CHOLESTEROL:'',
  14. CONTROL_LDL:'',
  15. CONTROL_EXERCISE_FREQ_CODE:'',
  16. CONTROL_EXERCISE_DURATION_MINS:''
  17. },
  18. mounted: function() {
  19. var vm = this
  20. var Request = GetRequest();
  21. recordAPI.getFollowupProjectData({id:Request["id"],followupProject:7}).then(function(res){
  22. if(res.status==200){
  23. var data = res.data;
  24. delete data["create_time"];delete data["followup_id"];delete data["followup_project"];delete data["id"];
  25. for(var key in data){
  26. vm[key] = data[key]
  27. }
  28. }
  29. })
  30. }
  31. })