referral.js 586 B

12345678910111213141516171819202122232425
  1. new Vue({
  2. el: '#app',
  3. data: {
  4. DRUG_ADVERSE_MARK:"",
  5. ADR_REMARK:"",
  6. REFUSE_REFERRAL:"",
  7. REFUSE_REFERRAL_WHY:"",
  8. TRANSFER_RESON:"",
  9. TRANSFER_ORG_DEPT:"",
  10. readonly:true
  11. },
  12. mounted: function() {
  13. var vm = this
  14. var Request = GetRequest();
  15. recordAPI.getFollowupProjectData({id:Request["id"],followupProject:9}).then(function(res){
  16. if(res.status==200){
  17. var data = res.data;
  18. delete data["create_time"];delete data["followup_id"];delete data["followup_project"];delete data["id"];
  19. for(var key in data){
  20. vm[key] = data[key]
  21. }
  22. }
  23. })
  24. }
  25. })