| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- <html>
- <head>
- <style>
- .el-row,
- .el-col {
- height: 100%;
- }
-
- .box-card {
- height: 100%;
- box-sizing: border-box;
- box-shadow: none !important;
- }
-
- .clearfix:before,
- .clearfix:after {
- display: table;
- content: "";
- }
-
- .clearfix:after {
- clear: both
- }
-
- .box-card .el-card__body {
- height: 100%;
- box-sizing: border-box;
- padding: 0;
- overflow-y: auto;
- }
-
- .box-card-right {
- float: right;
- }
-
- .tab-right.box-card-right {
- top: 20px;
- right: 20px;
- }
-
- .box-card-right i {
- margin-left: 8px;
- cursor: pointer;
- color: #409EFF;
- font-size: 16px;
- }
-
- .box-card-right i:hover {
- color: #66b1ff;
- }
-
- .urge-tbs .el-tabs__item {
- font-size: 16px;
- font-weight: normal;
- }
- .space-tabs-nav li{
- position: relative;
- }
- .space-tabs-nav li .space-tabs-dot{
- position: absolute;
- right: 17px;
- top: 18px;
- width: 6px;
- height: 6px;
- border-radius: 50%;
- background-color: #f56c6c;
- }
- </style>
- </head>
- <body>
- <div id="space-content" style="background-color: transparent;">
- <el-row :gutter="12">
- <el-col :span="12">
- <el-card class="box-card">
- <div class="space-tbs urge-tbs">
- <div class="space-tabs-wrap">
- <div class="space-tabs-nav" style="height: 57px;line-height: 57px;">
- <ul>
- <li active data-src="@service{ name:`sys_audit_list`, page:'common_audit.backlog'}@">
- 待办
- <i class="space-tabs-dot" v-if="hasBacklog"></i>
- </li>
- <li data-src="@service{ name:`sys_apply_list`, page:'common_audit.urge_list'}@">
- 催办
- <i class="space-tabs-dot" v-if="hasUrge"></i>
- </li>
- <li data-src="@service{ name:`sys_not_end_apply_list`, page:'common_audit.haveDone_list'}@">
- 在办
- <i class="space-tabs-dot" v-if="hashaveDone"></i>
- </li>
- </ul>
- </div>
- <div class="space-tabs-content" style="height: calc(100% - 57px);">
- <ul>
- <li>
- <iframe src="" ></iframe>
- </li>
- </ul>
- </div>
- </div>
-
- <!--右上方搜索框-->
- <div class="tab-right box-card-right">
- <i class="el-icon-refresh" title="刷新"></i>
- <i class="el-icon-more" title="查看更多"></i>
- </div>
- </div>
- </el-card>
- </el-col>
- <el-col :span="12">
- <el-card class="box-card">
- <div slot="header" class="clearfix">
- <span>我的日历</span>
- <div class="box-card-right">
- <i class="el-icon-refresh" title="刷新"></i>
- <i class="el-icon-more" title="查看更多"></i>
- </div>
- </div>
- <el-calendar v-model="value">
- </el-calendar>
- </el-card>
- </el-col>
- </el-row>
- </div>
- </body>
- <script type="text/javascript">
-
- space.vue = new Vue({
- el: space.appContent,
- data() {
- return {
- value: new Date(),
- hasBacklog: false,// 是否有待办
- hasUrge: false,// 是否有催办
- hashaveDone: false,// 是否有在办
- };
- },
- mounted: function () {
- this.initFlowNumber();
- },
- methods: {
- initFlowNumber: function() {
- var _this = this;
- space.utils.ajax({
- url: '@service{ name:`sys_flow_number` }@',
- dataType: 'json',
- success: function(data) {
-
- if (data.auditNumber > 0) {
- _this.hasBacklog = true;
- }
-
- if (data.applyNumber > 0) {
- _this.hasUrge = true;
- }
-
- if (data.haveDoneNumber > 0) {
- _this.hashaveDone = true;
- }
-
- }
- });
- }
-
- }
- })
- </script>
- <!--<body>
- <div id="space-content" style="background-color: transparent;">
- <div id="" style="width: 100%;height: 30%; font-size: 52px; font-weight: bold; color: rgb(91, 125, 154); text-align: center; padding-top: 200px">
- This is my home
- </div>
- </div>
- </body>
- <script type="text/javascript">
- space.vue = new Vue({
- el: space.appContent
- })
- </script>-->
- </html>
|