From 0a2b414821ce4872edd09f3f98738a10c696910e Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 23 七月 2024 10:43:06 +0800
Subject: [PATCH] 所有搜索按钮mini改为small
---
src/views/system/data-manage/data-detail/index.vue | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/views/system/data-manage/data-detail/index.vue b/src/views/system/data-manage/data-detail/index.vue
index ec1d7c2..e48a562 100644
--- a/src/views/system/data-manage/data-detail/index.vue
+++ b/src/views/system/data-manage/data-detail/index.vue
@@ -56,8 +56,8 @@
<el-input v-model="queryParams.bayonetName" placeholder="璇疯緭鍏ュ崱鍙e悕绉�" clearable @keyup.enter.native="handleQuery" />
</el-form-item>
<el-form-item>
- <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">鎼滅储</el-button>
- <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">閲嶇疆</el-button>
+ <el-button type="primary" icon="el-icon-search" size="small" @click="handleQuery">鎼滅储</el-button>
+ <el-button icon="el-icon-refresh" size="small" @click="resetQuery">閲嶇疆</el-button>
</el-form-item>
</el-form>
@@ -129,7 +129,7 @@
<script>
import { listPlatform, getPlatform, delPlatform, addPlatform, updatePlatform } from "@/api/platform/vehicle-data-monitor";
-import { tableColumn } from "./list";
+import { videoData, carData, faceData, equipment } from "./list";
import store from '@/store';
export default {
@@ -185,7 +185,10 @@
next();
},
created() {
- this.tableHead = tableColumn[0].columns;
+ if (this.$route.query.type === '1') this.tableHead = videoData[this.$route.query.index].columns;
+ if (this.$route.query.type === '2') this.tableHead = carData[this.$route.query.index].columns;
+ if (this.$route.query.type === '3') this.tableHead = faceData[this.$route.query.index].columns;
+ if (this.$route.query.type === '4') this.tableHead = equipment[this.$route.query.index].columns;
this.getList();
},
methods: {
@@ -306,7 +309,7 @@
width: 20%;
height: 80px;
margin-left: 5%;
- background-color: #5599F7;
+ background-color: #1890FF;
font-size: 50px;
color: #FFF;
width: 85px;
@@ -320,4 +323,4 @@
.dashboard-item {
text-align: center;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.8.0