|
@@ -81,11 +81,9 @@
|
|
|
<el-button size="mini" @click="yzpz">配置</el-button>
|
|
|
</div>
|
|
|
<div class="treeDiv">
|
|
|
- <el-table :data="tableData" border style="width: 100%">
|
|
|
+ <el-table :data="tableData" style="width: 100%">
|
|
|
<el-table-column prop="name" label="因子名称" show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column prop="condition" label="条件" show-overflow-tooltip>
|
|
|
- </el-table-column> -->
|
|
|
<el-table-column label="条件" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ yztj(scope.row.condition) }}</span>
|
|
@@ -488,31 +486,36 @@ export default {
|
|
|
/deep/ .el-table {
|
|
|
background-color: transparent !important;
|
|
|
// border: none;
|
|
|
- color: #fff;
|
|
|
+ color: #CDDEEB;
|
|
|
}
|
|
|
/deep/ .el-table--border {
|
|
|
border-radius: 5px;
|
|
|
}
|
|
|
/deep/ .el-table tr {
|
|
|
background-color: transparent !important;
|
|
|
- color: #fff;
|
|
|
+ color: #CDDEEB;
|
|
|
+ height: 43px ;
|
|
|
}
|
|
|
/deep/ .el-table .el-table__cell {
|
|
|
background-color: transparent !important;
|
|
|
padding: 0 !important;
|
|
|
}
|
|
|
|
|
|
+ /deeep/ .el-table td.el-table__cell, .el-table th.el-table__cell.is-leaf{
|
|
|
+ border-bottom: 1px solid #667e8f7c !important;
|
|
|
+}
|
|
|
+
|
|
|
// 设置表头的颜色
|
|
|
/deep/.el-table thead tr > th {
|
|
|
width: 100%;
|
|
|
background-color: #0a2450;
|
|
|
- color: #fff;
|
|
|
+ color: #CDDEEB;
|
|
|
border: none;
|
|
|
}
|
|
|
// 去除每行的边框
|
|
|
/deep/.el-table tbody tr > td {
|
|
|
// background-color: rgb(26,28,119);
|
|
|
- color: #fff;
|
|
|
+ color: #CDDEEB;
|
|
|
border: none;
|
|
|
}
|
|
|
/deep/ .el-table thead {
|
|
@@ -536,4 +539,5 @@ export default {
|
|
|
/deep/ .el-form-item__error {
|
|
|
top: 32px !important;
|
|
|
}
|
|
|
+
|
|
|
</style>
|