From 1cca087682794ce44cf2e7209298a25ab135e52e Mon Sep 17 00:00:00 2001
From: Alan <1124498879@qq.com>
Date: 星期日, 21 二月 2021 14:10:36 +0800
Subject: [PATCH] 提交查询bug
---
src/views/dashboard/index.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index e1b5447..2e9be3a 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -1,6 +1,6 @@
<template>
<div class="main">
- <el-row style=" height: 40px;">
+ <el-row style="height: 10px;">
<el-col :span="9"><p /></el-col>
<el-col :span="15">
<ul class="data-ul">
@@ -342,6 +342,9 @@
selectIndex: '' // 搜索结果,被选中的li index
}
},
+ mounted() {
+ this.selectTab(0)
+ },
methods: {
showbl(title, number) {
this.dialog.dialogShowbl = true
@@ -499,9 +502,6 @@
})
},
selectTab(index) {
- if (index === null || index === undefined) {
- index = 0
- }
this.selectIndex = index
this.$get('hr/statistics/list', {
index: index
@@ -591,6 +591,7 @@
}
.card-info:hover {
text-align: center;
+ height: 12px;
background-color: #931e1e;
color: #fff;
.card-number {
--
Gitblit v1.8.0