1001110051_edit.jsp 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <html>
  2. <head>
  3. <style>
  4. .el-row,
  5. .el-col {
  6. height: 100%;
  7. }
  8. .box-card {
  9. height: 100%;
  10. box-sizing: border-box;
  11. box-shadow: none !important;
  12. }
  13. .clearfix:before,
  14. .clearfix:after {
  15. display: table;
  16. content: "";
  17. }
  18. .clearfix:after {
  19. clear: both
  20. }
  21. .box-card .el-card__body {
  22. height: 100%;
  23. box-sizing: border-box;
  24. padding: 0;
  25. overflow-y: auto;
  26. }
  27. .box-card-right {
  28. float: right;
  29. }
  30. .tab-right.box-card-right {
  31. top: 20px;
  32. right: 20px;
  33. }
  34. .box-card-right i {
  35. margin-left: 8px;
  36. cursor: pointer;
  37. color: #409EFF;
  38. font-size: 16px;
  39. }
  40. .box-card-right i:hover {
  41. color: #66b1ff;
  42. }
  43. .urge-tbs .el-tabs__item {
  44. font-size: 16px;
  45. font-weight: normal;
  46. }
  47. .space-tabs-nav li{
  48. position: relative;
  49. }
  50. .space-tabs-nav li .space-tabs-dot{
  51. position: absolute;
  52. right: 17px;
  53. top: 18px;
  54. width: 6px;
  55. height: 6px;
  56. border-radius: 50%;
  57. background-color: #f56c6c;
  58. }
  59. </style>
  60. </head>
  61. <body>
  62. <div id="space-content" style="background-color: transparent;">
  63. <el-row :gutter="12">
  64. <el-col :span="12">
  65. <el-card class="box-card">
  66. <div class="space-tbs urge-tbs">
  67. <div class="space-tabs-wrap">
  68. <div class="space-tabs-nav" style="height: 57px;line-height: 57px;">
  69. <ul>
  70. <li active data-src="@service{ name:`sys_audit_list`, page:'common_audit.backlog'}@">
  71. 待办
  72. <i class="space-tabs-dot" v-if="hasBacklog"></i>
  73. </li>
  74. <li data-src="@service{ name:`sys_apply_list`, page:'common_audit.urge_list'}@">
  75. 催办
  76. <i class="space-tabs-dot" v-if="hasUrge"></i>
  77. </li>
  78. <li data-src="@service{ name:`sys_not_end_apply_list`, page:'common_audit.haveDone_list'}@">
  79. 在办
  80. <i class="space-tabs-dot" v-if="hashaveDone"></i>
  81. </li>
  82. </ul>
  83. </div>
  84. <div class="space-tabs-content" style="height: calc(100% - 57px);">
  85. <ul>
  86. <li>
  87. <iframe src="" ></iframe>
  88. </li>
  89. </ul>
  90. </div>
  91. </div>
  92. <!--右上方搜索框-->
  93. <div class="tab-right box-card-right">
  94. <i class="el-icon-refresh" title="刷新"></i>
  95. <i class="el-icon-more" title="查看更多"></i>
  96. </div>
  97. </div>
  98. </el-card>
  99. </el-col>
  100. <el-col :span="12">
  101. <el-card class="box-card">
  102. <div slot="header" class="clearfix">
  103. <span>我的日历</span>
  104. <div class="box-card-right">
  105. <i class="el-icon-refresh" title="刷新"></i>
  106. <i class="el-icon-more" title="查看更多"></i>
  107. </div>
  108. </div>
  109. <el-calendar v-model="value">
  110. </el-calendar>
  111. </el-card>
  112. </el-col>
  113. </el-row>
  114. </div>
  115. </body>
  116. <script type="text/javascript">
  117. space.vue = new Vue({
  118. el: space.appContent,
  119. data() {
  120. return {
  121. value: new Date(),
  122. hasBacklog: false,// 是否有待办
  123. hasUrge: false,// 是否有催办
  124. hashaveDone: false,// 是否有在办
  125. };
  126. },
  127. mounted: function () {
  128. this.initFlowNumber();
  129. },
  130. methods: {
  131. initFlowNumber: function() {
  132. var _this = this;
  133. space.utils.ajax({
  134. url: '@service{ name:`sys_flow_number` }@',
  135. dataType: 'json',
  136. success: function(data) {
  137. if (data.auditNumber > 0) {
  138. _this.hasBacklog = true;
  139. }
  140. if (data.applyNumber > 0) {
  141. _this.hasUrge = true;
  142. }
  143. if (data.haveDoneNumber > 0) {
  144. _this.hashaveDone = true;
  145. }
  146. }
  147. });
  148. }
  149. }
  150. })
  151. </script>
  152. <!--<body>
  153. <div id="space-content" style="background-color: transparent;">
  154. <div id="" style="width: 100%;height: 30%; font-size: 52px; font-weight: bold; color: rgb(91, 125, 154); text-align: center; padding-top: 200px">
  155. This is my home
  156. </div>
  157. </div>
  158. </body>
  159. <script type="text/javascript">
  160. space.vue = new Vue({
  161. el: space.appContent
  162. })
  163. </script>-->
  164. </html>