12345678910111213141516171819202122232425262728 |
- new Vue({
- el: '#app',
- data: {
- statisticsList:{
- article:{month: 0, year: 0, history: 0},
- consult:{month: 0, year: 0, history: 0},
- followup:{month: "0/0", year: "0/0", history: "0/0"},
- guidance:{month: 0, year: 0, history: 0},
- reservation:{month: 0, year: 0, history: 0}
- }
-
- },
- mounted: function() {
- var vm=this;
- var data = {patientCode:'fca8c658ffda42afa5be91e54e0268c8',
- patient:'fca8c658ffda42afa5be91e54e0268c8',
- teamCode:646,
- page:1,
- pagesize:10}
- recordAPI.getStatistics(data).then(function(res){
- if(res.status==200){
- vm.statisticsList=res.data;
- }else{
- top.toastr.error(res.msg);
- }
- })
- }
- })
|