tableChange.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <script src="../../../js/head.js"></script>
  8. <title>Document</title>
  9. <link rel="stylesheet" href="../../../css/element.css">
  10. <link rel="stylesheet" href="../css/css/ligerui-all.css">
  11. <link rel="stylesheet" href="../css/css/all.css">
  12. <link rel="stylesheet" href="../css/tableChange.css">
  13. </head>
  14. <body>
  15. <div id="app" v-cloak>
  16. <!-- tab切换 -->
  17. <div class="nav">
  18. <template>
  19. <el-radio-group v-model="tabPosition" style="margin-bottom: 30px;" class="tabNav">
  20. <el-radio-button label="top" @click.native='handleChangeView("A")'>频繁就医</el-radio-button>
  21. <el-radio-button label="right" @click.native='handleChangeView("B")'>超高费用</el-radio-button>
  22. <el-radio-button label="bottom" @click.native='handleChangeView("C")'>重复检查检验</el-radio-button>
  23. <el-radio-button label="left" @click.native='handleChangeView("D")'>用药分析</el-radio-button>
  24. </el-radio-group>
  25. </template>
  26. </div>
  27. <div class="main">
  28. <component :is="currentView"></component>
  29. </div>
  30. </div>
  31. <script>
  32. window.noUse=true
  33. </script>
  34. <script src="../../../js/post.js"></script>
  35. <script src="../js/js/customCombo.js"></script>
  36. <script src="../js/js/underscore.js"></script>
  37. <script src="../js/js/ligerui.all.js"></script>
  38. <script src="../js/js/ligerOverwrite.js"></script>
  39. <script src="../js/handleChangeViewA.js"></script>
  40. <script src="../js/handleChangeViewB.js"></script>
  41. <script src="../js/handleChangeViewC.js"></script>
  42. <script src="../js/handleChangeViewD.js"></script>
  43. <script src="../../../js/api/bigDataOut-api.js"></script>
  44. <script>
  45. new Vue({
  46. el: "#app",
  47. methods: {
  48. handleClick:function(row) {
  49. console.log(row);
  50. },
  51. },
  52. data:function() {
  53. return {
  54. tabPosition: 'top',
  55. currentView: 'comA',
  56. }
  57. },
  58. methods: {
  59. handleChangeView: function (component) {
  60. this.currentView = 'com' + component;
  61. }
  62. }
  63. })
  64. </script>
  65. </body>
  66. </html>