yibiaofenxi.js 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. new Vue({
  2. el: '#app',
  3. data: function () {
  4. return {
  5. type:'频繁就医',
  6. table1Init:false, //判断是否需要重新加载数据
  7. table1Init2:false,
  8. table1Ini3:false,
  9. table1Ini4:false,
  10. tableData: [{
  11. date: '2016-05-03',
  12. name: '王小虎',
  13. province: '上海',
  14. city: '普陀区',
  15. address: '上海市普陀区金沙江路 1518 弄',
  16. zip: 200333
  17. }, {
  18. date: '2016-05-02',
  19. name: '王小虎',
  20. province: '上海',
  21. city: '普陀区',
  22. address: '上海市普陀区金沙江路 1518 弄',
  23. zip: 200333
  24. }, {
  25. date: '2016-05-04',
  26. name: '王小虎',
  27. province: '上海',
  28. city: '普陀区',
  29. address: '上海市普陀区金沙江路 1518 弄',
  30. zip: 200333
  31. }, {
  32. date: '2016-05-01',
  33. name: '王小虎',
  34. province: '上海',
  35. city: '普陀区',
  36. address: '上海市普陀区金沙江路 1518 弄',
  37. zip: 200333
  38. }],
  39. currentPage4:1
  40. }
  41. },
  42. computed: {
  43. },
  44. mounted:function() {
  45. },
  46. methods: {
  47. handleSizeChange(val) {
  48. console.log(`每页 ${val} 条`);
  49. },
  50. handleCurrentChange(val) {
  51. console.log(`当前页: ${val}`);
  52. },
  53. handleClick(row) {
  54. console.log(row);
  55. }
  56. },
  57. watch: {
  58. }
  59. })