From 085fa2fb257e9f11f8f6d34bf12e2dc281c36b4d Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 09 二月 2023 11:28:21 +0800
Subject: [PATCH] 2023/2/9 肖辉 修改部门管理
---
src/components/Table/index.vue | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/src/components/Table/index.vue b/src/components/Table/index.vue
index ca943ee..4a560a0 100644
--- a/src/components/Table/index.vue
+++ b/src/components/Table/index.vue
@@ -1,8 +1,11 @@
<template>
<div class="Table">
<div class="datatable">
- <el-table ref="multipleTable" :data="tableData" style="width: 100%"
- :header-cell-style="{background:'#06122c','font-size':'12px',color:'#4b9bb7','font-weight':'650','line-height':'45px'}"
+ <el-table
+ border
+ stripe
+ ref="multipleTable" :data="tableData" style="width: 100%"
+ :header-cell-style="{'background':'#F5F5F5','font-size':'14px','font-weight':'650','line-height':'45px'}"
:row-class-name="tableRowClassName">
<el-table-column v-for="item in option.group" :key="item.prop" :label="item.label"
:prop="item.prop" :min-width="item['min-width'] ? item['item.min-width']:'10'">
@@ -11,11 +14,11 @@
{{scope.row[item.prop]}}
</div>
<slot v-else-if="item.type === 'operation'" name="operation" :info="scope">
-
+
</slot>
<slot name="status" v-else-if="item.type === 'status'" :info="scope">
</slot>
- <slot name='time' v-else-if="item.type === 'time'" :timeobj="scope">
+ <slot name='time' v-else-if="item.type === 'time'" :timeobj="scope">
</slot>
</template>
@@ -76,6 +79,10 @@
}
},
props: {
+ getTableList: {
+ type: Function,
+ default: () => {}
+ },
// 琛ㄦ牸鏁版嵁
tableData: {
type: Array,
@@ -167,7 +174,7 @@
width: 100%;
.el-table {
- color: #4b9bb7;
+ // color: #4b9bb7;
}
.tools {
@@ -180,7 +187,7 @@
display: flex;
.sp-item {
- border: 1px solid #17324c;
+ // border: 1px solid #17324c;
}
.funsItem {
@@ -202,7 +209,7 @@
&::v-deep .el-input__inner {
border: none;
- background-color: #09152f;
+ // background-color: #09152f;
}
&:hover .el-checkbox {
@@ -251,4 +258,4 @@
background-color: #4b9bb7;
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.8.0