123456789101112131415161718192021222324252627282930313233 |
- new Vue({
- el: '#app',
- data: {
- total:1,
- currentPage:1,
- list:[]
- },
- methods:{
- msgListView(page){
- var vm=this;
- if(page){
- var data = {patientCode:'fca8c658ffda42afa5be91e54e0268c8',
- patient:'fca8c658ffda42afa5be91e54e0268c8',
- teamCode:646,
- page:1,
- pagesize:10}
- recordAPI.consultList(data).then(function(res){
- top.toastr.error("gaga")
- if(res.status==200){
- list=res;
- }else{
-
- }
- })
- }
- console.log("进来了")
- }
- },
- mounted(){
- var vm = this
- this.msgListView(this.currentPage)
- },
- })
|